# - by Dedalo_69 -

screen quick_menu():

    ## Ensure this appears on top of other screens.
    zorder 100

    if quick_menu:

        hbox:
            style_prefix "quick"

            xalign 0.5
            yalign 1.0

            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 _("Cheats") action ShowMenu("cheatmod")

screen cheatmodnavigation():
    modal True
    add "#000"
    add Transform("mod_Trucchi/Cheat_D69.webp", zoom=1.00) alpha 0.90 xalign 0.5 yalign 0.5
    textbutton "{size=40}Return{/size}" action Return() xalign 1.0 yalign 1.0




screen cheatmod():
    tag menu
    use cheatmodnavigation
    textbutton "{size=40}Return{/size}" action Return() xalign 1.0 yalign 1.0
    vpgrid:
         xcenter 0.48
         ypos 50
         cols 3
         xspacing 200
         yspacing 50
         vbox:
             spacing 30
             text"{size=50}{color=#f3c26a}Money{/color=#f00}" ycenter 0.8  outlines [(2, "#000", 0, 3)]
             fixed:
                 xysize(400,40)
                 bar value VariableValue("money", 10000)
                 text "{size=40}{color=#ffffff}[money]{/color=#f00}" xcenter 0.5 ycenter 0.45 outlines [(2, "#000", 0, 2)]

             vbox:
                 spacing 30
                 text"{size=50}{color=#f3c26a}Charm{/color=#f00}" ycenter 0.8  outlines [(2, "#000", 0, 3)]
                 fixed:
                     xysize(400,40)
                     bar value VariableValue("charm", 450)
                     text "{size=40}{color=#ffffff}[charm]{/color=#f00}" xcenter 0.5 ycenter 0.45 outlines [(2, "#000", 0, 2)]

             vbox:
                 spacing 30
                 text"{size=50}{color=#f3c26a}Knowledge{/color=#f00}" ycenter 0.8  outlines [(2, "#000", 0, 3)]
                 fixed:
                     xysize(400,40)
                     bar value VariableValue("knowledge", 450)
                     text "{size=40}{color=#ffffff}[knowledge]{/color=#f00}" xcenter 0.5 ycenter 0.45 outlines [(2, "#000", 0, 2)]

             vbox:
                 spacing 30
                 text"{size=50}{color=#f3c26a}Strength{/color=#f00}" ycenter 0.8  outlines [(2, "#000", 0, 3)]
                 fixed:
                     xysize(400,40)
                     bar value VariableValue("strength", 450)
                     text "{size=40}{color=#ffffff}[strength]{/color=#f00}" xcenter 0.5 ycenter 0.45 outlines [(2, "#000", 0, 2)]
