summaryrefslogtreecommitdiff
path: root/hercules
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-12 09:49:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-12 09:49:38 +0300
commit998c8c5abbc90b959e02b69212222b51e65e232f (patch)
tree7ddb50782dcffebd77f80fa117412642c5ceb360 /hercules
parent136d4317fc13bf77545922330dc730b73b36b91e (diff)
downloadtools-998c8c5abbc90b959e02b69212222b51e65e232f.tar.gz
tools-998c8c5abbc90b959e02b69212222b51e65e232f.tar.bz2
tools-998c8c5abbc90b959e02b69212222b51e65e232f.tar.xz
tools-998c8c5abbc90b959e02b69212222b51e65e232f.zip
hercules: set usable item types as usable.
Diffstat (limited to 'hercules')
-rwxr-xr-xhercules/maptool.py6
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 = "";