summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/sprites/equipment/shield/leather.pngbin0 -> 41096 bytes
-rw-r--r--graphics/sprites/equipment/shield/leather.xml11
-rw-r--r--graphics/sprites/equipment/shield/standard.xml87
-rw-r--r--graphics/sprites/equipment/shield/steel.pngbin0 -> 46026 bytes
-rw-r--r--graphics/sprites/equipment/shield/steel.xml11
-rw-r--r--graphics/sprites/equipment/shield/wooden.pngbin0 -> 48818 bytes
-rw-r--r--graphics/sprites/equipment/shield/wooden.xml11
-rw-r--r--items/equip-shield.xml12
8 files changed, 129 insertions, 3 deletions
diff --git a/graphics/sprites/equipment/shield/leather.png b/graphics/sprites/equipment/shield/leather.png
new file mode 100644
index 00000000..54c2e5b4
--- /dev/null
+++ b/graphics/sprites/equipment/shield/leather.png
Binary files differ
diff --git a/graphics/sprites/equipment/shield/leather.xml b/graphics/sprites/equipment/shield/leather.xml
new file mode 100644
index 00000000..0c7ae539
--- /dev/null
+++ b/graphics/sprites/equipment/shield/leather.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: Jesusalva
+Copyright (C) 2018 TMW2: Moubootaur Legends -->
+<sprite>
+ <imageset name="shield"
+ src="graphics/sprites/equipment/shield/leather.png"
+ width="64"
+ height="64"/>
+
+ <include file="equipment/shield/standard.xml"/>
+</sprite>
diff --git a/graphics/sprites/equipment/shield/standard.xml b/graphics/sprites/equipment/shield/standard.xml
new file mode 100644
index 00000000..b051adb1
--- /dev/null
+++ b/graphics/sprites/equipment/shield/standard.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<sprite>
+ <imageset name="shield" src="graphics/sprites/equipment/shield/leather.png" width="64" height="64" />
+
+ <action name="default" imageset="shield">
+ </action>
+
+ <action name="stand" imageset="shield">
+ <animation direction="down">
+ <frame index="0" />
+ </animation>
+ <animation direction="left">
+ <frame index="18" />
+ </animation>
+ <animation direction="up">
+ <frame index="36" />
+ </animation>
+ <animation direction="right">
+ <frame index="54" />
+ </animation>
+ </action>
+
+ <action name="walk" imageset="shield">
+ <animation direction="down">
+ <sequence start="1" end="6" delay="75" />
+ </animation>
+ <animation direction="left">
+ <sequence start="19" end="24" delay="75" />
+ </animation>
+ <animation direction="up">
+ <sequence start="37" end="42" delay="75" />
+ </animation>
+ <animation direction="right">
+ <sequence start="55" end="60" delay="75" />
+ </animation>
+ </action>
+
+ <action name="sit" imageset="shield">
+ <animation direction="down">
+ <frame index="7" />
+ </animation>
+ <animation direction="left">
+ <frame index="25" />
+ </animation>
+ <animation direction="up">
+ <frame index="43" />
+ </animation>
+ <animation direction="right">
+ <frame index="61" />
+ </animation>
+ </action>
+
+ <action name="dead" imageset="shield">
+ <animation direction="down">
+ <frame index="8" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="left">
+ <frame index="8" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="up">
+ <frame index="8" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="right">
+ <frame index="8" offsetX ="0" offsetY ="32" />
+ </animation>
+ </action>
+
+ <action name="attack" imageset="shield">
+ <animation direction="down">
+ <sequence start="9" end="12" delay="75" />
+ <end />
+ </animation>
+ <animation direction="left">
+ <sequence start="27" end="30" delay="75" />
+ <end />
+ </animation>
+ <animation direction="up">
+ <sequence start="45" end="48" delay="75" />
+ <end />
+ </animation>
+ <animation direction="right">
+ <sequence start="63" end="66" delay="75" />
+ <end />
+ </animation>
+ </action>
+
+</sprite>
diff --git a/graphics/sprites/equipment/shield/steel.png b/graphics/sprites/equipment/shield/steel.png
new file mode 100644
index 00000000..696307fd
--- /dev/null
+++ b/graphics/sprites/equipment/shield/steel.png
Binary files differ
diff --git a/graphics/sprites/equipment/shield/steel.xml b/graphics/sprites/equipment/shield/steel.xml
new file mode 100644
index 00000000..42be5e29
--- /dev/null
+++ b/graphics/sprites/equipment/shield/steel.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: Jesusalva
+Copyright (C) 2018 TMW2: Moubootaur Legends -->
+<sprite>
+ <imageset name="shield"
+ src="graphics/sprites/equipment/shield/steel.png"
+ width="64"
+ height="64"/>
+
+ <include file="equipment/shield/standard.xml"/>
+</sprite>
diff --git a/graphics/sprites/equipment/shield/wooden.png b/graphics/sprites/equipment/shield/wooden.png
new file mode 100644
index 00000000..0958c470
--- /dev/null
+++ b/graphics/sprites/equipment/shield/wooden.png
Binary files differ
diff --git a/graphics/sprites/equipment/shield/wooden.xml b/graphics/sprites/equipment/shield/wooden.xml
new file mode 100644
index 00000000..9bad4f27
--- /dev/null
+++ b/graphics/sprites/equipment/shield/wooden.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: Jesusalva
+Copyright (C) 2018 TMW2: Moubootaur Legends -->
+<sprite>
+ <imageset name="shield"
+ src="graphics/sprites/equipment/shield/wooden.png"
+ width="64"
+ height="64"/>
+
+ <include file="equipment/shield/standard.xml"/>
+</sprite>
diff --git a/items/equip-shield.xml b/items/equip-shield.xml
index 2a2af716..e7d71d06 100644
--- a/items/equip-shield.xml
+++ b/items/equip-shield.xml
@@ -7,7 +7,9 @@
mattack="-200"
defense="20"
type="equip-shield"
- weight="2500" />
+ weight="2500">
+ <sprite>equipment/shield/steel.xml</sprite>
+ </item>
<item id="602"
image="equipment/shield/wooden.png"
name="Wooden Shield"
@@ -15,7 +17,9 @@
mattack="-70"
defense="14"
type="equip-shield"
- weight="1500" />
+ weight="1500">
+ <sprite>equipment/shield/wooden.xml</sprite>
+ </item>
<item id="603"
image="equipment/shield/leather.png"
name="Leather Shield"
@@ -23,5 +27,7 @@
mattack="-35"
defense="7"
type="equip-shield"
- weight="1300" />
+ weight="1300">
+ <sprite>equipment/shield/leather.xml</sprite>
+ </item>
</items>