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

This commit is contained in:
Eddoursul 2022-08-21 21:12:50 +02:00
parent 99e89bd83f
commit ccf24fd8c5
3 changed files with 26 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@ -194,10 +194,31 @@ Function AskCreatePotion()
If qStage >= 30 && qStage < 40
If FS_NQ05_AlchemyMessagebox.Show() == 0
SetCurrentStageID(40)
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