Pre-release

* Version bump
* Added pre-release notices and warnings
* Disabled some of the new Cho content until it gets properly finished
This commit is contained in:
LoafyLemon 2023-05-13 16:08:35 +01:00
parent 8ba28f5e14
commit b5828b67f5
7 changed files with 32 additions and 13 deletions

BIN
game/interface/warning.webp (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -23,9 +23,9 @@ label summon_cho:
# Gryffindor Quidditch Intro. # Gryffindor Quidditch Intro.
elif states.cho.tier == 3 and not states.cho.ev.quidditch.e10_complete: elif states.cho.tier == 3 and not states.cho.ev.quidditch.e10_complete:
jump cho_quid_E10 jump cho_quid_E10
# Quidditch Outro # Quidditch Outro (Not yet finished, need a few more days)
elif states.cho.tier == 4 and not states.cho.ev.quidditch.e14_complete: # elif states.cho.tier == 4 and not states.cho.ev.quidditch.e14_complete:
jump cho_quid_E14 # jump cho_quid_E14
# Clothes Events # Clothes Events
call cho_summon_setup call cho_summon_setup

View File

@ -31,6 +31,10 @@ screen main_menu():
add "game_title" zoom 0.75 xalign 0.5 add "game_title" zoom 0.75 xalign 0.5
if prerelease:
text "TEST-ONLY" at transform:
rotate 45
vbox: vbox:
spacing gui.navigation_spacing * 2 spacing gui.navigation_spacing * 2
yoffset -gui.navigation_padding yoffset -gui.navigation_padding
@ -60,12 +64,17 @@ screen main_menu():
fixed: fixed:
xysize (300, 30) xysize (300, 30)
text "[config.version]": vbox:
style "main_menu_version" xoffset -100 - gui.navigation_padding
xoffset -320 - gui.navigation_padding
yalign 0.5 yalign 0.5
at transform: at transform:
alpha 0.6 alpha 0.6
if prerelease:
text "Pre-release":
style "main_menu_version"
text "[config.version]":
style "main_menu_version"
imagebutton: imagebutton:
idle Transform("silverstudiogames_idle", alpha=0.5, zoom=0.5) idle Transform("silverstudiogames_idle", alpha=0.5, zoom=0.5)
@ -247,9 +256,9 @@ screen navigation(title=None):
if not renpy.mobile: if not renpy.mobile:
if UPDATE_VER: if UPDATE_VER:
textbutton "Install updates" action InstallUpdates() style_prefix "update_available" textbutton "Install updates" action InstallUpdates() style_prefix "update_available" sensitive (not prerelease)
else: else:
textbutton "Check for updates" action CheckUpdates(300) textbutton "Check for updates" action CheckUpdates(300) sensitive (not prerelease)
if show_quick_start: if show_quick_start:
textbutton _("Quick Start") action Start("start_quick") sensitive is_sensitive textbutton _("Quick Start") action Start("start_quick") sensitive is_sensitive

View File

@ -35,12 +35,13 @@ define config.developer = "auto"
define config.console = True define config.console = True
# Game version and naming # Game version and naming
define config.version = "1.44.4" define config.version = "1.45.0"
define compatible_version = 1.43 define compatible_version = 1.45
define config.name = "Witch Trainer Silver" define config.name = "Witch Trainer Silver"
define prerelease = True# if not config.developer else False
# Application window settings # Application window settings
define config.window_title = f"{config.name} (v{config.version}) ({get_renderer()}) ({renpy.bits}-bit)" define config.window_title = f"{config.name} (v{config.version}{' PRE-RELEASE' if prerelease else ''}) ({get_renderer()}) ({renpy.bits}-bit)"
define config.window_icon = "gui/icon.webp" define config.window_icon = "gui/icon.webp"
define config.screen_width = 1080 define config.screen_width = 1080
define config.screen_height = 600 define config.screen_height = 600

View File

@ -4,6 +4,9 @@ label start:
version = version_float() version = version_float()
renpy.block_rollback() renpy.block_rollback()
if prerelease:
call modal_popup("Attention!", "This pre-release version of the game comes with some quirks and instability. Brace yourself for potential bugs, unexpected crashes, missing content, and oddities in gameplay. While weve done our best to iron out issues, be prepared for a less-than-smooth experience. \n\nHelp us improve by reporting any problems you encounter via Discord.\n\nProceed only if you acknowledge the above.", "interface/warning.webp")
jump start_wt jump start_wt
label start_quick: label start_quick:
@ -17,6 +20,9 @@ label start_quick:
renpy.block_rollback() renpy.block_rollback()
if prerelease:
call modal_popup("Attention!", "This pre-release version of the game comes with some quirks and instability. Brace yourself for potential bugs, unexpected crashes, missing content, and oddities in gameplay. While weve done our best to iron out issues, be prepared for a less-than-smooth experience. \n\nHelp us improve by reporting any problems you encounter via Discord.\n\nProceed only if you acknowledge the above.", "interface/warning.webp")
jump skip_to_hermione jump skip_to_hermione
label start_dev: label start_dev:

View File

@ -291,6 +291,6 @@ style update_available_button_text:
label before_main_menu(): label before_main_menu():
python: python:
if settings.get("updates"): if settings.get("updates") and not prerelease:
CheckUpdates(onetime=True, autostart=False)() CheckUpdates(onetime=True, autostart=False)()
return return