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.
elif states.cho.tier == 3 and not states.cho.ev.quidditch.e10_complete:
jump cho_quid_E10
# Quidditch Outro
elif states.cho.tier == 4 and not states.cho.ev.quidditch.e14_complete:
jump cho_quid_E14
# Quidditch Outro (Not yet finished, need a few more days)
# elif states.cho.tier == 4 and not states.cho.ev.quidditch.e14_complete:
# jump cho_quid_E14
# Clothes Events
call cho_summon_setup

View File

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

View File

@ -35,12 +35,13 @@ define config.developer = "auto"
define config.console = True
# Game version and naming
define config.version = "1.44.4"
define compatible_version = 1.43
define config.version = "1.45.0"
define compatible_version = 1.45
define config.name = "Witch Trainer Silver"
define prerelease = True# if not config.developer else False
# 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.screen_width = 1080
define config.screen_height = 600

View File

@ -4,6 +4,9 @@ label start:
version = version_float()
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
label start_quick:
@ -17,6 +20,9 @@ label start_quick:
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
label start_dev:

View File

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