diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-08-16 18:42:22 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-08-16 18:42:22 -0300 |
commit | a5411cc10c9878da6d45b0a83fe0e861593c48dc (patch) | |
tree | c0d0f167c4d25d0f7acdb35a4c0cc851ac17c46b | |
parent | ec9ea81233de9d9e2d83b6d8e488f7bcdb34d5d2 (diff) | |
download | client-a5411cc10c9878da6d45b0a83fe0e861593c48dc.tar.gz client-a5411cc10c9878da6d45b0a83fe0e861593c48dc.tar.bz2 client-a5411cc10c9878da6d45b0a83fe0e861593c48dc.tar.xz client-a5411cc10c9878da6d45b0a83fe0e861593c48dc.zip |
Add the Spheres Reference to the (otherwise useless) help menu.
I liked it.
-rw-r--r-- | game/gui/help.rpy | 60 | ||||
-rw-r--r-- | game/screens.rpy | 10 |
2 files changed, 59 insertions, 11 deletions
diff --git a/game/gui/help.rpy b/game/gui/help.rpy index 641c0ac..5874aa9 100644 --- a/game/gui/help.rpy +++ b/game/gui/help.rpy @@ -11,7 +11,7 @@ screen help(): tag menu - default device = "keyboard" + default device = "spheres" use game_menu(_("Help"), scroll="viewport"): @@ -22,8 +22,12 @@ screen help(): hbox: - textbutton _("Keyboard") action SetScreenVariable("device", "keyboard") - textbutton _("Mouse") action SetScreenVariable("device", "mouse") + textbutton _("Spheres") action SetScreenVariable("device", "spheres") + + if renpy.variant("pc") or (renpy.variant("web") and not renpy.variant("mobile")): + textbutton _("Keyboard") action SetScreenVariable("device", "keyboard") + + textbutton _("Mouse") action SetScreenVariable("device", "mouse") if GamepadExists(): textbutton _("Gamepad") action SetScreenVariable("device", "gamepad") @@ -34,6 +38,8 @@ screen help(): use mouse_help elif device == "gamepad": use gamepad_help + elif device == "spheres": + use spheres_help screen keyboard_help(): @@ -107,6 +113,54 @@ screen gamepad_help(): textbutton _("Calibrate") action GamepadCalibrate() + +screen spheres_help(): + + hbox: + add "gfx/sphere/1.png" + label _("Attack Row") + text _("Attacks all enemies.") + + hbox: + add "gfx/sphere/2.png" + label _("Pierce") + text _("Attack with double power.") + + hbox: + add "gfx/sphere/3.png" + label _("Shockwave") + text _("May cause additional damage.") + + hbox: + add "gfx/sphere/4.png" + label _("Heal") + text _("Recover 30%% HP.") + + hbox: + add "gfx/sphere/5.png" + label _("Heal All") + text _("Heal all allies in 30%%.") + + hbox: + add "gfx/sphere/6.png" + label _("Attack Up") + text _("Raise party damage for 1 turn.") + + hbox: + add "gfx/sphere/7.png" + label _("Defense Up") + text _("Raise party defense for 1 turn.") + + null height 32 + hbox: + label _("Reminder:") + text _("Spheres goes before Skills.") + text _("Skills goes before normal attacks.") + null height 32 + text _("Summoning does not take a turn.") + text _("Do it before assigning spheres.") + + style help_button is gui_button style help_button_text is gui_button_text style help_label is gui_label diff --git a/game/screens.rpy b/game/screens.rpy index d14e96c..bc1f9cd 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -388,10 +388,7 @@ screen navigation(): elif story_mode or hud_interface: textbutton _("History") action ShowMenu("history") - if not debug: - textbutton _("Preferences") action ShowMenu("preferences") - else: - textbutton _("Prefs") action ShowMenu("preferences") + textbutton _("Prefs") action ShowMenu("preferences") if _in_replay: textbutton _("End Replay") action EndReplay(confirm=True) @@ -402,10 +399,7 @@ screen navigation(): 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"))) and (main_menu or story_mode or hud_interface): - - ## Help isn't necessary or relevant to mobile devices. - textbutton _("Help") action ShowMenu("help") + textbutton _("Help") action ShowMenu("help") if not (main_menu or story_mode or hud_interface): if Player["quest"] >= 5: |