summaryrefslogtreecommitdiff
path: root/hercules
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-02 14:46:41 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-02 14:46:41 +0300
commit855570f5e6bb319bcb3bffbbbd70a9b85e267173 (patch)
treea0fbcdb396fcb23e8a9402ab310c5c8ad0d77ed0 /hercules
parenta5b83b03d6fc567c51abded0736659b7513d91e7 (diff)
downloadtools-855570f5e6bb319bcb3bffbbbd70a9b85e267173.tar.gz
tools-855570f5e6bb319bcb3bffbbbd70a9b85e267173.tar.bz2
tools-855570f5e6bb319bcb3bffbbbd70a9b85e267173.tar.xz
tools-855570f5e6bb319bcb3bffbbbd70a9b85e267173.zip
hercules: add into itemdb collection item name and id.
Diffstat (limited to 'hercules')
-rw-r--r--hercules/code/server/tmw/itemdb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/hercules/code/server/tmw/itemdb.py b/hercules/code/server/tmw/itemdb.py
index 54e8a83..a074381 100644
--- a/hercules/code/server/tmw/itemdb.py
+++ b/hercules/code/server/tmw/itemdb.py
@@ -51,6 +51,7 @@ def convertItemDb():
rows[f] = rows[f].strip()
items[rows[1]] = {'id':rows[0],'buy':rows[4]}
+ items[rows[0]] = {'id':rows[0],'buy':rows[4]}
# set all values then write
w.write("{\n")
c.write("{0}\t{1}\n".format(rows[1], rows[0]))