More work on substitutions

This commit is contained in:
onesome
2022-10-10 18:05:42 -05:00
parent 8b5130c21a
commit 2af27323fc
5 changed files with 327 additions and 26 deletions

View File

@@ -723,6 +723,14 @@ class story_settings(settings):
self.revisions = []
self.picture = "" #base64 of the image shown for the story
self.picture_prompt = "" #Prompt used to create picture
self.substitutions = [
{"target": "--", "substitution": "", "enabled": False},
{"target": "---", "substitution": "", "enabled": False},
{"target": "...", "substitution": "", "enabled": False},
# {"target": "(c)", "substitution": "©", "enabled": False},
# {"target": "(r)", "substitution": "®", "enabled": False},
# {"target": "(tm)", "substitution": "™", "enabled": False},
]
#must be at bottom
self.no_save = False #Temporary disable save (doesn't save with the file)