summaryrefslogtreecommitdiff
path: root/itemxml/items.xsd
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2016-02-08 01:52:47 +0100
committerReid <reidyaro@gmail.com>2016-02-08 01:53:34 +0100
commit4429504e764f0dec3ed4c0071b63819571c86253 (patch)
treebdab647441bb381b902130d99639fa9abe2e2612 /itemxml/items.xsd
parent673308fb3ee81e7d5fde7d7c15ad9aab5a06631d (diff)
downloadevol-tools-4429504e764f0dec3ed4c0071b63819571c86253.tar.gz
evol-tools-4429504e764f0dec3ed4c0071b63819571c86253.tar.bz2
evol-tools-4429504e764f0dec3ed4c0071b63819571c86253.tar.xz
evol-tools-4429504e764f0dec3ed4c0071b63819571c86253.zip
Add items.xsd and items.xml into itemxml/
Diffstat (limited to 'itemxml/items.xsd')
-rw-r--r--itemxml/items.xsd44
1 files changed, 44 insertions, 0 deletions
diff --git a/itemxml/items.xsd b/itemxml/items.xsd
new file mode 100644
index 0000000..d5e334e
--- /dev/null
+++ b/itemxml/items.xsd
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <!-- IMAGE TYPE -->
+
+ <xsd:simpleType name="mw_ItemArtType">
+ <xsd:restriction base="xsd:integer">
+ <xsd:minInclusive value="0" />
+ <xsd:maxInclusive value="1" />
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <!-- ITEMS LIST FILE SCHEMA -->
+
+ <xsd:element name="items">
+ <xsd:complexType>
+ <xsd:sequence>
+
+ <xsd:element name="item" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="name" type="xsd:string" />
+ <xsd:attribute name="description" type="xsd:string" />
+ <xsd:attribute name="effect" type="xsd:string" />
+ <xsd:attribute name="id" type="xsd:positiveInteger" />
+ <xsd:attribute name="image" type="xsd:positiveInteger" />
+ <xsd:attribute name="art" type="mw_ItemArtType" />
+ <xsd:attribute name="type" type="xsd:integer" />
+ <xsd:attribute name="slot" type="xsd:integer" />
+ <xsd:attribute name="weight" type="xsd:positiveInteger" />
+ <xsd:attribute name="drawBefore" type="xsd:string" />
+ <xsd:attribute name="drawAfter" type="xsd:string" />
+ <xsd:attribute name="drawPriority" type="xsd:integer" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+</xsd:schema>