diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-08-17 09:35:21 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-08-17 09:35:21 -0300 |
commit | c0c918f8444a9e624c8dcf923a363a932836b4b3 (patch) | |
tree | 6400707aeca3bb03ddb3a942b57bb71cdfb1b054 | |
parent | ffd62a22d228fcf818afaf11231bc417e8b25aa1 (diff) | |
download | tools-c0c918f8444a9e624c8dcf923a363a932836b4b3.tar.gz tools-c0c918f8444a9e624c8dcf923a363a932836b4b3.tar.bz2 tools-c0c918f8444a9e624c8dcf923a363a932836b4b3.tar.xz tools-c0c918f8444a9e624c8dcf923a363a932836b4b3.zip |
Drop support for strike sound tag
-rwxr-xr-x | testxml/testxml.py | 3 | ||||
-rw-r--r-- | testxml/xsd/tmw.xsd | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testxml/testxml.py b/testxml/testxml.py index 9f37ab5..7b43d74 100755 --- a/testxml/testxml.py +++ b/testxml/testxml.py @@ -1326,9 +1326,10 @@ def testSounds(id, node, type): print "error: incorrect sound event name " + event + " in id=" + id errors = errors + 1 elif type == "item": - if event != "hit" and event != "strike" and event != "miss": + if event != "hit" and event != "miss": print "error: incorrect sound event name " + event + " in id=" + id errors = errors + 1 + ## FIXME: Is this even necessary? if event == "strike" or event == "miss": if havemiss: print "error: miss and strike attributes at same time in id=" + id diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd index 827c357..d6cffa5 100644 --- a/testxml/xsd/tmw.xsd +++ b/testxml/xsd/tmw.xsd @@ -1021,7 +1021,6 @@ <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="hit"/> - <xs:enumeration value="strike"/> <xs:enumeration value="miss"/> <xs:enumeration value="use"/> <xs:enumeration value="equip"/> |