Save compatibility and version bump

This commit is contained in:
LoafyLemon 2023-05-20 20:04:47 +01:00
parent b07e4c372e
commit 68dc4075c2
2 changed files with 13 additions and 3 deletions

View File

@ -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

View File

@ -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))