diff --git a/scripts/_00e_playersetupscript.pex b/scripts/_00e_playersetupscript.pex index 5d6c9512..3df70b7f 100644 Binary files a/scripts/_00e_playersetupscript.pex and b/scripts/_00e_playersetupscript.pex differ diff --git a/source/scripts/_00e_playersetupscript.psc b/source/scripts/_00e_playersetupscript.psc index 1d40e39c..f035282f 100644 --- a/source/scripts/_00e_playersetupscript.psc +++ b/source/scripts/_00e_playersetupscript.psc @@ -1,7 +1,7 @@ Scriptname _00E_PlayerSetUpScript extends ObjectReference {Initializes all the necessary Quests, maintains the player, contains various OnPlayerLoadGame() failsafes} -Float Property CURRENT_PATCH_VERSION = 2.09 AutoReadOnly +Float Property CURRENT_PATCH_VERSION = 2.10 AutoReadOnly ;===================================================================================== @@ -183,7 +183,7 @@ EndFunction ; 2.0.9 ;===================================================================================== -Function Update_209() +Function Update_210() Spell abSoulcaller = Game.GetFormFromFile(0x002F0EA, "Enderal - Forgotten Stories.esm") as Spell If PlayerREF.HasSpell(abSoulcaller) PlayerREF.RemoveSpell(abSoulcaller) @@ -367,19 +367,13 @@ EndFunction Function Maintenance() - If fPatchVersion < 1.62 && !bdoOnce - int iButton01 = _00E_Game_OldSaves_01.Show() - If iButton01 == 0 - Game.QuitToMainMenu() - ElseIf iButton01 == 1 - int iButton02 = _00E_Game_OldSaves_02.Show() - If iButton02 == 0 - Game.QuitToMainMenu() - ElseIf iButton02 == 1 - bdoOnce = true - EndIf - EndIf - ElseIf fPatchVersion >= 1.62 && fPatchVersion < CURRENT_PATCH_VERSION + if fPatchVersion < 1.62 + Debug.MessageBox("A savegame was loaded which was made before the release of Enderal SE. In this save, several new features won't be available and there is a chance that you'll encounter grave bugs. Please, start a new game.") + Game.QuitToMainMenu() + return + endif + + if fPatchVersion < CURRENT_PATCH_VERSION ; only do this once when update 2.0.6 (SE) is applied If fPatchVersion < 2.06 UpdateMQ12b_206() @@ -388,12 +382,12 @@ Function Maintenance() If fPatchVersion < 2.08 Update_208() EndIf - ; only do this once when update 2.0.9 (SE) is applied - If fPatchVersion < 2.09 - Update_209() + ; only do this once when update 2.0.10 (SE) is applied + If fPatchVersion < 2.10 + Update_210() EndIf fPatchVersion = CURRENT_PATCH_VERSION - EndIf + endif ; changes to the actor value healrate will not persist in consecutive saves ; every time a save gets loaded the healrate needs to be set to 0, otherwise it will go back again to default at 0.7