v2.0 - updating to support OPR ruleset v3
Basically, #32
Everything from that PR copied below for posterity
Work to support V3 of the OPR rulesets.
If you're playing GF, AoF or AoF:R;
Units with "Tough" now get a Wound tracker and right click increase/decrease wounds options
If you're playing GFF or AoF:S;
ALL units get a Wound track and right click increase/decrease wounds options, and any units with Tough always have the tough in their name.
Regardless of system;
All units with the "Cast" special rule now get a Spell Token's tracker, and right click increase/decrease spell tokens options
Alongside the new trackers, there's a new "army-wide" option to "Refresh Spell Tokens". This will give every Caster in the army their Cast value as Spell Tokens, up to a maximum of 6. (use at the start of every round!)
Alongside that, I've also:
- improved the layout of the right click menu options so things are properly separated into "Model", "Unit" and "Army" categories of actions
- re-jigged in the in-mod layout of the helper cards
- written a whole mini-system to rebuild unit names on changes, to properly reflect wound and spell token tracking
- removed options related to whether or not you want to include the Tough value in a model's name (that isn't a thing anymore, now its just Wound tracking)
- re-written large chunks of how each individual model maintains its own data state, such that the whole mod TTS file is now, even including all the new stuff, actually 50 lines shorter than it was.
- the "common rules" of the system are now hard coded data files. means they'll need manually updating, but that shouldn't happen too often, and its 1 less request to do on every import
A unit with wounds and spell tokens