[ http://jira.pcgen.org/browse/NEWTAG-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Maitland updated NEWTAG-18:
Status: PrettyLst (was: Documented)
Assignee: Andrew Maitland
> Key: NEWTAG-18
> URL: http://jira.pcgen.org/browse/NEWTAG-18
> Project: New Tag
> Issue Type: Modify Token
> Components: LST Tag
> Affects Versions: 5.17.1, 5.17.2
> Reporter: Tom Parker
> Assignee: Andrew Maitland
> Fix For: 5.17.4 (Alpha)
> SUBTOKEN: ABILITY (new)
> w is an Ability Category (e.g. FEAT) as defined in the Ability Category LST file.
> x is a Ability PRIMITIVE
> A PRIMITIVE is an identifier of objects, and may include any number of specifications. In the case of Ability objects, there are are the three global PRIMITIVES:
> x = an Ability (specified by key)
> x = TYPE=w (w is a TYPE identifier for a Ability)
> x = !TYPE=w (w is a TYPE identifier for a Ability that would be prohibited)
> x = ALL (allow the choice of any Ability)
> y is a QUALIFIER
> A QUALIFIER is a special keyword that identifies a subset of objects that should be returned. Valid qualifiers for Ability objects are any of the Global Qualifiers.
> A comma represents "AND", meaning multiple items are evaluated independently and then any item that appears in ALL of the items is added to the list.
> will result in NO choices because no Ability is both Dodge and Toughness.
> would test for any Ability that has the Foo type (as defined in the Ability LST file) which is ALSO already selected by the PlayerCharacter
> This could also be written (probably more clearly):
> A pipe represents "OR", meaning multiple items are evaluated independently and then any item that appears in any of the items is added to the list:
> will result in a choice between Ability Dodge and Ability Toughness.
> All commas (ANDs) are evaluated before pipes (ORs), so something like:
> would include Dodge unconditionally, in addition to any Ability that has the Foo type (as defined in the Ability LST file) which is ALSO already selected by the PlayerCharacter
> Current CHOOSE:ABILITY format does not change (backwards compatible)
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.pcgen.org/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira