summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertram <bertram@cegetel.net>2009-08-03 19:40:26 +0200
committerBertram <bertram@cegetel.net>2009-08-03 19:40:26 +0200
commitddb1b302e4dc25c0499578c59004675c7b19bd4c (patch)
tree95ea271398ae32e6f86ebb5095a3f17d64a67032
parent0104af294d1d0fdc2f5955288e6507a19c027b3b (diff)
downloadclientdata-ddb1b302e4dc25c0499578c59004675c7b19bd4c.tar.gz
clientdata-ddb1b302e4dc25c0499578c59004675c7b19bd4c.tar.bz2
clientdata-ddb1b302e4dc25c0499578c59004675c7b19bd4c.tar.xz
clientdata-ddb1b302e4dc25c0499578c59004675c7b19bd4c.zip
Added the Wood Staff and its placeholder in items.xml
-rw-r--r--graphics/items/weapon-staff-woodstaff.pngbin0 -> 321 bytes
-rw-r--r--graphics/sprites/weapon-staff.pngbin0 -> 9098 bytes
-rw-r--r--graphics/sprites/weapon-staff.xml87
-rw-r--r--items.xml7
4 files changed, 93 insertions, 1 deletions
diff --git a/graphics/items/weapon-staff-woodstaff.png b/graphics/items/weapon-staff-woodstaff.png
new file mode 100644
index 00000000..3e1f0674
--- /dev/null
+++ b/graphics/items/weapon-staff-woodstaff.png
Binary files differ
diff --git a/graphics/sprites/weapon-staff.png b/graphics/sprites/weapon-staff.png
new file mode 100644
index 00000000..772e0167
--- /dev/null
+++ b/graphics/sprites/weapon-staff.png
Binary files differ
diff --git a/graphics/sprites/weapon-staff.xml b/graphics/sprites/weapon-staff.xml
new file mode 100644
index 00000000..ab46fae0
--- /dev/null
+++ b/graphics/sprites/weapon-staff.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<sprite name="player" action="stand">
+ <imageset name="staff" src="graphics/sprites/weapon-staff.png" width="128" height="128" />
+
+ <action name="default" imageset="staff">
+ </action>
+
+ <action name="stand" imageset="staff">
+ <animation direction="down">
+ <frame index="0" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="left">
+ <frame index="16" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="up">
+ <frame index="32" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="right">
+ <frame index="48" offsetX ="0" offsetY ="32" />
+ </animation>
+ </action>
+
+ <action name="walk" imageset="staff">
+ <animation direction="down">
+ <sequence start="1" end="6" offsetX ="0" offsetY ="32" delay="75" />
+ </animation>
+ <animation direction="left">
+ <sequence start="17" end="22" offsetX ="0" offsetY ="32" delay="75" />
+ </animation>
+ <animation direction="up">
+ <sequence start="33" end="38" offsetX ="0" offsetY ="32" delay="75" />
+ </animation>
+ <animation direction="right">
+ <sequence start="49" end="54" offsetX ="0" offsetY ="32" delay="75" />
+ </animation>
+ </action>
+
+ <action name="sit" imageset="staff">
+ <animation direction="down">
+ <frame index="7" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="left">
+ <frame index="23" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="up">
+ <frame index="39" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="right">
+ <frame index="55" offsetX ="0" offsetY ="32" />
+ </animation>
+ </action>
+
+ <action name="dead" imageset="staff">
+ <animation direction="down">
+ <frame index="12" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="left">
+ <frame index="12" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="up">
+ <frame index="12" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="right">
+ <frame index="12" offsetX ="0" offsetY ="32" />
+ </animation>
+ </action>
+
+ <action name="attack" imageset="staff">
+ <animation direction="down">
+ <sequence start="8" end="11" offsetX ="0" offsetY ="32" delay="75" />
+ <end />
+ </animation>
+ <animation direction="left">
+ <sequence start="24" end="27" offsetX ="0" offsetY ="32" delay="75" />
+ <end />
+ </animation>
+ <animation direction="up">
+ <sequence start="40" end="43" offsetX ="0" offsetY ="32" delay="75" />
+ <end />
+ </animation>
+ <animation direction="right">
+ <sequence start="56" end="59" offsetX ="0" offsetY ="32" delay="75" />
+ <end />
+ </animation>
+ </action>
+
+</sprite>
diff --git a/items.xml b/items.xml
index 09876529..a7ad6fc8 100644
--- a/items.xml
+++ b/items.xml
@@ -100,6 +100,10 @@
weapon_type="1"> <!-- magic fist -->
<sprite>weapon-fist.xml</sprite>
</item>
+ <item id="35"
+ weapon_type="11">
+ <sprite>weapon-staff.xml</sprite>
+ </item>
<item id="501"
image="use-potion-a.png|G:#22ff22"
@@ -2399,7 +2403,8 @@
<!-- 755 ASSASSIN SHIRT -->
<!-- 756 ASSASSIN GLOVES -->
<!-- 757 ASSASSIN BOOTS -->
-
+ <!-- 758 STAFF WEAPON -->
+
<!-- HERE ARE SOME UNUSED ITEM IDS -->
<item id="1198"