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
XSD Schema Diagram
XSD Schema Code
<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 &quot;condition&quot; clauses will be related to this &quot;apply-to&quot; clause.  Therefore, by defining multiple, alternating sections of &quot;apply-to&quot; and &quot;conditions,&quot; 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 &quot;best health&quot; as a numerical value.

You must specify this tag or &quot;maximum-value,&quot; 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 &quot;most healthy&quot; stat might be.

You must specify this tag or &quot;maximum-field,&quot; 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 &quot;apply-to&quot; 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 &quot;first match&quot; 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 &quot;current-field&quot; of the &quot;apply-to&quot; 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 &quot;current-field&quot; of the &quot;apply-to&quot; 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 &quot;current-field&quot; of the &quot;apply-to&quot; 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 &quot;current-field&quot; of the &quot;apply-to&quot; 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 &quot;current-field&quot; of the &quot;apply-to&quot; 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 &quot;current-field&quot; of the &quot;apply-to&quot; 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>
Child Elements
Name Type Min Occurs Max Occurs
Derivation Tree
[No Sub Types]
conditions
    [No Super Types]
Generated using Liquid XML Studio by Liquid Technologies Ltd