Moved game upgrades to a separate quest
This commit is contained in:
parent
9bdf9a2640
commit
08ece8c74b
BIN
VersionUpdateQuest.esp
Normal file
BIN
VersionUpdateQuest.esp
Normal file
Binary file not shown.
BIN
scripts/EnderalUpgradeAlias.pex
Normal file
BIN
scripts/EnderalUpgradeAlias.pex
Normal file
Binary file not shown.
Binary file not shown.
24
source/scripts/EnderalUpgradeAlias.psc
Normal file
24
source/scripts/EnderalUpgradeAlias.psc
Normal file
@ -0,0 +1,24 @@
|
||||
Scriptname EnderalUpgradeAlias extends ReferenceAlias Hidden
|
||||
{This script handles game version upgrades, DO NOT MODIFY.}
|
||||
|
||||
Float Property CURRENT_PATCH_VERSION = 2.1 AutoReadOnly
|
||||
float fPatchVersion
|
||||
|
||||
Event OnInit()
|
||||
|
||||
; MQP01
|
||||
if (Game.GetForm(0x46F1A) as Quest).GetStageDone(10)
|
||||
Debug.MessageBox("A savegame was loaded which was made before the release of Enderal SE 2.1. 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()
|
||||
endif
|
||||
|
||||
EndEvent
|
||||
|
||||
Event OnPlayerLoadGame()
|
||||
|
||||
if fPatchVersion < CURRENT_PATCH_VERSION
|
||||
;
|
||||
fPatchVersion = CURRENT_PATCH_VERSION
|
||||
endif
|
||||
|
||||
EndEvent
|
@ -147,12 +147,6 @@ endfunction
|
||||
|
||||
Function Maintenance()
|
||||
|
||||
if fPatchVersion <= 2.13
|
||||
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
|
||||
;
|
||||
fPatchVersion = CURRENT_PATCH_VERSION
|
||||
|
Loading…
Reference in New Issue
Block a user