summaryrefslogtreecommitdiff
path: root/hercules
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-18 23:27:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-18 23:27:46 +0300
commit9664d1b7c3fba716dc63674fafc576219e247f8b (patch)
tree819caeefd5834516c62f11f9c01a90876a62098e /hercules
parentbaee9468029199479156977182149e0744a35cf2 (diff)
downloadtools-9664d1b7c3fba716dc63674fafc576219e247f8b.tar.gz
tools-9664d1b7c3fba716dc63674fafc576219e247f8b.tar.bz2
tools-9664d1b7c3fba716dc63674fafc576219e247f8b.tar.xz
tools-9664d1b7c3fba716dc63674fafc576219e247f8b.zip
hercules: db converter. save language in player variable.
Diffstat (limited to 'hercules')
-rw-r--r--hercules/code/server/evol/athena.py1
-rw-r--r--hercules/code/server/tmw/athena.py1
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