4
Fork 0

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

master
Eddoursul 2 years ago
parent 0792dc8b92
commit a2a6af4e07
  1. BIN
      Enderal - Forgotten Stories.esm
  2. 1259
      Enderal - Forgotten Stories.esm.xml
  3. BIN
      OnItemAdded Optimization.esp
  4. BIN
      Skyrim.esm
  5. BIN
      scripts/_00e_fs_nq05_playeralias.pex
  6. BIN
      scripts/_00e_fs_nq07_dinnercontrolsc.pex
  7. BIN
      scripts/_00e_playersetupscript.pex
  8. 4
      source/scripts/_00e_fs_nq05_playeralias.psc
  9. 6
      source/scripts/_00e_fs_nq07_dinnercontrolsc.psc
  10. 33
      source/scripts/_00e_playersetupscript.psc
  11. BIN
      strings/enderal - forgotten stories_english.dlstrings

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

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

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

@ -41,10 +41,6 @@ Event OnInit()
kQuest.Start() kQuest.Start()
endwhile endwhile
; Added in 2.0.12
AddPlayerPerks()
EndEvent EndEvent
Event OnPlayerLoadGame() Event OnPlayerLoadGame()
@ -157,25 +153,9 @@ EndFunction
;===================================================================================== ;=====================================================================================
Function Update_212() Function Update_212()
; 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
Actor Property PlayerREF Auto Actor Property PlayerREF Auto
FormList Property QuestsToStart Auto FormList Property QuestsToStart Auto
FormList Property PlayerPerks Auto
GlobalVariable Property KillMove Auto GlobalVariable Property KillMove Auto

Loading…
Cancel
Save