summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCassy1 <cassy.tmw@gmail.com>2014-07-16 19:49:19 +0200
committerCassy1 <cassy.tmw@gmail.com>2014-10-01 11:32:19 +0200
commit486a4471799138dbf916b45d6f24d308d8733ce0 (patch)
tree08363d5fd51ccff86d66846649a7fa0fac6ed177
parent2b41707d116cc44a71539befe6478247d9389af1 (diff)
downloadclientdata-486a4471799138dbf916b45d6f24d308d8733ce0.tar.gz
clientdata-486a4471799138dbf916b45d6f24d308d8733ce0.tar.bz2
clientdata-486a4471799138dbf916b45d6f24d308d8733ce0.tar.xz
clientdata-486a4471799138dbf916b45d6f24d308d8733ce0.zip
Add Kid Book
-rw-r--r--graphics/items/equipment/weapon/kidbook.pngbin0 -> 3687 bytes
-rw-r--r--graphics/sprites/monsters/troll-race.xml104
-rw-r--r--items/equip-2hand/_include.xml1
-rw-r--r--items/equip-2hand/item906_KidBook.xml15
-rw-r--r--items/racesprite/_include.xml4
-rw-r--r--items/racesprite/item-110_Troll.xml (renamed from items/racesprite/item-11054_Troll.xml)4
-rw-r--r--license.txt1
7 files changed, 124 insertions, 5 deletions
diff --git a/graphics/items/equipment/weapon/kidbook.png b/graphics/items/equipment/weapon/kidbook.png
new file mode 100644
index 00000000..b587170a
--- /dev/null
+++ b/graphics/items/equipment/weapon/kidbook.png
Binary files differ
diff --git a/graphics/sprites/monsters/troll-race.xml b/graphics/sprites/monsters/troll-race.xml
new file mode 100644
index 00000000..52de0366
--- /dev/null
+++ b/graphics/sprites/monsters/troll-race.xml
@@ -0,0 +1,104 @@
+<?xml version="1.0"?>
+<sprite>
+ <imageset name="base" src="graphics/sprites/monsters/troll.png|W;R;Y;G" width="40" height="40"/>
+ <action name="stand" imageset="base">
+ <animation direction="down">
+ <sequence start="0" end="5" delay="300"/>
+ </animation>
+ <animation direction="downright">
+ <sequence start="6" end="11" delay="300"/>
+ </animation>
+ <animation direction="right">
+ <sequence start="12" end="17" delay="300"/>
+ </animation>
+ <animation direction="upright">
+ <sequence start="18" end="23" delay="300"/>
+ </animation>
+ <animation direction="up">
+ <sequence start="24" end="29" delay="300"/>
+ </animation>
+ <animation direction="upleft">
+ <sequence start="30" end="35" delay="300"/>
+ </animation>
+ <animation direction="left">
+ <sequence start="36" end="41" delay="300"/>
+ </animation>
+ <animation direction="downleft">
+ <sequence start="42" end="47" delay="300"/>
+ </animation>
+ </action>
+ <action name="walk" imageset="base">
+ <animation direction="down">
+ <sequence start="48" end="53" delay="100"/>
+ </animation>
+ <animation direction="downright">
+ <sequence start="54" end="59" delay="100"/>
+ </animation>
+ <animation direction="right">
+ <sequence start="60" end="65" delay="100"/>
+ </animation>
+ <animation direction="upright">
+ <sequence start="66" end="71" delay="100"/>
+ </animation>
+ <animation direction="up">
+ <sequence start="72" end="77" delay="100"/>
+ </animation>
+ <animation direction="upleft">
+ <sequence start="78" end="83" delay="100"/>
+ </animation>
+ <animation direction="left">
+ <sequence start="84" end="89" delay="100"/>
+ </animation>
+ <animation direction="downleft">
+ <sequence start="90" end="95" delay="100"/>
+ </animation>
+ </action>
+ <action name="attack" imageset="base">
+ <animation direction="down">
+ <sequence start="96" end="101" delay="100"/>
+ <end/>
+ </animation>
+ <animation direction="downright">
+ <sequence start="102" end="107" delay="100"/>
+ <end/>
+ </animation>
+ <animation direction="right">
+ <sequence start="108" end="113" delay="100"/>
+ <end/>
+ </animation>
+ <animation direction="upright">
+ <sequence start="114" end="119" delay="100"/>
+ <end/>
+ </animation>
+ <animation direction="up">
+ <sequence start="120" end="125" delay="100"/>
+ <end/>
+ </animation>
+ <animation direction="upleft">
+ <sequence start="126" end="131" delay="100"/>
+ <end/>
+ </animation>
+ <animation direction="left">
+ <sequence start="132" end="137" delay="100"/>
+ <end/>
+ </animation>
+ <animation direction="downleft">
+ <sequence start="138" end="143" delay="100"/>
+ <end/>
+ </animation>
+ </action>
+ <action name="dead" imageset="base">
+ <animation direction="down">
+ <frame index="146"/>
+ </animation>
+ <animation direction="right">
+ <frame index="152"/>
+ </animation>
+ <animation direction="up">
+ <frame index="158"/>
+ </animation>
+ <animation direction="left">
+ <frame index="164"/>
+ </animation>
+ </action>
+</sprite>
diff --git a/items/equip-2hand/_include.xml b/items/equip-2hand/_include.xml
index 1694be86..b9c99813 100644
--- a/items/equip-2hand/_include.xml
+++ b/items/equip-2hand/_include.xml
@@ -18,5 +18,6 @@
<include name="items/equip-2hand/item758_WoodenStaff.xml"/>
<include name="items/equip-2hand/item878_BansheeBow.xml"/>
<include name="items/equip-2hand/item903_SlingShot.xml"/>
+ <include name="items/equip-2hand/item906_KidBook.xml"/>
<include name="items/equip-2hand/item1200_Bow.xml"/>
</items>
diff --git a/items/equip-2hand/item906_KidBook.xml b/items/equip-2hand/item906_KidBook.xml
new file mode 100644
index 00000000..5b825982
--- /dev/null
+++ b/items/equip-2hand/item906_KidBook.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<items>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
+ <its:translateRule selector="//item/@name" translate="yes"/>
+ <its:translateRule selector="//item/@description" translate="yes"/>
+ <its:translateRule selector="//item/@effect" translate="yes"/>
+ <its:translateRule selector="//*" translate="no"/>
+ </its:rules>
+ <item id="906" image="equipment/weapon/kidbook.png" name="Kid Book" description="A big spell book used to transform humans into Trolls." effect="Damage +1" type="equip-2hand" weight="100" missile-particle="graphics/particles/monster-troll-foefire.particle.xml" sellProtected="true">
+ <replace/>
+ <replace sprite="race">
+ <item from="-100" to="-110"/>
+ </replace>
+ </item>
+</items>
diff --git a/items/racesprite/_include.xml b/items/racesprite/_include.xml
index 5cec3a30..f1830b4f 100644
--- a/items/racesprite/_include.xml
+++ b/items/racesprite/_include.xml
@@ -1,6 +1,4 @@
<?xml version="1.0"?>
-<!-- Note: When adding races with mob sprites:
- ID = -1xxxx , xxxx = mob ID -->
<items>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule selector="//item/@name" translate="yes"/>
@@ -9,5 +7,5 @@
<its:translateRule selector="//*" translate="no"/>
</its:rules>
<include name="items/racesprite/item-100_Human.xml"/>
- <include name="items/racesprite/item-11054_Troll.xml"/>
+ <include name="items/racesprite/item-110_Troll.xml"/>
</items>
diff --git a/items/racesprite/item-11054_Troll.xml b/items/racesprite/item-110_Troll.xml
index baf9e12b..732f9e61 100644
--- a/items/racesprite/item-11054_Troll.xml
+++ b/items/racesprite/item-110_Troll.xml
@@ -6,7 +6,7 @@
<its:translateRule selector="//item/@effect" translate="yes"/>
<its:translateRule selector="//*" translate="no"/>
</its:rules>
- <item id="-11054" type="racesprite" name="Troll">
+ <item id="-110" type="racesprite" name="Troll">
<sprite>monsters/troll-race.xml|#FFDEC2;#FF4D4D;#FF99FF;#FFC88A</sprite>
</item>
-</items> \ No newline at end of file
+</items>
diff --git a/license.txt b/license.txt
index 4de4b99e..8abb7df9 100644
--- a/license.txt
+++ b/license.txt
@@ -258,6 +258,7 @@ http://creativecommons.org/licenses/by-sa/3.0/
graphics/items/equipment/weapon/dagger-shortsword.png (Irukard) (GPLv2), (CC BY-SA 3.0)
graphics/items/equipment/weapon/dagger-stiletto.png (Irukard) (GPLv2), (CC BY-SA 3.0)
graphics/items/equipment/weapon/mace-club.png (Irukard) (GPLv2), (CC BY-SA 3.0)
+ graphics/items/equipment/weapon/kidbook.png (Wombat, Salmondine, Enchilado) (GPLv2)
graphics/items/equipment/weapon/polearm-bardiche.png (Irukard) (GPLv2), (CC BY-SA 3.0)
graphics/items/equipment/weapon/polearm-dualspear.png (Irukard) (GPLv2), (CC BY-SA 3.0)
graphics/items/equipment/weapon/polearm-halberd.png (Irukard) (GPLv2), (CC BY-SA 3.0)