From 998c8c5abbc90b959e02b69212222b51e65e232f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 12 Sep 2014 09:49:38 +0300 Subject: hercules: set usable item types as usable. --- hercules/maptool.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'hercules/maptool.py') 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 = ""; -- cgit v1.2.3-70-g09d2