We don't have CHOOSECSTAT in the documentation. This is the replacement for CHOOSE:STAT
http://wiki.pcgen.org/Simple_CDOMObject_Proposals#CHOOSE:PCSTAT
CHOOSECSTAT
SUBTOKEN: PCSTAT (new)
SUBTOKEN: STAT (deprecated by this proposal)
Reason for deprecation: The Challenge with the existing CHOOSE:STAT is that it is negative. Meaning, CHOOSE:STAT|STR means to allow a choice of any STAT except STR. This seems a bit weird, and I would like to get away from this.
[edit]Syntax
CHOOSECSTAT|x|x
x is a PRIMITIVE
A PRIMITIVE is an identifier of objects, and may include any number of specifications.
In the case of PCStat objects, the only valid PRIMITIVES are the four global PRIMITIVES:
x = a Stat abbreviation (STR, INT, etc.)
x = TYPE=w (w is a TYPE identifier for a Stat) - note that none of our STATs actually use TYPE: but this works anyway
x = !TYPE=w (w is a TYPE identifier for a Stat that would be prohibited)
x = ALL (allow the choice of any STAT)
Since we can easily add other things later (at least a lot easier than the old CHOOSE system), I would like to start simple on this one.
[edit]Conversion
CHOOSE:STAT
becomes
CHOOSECSTAT|ALL
CHOOSE:STAT|STR
becomes
CHOOSECSTAT|INT|WIS|DEX|CON|CHA
Note that this latter replacement is "deterministic" as the Stats can only be defined in the Game Mode.
Added tag to docs. Added deprecation note to CHOOSE:STAT for removal for 6.2.
svn #17309
svn #17309
svn #17309