Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
32 lines
862 B
32 lines
862 B
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 |