summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHal9OOO (Francesco Miglietta) <miglietta.francesco@gmail.com>2012-06-14 00:01:57 +0200
committerHal9OOO (Francesco Miglietta) <miglietta.francesco@gmail.com>2012-06-14 00:01:57 +0200
commitd85d75da68a3e931eb3ed25111cac9be515cc28d (patch)
treef8ec7292241cb4f335813eee39359e0aa106bcfe
parent4844e962818b2e6749222ae3671695caee36ae60 (diff)
downloadclientdata-d85d75da68a3e931eb3ed25111cac9be515cc28d.tar.gz
clientdata-d85d75da68a3e931eb3ed25111cac9be515cc28d.tar.bz2
clientdata-d85d75da68a3e931eb3ed25111cac9be515cc28d.tar.xz
clientdata-d85d75da68a3e931eb3ed25111cac9be515cc28d.zip
Animated Chest added.
-rw-r--r--graphics/sprites/npcs/sprite/chest.pngbin0 -> 2292 bytes
-rw-r--r--graphics/sprites/npcs/xml/chest.xml21
-rw-r--r--npcs.xml9
3 files changed, 30 insertions, 0 deletions
diff --git a/graphics/sprites/npcs/sprite/chest.png b/graphics/sprites/npcs/sprite/chest.png
new file mode 100644
index 00000000..f54ef51a
--- /dev/null
+++ b/graphics/sprites/npcs/sprite/chest.png
Binary files differ
diff --git a/graphics/sprites/npcs/xml/chest.xml b/graphics/sprites/npcs/xml/chest.xml
new file mode 100644
index 00000000..9a071885
--- /dev/null
+++ b/graphics/sprites/npcs/xml/chest.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!-- Authors: Hal9OOO (Francesco Miglietta)
+Copyright (C) 2011-2012 Evol Online -->
+<sprite>
+ <imageset name="chest" src="graphics/sprites/npcs/sprite/chest.png" width="32" height="32"/>
+
+ <action name="stand" imageset="chest">
+ <!-- Chest Closes -->
+ <animation direction="default">
+ <frame index="0" delay="1000"/>
+ </animation>
+
+ <!-- Chest Opens -->
+ <animation direction="up">
+ <frame index="1" delay="250"/>
+ <frame index="2" delay="6000"/>
+ <frame index="0" delay="1000"/>
+ </animation>
+
+ </action>
+</sprite>
diff --git a/npcs.xml b/npcs.xml
index 5a2fa1a6..2fcd1d14 100644
--- a/npcs.xml
+++ b/npcs.xml
@@ -106,6 +106,10 @@ IDs 990-999 = Special
<sprite>npcs/xml/tarlan.xml</sprite>
<sprite>accessories/croconut.xml</sprite>
</npc>
+ <npc id="320">
+ <!-- Chest container. -->
+ <sprite>npcs/xml/chest.xml</sprite>
+ </npc>
<!-- Special NPCs -->
<npc id="900">
@@ -132,6 +136,11 @@ IDs 990-999 = Special
<!-- Right Hammock -->
<sprite>npcs/xml/hammock-animated2.xml</sprite>
</npc>
+ <npc id="906">
+ <!-- Left Hammock, with particles. -->
+ <sprite>npcs/xml/hammock-animated1.xml</sprite>
+ <particlefx>graphics/particles/savepoint-32x32.xml</particlefx>
+ </npc>
<npc id="999">
<!-- Invisible -->
</npc>