summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/items/equipment/ammo/stoneprojectile-icon.pngbin0 -> 1046 bytes
-rw-r--r--graphics/items/equipment/weapon/slingshot-icon.pngbin0 -> 558 bytes
-rw-r--r--graphics/particles/stoneprojectile.particle.xml8
-rw-r--r--graphics/particles/stoneprojectile.pngbin0 -> 1347 bytes
-rw-r--r--graphics/sprites/weapon-slingshot.pngbin0 -> 7438 bytes
-rw-r--r--graphics/sprites/weapon-slingshot.xml23
-rw-r--r--items.xml20
7 files changed, 50 insertions, 1 deletions
diff --git a/graphics/items/equipment/ammo/stoneprojectile-icon.png b/graphics/items/equipment/ammo/stoneprojectile-icon.png
new file mode 100644
index 00000000..9a13891d
--- /dev/null
+++ b/graphics/items/equipment/ammo/stoneprojectile-icon.png
Binary files differ
diff --git a/graphics/items/equipment/weapon/slingshot-icon.png b/graphics/items/equipment/weapon/slingshot-icon.png
new file mode 100644
index 00000000..a0586329
--- /dev/null
+++ b/graphics/items/equipment/weapon/slingshot-icon.png
Binary files differ
diff --git a/graphics/particles/stoneprojectile.particle.xml b/graphics/particles/stoneprojectile.particle.xml
new file mode 100644
index 00000000..1eeadfb3
--- /dev/null
+++ b/graphics/particles/stoneprojectile.particle.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<effect>
+ <particle position-x="0" position-y="0" position-z="32" lifetime="128">
+ <rotation imageset="graphics/particles/stoneprojectile.png" width="16" height="16">
+ <sequence start="0" end="7"/>
+ </rotation>
+ </particle>
+</effect>
diff --git a/graphics/particles/stoneprojectile.png b/graphics/particles/stoneprojectile.png
new file mode 100644
index 00000000..a4728be9
--- /dev/null
+++ b/graphics/particles/stoneprojectile.png
Binary files differ
diff --git a/graphics/sprites/weapon-slingshot.png b/graphics/sprites/weapon-slingshot.png
new file mode 100644
index 00000000..53e1ca18
--- /dev/null
+++ b/graphics/sprites/weapon-slingshot.png
Binary files differ
diff --git a/graphics/sprites/weapon-slingshot.xml b/graphics/sprites/weapon-slingshot.xml
new file mode 100644
index 00000000..3b396d42
--- /dev/null
+++ b/graphics/sprites/weapon-slingshot.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<sprite name="player" action="stand">
+ <imageset name="bow" src="graphics/sprites/weapon-slingshot.png" width="64" height="64"/>
+ <action name="default" imageset="bow"/>
+ <action name="attack_bow" imageset="bow">
+ <animation direction="down">
+ <sequence start="13" end="17" delay="75"/>
+ <end/>
+ </animation>
+ <animation direction="left">
+ <sequence start="31" end="35" delay="75"/>
+ <end/>
+ </animation>
+ <animation direction="up">
+ <sequence start="49" end="53" delay="75"/>
+ <end/>
+ </animation>
+ <animation direction="right">
+ <sequence start="67" end="71" delay="75"/>
+ <end/>
+ </animation>
+ </action>
+</sprite>
diff --git a/items.xml b/items.xml
index f576929d..e01ce50e 100644
--- a/items.xml
+++ b/items.xml
@@ -3743,6 +3743,25 @@
weight="1">
<sprite>equipment/head/rosehat.xml|#6666aa,ccccff</sprite>
</item>
+ <item id="903"
+ image="equipment/weapon/slingshot-icon.png"
+ name="Sling Shot"
+ description="In the right hands, everything is a weapon."
+ effect="Damage +5 / Range 3"
+ type="equip-2hand"
+ weapon-type="bow"
+ attack-action="attack_bow"
+ weight="10"
+ missile-particle="graphics/particles/stoneprojectile.particle.xml">
+ <sprite>weapon-slingshot.xml</sprite>
+ </item>
+ <item id="904"
+ image="equipment/ammo/stoneprojectile-icon.png"
+ name="Sling Bullet"
+ description="A smooth stone finished to fit neatly into a sling."
+ effect="Damage +5"
+ type="equip-ammo"
+ weight="1"/>
<!-- HERE ARE SOME UNUSED ITEM IDS -->
@@ -8613,5 +8632,4 @@
<sprite gender="male">equipment/chest/sorcerer-robe-male.xml|#ffffff;#EFEFEF</sprite>
<sprite gender="female">equipment/chest/sorcerer-robe-female.xml|#ffffff;#EFEFEF</sprite>
</item>
-
</items>