From 68dc4075c2d83fb2b70156904baff9acf52cdf39 Mon Sep 17 00:00:00 2001 From: LoafyLemon Date: Sat, 20 May 2023 20:04:47 +0100 Subject: [PATCH] Save compatibility and version bump --- game/scripts/options.rpy | 2 +- game/scripts/utility/updater.rpy | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/game/scripts/options.rpy b/game/scripts/options.rpy index 9e3e89be..7824b2a3 100644 --- a/game/scripts/options.rpy +++ b/game/scripts/options.rpy @@ -35,7 +35,7 @@ define config.developer = "auto" define config.console = True # Game version and naming -define config.version = "1.45.0.2" +define config.version = "1.45.0.3" define compatible_version = 1.45 define config.name = "Witch Trainer Silver" define prerelease = True# if not config.developer else False diff --git a/game/scripts/utility/updater.rpy b/game/scripts/utility/updater.rpy index 96aa4ef3..51e1a331 100644 --- a/game/scripts/utility/updater.rpy +++ b/game/scripts/utility/updater.rpy @@ -1,8 +1,7 @@ init python: - from binascii import unhexlify import requests - UPDATE_URL = unhexlify("687474703a2f2f3135332e39322e3232312e3234362f757064617465732e6a736f6e") + UPDATE_URL = bytes.fromhex("687474703a2f2f757064617465732e73696c76657273747564696f67616d65732e6f72672f757064617465732e6a736f6e").decode() UPDATE_VER = "" @renpy.pure @@ -103,6 +102,17 @@ init python: hooch_chibi.hide() + if current <= 1.4502: + + renpy.music.stop("sound2") + + cho_top_school2.level = 0 + cho_top_school3.level = 0 + + cho_outfit_bikini.desc = "It's like a regular sized bikini that's shrunk in the wash." + + cho_panties_lace1.level = 14 + if current > latest: raise Exception("Loaded save file is incompatible. (Save Version: {}, Game Version: {})".format(current, latest))