diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-18 23:27:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-18 23:27:46 +0300 |
commit | 9664d1b7c3fba716dc63674fafc576219e247f8b (patch) | |
tree | 819caeefd5834516c62f11f9c01a90876a62098e | |
parent | baee9468029199479156977182149e0744a35cf2 (diff) | |
download | evol-tools-9664d1b7c3fba716dc63674fafc576219e247f8b.tar.gz evol-tools-9664d1b7c3fba716dc63674fafc576219e247f8b.tar.bz2 evol-tools-9664d1b7c3fba716dc63674fafc576219e247f8b.tar.xz evol-tools-9664d1b7c3fba716dc63674fafc576219e247f8b.zip |
hercules: db converter. save language in player variable.
-rw-r--r-- | hercules/code/server/evol/athena.py | 1 | ||||
-rw-r--r-- | hercules/code/server/tmw/athena.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/hercules/code/server/evol/athena.py b/hercules/code/server/evol/athena.py index be2f569..567db3b 100644 --- a/hercules/code/server/evol/athena.py +++ b/hercules/code/server/evol/athena.py @@ -201,6 +201,7 @@ def readAthena(): user.skills = parseSkills(line, rows[17]) user.variables = parseVars(line, rows[18]) + user.variables["Lang"] = user.language_id users[user.char_id] = user diff --git a/hercules/code/server/tmw/athena.py b/hercules/code/server/tmw/athena.py index 27855b9..4c59ea1 100644 --- a/hercules/code/server/tmw/athena.py +++ b/hercules/code/server/tmw/athena.py @@ -191,6 +191,7 @@ def readAthena(): user.save_y = tmp[2] user.partner_id = "0" + user.language_id = "0" # skip 14 |