enderalse/source/scripts/qf__00e_nq05_revengeissweet_00072591.psc

93 lines
2.1 KiB
Plaintext

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 3
Scriptname QF__00E_NQ05_RevengeIsSweet_00072591 Extends Quest Hidden
;BEGIN ALIAS PROPERTY Belend
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Belend Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Vinegar
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Vinegar Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Fass
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Fass Auto
;END ALIAS PROPERTY
;BEGIN FRAGMENT Fragment_2
Function Fragment_2()
;BEGIN AUTOCAST TYPE _00E_NQ05_Functions
Quest __temp = self as Quest
_00E_NQ05_Functions kmyQuest = __temp as _00E_NQ05_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.GivePlayerShareholding()
RegisterForUpdateGameTime(8)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_1
Function Fragment_1()
;BEGIN CODE
_00E_NQ05CieloRef.enablenowait()
Actor Cielo = _00E_NQ05CieloRef as Actor
Cielo.EvaluatePackage()
SetObjectiveCompleted(10)
SetObjectiveDisplayed(20)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_10
Function Fragment_10()
;BEGIN AUTOCAST TYPE _00E_NQ05_Functions
Quest __temp = self as Quest
_00E_NQ05_Functions kmyQuest = __temp as _00E_NQ05_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.GivePlayerShareholding()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_0
Function Fragment_0()
;BEGIN AUTOCAST TYPE _00E_NQ05_Functions
Quest __temp = self as Quest
_00E_NQ05_Functions kmyQuest = __temp as _00E_NQ05_Functions
;END AUTOCAST
;BEGIN CODE
SetObjectiveDisplayed(10)
kmyQuest.GiveBarrel()
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
Event OnUpdateGameTime()
if NQ05_BribedCileo.GetValueInt() == 0 && !_00E_NQ05CieloRef.IsDead()
_00E_NQ05_sCileoReport.Show()
A_CrimeFaction.ModCrimeGold(40, False)
UnregisterForUpdateGameTime()
EndIf
EndEvent
Message Property _00E_NQ05_sCileoReport Auto
Faction Property A_CrimeFaction Auto
Actor Property _00E_NQ05CieloRef Auto
GlobalVariable Property NQ05_BribedCileo Auto