4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
842 B

Scriptname _00E_FS_NQR03_HeartSC extends ObjectReference
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
If FS_NQR03.GetCurrentStageID() >= 90 && FS_NQR03.GetCurrentStageID() <= 100
If akNewContainer == PlayerREF
if ! FS_NQR03.IsObjectiveDisplayed(40)
FS_NQR03.SetObjectiveDisplayed(40, True, True)
endif
ElseIf akOldContainer == PlayerREF
if akNewContainer
akNewContainer.RemoveItem(_00E_FS_NQR03_NessahsHeart, 1, true)
else
Disable()
Delete()
endif
PlayerREF.AddItem(_00E_FS_NQR03_NessahsHeart, 1, true)
_00E_FS_CantDropItemMessage.Show()
EndIf
EndIf
EndEvent
Actor Property PlayerREF Auto
_00E_FS_NQR03_Functions Property FS_NQR03 Auto
Message Property _00E_FS_CantDropItemMessage Auto
Ingredient Property _00E_FS_NQR03_NessahsHeart Auto