diff options
-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 |