enderalse/source/scripts/_00e_fs_nq11_recipesc.psc

30 lines
727 B
Plaintext
Raw Normal View History

Scriptname _00E_FS_NQ11_RecipeSC extends ObjectReference
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
If !bDoneFirstObjective && akNewContainer == PlayerREF && akOldContainer == FS_Theriantrophist_AlchemistCorpse
bDoneFirstObjective = true
FS_NQ11.SetObjectiveCompleted(5)
FS_NQ11.SetObjectiveDisplayed(7)
EndIf
EndEvent
Event OnRead()
If !bDone && FS_NQ11.GetStage() == 5
bDone = true
FS_NQ11.SetStage(10)
FS_NQ11.SetObjectiveCompleted(7)
FS_NQ11.SetObjectiveDisplayed(10)
EndIf
EndEvent
bool bDone = false
bool bDoneFirstObjective = false
Quest Property FS_NQ11 Auto
Actor Property PlayerREF Auto
Actor Property FS_Theriantrophist_AlchemistCorpse Auto