summaryrefslogtreecommitdiff
path: root/graphics/sprites/weapon-scythe.xml
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2012-06-05 15:55:17 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2012-06-11 20:42:33 +0200
commitb683a8cfeb43f4c6b9547ad9c31e82b8af50626b (patch)
tree65bfa1ca0e8b49984274b5faafae58bb3ac7992f /graphics/sprites/weapon-scythe.xml
parent93b68068f1c940d9437b1849047349b1a8a1e91e (diff)
downloadclientdata-b683a8cfeb43f4c6b9547ad9c31e82b8af50626b.tar.gz
clientdata-b683a8cfeb43f4c6b9547ad9c31e82b8af50626b.tar.bz2
clientdata-b683a8cfeb43f4c6b9547ad9c31e82b8af50626b.tar.xz
clientdata-b683a8cfeb43f4c6b9547ad9c31e82b8af50626b.zip
Format xml files.
Running tools/formatXML.sh Applying manual edits to: - effects.xml to place comments above the line they belong to instead of below - to paths.xml and portal-door.particle.xml to remove tabs within a comment - to playerglow.particle.xml to remove an superflous '-->' which messed up the automatic indentation. - used 'sed 's/^\(.*\)\(<!--.*-->\)\(.*\)$/\2\1\3/' -i npcs.xml' to move comments in front of the tags they belong to, manually edited npcs 251 to 265
Diffstat (limited to 'graphics/sprites/weapon-scythe.xml')
-rw-r--r--graphics/sprites/weapon-scythe.xml160
1 files changed, 76 insertions, 84 deletions
diff --git a/graphics/sprites/weapon-scythe.xml b/graphics/sprites/weapon-scythe.xml
index d87a966b..c27037ea 100644
--- a/graphics/sprites/weapon-scythe.xml
+++ b/graphics/sprites/weapon-scythe.xml
@@ -1,87 +1,79 @@
<?xml version="1.0"?>
<sprite name="player" action="stand">
- <imageset name="staff" src="graphics/sprites/weapon-scythe.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>
-
+ <imageset name="staff" src="graphics/sprites/weapon-scythe.png" width="128" height="128"/>
+ <action name="default" imageset="staff"/>
+ <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>