enderalse/scripts/source/qf_nq09_000ce8f0.psc

128 lines
2.8 KiB
Plaintext

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 29
Scriptname QF_NQ09_000CE8F0 Extends Quest Hidden
;BEGIN ALIAS PROPERTY Sillas
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Sillas Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Casket
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Casket Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY ShrineXMarker
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_ShrineXMarker Auto
;END ALIAS PROPERTY
;BEGIN FRAGMENT Fragment_14
Function Fragment_14()
;BEGIN CODE
SetObjectiveCompleted(30)
SetObjectiveDisplayed(31)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_18
Function Fragment_18()
;BEGIN CODE
SetObjectiveCompleted(10)
SetObjectiveDisplayed(20)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_16
Function Fragment_16()
;BEGIN CODE
SetObjectiveDisplayed(30)
_00E_NQ09_Tablet01Ref.Enable()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_19
Function Fragment_19()
;BEGIN CODE
SetObjectiveCompleted(35)
SetObjectiveDisplayed(40)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_12
Function Fragment_12()
;BEGIN AUTOCAST TYPE _00E_NQ09_Functions
Quest __temp = self as Quest
_00E_NQ09_Functions kmyQuest = __temp as _00E_NQ09_Functions
;END AUTOCAST
;BEGIN CODE
SetObjectiveCompleted(30)
SetObjectiveDisplayed(35)
NQ09Treasure.Enable()
kmyQuest.EnableSecondTreasure()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_28
Function Fragment_28()
;BEGIN AUTOCAST TYPE _00E_NQ09_Functions
Quest __temp = self as Quest
_00E_NQ09_Functions kmyQuest = __temp as _00E_NQ09_Functions
;END AUTOCAST
;BEGIN CODE
CompleteAllObjectives()
kmyQuest.GiveGoldToSillas(0, 400)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_27
Function Fragment_27()
;BEGIN AUTOCAST TYPE _00E_NQ09_Functions
Quest __temp = self as Quest
_00E_NQ09_Functions kmyQuest = __temp as _00E_NQ09_Functions
;END AUTOCAST
;BEGIN CODE
CompleteAllObjectives()
kmyQuest.GiveGoldToSillas(33, 475)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_3
Function Fragment_3()
;BEGIN AUTOCAST TYPE _00E_NQ09_Functions
Quest __temp = self as Quest
_00E_NQ09_Functions kmyQuest = __temp as _00E_NQ09_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.StartCasketScene()
SetObjectiveDisplayed(10)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_26
Function Fragment_26()
;BEGIN AUTOCAST TYPE _00E_NQ09_Functions
Quest __temp = self as Quest
_00E_NQ09_Functions kmyQuest = __temp as _00E_NQ09_Functions
;END AUTOCAST
;BEGIN CODE
CompleteAllObjectives()
kmyQuest.GiveGoldToSillas(50, 425)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
ObjectReference Property NQ09Treasure Auto
ObjectReference Property _00E_NQ09_Tablet01Ref Auto