33 lines
828 B
Plaintext
33 lines
828 B
Plaintext
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
|
|
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
|
|
|
|
bool bDone
|
|
|
|
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
|