diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-07 21:05:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-07 21:05:04 +0300 |
commit | 136d4317fc13bf77545922330dc730b73b36b91e (patch) | |
tree | b94cb33dbee52fb2f40ebdfeaa3d353cdae8fd95 | |
parent | 389bc38eaf1de20545159dd25d697c614c671b14 (diff) | |
download | evol-tools-136d4317fc13bf77545922330dc730b73b36b91e.tar.gz evol-tools-136d4317fc13bf77545922330dc730b73b36b91e.tar.bz2 evol-tools-136d4317fc13bf77545922330dc730b73b36b91e.tar.xz evol-tools-136d4317fc13bf77545922330dc730b73b36b91e.zip |
hercules: allow equip almost all item types.
-rwxr-xr-x | hercules/maptool.py | 9 |
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); |