Definition Type Element
Name spell-setup
Abstract False
MinOccurs 0
MaxOccurs (1)
Documentation This is a special interface element that places a button on the tab that accesses "spell" setup.
XSD Schema Character Sheet Definition.xsd
XSD Schema Diagram
XSD Schema Code
<xs:element minOccurs="0" name="spell-setup" >
  <xs:annotation>
    <xs:documentation>This is a special interface element that places a button on the tab that accesses &quot;spell&quot; setup.</xs:documentation>
  </xs:annotation>

  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="0" name="label" type="xs:string">
        <xs:annotation>
          <xs:documentation>The label to be placed in the button that is rendered on the tab.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="spell-level-source">
        <xs:annotation>
          <xs:documentation>This clause defines for the program where to look for spell level information.

In order to operate correctly, &quot;spell-setup&quot; must have a variety of information, including where to find spell level names, where the maximum number of spells of that level can be found and what the current number of spells of that level are found.
</xs:documentation>
        </xs:annotation>

        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" name="table-id" type="xs:string">
              <xs:annotation>
                <xs:documentation>The ID of the table that contains spell level information.</xs:documentation>
              </xs:annotation>

            </xs:element>

            <xs:element minOccurs="0" name="name-id" type="xs:string">
              <xs:annotation>
                <xs:documentation>The ID of the field within the &quot;table-id&quot; table where the name of the spell level is located.</xs:documentation>
              </xs:annotation>

            </xs:element>

            <xs:element minOccurs="0" name="max-id" type="xs:string">
              <xs:annotation>
                <xs:documentation>The ID of the field within the &quot;table-id&quot; table where the maximum number of spells of this level is stored.</xs:documentation>
              </xs:annotation>

            </xs:element>

            <xs:element minOccurs="0" name="cur-id" type="xs:string">
              <xs:annotation>
                <xs:documentation>The ID of the field within the &quot;table-id&quot; table where the current number of spells of this level is stored.</xs:documentation>
              </xs:annotation>

            </xs:element>

          </xs:sequence>

        </xs:complexType>

      </xs:element>

      <xs:element minOccurs="0" name="spell-source">
        <xs:annotation>
          <xs:documentation>The ID of the table that contains the actual spell information.</xs:documentation>
        </xs:annotation>

        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" name="table-id" type="xs:string">
              <xs:annotation>
                <xs:documentation>The ID of the table where spells are located.</xs:documentation>
              </xs:annotation>

            </xs:element>

            <xs:element minOccurs="0" name="name-id" type="xs:string">
              <xs:annotation>
                <xs:documentation>The ID of the field within the &quot;table-id&quot; table where the name of the spell is located.</xs:documentation>
              </xs:annotation>

            </xs:element>

            <xs:element minOccurs="0" name="desc-id" type="xs:string">
              <xs:annotation>
                <xs:documentation>The ID of the field within the &quot;table-id&quot; table where the description/expression of the spell is located.</xs:documentation>
              </xs:annotation>

            </xs:element>

            <xs:element minOccurs="0" name="level-id" type="xs:string">
              <xs:annotation>
                <xs:documentation>The ID of the field within the &quot;table-id&quot; table where the level of the spell is located.</xs:documentation>
              </xs:annotation>

            </xs:element>

            <xs:element minOccurs="0" name="cost-id" type="xs:string">
              <xs:annotation>
                <xs:documentation>The ID of the field within the &quot;table-id&quot; table where the cost (how many spell slots the spell requires) of the spell is located.</xs:documentation>
              </xs:annotation>

            </xs:element>

            <xs:element minOccurs="0" name="mem-id" type="xs:string">
              <xs:annotation>
                <xs:documentation>The ID of the field within the &quot;table-id&quot; table where the number currently &quot;memorized&quot; of this spell is located.</xs:documentation>
              </xs:annotation>

            </xs:element>

          </xs:sequence>

        </xs:complexType>

      </xs:element>

      <xs:element minOccurs="0" default="false" name="dm-only" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>Flag indicating that this button should only be rendered if the program is running in Master mode.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" default="false" name="hidden" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>Flag indicating that this button should never be rendered.</xs:documentation>
        </xs:annotation>

      </xs:element>

    </xs:sequence>

  </xs:complexType>

</xs:element>
Child Elements
Name Type Min Occurs Max Occurs
Derivation Tree
[No Sub Types]
spell-setup
    [No Super Types]
Generated using Liquid XML Studio by Liquid Technologies Ltd