enderalse/source/scripts/_00e_fs_nqr03_heartsc.psc

32 lines
862 B
Plaintext
Raw Normal View History

Scriptname _00E_FS_NQR03_HeartSC extends ObjectReference
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
If FS_NQR03.GetStage() >= 90 && FS_NQR03.GetStage() <= 95
If akNewContainer == PlayerREF && !bDone
bDone = True
If bIsNessahsHeart
FS_NQR03.SetObjectiveDisplayed(40, True, True)
Else
FS_NQR03.ClearPlayerAlias()
FS_NQR03.SetObjectiveDisplayed(45, True)
EndIf
ElseIf akOldContainer == PlayerREF && bIsNessahsHeart
Self.Disable()
PlayerREF.AddItem(_00E_FS_NQR03_NessahsHeart, 1, true)
_00E_FS_CantDropItemMessage.Show()
EndIf
EndIf
EndEvent
bool bDone
bool Property bIsNessahsHeart Auto
Actor Property PlayerREF Auto
Ingredient Property _00E_FS_NQR03_NessahsHeart Auto
_00E_FS_NQR03_Functions Property FS_NQR03 Auto
Message Property _00E_FS_CantDropItemMessage Auto