1
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.

33 lines
813 B

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