change extrasnavigation screen to be a bit smarter written
This commit is contained in:
@ -1494,38 +1494,20 @@ screen extras():
|
||||
##
|
||||
##This screen is to be reused in
|
||||
screen extrasnavigation():
|
||||
#vbox:
|
||||
# xpos 1940
|
||||
# yalign 0.03
|
||||
#
|
||||
# if persistent.splashtype == 1:
|
||||
# add "gui/sneedgame.png"
|
||||
# else:
|
||||
# add "gui/snootgame.png"
|
||||
hbox:
|
||||
xalign 0.5
|
||||
spacing 1
|
||||
ypos 30
|
||||
|
||||
if is_demo:
|
||||
use main_menu_buttons("gui/button/menubuttons/title_button.png",
|
||||
[
|
||||
[ _("Help"), ShowMenu("help") ],
|
||||
[ _("About"), ShowMenu("about") ],
|
||||
[ _("Mods"), ShowMenu("mod_menu") ],
|
||||
[ _("Gallery"), ShowMenu("cg_gallery") ],
|
||||
[ _("Return"), ShowMenu("main_menu") ]
|
||||
] )
|
||||
else:
|
||||
use main_menu_buttons("gui/button/menubuttons/title_button.png",
|
||||
[
|
||||
[ _("Help"), ShowMenu("help") ],
|
||||
[ _("About"), ShowMenu("about") ],
|
||||
[ _("Achievements"), ShowMenu("achievements_screen") ],
|
||||
[ _("Mods"), ShowMenu("mod_menu") ],
|
||||
[ _("Gallery"), ShowMenu("cg_gallery") ],
|
||||
[ _("Return"), ShowMenu("main_menu") ]
|
||||
] )
|
||||
use main_menu_buttons("gui/button/menubuttons/title_button.png",
|
||||
[
|
||||
*([( _("Help"), ShowMenu("help") )] if not renpy.variant("mobile") else []),
|
||||
[ _("About"), ShowMenu("about") ],
|
||||
*([(_("Achievements"), ShowMenu("achievements_screen"))] if not is_demo else []),
|
||||
[ _("Mods"), ShowMenu("mod_menu") ],
|
||||
[ _("Gallery"), ShowMenu("cg_gallery") ],
|
||||
[ _("Return"), ShowMenu("main_menu") ]
|
||||
] )
|
||||
#add Null(0, 129)
|
||||
|
||||
|
||||
@ -2271,22 +2253,6 @@ screen quick_menu_snootold():
|
||||
use quick_buttons_snootold("gui/button/uioptionbuttons/template_idle_old.png", quick_button_common_mobile_actions)
|
||||
|
||||
|
||||
screen extrasnavigation(): #Updates are removed (not even supported by Ren'Py)
|
||||
variant ["mobile", "steam_deck"]
|
||||
hbox:
|
||||
xalign 0.5
|
||||
spacing 2
|
||||
ypos 30
|
||||
use main_menu_buttons("gui/button/menubuttons/title_button.png",
|
||||
[
|
||||
#[ _("Help"), ShowMenu("help") ], You just press the screen, not mamy instructions needed
|
||||
[ _("About"), ShowMenu("about") ],
|
||||
[ _("Achievements"), ShowMenu("achievements_screen") ],
|
||||
[ _("Mods"), ShowMenu("mod_menu") ],
|
||||
[ _("Gallery"), ShowMenu("cg_gallery") ],
|
||||
[ _("Return"), ShowMenu("main_menu") ]
|
||||
] )
|
||||
|
||||
style radio_button:
|
||||
variant ["mobile", "steam_deck"]
|
||||
foreground "gui/phone/button/radio_[prefix_]foreground.png"
|
||||
|
Reference in New Issue
Block a user