summaryrefslogtreecommitdiff
path: root/data/items.xsd
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2006-10-20 00:51:25 +0000
committerYohann Ferreira <bertram@cegetel.net>2006-10-20 00:51:25 +0000
commit80f7db7a84fb73d8266d872f56af108ed49ba2eb (patch)
tree1629aa705ebdc1a5c38a2e2e6091bcec715fd346 /data/items.xsd
parentf258986ba1184a0199e0bc241d68919a438eef29 (diff)
downloadmanaserv-80f7db7a84fb73d8266d872f56af108ed49ba2eb.tar.gz
manaserv-80f7db7a84fb73d8266d872f56af108ed49ba2eb.tar.bz2
manaserv-80f7db7a84fb73d8266d872f56af108ed49ba2eb.tar.xz
manaserv-80f7db7a84fb73d8266d872f56af108ed49ba2eb.zip
Simplified item status effect implementation. Made it all work, and filled items.xml with about 100 items. To come: maxPerSlot and weaponType parameters.
Diffstat (limited to 'data/items.xsd')
-rw-r--r--data/items.xsd22
1 files changed, 2 insertions, 20 deletions
diff --git a/data/items.xsd b/data/items.xsd
index e0bf4ed2..020a9837 100644
--- a/data/items.xsd
+++ b/data/items.xsd
@@ -13,6 +13,7 @@
<xsd:extension base="xsd:positiveInteger">
<!-- General -->
<xsd:attribute name="id" type="xsd:positiveInteger" />
+ <xsd:attribute name="type" type="xsd:integer" />
<xsd:attribute name="weight" type="xsd:integer" />
<xsd:attribute name="value" type="xsd:integer" />
<xsd:attribute name="script_name" type="xsd:string" />
@@ -39,26 +40,7 @@
<!-- Equipment -->
<xsd:attribute name="range" type="xsd:integer" />
<!-- Status Effects Addition -->
- <xsd:attribute name="status_normal" type="xsd:boolean" />
- <xsd:attribute name="status_poisoned" type="xsd:boolean" />
- <xsd:attribute name="status_stoned" type="xsd:boolean" />
- <xsd:attribute name="status_stunned" type="xsd:boolean" />
- <xsd:attribute name="status_slowed" type="xsd:boolean" />
- <xsd:attribute name="status_tired" type="xsd:boolean" />
- <xsd:attribute name="status_mad" type="xsd:boolean" />
- <xsd:attribute name="status_berserk" type="xsd:boolean" />
- <xsd:attribute name="status_hasted" type="xsd:boolean" />
- <xsd:attribute name="status_floating" type="xsd:boolean" />
- <!-- Status Effects Deletion -->
- <xsd:attribute name="status_not_poisoned" type="xsd:boolean" />
- <xsd:attribute name="status_not_stoned" type="xsd:boolean" />
- <xsd:attribute name="status_not_stunned" type="xsd:boolean" />
- <xsd:attribute name="status_not_slowed" type="xsd:boolean" />
- <xsd:attribute name="status_not_tired" type="xsd:boolean" />
- <xsd:attribute name="status_not_mad" type="xsd:boolean" />
- <xsd:attribute name="status_not_berserk" type="xsd:boolean" />
- <xsd:attribute name="status_not_hasted" type="xsd:boolean" />
- <xsd:attribute name="status_not_floating" type="xsd:boolean" />
+ <xsd:attribute name="status_effect" type="xsd:integer" />
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>