b101
* Miscellaneous
GCA now creates a charbulk() tag for the weapon’s character-specific bulk(). It uses the simplest math version, which means bonuses can be targeted to ‘bulk’, but GCA expects it to be just simple integer math stuff. All places where GCA displays weapon info have been updated to show charbulk().
I have changed how GCA applies the maximum applicable ST cap for muscle-powered weapons. Normally, three times the weapon’s ST value is the maximum, and GCA was doing that for melee weapons, but not for thrown weapons. GCA will now apply a ST cap to all muscle-powered weapons, melee or thrown or whatever. However, because it’s now easier to apply this to weapons that perhaps aren’t actually meant to be capped (either by RAW or in your campaign), GCA now supports a new stcap() tag (mode-based and math-enabled) to turn off capping, or to change the multiplier value if desired. Use stcap(no) to turn off the max ST cap, or use stcap(X), replacing X with a value, to replace the 3*ST cap with an X*ST cap.
GCA should save/load the new stcap() and charbulk() data.
Fixed the oversight in Loadout Manager that caused sorting by the values in the Qty or Wgt columns to be done incorrectly.
Made a small change to the Protection Box paint routine.
Updated a bunch of places in code to perform explicit type conversions, rather than implicit ones, and to change some instances of late-binding to early-binding where possible.
With loadouts, characters now have the option of having all unassigned items treated as if they’re part of the currently active loadout. The default behavior requires that for any item to be included in a loadout it has to be specifically added to that loadout. This new option will include the unassigned items as part of the current loadout for purposes of encumbrance and activation/deactivation (if you’re using that).
Updated the Encumbrance & Move box to show “Loadout (+ Unassigned)” for the current loadout if the IncludeUnassignedItemsInCurrentLoadout option is enabled.
I have added an interface to Options for GCA’s automatic duplicate trait refusal, so it can be turned on or off by trait type. I have also changed the default settings to begin with auto-refusal of dupes turned off, except for attributes (where duplicates are never allowed), and for spells and templates, where IMO auto-refusing dupes still makes more sense.
* GCA5.XSD
Updated to support ‘charbulk’ and ‘stcap’ elements.
Updated to support IncludeUnassignedItemsInCurrentLoadout option.
* TagDefs.XML
Updated to include bulk(), charbulk(), stcap(), highlight(), and drnotes().
Fixed some XML character encoding errors.
* Plugins
Sheets were updated to show charbulk() instead of bulk() for attack blocks.
Fixed a couple incorrect labels for weapon data in SimpleTextExport.
Fixed a reference in testOfficialCharacterSheet to the /graphics/ folder, which is no longer being used.