summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2014-10-06 19:26:24 -0500
committerWushin <pasekei@gmail.com>2014-10-06 19:26:24 -0500
commitfd547b2cab3c4cda05ed643de1c4bdc7b1ca325a (patch)
treebdd076421cedbdd8c111f90e8a51e80dacb07607
parent37320604afcfb7a65a75a36aac15aaa87f812a62 (diff)
parent486a4471799138dbf916b45d6f24d308d8733ce0 (diff)
downloadclientdata-fd547b2cab3c4cda05ed643de1c4bdc7b1ca325a.tar.gz
clientdata-fd547b2cab3c4cda05ed643de1c4bdc7b1ca325a.tar.bz2
clientdata-fd547b2cab3c4cda05ed643de1c4bdc7b1ca325a.tar.xz
clientdata-fd547b2cab3c4cda05ed643de1c4bdc7b1ca325a.zip
Merge pull request #138 from Cassy1/troll-book
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.xml1
-rw-r--r--items/racesprite/item-110_Troll.xml12
-rw-r--r--license.txt1
7 files changed, 134 insertions, 0 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 1a4a633c..f1830b4f 100644
--- a/items/racesprite/_include.xml
+++ b/items/racesprite/_include.xml
@@ -7,4 +7,5 @@
<its:translateRule selector="//*" translate="no"/>
</its:rules>
<include name="items/racesprite/item-100_Human.xml"/>
+ <include name="items/racesprite/item-110_Troll.xml"/>
</items>
diff --git a/items/racesprite/item-110_Troll.xml b/items/racesprite/item-110_Troll.xml
new file mode 100644
index 00000000..732f9e61
--- /dev/null
+++ b/items/racesprite/item-110_Troll.xml
@@ -0,0 +1,12 @@
+<?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="-110" type="racesprite" name="Troll">
+ <sprite>monsters/troll-race.xml|#FFDEC2;#FF4D4D;#FF99FF;#FFC88A</sprite>
+ </item>
+</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)