summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-01 01:33:55 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-01 01:36:04 +0300
commit5367a5d2a9e217875d2af945f0773bc80f6ae5ed (patch)
treef6b1f866f8e5f3675982d257ec0b58812e498394
parentab3efa6b285d905e4fc6fd9f0b8eaecf2eb4094a (diff)
downloadevol-tools-s20170306.tar.gz
evol-tools-s20170306.tar.bz2
evol-tools-s20170306.tar.xz
evol-tools-s20170306.zip
testxml: add support for new tags / nodes in npcs.xml and units.xmls20170306
-rw-r--r--testxml/xsd/tmw.xsd29
1 files changed, 29 insertions, 0 deletions
diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd
index 0df218e..ff9d77f 100644
--- a/testxml/xsd/tmw.xsd
+++ b/testxml/xsd/tmw.xsd
@@ -666,6 +666,34 @@
<xs:attribute name="separator" type="xs:string" default=" "/>
</xs:complexType>
</xs:element>
+ <xs:element name="currency">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="unit">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="level">
+ <xs:complexType>
+ <xs:attribute name="symbol" type="xs:string" use="required"/>
+ <xs:attribute name="count" type="xs:int" use="required"/>
+ <xs:attribute name="round" type="xs:int" use="optional"/>
+ <xs:attribute name="separator" type="xs:string" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="conversion" type="xs:int" default="1"/>
+ <xs:attribute name="mix" type="yesno" default="no"/>
+ <xs:attribute name="base" type="xs:string" default="ยค"/>
+ <xs:attribute name="round" type="xs:int" default="2"/>
+ <xs:attribute name="separator" type="xs:string" default=" "/>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
@@ -797,6 +825,7 @@
<xs:attribute name="deadSortOffsetY" type="xs:int" default="31"/>
<xs:attribute name="avatar" type="xs:unsignedShort" default="0"/>
<xs:attribute name="allowDelete" type="bool" default="true"/>
+ <xs:attribute name="currency" type="xs:string" default=""/>
</xs:complexType>
</xs:element>
</xs:choice>