diff --git a/Smithing Perks.esp b/Smithing Perks.esp new file mode 100644 index 00000000..66f4ee22 Binary files /dev/null and b/Smithing Perks.esp differ diff --git a/scripts/_00e_playersetupscript.pex b/scripts/_00e_playersetupscript.pex index 6c7b798e..bd8c776d 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 cd687f48..69a8e1f1 100644 --- a/source/scripts/_00e_playersetupscript.psc +++ b/source/scripts/_00e_playersetupscript.psc @@ -1,5 +1,5 @@ Scriptname _00E_PlayerSetUpScript extends ObjectReference -{Initializes all the necessary Quests, maintains the player, contains various OnPlayerLoadGame() failsafes} +{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.10 AutoReadOnly @@ -10,43 +10,36 @@ Float Property CURRENT_PATCH_VERSION = 2.10 AutoReadOnly Event OnInit() + If self != (PlayerREF as ObjectReference) + return + EndIf + ; needs the IsInMenuMode() check to prevent stuck messages when FS is not loaded While Utility.IsInMenuMode() Utility.WaitMenuMode(0.1) EndWhile _00E_Func_CheckDependencies.CheckDependencies() - - If self == (PlayerREF as ObjectReference) - - If fPatchVersion == 0.00 - fPatchVersion = CURRENT_PATCH_VERSION - EndIf - - GoToState("RealPlayer") - PlayerREF.SetActorValue("speedMult", 95) - PlayerREF.SetActorValue("Healrate", 0) - - EnableDisableKillmove() - - ; Added in 1.5.8.0 - - ; adds the new Balancing perks for alchemy potions to the player, this is needed because of the changes with the Lycanthropy - PlayerREF.AddPerk(_00E_FS_Alchemy_BalancingPerk) - PlayerREF.AddPerk(_00E_FS_Alchemy_BalancingPerk_RestorePotions) - - ; Disables regular waiting by adding the no-wait ability - PlayerREF.AddSpell(_00E_AbBlockWaiting, False) - - ; starts all quests that are in the formlist - Int iIndex = QuestsToStart.GetSize() - While iIndex - iIndex -= 1 - Quest kQuest = QuestsToStart.GetAt(iIndex) as Quest - kQuest.Start() - endwhile - + + If fPatchVersion == 0.00 + fPatchVersion = CURRENT_PATCH_VERSION EndIf + + GoToState("RealPlayer") + PlayerREF.SetActorValue("speedMult", 95) + PlayerREF.SetActorValue("Healrate", 0) + + EnableDisableKillmove() + + ; Added in 1.5.8.0 + + ; starts all quests that are in the formlist + Int iIndex = QuestsToStart.GetSize() + While iIndex + iIndex -= 1 + Quest kQuest = QuestsToStart.GetAt(iIndex) as Quest + kQuest.Start() + endwhile EndEvent @@ -329,15 +322,12 @@ Function Maintenance() endif if fPatchVersion < CURRENT_PATCH_VERSION - ; only do this once when update 2.0.6 (SE) is applied If fPatchVersion < 2.06 UpdateMQ12b_206() EndIf - ; only do this once when update 2.0.8 (SE) is applied If fPatchVersion < 2.08 Update_208() EndIf - ; only do this once when update 2.0.10 (SE) is applied If fPatchVersion < 2.10 Update_210() EndIf @@ -376,23 +366,12 @@ EndFunction ;===================================================================================== float fPatchVersion -bool bdoOnce = false -bool bFSWasNotLoadedBefore = false _00E_MQ05Prologue_Functions Property MQ05PrologueFunctions Auto -Perk Property _00E_FS_Alchemy_BalancingPerk Auto -Perk Property _00E_FS_Alchemy_BalancingPerk_RestorePotions Auto - -Spell Property _00E_AbBlockWaiting Auto Actor Property PlayerREF Auto FormList Property QuestsToStart Auto -FormList Property FSQuestsToStartFailsafePatch1560 Auto - -Message Property _00E_Game_OldSaves_01 Auto -Message Property _00E_Game_OldSaves_02 Auto -Message Property _00E_Game_ForgottenStoriesNotLoaded Auto GlobalVariable Property KillMove Auto