diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-23 00:52:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-23 00:52:46 +0300 |
commit | 5f900444cdf2e55adfd1c55a83e5821082e36a7d (patch) | |
tree | 048d922fc0c5c067a1a0abac671548f41aab50d5 /testxml/xsd | |
parent | 2670c36bab9530180d33bfaa99ddd3e7b8b9e956 (diff) | |
download | evol-tools-5f900444cdf2e55adfd1c55a83e5821082e36a7d.tar.gz evol-tools-5f900444cdf2e55adfd1c55a83e5821082e36a7d.tar.bz2 evol-tools-5f900444cdf2e55adfd1c55a83e5821082e36a7d.tar.xz evol-tools-5f900444cdf2e55adfd1c55a83e5821082e36a7d.zip |
testxml: update xml scheme. Add new status effect attributes.
Diffstat (limited to 'testxml/xsd')
-rw-r--r-- | testxml/xsd/tmw.xsd | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd index facada6..7d547ce 100644 --- a/testxml/xsd/tmw.xsd +++ b/testxml/xsd/tmw.xsd @@ -655,20 +655,16 @@ <xs:element ref="include"/> <xs:element name="status-effect"> <xs:complexType> + <!-- legacy attribute only for old clients --> <xs:attribute name="block-id" type="xs:int" use="optional"/> <xs:attributeGroup ref="status_or_stun_attrs"/> </xs:complexType> </xs:element> - <xs:element name="stun-effect"> - <xs:complexType> - <xs:attributeGroup ref="status_or_stun_attrs"/> - </xs:complexType> - </xs:element> </xs:choice> </xs:sequence> </xs:complexType> <xs:attributeGroup name="status_or_stun_attrs"> - <xs:attribute name="id" type="xs:int" use="required"/> + <xs:attribute name="id" type="xs:int" use="optional"/> <xs:attribute name="name" type="xs:string" use="required"/> <xs:attribute name="start-message" type="xs:string" use="optional"/> <xs:attribute name="start-audio" type="xs:string" use="optional"/> @@ -679,6 +675,10 @@ <xs:attribute name="end-message" type="xs:string" use="optional"/> <xs:attribute name="end-audio" type="xs:string" use="optional"/> <xs:attribute name="end-particle" type="xs:string" use="optional"/> + <xs:attribute name="option" type="xs:int" use="optional"/> + <xs:attribute name="opt1" type="xs:int" use="optional"/> + <xs:attribute name="opt2" type="xs:int" use="optional"/> + <xs:attribute name="opt3" type="xs:int" use="optional"/> </xs:attributeGroup> <!-- maps and tilesets omitted, they have a DTD from tiled |