diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-09 21:52:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-09 21:52:30 +0300 |
commit | 7f75401327ae292f039167dbe302f16bb9e7a5f2 (patch) | |
tree | 9cb6ae2c22b68a7379c747a39054eba9ed365de2 | |
parent | 84873081a1a5fbc87ad6cf5aeb004506d8db1e34 (diff) | |
download | evol-tools-7f75401327ae292f039167dbe302f16bb9e7a5f2.tar.gz evol-tools-7f75401327ae292f039167dbe302f16bb9e7a5f2.tar.bz2 evol-tools-7f75401327ae292f039167dbe302f16bb9e7a5f2.tar.xz evol-tools-7f75401327ae292f039167dbe302f16bb9e7a5f2.zip |
testxml: add item menus into xsd.
-rw-r--r-- | testxml/xsd/tmw.xsd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd index e647fe7..12149cb 100644 --- a/testxml/xsd/tmw.xsd +++ b/testxml/xsd/tmw.xsd @@ -887,6 +887,9 @@ <xs:element name="replace" type="items_item_replace"/> <xs:element name="drawAfter" type="items_item_draworder"/> <xs:element name="drawBefore" type="items_item_draworder"/> + <xs:element name="inventory" type="items_item_menu"/> + <xs:element name="storage" type="items_item_menu"/> + <xs:element name="cart" type="items_item_menu"/> </xs:choice> <xs:attribute name="id" type="xs:int" use="required"/> <xs:attribute name="type" type="items_item_type" default="other"/> @@ -1099,6 +1102,18 @@ <xs:enumeration value="all"/> </xs:restriction> </xs:simpleType> + <xs:complexType name="items_item_menu"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element name="menu"> + <xs:complexType> + <xs:attribute name="name1" type="xs:string" use="optional"/> + <xs:attribute name="name2" type="xs:string" use="optional"/> + <xs:attribute name="command1" type="xs:string" use="optional"/> + <xs:attribute name="command2" type="xs:string" use="optional"/> + </xs:complexType> + </xs:element> + </xs:choice> + </xs:complexType> <!-- SoundDB::loadXmlFile soundsFile: sounds.xml |