enderalse/source/scripts/_00e_nq_g_07_shacklekeypickup.psc

13 lines
388 B
Plaintext

ScriptName _00E_NQ_G_07_ShackleKeyPickUp extends ObjectReference
Quest Property NQ_G_07Dijaam Auto
Bool bDone
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
If bDone == false && akNewContainer == Game.GetPlayer() && NQ_G_07Dijaam.GetStage() == 60
bDone = true
(NQ_G_07Dijaam as _00E_NQ_G_07_Functions).CheckForBagLooted()
EndIf
EndEvent