From a1b6db6faa3afb9eea487002af02255552739290 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 18 Jun 2018 18:42:11 -0300 Subject: This is probably final questwiki update. --- wiki/wikigen.py | 66 ++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 49 insertions(+), 17 deletions(-) (limited to 'wiki') diff --git a/wiki/wikigen.py b/wiki/wikigen.py index 53e7c26..a68e52f 100755 --- a/wiki/wikigen.py +++ b/wiki/wikigen.py @@ -646,7 +646,7 @@ def qnt(string): return string.replace(' ','').replace('"','').replace("'","").replace('<','').replace('>','') def qnt2(string): - return string.replace('"','').replace("'","").replace('<','').replace('>','').replace('##B','**').replace('##b','**').replace('##0','*').replace('##1','*').replace('##2','*').replace('##3','*').replace('##','*') + return string.replace('##B','**').replace('##b','**').replace('##0','*').replace('##1','*').replace('##2','*').replace('##3','*').replace('##','*') def DoQuest(): print("Generating Quest Wiki...") @@ -658,13 +658,15 @@ def DoQuest(): ig=False for e in src: - # Handle Comments + # Handle Comments and Ignored lines if '' in e: continue elif '' in e: ig=False + if '' in e: q.ent.append(qe) - elif '','').replace('','').strip() ) elif '','').replace('','').strip() + elif '','').replace('','').strip() + elif '') + qe.loc=b[1].replace('