summaryrefslogtreecommitdiff
path: root/graphics/sprites/npcs/xml
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/sprites/npcs/xml')
-rw-r--r--graphics/sprites/npcs/xml/big-chest.xml21
-rw-r--r--graphics/sprites/npcs/xml/chest-big.xml28
-rw-r--r--graphics/sprites/npcs/xml/chest.xml21
3 files changed, 42 insertions, 28 deletions
diff --git a/graphics/sprites/npcs/xml/big-chest.xml b/graphics/sprites/npcs/xml/big-chest.xml
deleted file mode 100644
index eb15a42d..00000000
--- a/graphics/sprites/npcs/xml/big-chest.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0"?>
-<!-- Authors: Hal9OOO (Francesco Miglietta)
-Copyright (C) 2011-2012 Evol Online -->
-<sprite>
- <imageset name="big-chest" src="graphics/sprites/npcs/sprite/big-chest.png" width="48" height="64"/>
-
- <action name="stand" imageset="big-chest">
- <!-- Chest Closes -->
- <animation direction="default">
- <frame index="0" delay="1000"/>
- </animation>
-
- <!-- Chest Opens -->
- <animation direction="up">
- <frame index="1" delay="125"/>
- <frame index="2" delay="125"/>
- <frame index="3" delay="6000"/>
- </animation>
-
- </action>
-</sprite>
diff --git a/graphics/sprites/npcs/xml/chest-big.xml b/graphics/sprites/npcs/xml/chest-big.xml
new file mode 100644
index 00000000..9108de69
--- /dev/null
+++ b/graphics/sprites/npcs/xml/chest-big.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!-- Authors: Hal9OOO (Francesco Miglietta)
+Copyright (C) 2012 Evol Online -->
+<sprite>
+ <imageset name="chest" src="graphics/sprites/npcs/sprite/chest-big.png" width="48" height="64"/>
+
+ <action name="stand" imageset="chest">
+ <!-- Chest Closed. -->
+ <animation direction="default">
+ <frame index="0"/>
+ </animation>
+
+ <!-- Chest Opening. -->
+ <animation direction="left">
+ <sequence value="1,2" delay="110"/>
+ </animation>
+
+ <!-- Chest Opened. -->
+ <animation direction="up">
+ <frame index="3"/>
+ </animation>
+
+ <!-- Chest Closing. -->
+ <animation direction="right">
+ <sequence value="2,1" delay="100"/>
+ </animation>
+ </action>
+</sprite>
diff --git a/graphics/sprites/npcs/xml/chest.xml b/graphics/sprites/npcs/xml/chest.xml
index 694b8589..2f6002f5 100644
--- a/graphics/sprites/npcs/xml/chest.xml
+++ b/graphics/sprites/npcs/xml/chest.xml
@@ -1,21 +1,28 @@
<?xml version="1.0"?>
<!-- Authors: Hal9OOO (Francesco Miglietta)
-Copyright (C) 2011-2012 Evol Online -->
+Copyright (C) 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 -->
+ <!-- Chest Closed. -->
<animation direction="default">
- <frame index="0" delay="1000"/>
+ <frame index="0"/>
</animation>
- <!-- Chest Opens -->
+ <!-- Chest Opening. -->
+ <animation direction="left">
+ <frame index="1" delay="110"/>
+ </animation>
+
+ <!-- Chest Opened. -->
<animation direction="up">
- <frame index="1" delay="250"/>
- <frame index="2" delay="6000"/>
- <frame index="1" delay="250"/>
+ <frame index="2"/>
</animation>
+ <!-- Chest Closing. -->
+ <animation direction="right">
+ <frame index="1" delay="110"/>
+ </animation>
</action>
</sprite>