Hey kids, I thought I’d put up a quick zip of some code you might find of interest. It’s a stats system for RPG-like tracking of character or item characteristics. I built it for the temporarily-yet-awesomely-titled Fantasy Smiley Exploration, but it’s generic enough that you could use it for anything that uses stats.
Examples:
- Character stats (STR, CON, INT, and all the rest)
- Item stats (weapons, buildings, countries, whatever)
- Generic stats (physics properties, 3D stuff, anything really)
As of version 0.1, you can:
- -add any stat you want
- -limit stats (or don’t) in both directions (0 to Infinity, -10 to +10, whatever)
- -add RPG-style Affectors (“+4 STR Staff Of Suffering”, “+10% CHA Vest of Punctuality”, etc.) that affect the value of a stat
- -keep track of Fallout-style Perks, which are just on/off values used however you see fit (remember Bloody Mess?)
So, even though it’s simple and unrefined, I figured I’d still put it up in case somebody wants to play with it. I’ll probably polish it up quite a bit in the future–maybe even make an official release of it. Until then, have fun.
Zack J.
Happy Ninja Clan
Filed under: Uncategorized, Happy Ninja Clan