31 lines
746 B
Plaintext
31 lines
746 B
Plaintext
Scriptname _00E_FS_NQR03_PlayerAlias extends ReferenceAlias Hidden
|
|
|
|
; _00E_FS_NQR03_NessahsHeart is tracked in _00E_FS_NQR03_HeartSC
|
|
|
|
event OnInit()
|
|
AddInventoryEventFilter(HumanHeart)
|
|
endevent
|
|
|
|
Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
|
|
|
|
_00E_FS_NQR03_Functions rQuest = GetOwningQuest() as _00E_FS_NQR03_Functions
|
|
int iStage = rQuest.GetCurrentStageID()
|
|
|
|
if iStage < 90
|
|
return
|
|
endif
|
|
|
|
AddInventoryEventFilter(_00E_EmptyFormlist)
|
|
RemoveInventoryEventFilter(HumanHeart)
|
|
|
|
If iStage <= 95
|
|
rQuest.ClearPlayerAlias()
|
|
rQuest.SetObjectiveDisplayed(45, True)
|
|
endif
|
|
|
|
EndEvent
|
|
|
|
Ingredient Property HumanHeart Auto
|
|
|
|
FormList Property _00E_EmptyFormlist Auto
|