summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2015-05-07 19:07:39 +0200
committerReid <reidyaro@gmail.com>2015-05-07 19:07:39 +0200
commit3e998645581c17851eb11b5b238f6803c35d0533 (patch)
tree203a9c2e9e0452eb00bca4e22cdfbb6dd4a19eb3
parentc975600ae86586c53a1bbc14b2ab4c13351db0aa (diff)
downloadclientdata-3e998645581c17851eb11b5b238f6803c35d0533.tar.gz
clientdata-3e998645581c17851eb11b5b238f6803c35d0533.tar.bz2
clientdata-3e998645581c17851eb11b5b238f6803c35d0533.tar.xz
clientdata-3e998645581c17851eb11b5b238f6803c35d0533.zip
Add treeleaf animation by Sogomn.
-rw-r--r--LICENSE1
-rw-r--r--graphics/sprites/npcs/sprite/treeleaf.pngbin0 -> 550 bytes
-rw-r--r--graphics/sprites/npcs/xml/treeleaf.xml34
-rw-r--r--npcs.xml5
4 files changed, 40 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
index 9db7c08f..606274a0 100644
--- a/LICENSE
+++ b/LICENSE
@@ -253,6 +253,7 @@ https://www.gitorious.org/evol/clientdata-beta/blobs/master/LICENSE
graphics/sprites/npcs/sprite/sleepingorc.png (Reid) (CC BY-SA 3.0) (Crush)
graphics/sprites/npcs/sprite/tarlan.png (Reid) (CC BY-SA 3.0) (Modanung)
graphics/sprites/npcs/sprite/terry.png (Reid) (CC BY-SA 3.0) (Salva)
+ graphics/sprites/npcs/sprite/treeleaf.png (Sogomn) (CC BY-SA 3.0) (Reid)
graphics/sprites/npcs/sprite/unanimated.png (Lien, Modanung, Reid) (CC BY-SA 3.0) (Talaroc, Fother)
## Races
graphics/sprites/races/demon-female.png (Modanung, Talaroc) (CC BY-SA 3.0) (Alige, Reid, Saphy)
diff --git a/graphics/sprites/npcs/sprite/treeleaf.png b/graphics/sprites/npcs/sprite/treeleaf.png
new file mode 100644
index 00000000..f0b9ecaa
--- /dev/null
+++ b/graphics/sprites/npcs/sprite/treeleaf.png
Binary files differ
diff --git a/graphics/sprites/npcs/xml/treeleaf.xml b/graphics/sprites/npcs/xml/treeleaf.xml
new file mode 100644
index 00000000..bc7198ba
--- /dev/null
+++ b/graphics/sprites/npcs/xml/treeleaf.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: Reid
+Copyright (C) 2015 Evol Online -->
+<sprite>
+ <imageset name="npc"
+ src="graphics/sprites/npcs/sprite/treeleaf.png"
+ width="32"
+ height="32"
+ offsetY="12"/>
+
+ <action name="stand" imageset="npc">
+ <!-- Falling leaf -->
+ <animation direction="default">
+ <sequence start="0" end="1" delay="90" offsetY="-60"/>
+ <frame index="0" delay="20" offsetY="-51"/>
+ <sequence start="0" end="3" delay="90" offsetY="-50"/>
+ <frame index="0" delay="20" offsetY="-41"/>
+ <sequence start="0" end="3" delay="90" offsetY="-40"/>
+ <frame index="0" delay="20" offsetY="-31"/>
+ <sequence start="0" end="3" delay="90" offsetY="-30"/>
+ <frame index="0" delay="20" offsetY="-21"/>
+ <sequence start="0" end="3" delay="90" offsetY="-20"/>
+ <frame index="0" delay="20" offsetY="-11"/>
+ <sequence start="0" end="3" delay="90" offsetY="-10"/>
+ <frame index="0" delay="20" offsetY="-1"/>
+ <sequence start="0" end="3" delay="90"/>
+ <frame index="3"/>
+ </animation>
+ <!-- No leaf -->
+ <animation direction="up">
+ <frame index="4"/>
+ </animation>
+ </action>
+</sprite>
diff --git a/npcs.xml b/npcs.xml
index 42c13b3e..a6a766e0 100644
--- a/npcs.xml
+++ b/npcs.xml
@@ -294,6 +294,11 @@ IDs 990-999 = Special
<sprite>npcs/xml/artisindoor-wood.xml</sprite>
<menu name="Open" command="talk 'NAME'"/>
</npc>
+ <npc id="909">
+ <!-- Falling leaf, generic green leaf falling from a tree. -->
+ <sprite>npcs/xml/treeleaf.xml</sprite>
+ <menu name="Touch" command="talk 'NAME'"/>
+ </npc>
<npc id="999">
<!-- No sprite. -->
<menu name="Talk" command="talk 'NAME'"/>