enderalse/source/scripts/qf_nq_bounty03_0101c6a8.psc

61 lines
1.5 KiB
Plaintext

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 6
Scriptname QF_NQ_Bounty03_0101C6A8 Extends Quest Hidden
;BEGIN ALIAS PROPERTY Bounty_01_MadTwins_01
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Bounty_01_MadTwins_01 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY BountyBoard
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_BountyBoard Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Bounty_02_Zombie
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Bounty_02_Zombie Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Bounty_03_Myrad
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Bounty_03_Myrad Auto
;END ALIAS PROPERTY
;BEGIN FRAGMENT Fragment_0
Function Fragment_0()
;BEGIN CODE
Levelsystem.GiveEp(1300)
_00E_BountyCounter.SetValueInt(_00E_BountyCounter.GetValueInt()+1)
If _00E_BountyCounter.GetValueInt() == 3 && _00E_AchievementsEnabled.GetValueInt() == 1
Game.UnlockAchievement("END_BOUNTY_01")
EndIf
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_3
Function Fragment_3()
;BEGIN CODE
Levelsystem.GiveEP(1000)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_1
Function Fragment_1()
;BEGIN CODE
Levelsystem.GiveEP(700)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
GlobalVariable Property _00E_BountyCounter Auto
GlobalVariable Property _00E_AchievementsEnabled Auto
_00E_QuestFunctions Property Levelsystem Auto