summaryrefslogtreecommitdiff
path: root/testxml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-04 04:00:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-04 04:00:07 +0300
commit1f9fe84f51411f9a8a8f96dc355f45cf1a08dd25 (patch)
treeb647ffeb8ea35c224f72da94e8a48b0498a70149 /testxml
parente2d7431c39d0400f67e0e548d91e384fe0688df3 (diff)
downloadevol-tools-1f9fe84f51411f9a8a8f96dc355f45cf1a08dd25.tar.gz
evol-tools-1f9fe84f51411f9a8a8f96dc355f45cf1a08dd25.tar.bz2
evol-tools-1f9fe84f51411f9a8a8f96dc355f45cf1a08dd25.tar.xz
evol-tools-1f9fe84f51411f9a8a8f96dc355f45cf1a08dd25.zip
testxml: add xsd for elementals.xml
Diffstat (limited to 'testxml')
-rw-r--r--testxml/xsd/tmw.xsd50
-rwxr-xr-xtestxml/xsdcheck.sh1
2 files changed, 51 insertions, 0 deletions
diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd
index a7fdbbb..2c99db4 100644
--- a/testxml/xsd/tmw.xsd
+++ b/testxml/xsd/tmw.xsd
@@ -1682,6 +1682,56 @@
</xs:sequence>
</xs:complexType>
+ <!-- probably not all tags correct here -->
+ <xs:element name="elementals" type="root_elementals"/>
+ <xs:complexType name="root_elementals">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="include"/>
+ <xs:element name="elemental">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="sprite">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="variant" type="xs:int" default="0"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="particlefx" type="xs:string"/>
+ </xs:choice>
+ <xs:attribute name="id" type="xs:int" use="required"/>
+ <xs:attribute name="targetSelection" type="bool" default="true"/>
+ <xs:attributeGroup ref="being_basic_attributes"/>
+ <xs:attribute name="deadSortOffsetY" type="xs:int" default="31"/>
+ <xs:attribute name="startFollowDistance" type="xs:int" default="3"/>
+ <xs:attribute name="followDistance" type="xs:int" default="0"/>
+ <xs:attribute name="warpDistance" type="xs:int" default="11"/>
+ <xs:attribute name="walkSpeed" type="xs:int" default="0"/>
+ <xs:attribute name="offsetX" type="xs:int" default="0"/>
+ <xs:attribute name="offsetY" type="xs:int" default="1"/>
+ <xs:attribute name="sitOffsetX" type="xs:int" default="0"/>
+ <xs:attribute name="sitOffsetY" type="xs:int" default="1"/>
+ <xs:attribute name="moveOffsetX" type="xs:int" default="0"/>
+ <xs:attribute name="moveOffsetY" type="xs:int" default="1"/>
+ <xs:attribute name="deadOffsetX" type="xs:int" default="0"/>
+ <xs:attribute name="deadOffsetY" type="xs:int" default="1"/>
+ <xs:attribute name="attackOffsetX" type="xs:int" use="optional"/>
+ <xs:attribute name="attackOffsetY" type="xs:int" use="optional"/>
+ <xs:attribute name="thinkTime" type="xs:int" default="500"/>
+ <xs:attribute name="directionType" type="xs:int" default="1"/>
+ <xs:attribute name="sitDirectionType" type="xs:int" default="1"/>
+ <xs:attribute name="deadDirectionType" type="xs:int" default="1"/>
+ <xs:attribute name="attackDirectionType" type="xs:int" default="4"/>
+ <xs:attribute name="removeMessage" type="xs:string" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+
<!--
ModDB::loadXmlFile
modsFile: mods.xml
diff --git a/testxml/xsdcheck.sh b/testxml/xsdcheck.sh
index 648cb5d..519fb59 100755
--- a/testxml/xsdcheck.sh
+++ b/testxml/xsdcheck.sh
@@ -20,6 +20,7 @@ check badges.xml
check charcreation.xml
check deadmessages.xml
check effects.xml
+check elementals.xml
check emotes.xml
check equipmentslots.xml
check equipmentwindow.xml