kLoOge.Werks Definition File Documentation v3.3.3 | Generated using Liquid XML Studio by Liquid Technologies Ltd |
Tuesday, April 07, 2009 |
Definition Type | Element |
Name | conditions |
Abstract | False |
MinOccurs | 0 |
MaxOccurs | unbounded |
Documentation | Guidelines for instructing the program as to an Icon's relative health. |
XSD Schema | Character Sheet Definition.xsd |
![]() ![]() |
|
![]() |
|
![]() ![]() |
|
<xs:element minOccurs="0" maxOccurs="unbounded" name="conditions" >
<xs:annotation> <xs:documentation>Guidelines for instructing the program as to an Icon's relative health.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="apply-to"> <xs:annotation> <xs:documentation>Clause that tells the program where to look on the character sheet when evaluating what the Icon's current condition is. Subsequent "condition" clauses will be related to this "apply-to" clause. Therefore, by defining multiple, alternating sections of "apply-to" and "conditions," you can effectively create lists of conditions. This is especially useful for game systems that have multiple hit point sources.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element minOccurs="1" maxOccurs="1" name="current-field" type="xs:string"> <xs:annotation> <xs:documentation>The ID of the field that holds the Icon's current state as a numerical value.</xs:documentation> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="maximum-field" type="xs:string"> <xs:annotation> <xs:documentation>The ID of the field that contains the Icon's "best health" as a numerical value. You must specify this tag or "maximum-value," but not both.</xs:documentation> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="maximum-value"> <xs:annotation> <xs:documentation>Instead of using a field to apply relative heath conditions, you can opt to use a hard-coded value. This value will apply to all Icons in the campaign, regardless of what their "most healthy" stat might be. You must specify this tag or "maximum-field," but not both.</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element minOccurs="0" maxOccurs="unbounded" name="condition"> <xs:annotation> <xs:documentation>Based on the "apply-to" clause that preceeds it, evaluate whether this condition applies to the Icon. The order in which these clauses appear determines which block will be used, since the program uses a "first match" algorithm.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" name="current-less-or-equal" type="xs:double"> <xs:annotation> <xs:documentation>A percentile value that indicates that if the data in the "current-field" of the "apply-to" clause is less than or equal to this percentile, then this is the condition to be used.</xs:documentation> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="current-greater-or-equal" type="xs:double"> <xs:annotation> <xs:documentation>A percentile value that indicates that if the data in the "current-field" of the "apply-to" clause meets this percentile, then this is the condition to be used.</xs:documentation> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="current-equals" type="xs:double"> <xs:annotation> <xs:documentation>A literal value that indicates that if the data in the "current-field" of the "apply-to" clause exactly equals this value, then this is the condition to be used.</xs:documentation> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="greater-value" type="xs:double"> <xs:annotation> <xs:documentation>A literal value that indicates that if the data in the "current-field" of the "apply-to" clause is greater than this literal value, then this is the condition to be used.</xs:documentation> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="greater-or-equal-value" type="xs:double"> <xs:annotation> <xs:documentation>A literal value that indicates that if the data in the "current-field" of the "apply-to" clause is greater than or equal to this literal value, then this is the condition to be used.</xs:documentation> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="label" type="xs:string"> <xs:annotation> <xs:documentation>The label to display if this condition is met.</xs:documentation> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="less-or-equal-value" type="xs:double"> <xs:annotation> <xs:documentation>A literal value that indicates that if the data in the "current-field" of the "apply-to" clause is less than or equal to this value, then this is the condition to be used.</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> |
![]() ![]() |
|||||||||||||
|
|||||||||||||
![]() ![]() |
|||||||||||||
[No Sub Types] conditions [No Super Types] |
|||||||||||||
Generated using Liquid XML Studio by Liquid Technologies Ltd |