diff options
author | Ledmitz <smoothshifter@tuta.io> | 2020-09-30 16:48:26 +0000 |
---|---|---|
committer | Ledmitz <smoothshifter@tuta.io> | 2020-09-30 16:48:26 +0000 |
commit | 4776731b8807420f8c73aa4c9e12f386c93fcf40 (patch) | |
tree | 66487064de8e0b90f43f1190dfeee8fc9d277029 | |
parent | fb55f1630f889a42a2175b9f74092ad5b01b748b (diff) | |
download | clientdata-4776731b8807420f8c73aa4c9e12f386c93fcf40.tar.gz clientdata-4776731b8807420f8c73aa4c9e12f386c93fcf40.tar.bz2 clientdata-4776731b8807420f8c73aa4c9e12f386c93fcf40.tar.xz clientdata-4776731b8807420f8c73aa4c9e12f386c93fcf40.zip |
Created a null weapon for use with spells or invisible weapons. Specifically those in items/misc DIR.
-rw-r--r-- | graphics/sprites/equipment/weapons/null.png | bin | 0 -> 923 bytes | |||
-rw-r--r-- | graphics/sprites/equipment/weapons/null.xml | 84 | ||||
-rw-r--r-- | items/misc/item1701_toxicdart.xml | 2 | ||||
-rw-r--r-- | items/misc/item1704_flaredart.xml | 2 | ||||
-rw-r--r-- | items/misc/item1706_magicknuckles.xml | 1 | ||||
-rw-r--r-- | license.md | 1 |
6 files changed, 88 insertions, 2 deletions
diff --git a/graphics/sprites/equipment/weapons/null.png b/graphics/sprites/equipment/weapons/null.png Binary files differnew file mode 100644 index 00000000..0906ec03 --- /dev/null +++ b/graphics/sprites/equipment/weapons/null.png diff --git a/graphics/sprites/equipment/weapons/null.xml b/graphics/sprites/equipment/weapons/null.xml new file mode 100644 index 00000000..c706c02b --- /dev/null +++ b/graphics/sprites/equipment/weapons/null.xml @@ -0,0 +1,84 @@ +<?xml version="1.0"?> +<!-- For use with weapons that require no sprite. e.g. items/misc/ (magic) --> +<sprite variants="135" variant_offset="1"> + <imageset name="null" src="graphics/sprites/equipment/weapons/null.png|B;R" width="128" height="128"/> + <action name="default" imageset="null"/> + <action name="stand" imageset="null"> + <animation direction="down"> + <frame index="0" offsetY="32"/> + </animation> + <animation direction="left"> + <frame index="0" offsetY="32"/> + </animation> + <animation direction="up"> + <frame index="0" offsetY="32"/> + </animation> + <animation direction="right"> + <frame index="0" offsetY="32"/> + </animation> + </action> + <action name="sit" imageset="null"> + <animation direction="down"> + <frame index="0" offsetY="32"/> + </animation> + <animation direction="left"> + <frame index="0" offsetY="32"/> + </animation> + <animation direction="up"> + <frame index="0" offsetY="32"/> + </animation> + <animation direction="right"> + <frame index="0" offsetY="32"/> + </animation> + </action> + <action name="walk" imageset="null"> + <animation direction="down"> + <sequence offsetY="32" start="1" end="1" delay="75"/> + </animation> + <animation direction="left"> + <sequence offsetY="32" start="1" end="1" delay="75"/> + </animation> + <animation direction="up"> + <sequence offsetY="32" start="1" end="1" delay="75"/> + </animation> + <animation direction="right"> + <sequence offsetY="32" start="1" end="1" delay="75"/> + </animation> + </action> + <action name="attack" imageset="null"> + <animation direction="down"> + <sequence offsetY="32" start="1" end="1" delay="75"/> + <end/> + </animation> + <animation direction="left"> + <sequence offsetY="32" start="1" end="1" delay="75"/> + <end/> + </animation> + <animation direction="up"> + <sequence offsetY="32" start="1" end="1" delay="75"/> + <end/> + </animation> + <animation direction="right"> + <sequence offsetY="32" start="1" end="1" delay="75"/> + <end/> + </animation> + </action> + <action name="attack_chop" imageset="null"> + <animation direction="down"> + <sequence offsetY="32" start="1" end="1" delay="140"/> + <end/> + </animation> + <animation direction="left"> + <sequence offsetY="32" start="1" end="1" delay="140"/> + <end/> + </animation> + <animation direction="up"> + <sequence offsetY="32" start="1" end="1" delay="140"/> + <end/> + </animation> + <animation direction="right"> + <sequence offsetY="32" start="1" end="1" delay="140"/> + <end/> + </animation> + </action> +</sprite> diff --git a/items/misc/item1701_toxicdart.xml b/items/misc/item1701_toxicdart.xml index 52ed4523..ae581db4 100644 --- a/items/misc/item1701_toxicdart.xml +++ b/items/misc/item1701_toxicdart.xml @@ -7,7 +7,7 @@ <its:translateRule selector="//*" translate="no"/> </its:rules> <item id="1701" name="Toxic Dart" attack-action="attack_bow" attack-range="1" missile-particle="graphics/particles/dart.particle.xml"/> - <!-- <sprite></sprite> --> + <sprite>equipment/weapons/null.xml</sprite> <sound event="hit">magic/flar1.ogg</sound> <sound event="hit">magic/flar2.ogg</sound> <sound event="hit">magic/flar3.ogg</sound> diff --git a/items/misc/item1704_flaredart.xml b/items/misc/item1704_flaredart.xml index c1dee372..2aa9fd17 100644 --- a/items/misc/item1704_flaredart.xml +++ b/items/misc/item1704_flaredart.xml @@ -7,7 +7,7 @@ <its:translateRule selector="//*" translate="no"/> </its:rules> <item id="1704" name="Flare Dart" attack-action="attack_bow" attack-range="1" missile-particle="graphics/particles/dart.particle.xml"> - <!-- <sprite></sprite> --> + <sprite>equipment/weapons/null.xml</sprite> <sound event="hit">magic/flar1.ogg</sound> <sound event="hit">magic/flar2.ogg</sound> <sound event="hit">magic/flar3.ogg</sound> diff --git a/items/misc/item1706_magicknuckles.xml b/items/misc/item1706_magicknuckles.xml index 5f40c6db..1cf8db99 100644 --- a/items/misc/item1706_magicknuckles.xml +++ b/items/misc/item1706_magicknuckles.xml @@ -9,6 +9,7 @@ <item id="1706" name="Magic Knuckles" attack-action="attack" attack-range="1"> <!-- <sprite gender="unisex">equipment/hands/bromenalgloves.xml</sprite> --> <!-- <sprite gender="female">equipment/hands/bromenalgloves-female.xml</sprite> --> + <sprite>equipment/weapons/null.xml</sprite> <sound event="hit">punch.ogg</sound> </item> </items> @@ -664,6 +664,7 @@ File | Artists | Licenses `graphics/sprites/equipment/weapons/axe-stab.png` | :grey_question:, Wombat, Wushin, Varuna | GPLv2 `graphics/sprites/equipment/weapons/bow-banshee.png` | V0id | GPLv2 `graphics/sprites/equipment/weapons/bow-slingshot.png` | Chef Chelios, wushin | GPLv2 +`graphics/sprites/equipment/weapons/null.png` | Ledmitz | CC0 `graphics/sprites/equipment/weapons/polearm-blunt.png` | :grey_question:, Wombat, Wushin | GPLv2 `graphics/sprites/equipment/weapons/polearm-chop.png` | :grey_question:, Wombat, Wushin | GPLv2 `graphics/sprites/equipment/weapons/polearm-spear.png` | :grey_question:, Wombat, Wushin | GPLv2 |