diff options
author | wushin <pasekei@gmail.com> | 2015-02-15 11:12:36 -0600 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2015-02-15 11:26:50 -0600 |
commit | 42bfac84a2518b027fd771d02e012a5d979a962f (patch) | |
tree | ec24a2584892f8eb306015cd33be84cbbd6e6218 /hercules/code/server | |
parent | ab1bb25f7ebb0334df40f2958234fffb2a34c28d (diff) | |
download | evol-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/server')
-rw-r--r-- | hercules/code/server/tmw/itemdb.py | 2 | ||||
-rw-r--r-- | hercules/code/server/tmw/mobdb.py | 2 |
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(): |