summaryrefslogtreecommitdiff
path: root/graphics/sprites/npcs/xml
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2017-08-23 00:30:04 +0200
committerReid <reidyaro@gmail.com>2017-08-23 00:30:04 +0200
commit11dfb454b186bcb4ff6045239a8f44a2d400469c (patch)
tree3df4d0d0f157e8a5131defac7952bf7fb2199dbf /graphics/sprites/npcs/xml
parent1017d7218682087e0b4661119d9d7ea1884f622a (diff)
downloadclientdata-11dfb454b186bcb4ff6045239a8f44a2d400469c.tar.gz
clientdata-11dfb454b186bcb4ff6045239a8f44a2d400469c.tar.bz2
clientdata-11dfb454b186bcb4ff6045239a8f44a2d400469c.tar.xz
clientdata-11dfb454b186bcb4ff6045239a8f44a2d400469c.zip
Remove the confused tree sprite and use the tileset instead.
Change the confused tree xml and its ID to 400.
Diffstat (limited to 'graphics/sprites/npcs/xml')
-rw-r--r--graphics/sprites/npcs/xml/confused-tree.xml41
1 files changed, 33 insertions, 8 deletions
diff --git a/graphics/sprites/npcs/xml/confused-tree.xml b/graphics/sprites/npcs/xml/confused-tree.xml
index f11da4be..9ee86953 100644
--- a/graphics/sprites/npcs/xml/confused-tree.xml
+++ b/graphics/sprites/npcs/xml/confused-tree.xml
@@ -1,9 +1,34 @@
-<?xml version="1.0"?>
-<sprite variants="1" variant_offset="1">
- <imageset name="base" src="graphics/sprites/npcs/sprite/confused-tree.png" width="160" height="160"/>
- <action name="stand" imageset="base">
- <animation direction="default">
- <frame index="0"/>
- </animation>
- </action>
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: Reid
+Copyright (C) 2017 The Mana World -->
+
+<sprite>
+ <imageset name="npc"
+ src="graphics/tilesets/tree-x4x5.png"
+ width="128"
+ height="160"/>
+
+ <action name="stand" imageset="npc">
+ <!-- Winter -->
+ <animation direction="default">
+ <!-- TODO: change when we will have remaining frames -->
+ <frame index="1"/>
+ </animation>
+
+ <!-- Spring -->
+ <animation direction="downleft">
+ <!-- TODO: change when we will have remaining frames -->
+ <frame index="0"/>
+ </animation>
+
+ <!-- Summer -->
+ <animation direction="left">
+ <frame index="0"/>
+ </animation>
+
+ <!-- Autumn -->
+ <animation direction="leftup">
+ <frame index="1"/>
+ </animation>
+ </action>
</sprite>