# - by Dedalo_69 -

screen quick_menu():

    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 quick_menu():
    variant "touch"

    zorder 100

    if quick_menu:

        hbox:
            style_prefix "quick"

            xalign 0.5
            yalign 1.0

            textbutton _("Back") action Rollback()
            textbutton _("Skip") action Skip() alternate Skip(fast=True, confirm=True)
            textbutton _("Auto") action Preference("auto-forward", "toggle")
            textbutton _("Menu") action ShowMenu()
            textbutton _("Hide") action HideInterface()
            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=50}Return{/size}" action Return() xalign 1.0 yalign 1.0




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

             vbox:
                 spacing 20
                 text"{size=50}{color=#f3c26a}Energy{/color=#f00}" ycenter 0.8  outlines [(2, "#000", 0, 3)]
                 fixed:
                     xysize(400,20)
                     bar value VariableValue("energy", 1000)
                     text "{size=40}{color=#ffffff}[energy]{/color=#f00}" xcenter 0.5 ycenter 0.65 outlines [(2, "#000", 0, 3)]

             vbox:
                 spacing 20
                 text"{size=50}{color=#f3c26a}Business Level{/color=#f00}" ycenter 0.8  outlines [(2, "#000", 0, 3)]
                 fixed:
                     xysize(400,20)
                     bar value VariableValue("business_level", 5)
                     text "{size=40}{color=#ffffff}[business_level]{/color=#f00}" xcenter 0.5 ycenter 0.65 outlines [(2, "#000", 0, 3)]

             vbox:
                 spacing 20
                 text"{size=50}{color=#f3c26a}Prosperity{/color=#f00}" ycenter 0.8  outlines [(2, "#000", 0, 3)]
                 fixed:
                     xysize(400,20)
                     bar value VariableValue("prosperity", 10)
                     text "{size=40}{color=#ffffff}[prosperity]{/color=#f00}" xcenter 0.5 ycenter 0.65 outlines [(2, "#000", 0, 3)]

             vbox:
                 spacing 20
                 text"{size=50}{color=#f3c26a}Maintenance Total{/color=#f00}" ycenter 0.8  outlines [(2, "#000", 0, 3)]
                 fixed:
                     xysize(400,20)
                     bar value VariableValue("maintenance_total", 10000)
                     text "{size=40}{color=#ffffff}[maintenance_total]{/color=#f00}" xcenter 0.5 ycenter 0.65 outlines [(2, "#000", 0, 3)]

             vbox:
                 spacing 20
                 text"{size=50}{color=#f3c26a}Bill Total{/color=#f00}" ycenter 0.8  outlines [(2, "#000", 0, 3)]
                 fixed:
                     xysize(400,20)
                     bar value VariableValue("bill_total", 10000)
                     text "{size=40}{color=#ffffff}[bill_total]{/color=#f00}" xcenter 0.5 ycenter 0.65 outlines [(2, "#000", 0, 3)]

         vbox:
             spacing 20
             text"{size=50}{color=#f3c26a}Elite Exp{/color=#f00}" ycenter 0.8  outlines [(2, "#000", 0, 3)]
             fixed:
                 xysize(400,20)
                 bar value VariableValue("customer_elite_exp", 1000000)
                 text "{size=40}{color=#ffffff}[customer_elite_exp]{/color=#f00}" xcenter 0.5 ycenter 0.65 outlines [(2, "#000", 0, 3)]

             vbox:
                 spacing 20
                 text"{size=50}{color=#f3c26a}Popular Exp{/color=#f00}" ycenter 0.8  outlines [(2, "#000", 0, 3)]
                 fixed:
                     xysize(400,20)
                     bar value VariableValue("customer_popular_exp", 1000000)
                     text "{size=40}{color=#ffffff}[customer_popular_exp]{/color=#f00}" xcenter 0.5 ycenter 0.65 outlines [(2, "#000", 0, 3)]

             vbox:
                 spacing 20
                 text"{size=50}{color=#f3c26a}Alternative Exp{/color=#f00}" ycenter 0.8  outlines [(2, "#000", 0, 3)]
                 fixed:
                     xysize(400,20)
                     bar value VariableValue("customer_alternative_exp", 1000000)
                     text "{size=40}{color=#ffffff}[customer_alternative_exp]{/color=#f00}" xcenter 0.5 ycenter 0.65 outlines [(2, "#000", 0, 3)]
             vbox:
                 spacing 20
                 text"{size=50}{color=#f3c26a}Point Elite{/color=#f00}" ycenter 0.8  outlines [(2, "#000", 0, 3)]
                 fixed:
                     xysize(400,20)
                     bar value VariableValue("customer_elite", 1000000)
                     text "{size=40}{color=#ffffff}[customer_elite]{/color=#f00}" xcenter 0.5 ycenter 0.65 outlines [(2, "#000", 0, 3)]

             vbox:
                 spacing 20
                 text"{size=50}{color=#f3c26a}Point Popular{/color=#f00}" ycenter 0.8  outlines [(2, "#000", 0, 3)]
                 fixed:
                     xysize(400,20)
                     bar value VariableValue("customer_popular", 1000000)
                     text "{size=40}{color=#ffffff}[customer_popular]{/color=#f00}" xcenter 0.5 ycenter 0.65 outlines [(2, "#000", 0, 3)]

             vbox:
                 spacing 20
                 text"{size=50}{color=#f3c26a}Point Alternative{/color=#f00}" ycenter 0.8  outlines [(2, "#000", 0, 3)]
                 fixed:
                     xysize(400,20)
                     bar value VariableValue("customer_alternative", 1000000)
                     text "{size=40}{color=#ffffff}[customer_alternative]{/color=#f00}" xcenter 0.5 ycenter 0.65 outlines [(2, "#000", 0, 3)]


