Save Compatibility

* Partial patch to enable 1.45.X compatibility for 1.46 update.
This commit is contained in:
LoafyLemon 2024-01-22 20:14:53 +00:00
parent 3505429498
commit e7c1095176

View File

@ -166,6 +166,17 @@ init python:
if k.modpath:
k.modpath = "mods/" + k.modpath.split("/")[-1]
if current < 1.46:
getattr(store, "her_ev_cumslut_public_t5_e1").label = "hg_pr_cumslut_T5_return"
getattr(store, "her_ev_cumslut_public_t5_e2").label = "hg_pr_cumslut_T5_return"
getattr(store, "her_ev_cumslut_public_t5_e3").label = "hg_pr_cumslut_T5_return"
getattr(store, "her_ev_cumslut_public_t5_e1_hub").label = "hg_pr_cumslut"
getattr(store, "her_ev_cumslut_public_t5_e2_hub").label = "hg_pr_cumslut"
getattr(store, "her_ev_cumslut_public_t5_e3_hub").label = "hg_pr_cumslut"
getattr(store, "her_ev_cumslut_public_t5_e1_hub").req = "states.her.tier == 5"
getattr(store, "her_ev_cumslut_public_t5_e2_hub").req = "states.her.tier == 5"
getattr(store, "her_ev_cumslut_public_t5_e3_hub").req = "states.her.tier == 5"
if current > latest:
raise Exception("Loaded save file is incompatible. (Save Version: {}, Game Version: {})".format(current, latest))