diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-02-13 04:49:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-02-13 19:49:35 +0300 |
commit | fdb345218d300d03f7fcdc40b97ee6542a865025 (patch) | |
tree | 1aee3ae830a6f1b26510a513afd2e0238c8dd22a /testxml | |
parent | d1f7f2b26bf49bedf953aead034aa050a61c20e3 (diff) | |
download | evol-tools-fdb345218d300d03f7fcdc40b97ee6542a865025.tar.gz evol-tools-fdb345218d300d03f7fcdc40b97ee6542a865025.tar.bz2 evol-tools-fdb345218d300d03f7fcdc40b97ee6542a865025.tar.xz evol-tools-fdb345218d300d03f7fcdc40b97ee6542a865025.zip |
testxml: update xsd sheme for support clans and new badges type.
Diffstat (limited to 'testxml')
-rw-r--r-- | testxml/xsd/tmw.xsd | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd index fd71007..5a7e23f 100644 --- a/testxml/xsd/tmw.xsd +++ b/testxml/xsd/tmw.xsd @@ -873,6 +873,7 @@ itemsPatchFile: items_patch.xml itemsPatchDir: items.d/*.xml --> + <!-- not all item fields added --> <xs:element name="items" type="root_items"/> <xs:complexType name="root_items"> <xs:sequence> @@ -1529,6 +1530,8 @@ <xs:element ref="include"/> <xs:element name="guild" type="badges_list" /> <xs:element name="party" type="badges_list" /> + <xs:element name="name" type="badges_list" /> + <xs:element name="clan" type="badges_list" /> </xs:choice> </xs:sequence> </xs:complexType> @@ -1933,6 +1936,30 @@ </xs:sequence> </xs:complexType> + <!-- not all item fields added --> + <xs:element name="clans" type="root_clans"/> + <xs:complexType name="root_clans"> + <xs:sequence> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="include"/> + <xs:element name="clan"> + <xs:complexType> + <xs:attribute name="id" type="xs:int" use="required"/> + <xs:attribute name="name" type="xs:string" use="required"/> + <xs:attribute name="maxhp" type="xs:string" use="optional"/> + <xs:attribute name="maxmp" type="xs:string" use="optional"/> + <xs:attribute name="str" type="xs:string" use="optional"/> + <xs:attribute name="agi" type="xs:string" use="optional"/> + <xs:attribute name="vit" type="xs:string" use="optional"/> + <xs:attribute name="int" type="xs:string" use="optional"/> + <xs:attribute name="dex" type="xs:string" use="optional"/> + <xs:attribute name="luck" type="xs:string" use="optional"/> + </xs:complexType> + </xs:element> + </xs:choice> + </xs:sequence> + </xs:complexType> + <!-- ModDB::loadXmlFile modsFile: mods.xml |