summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-07-27 19:30:57 -0300
committerJesusaves <cpntb1@ymail.com>2024-07-27 19:30:57 -0300
commite70dadc09f7dad03a962dcc08f7b866712d3fda9 (patch)
treeadb9ea29d67285ea5e42fec66660f1161d9bc14f
parent40110718ed48da6b5f54fe562a8ce0c0369790e9 (diff)
downloadtools-e70dadc09f7dad03a962dcc08f7b866712d3fda9.tar.gz
tools-e70dadc09f7dad03a962dcc08f7b866712d3fda9.tar.bz2
tools-e70dadc09f7dad03a962dcc08f7b866712d3fda9.tar.xz
tools-e70dadc09f7dad03a962dcc08f7b866712d3fda9.zip
I hate XML, I'll ask specing for help if this still fails
-rw-r--r--testxml/xsd/tmw.xsd22
1 files changed, 10 insertions, 12 deletions
diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd
index 5c84d64..3807523 100644
--- a/testxml/xsd/tmw.xsd
+++ b/testxml/xsd/tmw.xsd
@@ -1824,6 +1824,16 @@
</xs:complexType>
</xs:element>
<xs:element name="particlefx" type="xs:string"/>
+ <xs:element name="sound">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="event" type="monster_sound_event" use="required"/>
+ <xs:attribute name="delay" type="xs:int" default="0"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
</xs:choice>
<xs:attribute name="id" type="xs:int" use="required"/>
<xs:attribute name="name" type="xs:string" use="required"/>
@@ -1850,18 +1860,6 @@
<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:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="sound">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="event" type="monster_sound_event" use="required"/>
- <xs:attribute name="delay" type="xs:int" default="0"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- </xs:choice>
</xs:complexType>
</xs:element>
</xs:choice>