summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/sprites/npcs/sprite/chest-big.png (renamed from graphics/sprites/npcs/sprite/big-chest.png)bin4088 -> 4088 bytes
-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
-rw-r--r--npcs.xml2
5 files changed, 43 insertions, 29 deletions
diff --git a/graphics/sprites/npcs/sprite/big-chest.png b/graphics/sprites/npcs/sprite/chest-big.png
index 40443988..40443988 100644
--- a/graphics/sprites/npcs/sprite/big-chest.png
+++ b/graphics/sprites/npcs/sprite/chest-big.png
Binary files differ
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>
diff --git a/npcs.xml b/npcs.xml
index c9ca5649..dc9a2afd 100644
--- a/npcs.xml
+++ b/npcs.xml
@@ -112,7 +112,7 @@ IDs 990-999 = Special
</npc>
<npc id="317">
<!-- Big Chest, an opening container. -->
- <sprite>npcs/xml/big-chest.xml</sprite>
+ <sprite>npcs/xml/chest-big.xml</sprite>
</npc>
<!-- Special NPCs -->