summaryrefslogtreecommitdiff
path: root/hercules/code
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2015-02-15 11:12:36 -0600
committerwushin <pasekei@gmail.com>2015-02-15 11:26:50 -0600
commit42bfac84a2518b027fd771d02e012a5d979a962f (patch)
treeec24a2584892f8eb306015cd33be84cbbd6e6218 /hercules/code
parentab1bb25f7ebb0334df40f2958234fffb2a34c28d (diff)
downloadevol-tools-42bfac84a2518b027fd771d02e012a5d979a962f.tar.gz
evol-tools-42bfac84a2518b027fd771d02e012a5d979a962f.tar.bz2
evol-tools-42bfac84a2518b027fd771d02e012a5d979a962f.tar.xz
evol-tools-42bfac84a2518b027fd771d02e012a5d979a962f.zip
Hercules: tmw convertor: Make tools read all the TMW db files
Diffstat (limited to 'hercules/code')
-rw-r--r--hercules/code/server/tmw/itemdb.py2
-rw-r--r--hercules/code/server/tmw/mobdb.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/hercules/code/server/tmw/itemdb.py b/hercules/code/server/tmw/itemdb.py
index 069f744..52a0a27 100644
--- a/hercules/code/server/tmw/itemdb.py
+++ b/hercules/code/server/tmw/itemdb.py
@@ -12,7 +12,7 @@ from code.stringutils import *
def getItemDbFile(srcDir):
files = os.listdir(srcDir)
for srcFile in files:
- if srcFile.find("item_db.txt") >= 0:
+ if srcFile.find("item_db") >= 0:
yield srcFile
def convertItemDb():
diff --git a/hercules/code/server/tmw/mobdb.py b/hercules/code/server/tmw/mobdb.py
index aa9502a..7e406b1 100644
--- a/hercules/code/server/tmw/mobdb.py
+++ b/hercules/code/server/tmw/mobdb.py
@@ -11,7 +11,7 @@ from code.stringutils import *
def getMobDbFile(srcDir):
files = os.listdir(srcDir)
for srcFile in files:
- if srcFile.find("mob_db.txt") >= 0:
+ if srcFile.find("mob_db") >= 0:
yield srcFile
def convertMobDb():