From 136d4317fc13bf77545922330dc730b73b36b91e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Sep 2014 21:05:04 +0300 Subject: hercules: allow equip almost all item types. --- hercules/maptool.py | 9 +++++---- 1 file 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); -- cgit v1.2.3-70-g09d2