diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2006-11-04 23:56:30 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2006-11-04 23:56:30 +0000 |
commit | 6a25aedff608a90a7240bb36348fa1bbbfcd0dc5 (patch) | |
tree | 9c9e15f5c64f5935796d7577addb40511f76a10a | |
parent | 6d06963a2963954dc4c61ead9b7de88c52c7ea89 (diff) | |
download | clientdata-6a25aedff608a90a7240bb36348fa1bbbfcd0dc5.tar.gz clientdata-6a25aedff608a90a7240bb36348fa1bbbfcd0dc5.tar.bz2 clientdata-6a25aedff608a90a7240bb36348fa1bbbfcd0dc5.tar.xz clientdata-6a25aedff608a90a7240bb36348fa1bbbfcd0dc5.zip |
added scythe as a permanent weapon.
When you want to test it: either spawn an item with the id 623 or uncomment the lines 439-441 in being.cpp to use the sharp knive as scythe.
-rw-r--r-- | graphics/items/weapon-polearm-scythe.png | bin | 0 -> 642 bytes | |||
-rw-r--r-- | graphics/sprites/CMakeLists.txt | 8 | ||||
-rw-r--r-- | graphics/sprites/Makefile.am | 8 | ||||
-rw-r--r-- | graphics/sprites/weapon-bow.xml | 26 | ||||
-rw-r--r-- | graphics/sprites/weapon-dagger.xml (renamed from graphics/sprites/weapons.xml) | 19 | ||||
-rw-r--r-- | graphics/sprites/weapon-fist.xml | 7 | ||||
-rw-r--r-- | graphics/sprites/weapon-scythe.xml | 26 | ||||
-rw-r--r-- | graphics/sprites/weapon0.png | bin | 3622 -> 2016 bytes | |||
-rw-r--r-- | graphics/sprites/weapon2.png | bin | 0 -> 3622 bytes | |||
-rw-r--r-- | items.xml | 1 |
10 files changed, 72 insertions, 23 deletions
diff --git a/graphics/items/weapon-polearm-scythe.png b/graphics/items/weapon-polearm-scythe.png Binary files differnew file mode 100644 index 00000000..c1d097a3 --- /dev/null +++ b/graphics/items/weapon-polearm-scythe.png diff --git a/graphics/sprites/CMakeLists.txt b/graphics/sprites/CMakeLists.txt index d4e41799..d459b4e8 100644 --- a/graphics/sprites/CMakeLists.txt +++ b/graphics/sprites/CMakeLists.txt @@ -104,7 +104,11 @@ SET(FILES player_male_base.xml weapon0.png weapon1.png - weapons.xml + weapon2.png + weapon_bow.xml + weapon_dagger.xml + weapon_fist.xml + weapon_scythe.xml ) -INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/graphics/sprites) +INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/graphics/sprites)
\ No newline at end of file diff --git a/graphics/sprites/Makefile.am b/graphics/sprites/Makefile.am index 3d10cc57..cee3653b 100644 --- a/graphics/sprites/Makefile.am +++ b/graphics/sprites/Makefile.am @@ -107,7 +107,11 @@ sprites_DATA = \ player_male_base.xml \ weapon0.png \ weapon1.png \ - weapons.xml + weapon2.png \ + weapon_bow.xml \ + weapon_dagger.xml \ + weapon_fist.xml \ + weapon_scythe.xml EXTRA_DIST = \ - $(sprites_DATA) + $(sprites_DATA)
\ No newline at end of file diff --git a/graphics/sprites/weapon-bow.xml b/graphics/sprites/weapon-bow.xml new file mode 100644 index 00000000..7f1e14e3 --- /dev/null +++ b/graphics/sprites/weapon-bow.xml @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<sprite name="player" action="stand"> + <imageset name="bow" src="graphics/sprites/weapon1.png" width="64" height="64" /> + + <action name="default" imageset="bow"> + </action> + + <action name="attack_bow" imageset="bow"> + <animation direction="down"> + <sequence start="0" end="4" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="5" end="9" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="10" end="14" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="15" end="19" delay="75" /> + <end /> + </animation> + </action> +</sprite>
\ No newline at end of file diff --git a/graphics/sprites/weapons.xml b/graphics/sprites/weapon-dagger.xml index 95fb933f..7bd9dcb7 100644 --- a/graphics/sprites/weapons.xml +++ b/graphics/sprites/weapon-dagger.xml @@ -1,7 +1,6 @@ <?xml version="1.0"?> <sprite name="player" action="stand"> <imageset name="dagger" src="graphics/sprites/weapon0.png" width="64" height="64" /> - <imageset name="bow" src="graphics/sprites/weapon1.png" width="64" height="64" /> <action name="default" imageset="dagger"> </action> @@ -25,22 +24,4 @@ </animation> </action> - <action name="attack_bow" imageset="bow"> - <animation direction="down"> - <sequence start="0" end="4" delay="75" /> - <end /> - </animation> - <animation direction="left"> - <sequence start="5" end="9" delay="75" /> - <end /> - </animation> - <animation direction="up"> - <sequence start="10" end="14" delay="75" /> - <end /> - </animation> - <animation direction="right"> - <sequence start="15" end="19" delay="75" /> - <end /> - </animation> - </action> </sprite>
\ No newline at end of file diff --git a/graphics/sprites/weapon-fist.xml b/graphics/sprites/weapon-fist.xml new file mode 100644 index 00000000..bfe04948 --- /dev/null +++ b/graphics/sprites/weapon-fist.xml @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<sprite name="player" action="stand"> + <imageset name="dagger" src="graphics/sprites/weapon0.png" width="64" height="64" /> + + <action name="default" imageset="dagger"> + </action> +</sprite>
\ No newline at end of file diff --git a/graphics/sprites/weapon-scythe.xml b/graphics/sprites/weapon-scythe.xml new file mode 100644 index 00000000..e305af96 --- /dev/null +++ b/graphics/sprites/weapon-scythe.xml @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<sprite name="player" action="stand"> + <imageset name="scythe" src="graphics/sprites/weapon2.png" width="64" height="64" /> + + <action name="default" imageset="scythe"> + </action> + + <action name="attack" imageset="scythe"> + <animation direction="down"> + <sequence start="0" end="3" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="4" end="7" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="8" end="11" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="12" end="15" delay="75" /> + <end /> + </animation> + </action> +</sprite>
\ No newline at end of file diff --git a/graphics/sprites/weapon0.png b/graphics/sprites/weapon0.png Binary files differindex f787ebe4..f691ef3f 100644 --- a/graphics/sprites/weapon0.png +++ b/graphics/sprites/weapon0.png diff --git a/graphics/sprites/weapon2.png b/graphics/sprites/weapon2.png Binary files differnew file mode 100644 index 00000000..f787ebe4 --- /dev/null +++ b/graphics/sprites/weapon2.png @@ -122,6 +122,7 @@ <item id="620" image="armor-head-circlet.png" art="0" name="Circlet" description="A nice piece of jewelry." effect="Defense: +4" type="0" weight="10" slot="0"/> <item id="621" image="armor-head-eyepatch.png" art="0" name="Eyepatch" description="What really makes you a pirate." effect="Defense: +3" type="0" weight="10" slot="0"/> <item id="622" image="armor-head-bandana.png" art="0" name="Bandana" description="A striped bandana." effect="Defense: +3" type="0" weight="10" slot="0"/> + <item id="623" image="weapon-polearm-scythe.png" art="0" name="Scythe" description="Usually used for farming but also useable as a weapon." effect="Damage: +25 / Range: 1" type="0" weight="10" slot="0"/> <item id="1199" image="weapon-arrow-arrow.png" art="0" name="Arrow" description="A standard arrow" effect="Damage: +25" type="0" weight="10" slot="0"/> <item id="1200" image="weapon-bow-bow.png" art="0" name="Bow" description="A distance weapon" effect="Damage: +15 / Range: 5" type="0" weight="10" slot="0"/> <item id="1201" image="weapon-dagger-knive.png" art="0" name="Knife" description="A small knife, the perfect weapon for a beginner" effect="Damage: 5 / Range: 1" type="0" weight="10" slot="0"/> |