Removed _00E_Theriantrophist_BlockCraftingSC, FS_NQ05_AlchemyScript, and FS_NQ07_AlchemyScript from all crafting stations, their functions moved to default player perks

This commit is contained in:
Eddoursul 2022-07-30 00:05:32 +02:00
parent 0792dc8b92
commit a2a6af4e07
11 changed files with 765 additions and 537 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -3,7 +3,7 @@ Scriptname _00E_FS_NQ05_PlayerAlias extends ReferenceAlias
Event OnInit()
AddInventoryEventFilter(_00E_EmptyFormlist)
If FS_NQ05.GetStage() == 35 ; version update
If FS_NQ05.GetCurrentStageID() == 35 ; version update
AddInventoryEventFilter(SkeeverTail)
AddInventoryEventFilter(Garlic)
AddInventoryEventFilter(MothWingMonarch)
@ -23,7 +23,7 @@ EndEvent
Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
If FS_NQ05.GetStage() != 35
If FS_NQ05.GetCurrentStageID() != 35
AddInventoryEventFilter(_00E_EmptyFormlist) ; in case clearing fails
RemoveInventoryEventFilter(Garlic)
RemoveInventoryEventFilter(MothWingMonarch)

View File

@ -3,7 +3,7 @@ Scriptname _00E_FS_NQ07_DinnerControlSC extends ReferenceAlias
Event OnInit()
AddInventoryEventFilter(_00E_EmptyFormlist)
If FS_NQ07.GetStage() == 370 ; version update
If FS_NQ07.GetCurrentStageID() == 370 ; version update
AddInventoryEventFilter(_00E_DalSarkerHoneywine)
AddInventoryEventFilter(FoodChickenCooked)
AddInventoryEventFilter(FoodCabbagePotatoSoup)
@ -20,7 +20,7 @@ EndEvent
Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
If FS_NQ07.GetStage() != 370
If FS_NQ07.GetCurrentStageID() != 370
AddInventoryEventFilter(_00E_EmptyFormlist) ; in case clearing fails
RemoveInventoryEventFilter(_00E_DalSarkerHoneywine)
RemoveInventoryEventFilter(FoodChickenCooked)
@ -41,7 +41,7 @@ EndEvent
Event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer)
If FS_NQ07.GetStage() != 370
If FS_NQ07.GetCurrentStageID() != 370
AddInventoryEventFilter(_00E_EmptyFormlist) ; in case clearing fails
RemoveInventoryEventFilter(_00E_DalSarkerHoneywine)
RemoveInventoryEventFilter(FoodChickenCooked)

View File

@ -41,10 +41,6 @@ Event OnInit()
kQuest.Start()
endwhile
; Added in 2.0.12
AddPlayerPerks()
EndEvent
Event OnPlayerLoadGame()
@ -157,25 +153,9 @@ EndFunction
;=====================================================================================
Function Update_212()
;
EndFunction
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
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
@ -216,7 +196,7 @@ EndFunction
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()
EndFunction
@ -346,7 +326,7 @@ EndFunction
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.")
Game.QuitToMainMenu()
return
@ -382,8 +362,6 @@ Function Maintenance()
ResetArmorWeightPerks()
AddPlayerPerks()
SetAutoSaveInterval()
FailsafeMQ05PrologueAliases()
@ -408,7 +386,6 @@ _00E_MQ05Prologue_Functions Property MQ05PrologueFunctions Auto
Actor Property PlayerREF Auto
FormList Property QuestsToStart Auto
FormList Property PlayerPerks Auto
GlobalVariable Property KillMove Auto