enderalse/source/scripts/_00e_mq02_yerostagebuchscn.psc

21 lines
623 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ02_YerosTagebuchSCN extends ObjectReference
Event OnRead()
if MQ02Function.IsObjectiveDisplayed(20)
MQ02Function.ReadBook()
endif
endEvent
Event OnOpen(ObjectReference akActionRef)
if MQ02Function.IsObjectiveDisplayed(20)
MQ02Function.ReadBook()
endif
EndEvent
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
if akNewContainer == Game.GetPlayer() && MQ02Function.IsObjectiveDisplayed(20)
MQ02Function.CountBook()
EndIf
EndEvent
_00E_MQ02_Functions Property MQ02Function Auto ; needs to be MQ02Function, not MQ02 because of backwards compatibility