view dtds/system.dtd @ 34:b28be912adab

Re #32 - Migrate to schema * Remove use of Categories (now just has a single category) * Fix infinite loop of trying to load files by adding a "is loading" flag * Fix invalid setting of MinSize to MaxNumber when we're testing if MinSize > MaxSize
author IBBoard <dev@ibboard.co.uk>
date Sun, 15 Mar 2009 16:07:52 +0000
parents 163b35f875ef
children
line wrap: on
line source

<!ELEMENT system (categories,sysStatsList)>
<!ELEMENT categories (cat+)>
<!ELEMENT cat EMPTY>
<!ELEMENT sysStatsList (sysStats+)>
<!ELEMENT sysStats (sysStat+)>
<!ELEMENT sysStat EMPTY>

<!ATTLIST system id ID #REQUIRED>
<!ATTLIST system name CDATA #REQUIRED>
<!ATTLIST system warn (true|false) "false">
<!ATTLIST system allowAllies (true|false) "true">
<!ATTLIST system isRosterBased (true|false) "false">

<!ATTLIST cat id ID #REQUIRED>
<!ATTLIST cat name CDATA #REQUIRED>
<!ATTLIST cat minPoints CDATA "0">
<!ATTLIST cat maxPoints CDATA "-1">
<!ATTLIST cat minPercentage CDATA "0">
<!ATTLIST cat maxPercentage CDATA "100">
<!ATTLIST cat minChoices CDATA "0">
<!ATTLIST cat maxChoices CDATA "-1">
<!ATTLIST cat baseValue CDATA "0">
<!ATTLIST cat incValue CDATA "0">
<!ATTLIST cat incAmount CDATA "0">

<!ATTLIST sysStatsList defaultStats CDATA #REQUIRED>

<!ATTLIST sysStats id ID #REQUIRED>

<!ATTLIST sysStat name CDATA #REQUIRED>