mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-02-02 06:46:34 +01:00
Add chapter select to screens
This commit is contained in:
parent
3e9ea5ddbc
commit
17cdc25bb1
1 changed files with 3 additions and 1 deletions
|
@ -999,6 +999,7 @@ screen preferences():
|
|||
style_prefix "check"
|
||||
label _("Developer Tools")
|
||||
textbutton _("Enable Debug Scores") action ToggleVariable("persistent.enable_debug_scores", True, False)
|
||||
textbutton _("Enable Chapter Select") action ToggleVariable("persistent.enable_chapter_select", True, False)
|
||||
|
||||
if not main_menu:
|
||||
if config.developer and persistent.enable_debug_scores:
|
||||
|
@ -1280,12 +1281,13 @@ screen extrasnavigation():
|
|||
vbox:
|
||||
spacing 10
|
||||
xpos 1885
|
||||
ypos 1130
|
||||
ypos (1269 if config.developer else 1130)
|
||||
use main_menu_buttons("gui/button/menubuttons/template_idle.png",
|
||||
[
|
||||
[ _("Help"), ShowMenu("help") ],
|
||||
[ _("About"), ShowMenu("about") ],
|
||||
[ _("Gallery"), ShowMenu("cg_gallery") ],
|
||||
*([(_("Chapter Select"), ShowMenu("label_selector"))] if persistent.enable_chapter_select else []),
|
||||
[ _("Mods"), ShowMenu("mod_menu") ],
|
||||
[ _("Return"), ShowMenu("main_menu") ]
|
||||
] )
|
||||
|
|
Loading…
Reference in a new issue