2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_FS_NQR03_HeartSC extends ObjectReference
|
|
|
|
|
|
|
|
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
|
|
|
|
|
2024-01-28 05:30:27 +00:00
|
|
|
If FS_NQR03.GetCurrentStageID() >= 90 && FS_NQR03.GetCurrentStageID() <= 100
|
|
|
|
If akNewContainer == PlayerREF
|
|
|
|
if ! FS_NQR03.IsObjectiveDisplayed(40)
|
|
|
|
FS_NQR03.SetObjectiveDisplayed(40, True, True)
|
|
|
|
endif
|
2024-01-19 21:35:30 +00:00
|
|
|
ElseIf akOldContainer == PlayerREF
|
|
|
|
if akNewContainer
|
2024-01-28 05:30:27 +00:00
|
|
|
akNewContainer.RemoveItem(_00E_FS_NQR03_NessahsHeart, 1, true)
|
2024-01-19 21:35:30 +00:00
|
|
|
else
|
|
|
|
Disable()
|
|
|
|
Delete()
|
|
|
|
endif
|
|
|
|
|
2024-01-28 05:30:27 +00:00
|
|
|
PlayerREF.AddItem(_00E_FS_NQR03_NessahsHeart, 1, true)
|
2021-10-05 22:15:58 +00:00
|
|
|
_00E_FS_CantDropItemMessage.Show()
|
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
|
|
|
|
_00E_FS_NQR03_Functions Property FS_NQR03 Auto
|
|
|
|
|
2024-01-19 21:35:30 +00:00
|
|
|
Message Property _00E_FS_CantDropItemMessage Auto
|
2024-01-28 05:30:27 +00:00
|
|
|
|
|
|
|
Ingredient Property _00E_FS_NQR03_NessahsHeart Auto
|