put backspace functionality into the help menu

This commit is contained in:
Map 2024-10-08 13:17:03 -05:00
parent 3bf7e9e433
commit f3bb2caa7f

View file

@ -904,12 +904,6 @@ screen preferences():
textbutton _("Enable Debug Scores") action ToggleVariable("persistent.enable_debug_scores", True, False) textbutton _("Enable Debug Scores") action ToggleVariable("persistent.enable_debug_scores", True, False)
textbutton _("Enable Chapter Select") action ToggleVariable("persistent.enable_chapter_select", 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 not main_menu:
if config.developer and persistent.enable_debug_scores: if config.developer and persistent.enable_debug_scores:
$ debug_story_variables(False) $ debug_story_variables(False)
@ -917,6 +911,12 @@ screen preferences():
else: else:
$ debug_story_variables(False) $ debug_story_variables(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 renpy.variant(["mobile", "steam_deck"]): if renpy.variant(["mobile", "steam_deck"]):
vbox: vbox:
style_prefix "check" style_prefix "check"
@ -1301,6 +1301,10 @@ screen keyboard_help():
label _("Page Down") label _("Page Down")
text _("Rolls forward to later dialogue.") text _("Rolls forward to later dialogue.")
hbox:
label _("Backspace")
text _("Hides mod details. Shows mod errors if there is any.")
hbox: hbox:
label "H" label "H"
text _("Hides the user interface.") text _("Hides the user interface.")