implemented NVL and ADV having different quickmenus!
This commit is contained in:
parent
89effa7299
commit
c16ca372ba
2 changed files with 16 additions and 5 deletions
21
screens.rpy
21
screens.rpy
|
|
@ -246,20 +246,27 @@ screen quick_menu():
|
|||
## Ensure this appears on top of other screens.
|
||||
zorder 100
|
||||
|
||||
$ mode = renpy.get_mode()
|
||||
|
||||
if quick_menu:
|
||||
|
||||
hbox:
|
||||
style_prefix "quick"
|
||||
style "quick_menu"
|
||||
|
||||
if mode == "nvl":
|
||||
style "quick_menu_nvl"
|
||||
|
||||
if mode == "say":
|
||||
style "quick_menu"
|
||||
|
||||
textbutton _("Back") action Rollback()
|
||||
textbutton _("History") action ShowMenu('history')
|
||||
textbutton _("Skip") action Skip() alternate Skip(fast=True, confirm=True)
|
||||
textbutton _("Auto") action Preference("auto-forward", "toggle")
|
||||
textbutton _("Save") action ShowMenu('save')
|
||||
textbutton _("Q.Save") action QuickSave()
|
||||
textbutton _("Q.Load") action QuickLoad()
|
||||
textbutton _("Prefs") action ShowMenu('preferences')
|
||||
# textbutton _("Save") action ShowMenu('save')
|
||||
# textbutton _("Q.Save") action QuickSave()
|
||||
# textbutton _("Q.Load") action QuickLoad()
|
||||
# textbutton _("Prefs") action ShowMenu('preferences')
|
||||
|
||||
|
||||
## This code ensures that the quick_menu screen is displayed in-game, whenever
|
||||
|
|
@ -277,6 +284,10 @@ style quick_menu:
|
|||
xalign 0.5
|
||||
yalign 1.0
|
||||
|
||||
style quick_menu_nvl:
|
||||
xalign 0.90
|
||||
yalign 0.93
|
||||
|
||||
style quick_button:
|
||||
properties gui.button_properties("quick_button")
|
||||
|
||||
|
|
|
|||
BIN
screens.rpyc
BIN
screens.rpyc
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue