summaryrefslogtreecommitdiffstats
path: root/example/clientdata/equip.xml
diff options
context:
space:
mode:
Diffstat (limited to 'example/clientdata/equip.xml')
-rw-r--r--example/clientdata/equip.xml25
1 files changed, 16 insertions, 9 deletions
diff --git a/example/clientdata/equip.xml b/example/clientdata/equip.xml
index 0d1c1d3..be180a0 100644
--- a/example/clientdata/equip.xml
+++ b/example/clientdata/equip.xml
@@ -1,12 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
+<!-- Notes:
+ The id and name parameters must be unique.
+ The count 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 name="hand" count="2" visible="true" />
- <slot name="torso" count="1" visible="true" />
- <slot name="arms" count="1" />
- <slot name="head" count="1" visible="true" />
- <slot name="legs" count="1" visible="true" />
- <slot name="ring" count="1" />
- <slot name="necklace" count="1" />
- <slot name="feet" count="1" />
- <slot name="ammo" count="1" />
+ <slot id="1" name="Hand" capacity="2" visible="true" weapon="true" />
+ <slot id="2" name="Torso" capacity="1" visible="true" />
+ <slot id="3" name="Arms" capacity="1" />
+ <slot id="4" name="Head" capacity="1" visible="true" />
+ <slot id="5" name="Legs" capacity="1" visible="true" />
+ <slot id="6" name="Ring" capacity="1" />
+ <slot id="7" name="Necklace" capacity="1" />
+ <slot id="8" name="Feet" capacity="1" visible="true" />
+ <slot id="9" name="Ammo" capacity="1" ammo="true" />
</equip-slots>