Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
623 B
21 lines
623 B
3 years ago
|
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
|