summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-09 02:29:48 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-09 02:29:48 +0300
commitf6f32b540167a94c8a50c15bc16e1742296fe9ab (patch)
tree7dbf6258eba2c0872202f6a28a8c8a0c1175eeb6
parent9c119b110812a16c1639b8777b935e4074dbfa3b (diff)
downloadevol-tools-f6f32b540167a94c8a50c15bc16e1742296fe9ab.tar.gz
evol-tools-f6f32b540167a94c8a50c15bc16e1742296fe9ab.tar.bz2
evol-tools-f6f32b540167a94c8a50c15bc16e1742296fe9ab.tar.xz
evol-tools-f6f32b540167a94c8a50c15bc16e1742296fe9ab.zip
testxml: add missing quest tags and attributes into xml scheme.
-rw-r--r--testxml/xsd/tmw.xsd35
1 files changed, 34 insertions, 1 deletions
diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd
index 71d83a7..66ad75c 100644
--- a/testxml/xsd/tmw.xsd
+++ b/testxml/xsd/tmw.xsd
@@ -365,9 +365,13 @@
-->
<xs:complexType name="quests_var_quest">
<xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="text" type="xs:string"/>
+ <xs:element name="text" type="quests_quest_text"/>
<xs:element name="name" type="xs:string"/>
<xs:element name="reward" type="xs:string"/>
+ <xs:element name="giver" type="xs:string"/>
+ <xs:element name="questgiver" type="xs:string"/>
+ <xs:element name="coordinates" type="quests_quest_coordinates"/>
+ <xs:element name="npc" type="xs:string"/>
</xs:choice>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="group" type="xs:string" use="required"/>
@@ -380,6 +384,35 @@
<xs:attribute name="complete" type="xs:string" use="optional"/>
<xs:attribute name="incomplete" type="xs:string" use="optional"/>
</xs:complexType>
+ <xs:complexType name="quests_quest_coordinates">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="x" type="xs:int" use="required"/>
+ <xs:attribute name="y" type="xs:int" use="required"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="quests_quest_text">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="text1" type="xs:string" use="optional"/>
+ <xs:attribute name="text2" type="xs:string" use="optional"/>
+ <xs:attribute name="text3" type="xs:string" use="optional"/>
+ <xs:attribute name="text4" type="xs:string" use="optional"/>
+ <xs:attribute name="text5" type="xs:string" use="optional"/>
+ <xs:attribute name="text6" type="xs:string" use="optional"/>
+ <xs:attribute name="text7" type="xs:string" use="optional"/>
+ <xs:attribute name="text8" type="xs:string" use="optional"/>
+ <xs:attribute name="text9" type="xs:string" use="optional"/>
+ <xs:attribute name="text10" type="xs:string" use="optional"/>
+ <xs:attribute name="text11" type="xs:string" use="optional"/>
+ <xs:attribute name="text12" type="xs:string" use="optional"/>
+ <xs:attribute name="text13" type="xs:string" use="optional"/>
+ <xs:attribute name="text14" type="xs:string" use="optional"/>
+ <xs:attribute name="text15" type="xs:string" use="optional"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
<!--
QuestsWindow::loadEffect
-->