summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-08-17 11:55:37 -0400
committergumi <git@gumi.ca>2018-08-17 11:55:37 -0400
commitc4bfeb8e19f22631392b5b14193d0dbb3edfe494 (patch)
treec1a58f455c7864059363e409f2611b8f95756fce
parent15f97a6875ea74c8621c9fc9bc089fa63f865d6e (diff)
downloadclientdata-c4bfeb8e19f22631392b5b14193d0dbb3edfe494.tar.gz
clientdata-c4bfeb8e19f22631392b5b14193d0dbb3edfe494.tar.bz2
clientdata-c4bfeb8e19f22631392b5b14193d0dbb3edfe494.tar.xz
clientdata-c4bfeb8e19f22631392b5b14193d0dbb3edfe494.zip
add Chic Santa Hat
-rw-r--r--graphics/sprites/equipment/head/santahatS-female.xml5
-rw-r--r--graphics/sprites/equipment/head/santahatS.xml5
-rw-r--r--items/equip-head/_include.xml1
-rw-r--r--items/equip-head/item5228_ChicSantaHat.xml36
4 files changed, 47 insertions, 0 deletions
diff --git a/graphics/sprites/equipment/head/santahatS-female.xml b/graphics/sprites/equipment/head/santahatS-female.xml
new file mode 100644
index 00000000..f22ac58e
--- /dev/null
+++ b/graphics/sprites/equipment/head/santahatS-female.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<sprite>
+ <imageset height="40" name="base" src="graphics/sprites/equipment/head/santahat.png|S" width="40"/>
+ <include file="equipment/head/santahat-female.xml"/>
+</sprite>
diff --git a/graphics/sprites/equipment/head/santahatS.xml b/graphics/sprites/equipment/head/santahatS.xml
new file mode 100644
index 00000000..e368a7a0
--- /dev/null
+++ b/graphics/sprites/equipment/head/santahatS.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<sprite>
+ <imageset name="base" src="graphics/sprites/equipment/head/santahat.png|S" width="40" height="40"/>
+ <include file="equipment/head/santahat.xml"/>
+</sprite>
diff --git a/items/equip-head/_include.xml b/items/equip-head/_include.xml
index 3b0a6f17..20f018d7 100644
--- a/items/equip-head/_include.xml
+++ b/items/equip-head/_include.xml
@@ -198,4 +198,5 @@
<include name="items/equip-head/item5209_TerraniteHead.xml"/>
<include name="items/equip-head/item5226_GroovyHat.xml"/>
<include name="items/equip-head/item5227_JazzyHat.xml"/>
+ <include name="items/equip-head/item5228_ChicSantaHat.xml"/>
</items>
diff --git a/items/equip-head/item5228_ChicSantaHat.xml b/items/equip-head/item5228_ChicSantaHat.xml
new file mode 100644
index 00000000..f6657e5e
--- /dev/null
+++ b/items/equip-head/item5228_ChicSantaHat.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<items>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
+ <its:translateRule selector="//item/@name" translate="yes"/>
+ <its:translateRule selector="//item/@description" translate="yes"/>
+ <its:translateRule selector="//item/@effect" translate="yes"/>
+ <its:translateRule selector="//*" translate="no"/>
+ </its:rules>
+ <item id="5228" image="equipment/head/santahat.png|S:#C50000,636363,FF0000,828282,830000,404040" name="Chic Santa Hat" description="For classy Santas" mattack="-2" type="equip-head" weight="20" defense="2" sellProtected="true">
+ <sprite gender="unisex">equipment/head/santahatS.xml|#780000,3A3A3A,CA0000,656565,F00000,7A7A7A,FF0000,828282,9D0000,4D4D4D</sprite>
+ <sprite gender="female">equipment/head/santahatS-female.xml|#780000,3A3A3A,CA0000,656565,F00000,7A7A7A,FF0000,828282,9D0000,4D4D4D</sprite>
+ <replace sprite="hair">
+ <item from="-6" to="-1"/>
+ </replace>
+ <replace direction="left" sprite="hair">
+ <item from="-14" to="-1"/>
+ <item from="-15" to="-17"/>
+ <item from="-16" to="-9"/>
+ </replace>
+ <replace direction="right" sprite="hair">
+ <item from="-14" to="-1"/>
+ <item from="-15" to="-17"/>
+ <item from="-16" to="-9"/>
+ </replace>
+ <replace direction="upall" sprite="hair">
+ <item from="-15" to="-14"/>
+ <item from="-16" to="-14"/>
+ <item from="-19" to="-7"/>
+ </replace>
+ <replace direction="downall" sprite="hair">
+ <item from="-15" to="-14"/>
+ <item from="-16" to="-14"/>
+ <item from="-10" to="-2"/>
+ </replace>
+ </item>
+</items>