From 6c283a8dcd152fabb3a2cb616e4b9b9490d6e968 Mon Sep 17 00:00:00 2001 From: Map Date: Sat, 5 Oct 2024 08:06:25 -0500 Subject: [PATCH] add back in mod menu options --- game/options.rpy | 5 +++++ game/screens.rpy | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/game/options.rpy b/game/options.rpy index 4e16c0e..ce0527b 100644 --- a/game/options.rpy +++ b/game/options.rpy @@ -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 diff --git a/game/screens.rpy b/game/screens.rpy index a5bba53..56b92c0 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -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)