diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-20 12:16:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-20 12:16:45 +0300 |
commit | 3e960b66d2b89cd915c79a2e6df5b3d73f588646 (patch) | |
tree | 4855ad68f52dbca51e39b808acbaf49e99a5b47c /hercules/code/server/questsdb.py | |
parent | 8057b15a1e32d160d0f7b639e76312355f606b0f (diff) | |
download | evol-tools-3e960b66d2b89cd915c79a2e6df5b3d73f588646.tar.gz evol-tools-3e960b66d2b89cd915c79a2e6df5b3d73f588646.tar.bz2 evol-tools-3e960b66d2b89cd915c79a2e6df5b3d73f588646.tar.xz evol-tools-3e960b66d2b89cd915c79a2e6df5b3d73f588646.zip |
hercules: start quest id from 0.
Diffstat (limited to 'hercules/code/server/questsdb.py')
-rw-r--r-- | hercules/code/server/questsdb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hercules/code/server/questsdb.py b/hercules/code/server/questsdb.py index c585b95..25b0303 100644 --- a/hercules/code/server/questsdb.py +++ b/hercules/code/server/questsdb.py @@ -18,7 +18,7 @@ def convertQuestsDb(): with open(dstFile, "w") as w: tpl = readFile("templates/quest_db.tpl") w.write(tpl) - cnt = 1000 + cnt = 0 for line in r: if len(line) < 2 or line[0:2] == "//": continue @@ -33,6 +33,6 @@ def convertQuestsDb(): line = line[:idx] w.write("{0},0,0,0,0,0,0,0,\"{1}\"\n".format(cnt, line)) - cnt = cnt + 1 quests[line] = cnt + cnt = cnt + 1 return quests |