summaryrefslogtreecommitdiff
path: root/lang/updatelang.py
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-16 16:49:54 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-16 16:49:54 +0300
commitde5cee89bb006c6eadfea78e62d06d3f3b20862f (patch)
tree2246283374960123c7da4a707625330cce7072f2 /lang/updatelang.py
parent2f38c3df091e91fc1ecbecc41b7afa3b2f81ba0c (diff)
downloadtools-de5cee89bb006c6eadfea78e62d06d3f3b20862f.tar.gz
tools-de5cee89bb006c6eadfea78e62d06d3f3b20862f.tar.bz2
tools-de5cee89bb006c6eadfea78e62d06d3f3b20862f.tar.xz
tools-de5cee89bb006c6eadfea78e62d06d3f3b20862f.zip
lang: add support for trader, cashshop npcs.
Diffstat (limited to 'lang/updatelang.py')
-rwxr-xr-xlang/updatelang.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/updatelang.py b/lang/updatelang.py
index c05f2f6..4106c13 100755
--- a/lang/updatelang.py
+++ b/lang/updatelang.py
@@ -14,7 +14,7 @@ allStrings = set()
strComments = dict()
strre1 = re.compile("[\t +(]l[(][\"](?P<str>[^\"]+)[\"]")
strre3 = re.compile("[\t +(]getitemlink[(][\"](?P<str>[^\"]+)[\"][)]")
-strre2 = re.compile("^[^/](.+)([^\t]+)[\t](script|shop)[\t](?P<str>[^\t]+)[\t]([\w\d]+),")
+strre2 = re.compile("^[^/](.+)([^\t]+)[\t](script|shop|trader|cashshop)[\t](?P<str>[^\t]+)[\t]([\w\d]+),")
strre4 = re.compile("[\t +(]lg[(][\"](?P<str>[^\"]+)[\"][)]")
strre5 = re.compile("[\t +(]getitemname[(][\"](?P<str>[^\"]+)[\"][)]")
strre6 = re.compile("[\t ]mesn[ ][\"](?P<str>[^\"]+)[\"]")