Difference between revisions of "Global Qualifiers"
Tom Parker (talk | contribs) (New page: {| align="right" | __TOC__ |} =Global Qualifiers= Global Qualifiers work for any CDOMObject which can be qualified (some items like PCStat and PCAlignment cannot be qualified) For ...) |
Tom Parker (talk | contribs) |
||
Line 2: | Line 2: | ||
| __TOC__ | | __TOC__ | ||
|} | |} | ||
− | |||
− | |||
− | |||
Global Qualifiers work for any CDOMObject which can be qualified (some items like PCStat and PCAlignment cannot be qualified) | Global Qualifiers work for any CDOMObject which can be qualified (some items like PCStat and PCAlignment cannot be qualified) |
Latest revision as of 00:05, 29 March 2009
Contents |
Global Qualifiers work for any CDOMObject which can be qualified (some items like PCStat and PCAlignment cannot be qualified)
For purposes of the examples below, this assumes that PCTemplate objects are being used.
Qualifiers
ANY
This means any item in the brackets should be returned (this is implied, so that CHOOSE:TEMPLATE|Foo,TYPE=Bar is equivalent to CHOOSE:TEMPLATE|ANY[Foo,TYPE=Bar]
PC
This means any item which has already been taken by the PlayerCharacter.
QUALIFIED
This means any item for which the PC qualifies (meets the PRExxx on the Template or has QUALIFY:TEMPLATE|x for that Template)
Syntax
Note that for a QUALIFIER, ALL is the implied PRIMITIVE, so:
CHOOSE:TEMPLATE|PC[ALL]
is equivalent to
CHOOSE:TEMPLATE|PC
Negation
Any qualifier may be negated. Therefore, both PC and !PC are valid qualifiers.
CHOOSE:TEMPLATE|PC[TYPE=Foo]
would return any Template already possessed by the PlayerCharacter which had TYPE: of Foo
CHOOSE:TEMPLATE|!PC[TYPE=Foo]
would return any Template which is not:
- possessed by the PC
and
- TYPE=Foo