summaryrefslogtreecommitdiffstats
path: root/example/equip.xml
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-02-25 21:18:46 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-02-25 22:14:44 +0100
commit3629aebb96959afc56cf04d1f2fc4a9f03e94183 (patch)
tree888f44e806a98b050cad38727b4afb0b73e75824 /example/equip.xml
parentef18650cacc0ce7ef71885bf6d23e1adeb4d7e19 (diff)
downloadmanaserv-3629aebb96959afc56cf04d1f2fc4a9f03e94183.tar.gz
manaserv-3629aebb96959afc56cf04d1f2fc4a9f03e94183.tar.xz
manaserv-3629aebb96959afc56cf04d1f2fc4a9f03e94183.zip
Merged the example client and server data
It's easier to just talk about world data and to modify it as a whole. If there is really a need to separate it, a project can still choose to do that (and in whatever suitable way). There is no need to enforce this separation or to do it in our example. Reviewed-by: Erik Schilling
Diffstat (limited to 'example/equip.xml')
-rw-r--r--example/equip.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/example/equip.xml b/example/equip.xml
new file mode 100644
index 0000000..0a53a9a
--- /dev/null
+++ b/example/equip.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Notes:
+ The id and name parameters must be unique.
+ The capacity parameter indicates the 'size' of the slot.
+ The visible parameter indicates whether the item is visible
+ on the map character. Hence, whether the server should send appearance
+ updates when making changes on it.
+-->
+<equip-slots>
+ <slot id="1" name="Hand" capacity="2" visible="true" weapon="true">
+ <box x="8" y="123" background="equip-box-hands.png" />
+ <box x="129" y="123" background="equip-box-shield.png" />
+ </slot>
+ <slot id="2" name="Torso" capacity="1" visible="true">
+ <box x="50" y="40" background="equip-box-chest.png" />
+ </slot>
+ <slot id="3" name="Arms" capacity="1">
+ <box x="8" y="78" background="equip-box-hands.png" />
+ </slot>
+ <slot id="4" name="Head" capacity="1" visible="true">
+ <box x="70" y="0" background="equip-box-head.png" />
+ </slot>
+ <slot id="5" name="Legs" capacity="1" visible="true">
+ <box x="50" y="208" background="equip-box-legs.png" />
+ </slot>
+ <slot id="6" name="Ring" capacity="1">
+ <box x="129" y="78" background="equip-box-ring.png" />
+ </slot>
+ <slot id="7" name="Necklace" capacity="1">
+ <box x="90" y="40" background="equip-box-neck.png" />
+ </slot>
+ <slot id="8" name="Feet" capacity="1" visible="true">
+ <box x="90" y="208" background="equip-box-feet.png" />
+ </slot>
+ <slot id="9" name="Ammo" capacity="1" ammo="true">
+ <box x="8" y="168" background="equip-box-ammo.png" />
+ </slot>
+</equip-slots>