enderalse/source/scripts/_00e_fs_nqr03_heartsc.psc

32 lines
842 B
Plaintext

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