4
Fork 0

Mirell's elixir automatically pulls ingredients from the Secure Chest as well

master
Eddoursul 2 years ago
parent 99e89bd83f
commit ccf24fd8c5
  1. BIN
      The Elixir takes items from Secure Chest.esp
  2. BIN
      scripts/_00e_fs_nq05_functions.pex
  3. 30
      source/scripts/_00e_fs_nq05_functions.psc

@ -194,10 +194,31 @@ Function AskCreatePotion()
If qStage >= 30 && qStage < 40
If FS_NQ05_AlchemyMessagebox.Show() == 0
SetCurrentStageID(40)
PlayerREF.RemoveItem(Vynroot, 1)
PlayerREF.RemoveItem(SkeeverTail, 1)
PlayerREF.RemoveItem(MothWingMonarch, 1)
PlayerREF.RemoveItem(Garlic, 1)
if PlayerREF.GetItemCount(Vynroot) > 0
PlayerREF.RemoveItem(Vynroot, 1)
else
_00E_SecureChest_HostChestREF.RemoveItem(Vynroot, 1)
endif
if PlayerREF.GetItemCount(SkeeverTail) > 0
PlayerREF.RemoveItem(SkeeverTail, 1)
else
_00E_SecureChest_HostChestREF.RemoveItem(SkeeverTail, 1)
endif
if PlayerREF.GetItemCount(MothWingMonarch) > 0
PlayerREF.RemoveItem(MothWingMonarch, 1)
else
_00E_SecureChest_HostChestREF.RemoveItem(MothWingMonarch, 1)
endif
if PlayerREF.GetItemCount(Garlic) > 0
PlayerREF.RemoveItem(Garlic, 1)
else
_00E_SecureChest_HostChestREF.RemoveItem(Garlic, 1)
endif
PlayerREF.RemoveItem(_00E_FS_NQ05_Rezept, 1)
EndIf
EndIf
@ -268,6 +289,7 @@ ObjectReference Property FS_NQ05_GrabsteinMarker Auto
ObjectReference Property FS_NQ05_CollisionsBox Auto
ObjectReference Property FS_NQ05_Posting01REF Auto
ObjectReference Property FS_NQ05_Posting02REF Auto
ObjectReference Property _00E_SecureChest_HostChestREF Auto
Scene Property FS_NQ05_SceneKeller Auto
Scene Property FS_NQ05_SceneTochter Auto

Loading…
Cancel
Save