diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-02-10 13:14:32 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-02-10 13:14:32 -0200 |
commit | 56a33a1a7582590cf9fa649f4becc9a0a287e24b (patch) | |
tree | ed579b28f130ae9e9f529a8ff6d70f7f8b586de1 /wiki | |
parent | 335ef61188cca02e18c1a269f6088aab3c6625bb (diff) | |
download | tools-56a33a1a7582590cf9fa649f4becc9a0a287e24b.tar.gz tools-56a33a1a7582590cf9fa649f4becc9a0a287e24b.tar.bz2 tools-56a33a1a7582590cf9fa649f4becc9a0a287e24b.tar.xz tools-56a33a1a7582590cf9fa649f4becc9a0a287e24b.zip |
<wiki> is now allowed on quests.xml </wiki>
This text won't be displayed on Quest Log, only on Wiki Page
Diffstat (limited to 'wiki')
-rwxr-xr-x | wiki/wikigen.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wiki/wikigen.py b/wiki/wikigen.py index 1b3ed2d..6f9ead1 100755 --- a/wiki/wikigen.py +++ b/wiki/wikigen.py @@ -758,6 +758,9 @@ def DoQuest(): if '<text' in e: a=qnt2(e) qe.entry.append( a.replace('<text>','').replace('</text>','').replace('<text ','<').replace("@@1", "text").replace("@@", "").strip() ) + elif '<wiki' in e: + a=qnt2(e) + qe.entry.append( a.replace('<wiki>','').replace('</wiki>','').replace('<wiki ','<').replace("@@1", "text").replace("@@", "").strip() ) elif '<questgiver' in e: a=qnt2(e) qe.giver=a.replace('<questgiver>','').replace('</questgiver>','').strip() |