summaryrefslogtreecommitdiff
path: root/hercules
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-07 21:05:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-07 21:05:04 +0300
commit136d4317fc13bf77545922330dc730b73b36b91e (patch)
treeb94cb33dbee52fb2f40ebdfeaa3d353cdae8fd95 /hercules
parent389bc38eaf1de20545159dd25d697c614c671b14 (diff)
downloadtools-136d4317fc13bf77545922330dc730b73b36b91e.tar.gz
tools-136d4317fc13bf77545922330dc730b73b36b91e.tar.bz2
tools-136d4317fc13bf77545922330dc730b73b36b91e.tar.xz
tools-136d4317fc13bf77545922330dc730b73b36b91e.zip
hercules: allow equip almost all item types.
Diffstat (limited to 'hercules')
-rwxr-xr-xhercules/maptool.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/hercules/maptool.py b/hercules/maptool.py
index 2ee5b99..700d481 100755
--- a/hercules/maptool.py
+++ b/hercules/maptool.py
@@ -282,8 +282,11 @@ def convertItems():
name = name.replace("\\'", "'")
image = ""
- typeStr = "other"
- spriteStr = ""
+# print itemId + "," + equipLocations
+# typeStr = "other"
+ typeStr = "equip-legs"
+ spriteStr = "equipment/legs/trousers-male.xml"
+ image = "generic/box-fish.png"
if equipLocations == "0":
image = "usable/bread.png"
typeStr = "usable"
@@ -321,8 +324,6 @@ def convertItems():
image = "equipment/chest/sailorshirt.png"
typeStr = "equip-torso"
spriteStr = "equipment/chest/shirt-male.xml|#131913,1b231d,233129,35433e,4e6059,6c8279;#72571e,836737,a5854d,b18f45";
- else:
- image = "generic/box-fish.png"
name = strToXml(name);