Brought back deleted Skyrim smithing perks, added them to Player's defaults; moved scripted perks and the waiting spell to Player's attributes as well
This commit is contained in:
parent
58c065b118
commit
b14bc51a70
BIN
Smithing Perks.esp
Normal file
BIN
Smithing Perks.esp
Normal file
Binary file not shown.
Binary file not shown.
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user