Roguelike "statsheet" that gets creates when you die?
Hi guys,
I was wondering how I'd go about having the game create a text file every time the player died that would list some of the game's statistics like # of monsters killed, total score, armor found, that sort of stuff. You know, something to look at later if you got some cool loot or whatever.
I'd want the text file to be named whatever class the player chose, his level, and the date.
For example "WARRIOR LV 4: 9-26-12"
I know the game Spelunky creates a stat sheet like this when you die, I was hoping it'd be possible in MMF2 too.
Thanks!
EDIT: That gets creates.. Oh man, this story is happy end!