diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-08-16 10:25:55 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-08-16 10:25:55 -0300 |
commit | 91b67c1e4758033e6fc98e23c781c688e702cf70 (patch) | |
tree | 62823d1ccfd945e63e99bd71ed9f5c7cf146ac75 | |
parent | b91e19f813f5ee7d581f98cce36345efd16664b2 (diff) | |
download | client-91b67c1e4758033e6fc98e23c781c688e702cf70.tar.gz client-91b67c1e4758033e6fc98e23c781c688e702cf70.tar.bz2 client-91b67c1e4758033e6fc98e23c781c688e702cf70.tar.xz client-91b67c1e4758033e6fc98e23c781c688e702cf70.zip |
Start refactoring preference screen navigation
(To make room for summoning gallery)
-rw-r--r-- | game/screens.rpy | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/game/screens.rpy b/game/screens.rpy index 3eb145b..9a3c5e6 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -385,10 +385,13 @@ screen navigation(): if main_menu: textbutton _("Start") action Start() - else: + elif story_mode or hud_interface: textbutton _("History") action ShowMenu("history") - textbutton _("Preferences") action ShowMenu("preferences") + if not debug: + textbutton _("Preferences") action ShowMenu("preferences") + else: + textbutton _("Prefs") action ShowMenu("preferences") if _in_replay: textbutton _("End Replay") action EndReplay(confirm=True) @@ -396,9 +399,10 @@ screen navigation(): elif not main_menu and (debug or config.developer): textbutton _("Main Menu") action SpheresMainMenu() - textbutton _("About") action ShowMenu("about") + if main_menu or story_mode or hud_interface: + textbutton _("About") action ShowMenu("about") - if renpy.variant("pc") or (renpy.variant("web") and not renpy.variant("mobile")): + if (renpy.variant("pc") or (renpy.variant("web") and not renpy.variant("mobile"))) and (main_menu or story_mode or hud_interface): ## Help isn't necessary or relevant to mobile devices. textbutton _("Help") action ShowMenu("help") |