enderalse/source/scripts/_00e_nq07_medallionsc.psc

20 lines
442 B
Plaintext

Scriptname _00E_NQ07_MedallionSC extends ObjectReference
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
if akNewContainer == Game.GetPlayer() && !bDone
bDone = True
if Game.GetPlayer().GetItemCount(otherAmulet) > 0
NQ07.SetObjectiveCompleted(22)
NQ07.SetObjectiveDisplayed(20, True, True)
EndIf
endIf
endEvent
bool bDone
Armor Property otherAmulet Auto
Quest Property NQ07 Auto