diff --git a/SKSE/Plugins/EnderalVersion.ini b/SKSE/Plugins/EnderalVersion.ini index c1ea5029..af9fd81b 100644 --- a/SKSE/Plugins/EnderalVersion.ini +++ b/SKSE/Plugins/EnderalVersion.ini @@ -1 +1 @@ -version = 2.0.12.5 +version = 2.0.13 diff --git a/scripts/_00e_animtest_sc.pex b/scripts/_00e_animtest_sc.pex index dd25e3e5..39c73953 100644 Binary files a/scripts/_00e_animtest_sc.pex and b/scripts/_00e_animtest_sc.pex differ diff --git a/scripts/_00e_fs_nq07_functions.pex b/scripts/_00e_fs_nq07_functions.pex index 1733bbd1..220decc0 100644 Binary files a/scripts/_00e_fs_nq07_functions.pex and b/scripts/_00e_fs_nq07_functions.pex differ diff --git a/scripts/_00e_playerhousingmaster.pex b/scripts/_00e_playerhousingmaster.pex index 0a869b21..f2b7494a 100644 Binary files a/scripts/_00e_playerhousingmaster.pex and b/scripts/_00e_playerhousingmaster.pex differ diff --git a/scripts/_00e_playersetupscript.pex b/scripts/_00e_playersetupscript.pex index 02da311a..5e7b3445 100644 Binary files a/scripts/_00e_playersetupscript.pex and b/scripts/_00e_playersetupscript.pex differ diff --git a/source/scripts/_00e_animtest_sc.psc b/source/scripts/_00e_animtest_sc.psc index b559a3bb..5533309f 100644 --- a/source/scripts/_00e_animtest_sc.psc +++ b/source/scripts/_00e_animtest_sc.psc @@ -151,15 +151,3 @@ Function TriggerAnimationSyncUpdate() RegisterForSingleUpdate(3.0) EndIf EndFunction - -Function UpdateFillPackages(Package akFillPackage) ; Version 2.0.8 Update - Int i = 0 - While i < akCustomAnimPackageArray.Length - akCustomAnimPackageArray[i] = akFillPackage - i += 1 - EndWhile - - If Is3DLoaded() - ResetAnimations() - EndIf -EndFunction diff --git a/source/scripts/_00e_fs_nq07_functions.psc b/source/scripts/_00e_fs_nq07_functions.psc index 07a57307..0b6694af 100644 --- a/source/scripts/_00e_fs_nq07_functions.psc +++ b/source/scripts/_00e_fs_nq07_functions.psc @@ -543,17 +543,6 @@ Function ClearPlayerAlias() EndFunction -Function UpdateAarosCarryTraySpell() ; Version 2.0.8 Update - If _00E_FS_NQ07_AarosREF.HasSpell(_00E_AbCarryDrinkTray_Old) - _00E_FS_NQ07_AarosREF.RemoveSpell(_00E_AbCarryDrinkTray_Old) - Wait(1.0) - Int iCurStage = GetCurrentStageID() - If iCurStage >= 35 && iCurStage < 50 - AarosAddSpell() - EndIf - EndIf -EndFunction - Function AskCreatePotion() If GetCurrentStageID() == 115 diff --git a/source/scripts/_00e_playerhousingmaster.psc b/source/scripts/_00e_playerhousingmaster.psc index 4d8f9006..1fa3c3e4 100644 --- a/source/scripts/_00e_playerhousingmaster.psc +++ b/source/scripts/_00e_playerhousingmaster.psc @@ -195,10 +195,6 @@ Function RegisterNewHousingObjectOffsets(Float fNewOffsetAngleZ, Float fNewOffse fStoredOffsetPositionZ = fNewOffsetPositionZ EndFunction -Function Update_209() - bStartTutorialShown = ((Self as Quest) as _00E_PlayerhousingTutorial).StartTutorialIsShown() -EndFunction - ;===================================================================================== ; CONTROLS diff --git a/source/scripts/_00e_playersetupscript.psc b/source/scripts/_00e_playersetupscript.psc index 3c1f42c7..db085833 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. This script is important for proper updating, do not overwrite it.} -Float Property CURRENT_PATCH_VERSION = 2.124 AutoReadOnly +Float Property CURRENT_PATCH_VERSION = 2.13 AutoReadOnly ;===================================================================================== @@ -34,8 +34,6 @@ Event OnInit() EnableDisableKillmove() - ; Added in 1.5.8.0 - ; starts all quests that are in the formlist Int iIndex = QuestsToStart.GetSize() While iIndex > 0 @@ -59,7 +57,7 @@ Event OnPlayerLoadGame() _00E_Func_CheckEnderalDLL.Run() Maintenance() - If GetState() != "RealPlayer" ; Post-1.2.5.0 version update + If GetState() != "RealPlayer" GoToState("RealPlayer") EndIf EndIf @@ -74,114 +72,6 @@ State RealPlayer EndState -;===================================================================================== -; 2.0.6 -;===================================================================================== - -Function UpdateMQ12b_206() - _00E_MQ12b_Functions MQ12bFunctions = Game.GetForm(0x2EBAD) as _00E_MQ12b_Functions - Quest MQ15 = Game.GetFormFromFile(0x0002EBB0, "Skyrim.esm") as Quest - If MQ12bFunctions.GetCurrentStageID() >= 135 && MQ15.GetCurrentStageID() < 5 - MQ12bFunctions.OldReenableDisabledNPC() - EndIf -EndFunction - - -;===================================================================================== -; 2.0.8 -;===================================================================================== - -Function Update_208() - ; Obsolete abilities cleanup - _00E_FS_NQ07_Functions FS_NQ07_Quest = Game.GetFormFromFile(0x0001CA09, "Enderal - Forgotten Stories.esm") as _00E_FS_NQ07_Functions - Int iFS_NQ07Stage = FS_NQ07_Quest.GetCurrentStageID() - If iFS_NQ07Stage >= 5 && iFS_NQ07Stage < 410 - FS_NQ07_Quest.UpdateAarosCarryTraySpell() - Else - RemoveObsoleteSpell(0x0009A893, "Skyrim.esm", 0x000F649A, "Skyrim.esm") - EndIf - - RemoveObsoleteSpell(0x0010D339, "Skyrim.esm", 0x000F649A, "Skyrim.esm") - RemoveObsoleteSpell(0x0006FFAF, "Skyrim.esm", 0x000F6498, "Skyrim.esm") - RemoveObsoleteSpell(0x000F64A0, "Skyrim.esm", 0x000F6498, "Skyrim.esm") - - ; Refill _00E_AnimTest_SC package arrays where needed - FillAnimTestPackages(0x00137889, "Skyrim.esm", 0x00070657, "Skyrim.esm") - FillAnimTestPackages(0x0013788A, "Skyrim.esm", 0x00070657, "Skyrim.esm") - FillAnimTestPackages(0x0013789F, "Skyrim.esm", 0x00070657, "Skyrim.esm") - FillAnimTestPackages(0x001378A2, "Skyrim.esm", 0x00070657, "Skyrim.esm") - FillAnimTestPackages(0x001378AA, "Skyrim.esm", 0x00070657, "Skyrim.esm") - FillAnimTestPackages(0x001378AB, "Skyrim.esm", 0x00070657, "Skyrim.esm") - FillAnimTestPackages(0x00147E12, "Skyrim.esm", 0x00070657, "Skyrim.esm") - FillAnimTestPackages(0x00147E14, "Skyrim.esm", 0x00070657, "Skyrim.esm") - - FillAnimTestPackages(0x0010D336, "Skyrim.esm", 0x00070645, "Skyrim.esm") - FillAnimTestPackages(0x0010D33B, "Skyrim.esm", 0x00070645, "Skyrim.esm") - FillAnimTestPackages(0x00147DEA, "Skyrim.esm", 0x00070645, "Skyrim.esm") - FillAnimTestPackages(0x00147E37, "Skyrim.esm", 0x00070645, "Skyrim.esm") - - ; "Gypsy minstrels" update - Keyword performSpotKwd = Game.GetFormFromFile(0x000FB905, "Skyrim.esm") as Keyword - (Game.GetFormFromFile(0x00044EBC, "Skyrim.esm") as _00E_BardPlayInstrumentScript).LinkedPlayMarkerKeyword = performSpotKwd - - (Game.GetFormFromFile(0x00046D79, "Skyrim.esm") as _00E_GypsyMinstrelsControlScript).UpdateWaypoint() -EndFunction - -Function RemoveObsoleteSpell(Int idNPC, String esmNPC, Int idSpell, String esmSpell) - Spell obsoleteSpell = Game.GetFormFromFile(idSpell, esmSpell) as Spell - (Game.GetFormFromFile(idNPC, esmNPC) as Actor).RemoveSpell(obsoleteSpell) -EndFunction - -Function FillAnimTestPackages(Int idNPC, String esmNPC, Int idPackage, String esmPackage) - Package newPackage = Game.GetFormFromFile(idPackage, esmPackage) as Package - (Game.GetFormFromFile(idNPC, esmNPC) as _00E_AnimTest_SC).UpdateFillPackages(newPackage) -EndFunction - - -;===================================================================================== -; 2.0.10 -;===================================================================================== - -Function Update_210() - Spell abSoulcaller = Game.GetFormFromFile(0x002F0EA, "Enderal - Forgotten Stories.esm") as Spell - If PlayerREF.HasSpell(abSoulcaller) - PlayerREF.RemoveSpell(abSoulcaller) - Utility.Wait(1) - PlayerREF.AddSpell(abSoulcaller, False) - EndIf - - Perk perkBloodlust = Game.GetFormFromFile(0x00069D38, "Skyrim.esm") as Perk - _ResetPerk(perkBloodlust) - - _00E_PlayerhousingMaster.GetMaster().Update_209() - - ; Previous versions may have silence tracks stuck - Levelsystem.RemoveSilence() -EndFunction - - -;===================================================================================== -; 2.0.12 -;===================================================================================== - -Function Update_212() - PlayerREF.AddPerk(Game.GetFormFromFile(0x14CF8, "Enderal - Forgotten Stories.esm") as Perk) ; _00E_SE_WerewolfBlockFurniturePerk - PlayerREF.AddPerk(Game.GetFormFromFile(0x14CFA, "Enderal - Forgotten Stories.esm") as Perk) ; _00E_SE_DismantlePerk - PlayerREF.AddPerk(Game.GetFormFromFile(0x14CF9, "Enderal - Forgotten Stories.esm") as Perk) ; _00E_SE_2_0_12_UpgradePerk -EndFunction - -Function Update_212_hotfix1() - Quest rNQ05 = Game.GetFormFromFile(0x1C82F, "Enderal - Forgotten Stories.esm") as Quest - if rNQ05.GetCurrentStageID() >= 30 && rNQ05.GetCurrentStageID() < 40 - PlayerREF.AddPerk(Game.GetFormFromFile(0x14CF6, "Enderal - Forgotten Stories.esm") as Perk) ; _00E_FS_NQ05_CraftPotionPerk - endif - Quest rNQ07 = Game.GetFormFromFile(0x1CA09, "Enderal - Forgotten Stories.esm") as Quest - if rNQ07.GetCurrentStageID() == 115 - PlayerREF.AddPerk(Game.GetFormFromFile(0x14CF7, "Enderal - Forgotten Stories.esm") as Perk) ; _00E_FS_NQ07_CraftPotionPerk - endif -EndFunction - - ;===================================================================================== ; ALL UPDATES ;===================================================================================== @@ -259,28 +149,14 @@ endfunction Function Maintenance() - if fPatchVersion <= 1.62 + 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 + ;Game.QuitToMainMenu() + ;return endif if fPatchVersion < CURRENT_PATCH_VERSION - If fPatchVersion < 2.06 - UpdateMQ12b_206() - EndIf - If fPatchVersion < 2.08 - Update_208() - EndIf - If fPatchVersion < 2.10 - Update_210() - EndIf - If fPatchVersion < 2.12 - Update_212() - EndIf - If fPatchVersion < 2.121 - Update_212_hotfix1() - EndIf + ; fPatchVersion = CURRENT_PATCH_VERSION endif