Removed _00E_Theriantrophist_BlockCraftingSC, FS_NQ05_AlchemyScript, and FS_NQ07_AlchemyScript from all crafting stations, their functions moved to default player perks
PlayerREF.AddPerk(Game.GetFormFromFile(0x14CF8, "Enderal - Forgotten Stories.esm") as Perk) ; _00E_SE_WerewolfBlockFurniturePerk
EndFunction
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
Function AddPlayerPerks()
if PlayerPerks == None
PlayerPerks = Game.GetForm(0x493B8) as FormList
endif
Perk kPerk
int iIndex = PlayerPerks.GetSize()
While iIndex > 0
iIndex -= 1
kPerk = PlayerPerks.GetAt(iIndex) as Perk
if ! PlayerREF.HasPerk(kPerk)
PlayerREF.AddPerk(kPerk)
endif
endwhile
EndFunction
EndFunction
@ -216,7 +196,7 @@ EndFunction
Function RefreshMountNamesOnLoad()
Function RefreshMountNamesOnLoad()
_00E_NQ06_Functions NQ06Functions = Game.GetFormFromFile(0x000725BA,"Skyrim.esm") as _00E_NQ06_Functions
_00E_NQ06_Functions NQ06Functions = Game.GetForm(0x725BA) as _00E_NQ06_Functions
NQ06Functions.RefreshNamesOnSaveLoad()
NQ06Functions.RefreshNamesOnSaveLoad()
EndFunction
EndFunction
@ -346,7 +326,7 @@ EndFunction
Function Maintenance()
Function Maintenance()
if fPatchVersion < 1.62
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.")
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()
Game.QuitToMainMenu()
return
return
@ -382,8 +362,6 @@ Function Maintenance()
ResetArmorWeightPerks()
ResetArmorWeightPerks()
AddPlayerPerks()
SetAutoSaveInterval()
SetAutoSaveInterval()
FailsafeMQ05PrologueAliases()
FailsafeMQ05PrologueAliases()
@ -408,7 +386,6 @@ _00E_MQ05Prologue_Functions Property MQ05PrologueFunctions Auto