add back in mod menu options

This commit is contained in:
Map 2024-10-05 08:06:25 -05:00
parent f0892157ab
commit 6c283a8dcd
2 changed files with 11 additions and 0 deletions

View file

@ -139,6 +139,11 @@ default persistent.enable_debug_scores = config.developer
default persistent.enable_chapter_select = config.developer
default persistent.lewd = False
default persistent.autoup = False
default persistent.show_mod_screenshots = True
init -1000 python:
if persistent.newmods_default_state == None:
persistent.newmods_default_state = True
init python:
# No idea what this does

View file

@ -1005,6 +1005,12 @@ screen preferences():
textbutton _("Enable Debug Scores") action ToggleVariable("persistent.enable_debug_scores", True, False)
textbutton _("Enable Chapter Select") action ToggleVariable("persistent.enable_chapter_select", True, False)
vbox:
style_prefix "check"
label _("Mods")
textbutton _("Show Mod Screenshots") action [Function(onclick_audio, persistent.show_mod_screenshots), ToggleVariable("persistent.show_mod_screenshots", True, False)]
textbutton _("Enable New Mods") action [Function(onclick_audio, persistent.newmods_default_state), ToggleVariable("persistent.newmods_default_state", True, False)]
if not main_menu:
if config.developer and persistent.enable_debug_scores:
$ debug_story_variables(False)