diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-12 09:49:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-12 09:49:38 +0300 |
commit | 998c8c5abbc90b959e02b69212222b51e65e232f (patch) | |
tree | 7ddb50782dcffebd77f80fa117412642c5ceb360 | |
parent | 136d4317fc13bf77545922330dc730b73b36b91e (diff) | |
download | evol-tools-998c8c5abbc90b959e02b69212222b51e65e232f.tar.gz evol-tools-998c8c5abbc90b959e02b69212222b51e65e232f.tar.bz2 evol-tools-998c8c5abbc90b959e02b69212222b51e65e232f.tar.xz evol-tools-998c8c5abbc90b959e02b69212222b51e65e232f.zip |
hercules: set usable item types as usable.
-rwxr-xr-x | hercules/maptool.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hercules/maptool.py b/hercules/maptool.py index 700d481..af8b55b 100755 --- a/hercules/maptool.py +++ b/hercules/maptool.py @@ -287,7 +287,11 @@ def convertItems(): typeStr = "equip-legs" spriteStr = "equipment/legs/trousers-male.xml" image = "generic/box-fish.png" - if equipLocations == "0": + if itemType == 0 or itemType == 2 or itemType == 18: # usable + image = "usable/bread.png" + typeStr = "usable" + spriteStr = ""; + elif equipLocations == "0": image = "usable/bread.png" typeStr = "usable" spriteStr = ""; |