diff --git a/game/options.rpy b/game/options.rpy index edc0153..7c99856 100644 --- a/game/options.rpy +++ b/game/options.rpy @@ -23,7 +23,7 @@ define gui.show_name = True ## The version of the game. -define config.version = "Patchy-patch5.11" +define config.version = "Patchy-patch5.1.1" ## Text that is placed on the game's about screen. Place the text between the ## triple-quotes, and leave a blank line between paragraphs. diff --git a/game/screens.rpy b/game/screens.rpy index 468304f..f2e13ea 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -730,21 +730,42 @@ screen updates(): vbox: xpos 1140 - ypos 800 - #text _("UPDATES") - label "[config.name!t]" - text _("Your Version is [config.version!t]\n") - ##style_prefix "check" + ypos 900 + label _("{color=#5D009C}[config.name!t]{/color}") + text _("{color=#5D009C}Your Version is [config.version!t]\n{/color}") + if updater.can_update(): + label _("{color=#5D009C}{size=26}Update directory exists, updating is possible!{/size}{/color}") + else: + label _("{color=#5D009C}{size=26}Update directory does not exist or is corrupt!{/size}") textbutton _("Enable Automatic Updates") action [Notify("Toggling Automatic Updates..."), ToggleVariable("persistent.autoup", True, False)] - text _("Automatic Updates: [persistent.autoup!t]\n") + text _("{color=#5D009C}Automatic Updates: [persistent.autoup!t]\n{/color}") textbutton _("Check for Update!") action [Notify("Checking for update..."), Function(UpdateCheck)] - label _("Update Check Result:\n") - text _("[persistent.updateresult!t]\n") + label _("{color=#5D009C}Update Check Result:\n{/color}") + text _("{color=#5D009C}[persistent.updateresult!t]\n{/color}") if persistent.updateresult != "No new version is available": textbutton _("Update Now!") action updater.Update(persistent.updateWebServer, force=False) else: textbutton _("Update Now!") action Notify("Nothing to update to!") + + label _("{color=#5D009C}Update Server:\n{/color}") + + + default input_on = False + + button: + key_events True + if input_on: + input: + default "[persistent.updateWebServer!t]" size 20 color '#FFFFFF' + value FieldInputValue(persistent, 'updateWebServer') + length 49 + copypaste True + else: + text persistent.updateWebServer size 20 color '#FFFF00' + action ToggleScreenVariable('input_on') + textbutton "Back to Extras" action ShowMenu("extras") + vbox: xpos 1942 # xalign 1.0