enderalse/scripts/source/qf_fs_nq10_0102e766.psc

82 lines
2.1 KiB
Plaintext

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 4
Scriptname QF_FS_NQ10_0102E766 Extends Quest Hidden
;BEGIN ALIAS PROPERTY LeftEar
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_LeftEar Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY RightEar
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_RightEar Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY LeftTooth
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_LeftTooth Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY RightTooth
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_RightTooth Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Socket
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Socket Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY RightEye
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_RightEye Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY LeftHorn
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_LeftHorn Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY LeftEye
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_LeftEye Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY RightHorn
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_RightHorn Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Ring
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Ring Auto
;END ALIAS PROPERTY
;BEGIN FRAGMENT Fragment_2
Function Fragment_2()
;BEGIN CODE
SetObjectiveCompleted(15)
If _00E_AchievementsEnabled.GetValueInt() == 1
Game.UnlockAchievement("END_VATYRA_01")
EndIf
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_0
Function Fragment_0()
;BEGIN AUTOCAST TYPE _00E_FS_NQ10_Functions
Quest __temp = self as Quest
_00E_FS_NQ10_Functions kmyQuest = __temp as _00E_FS_NQ10_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.OpenSecretDoor()
SetObjectiveDisplayed(15)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
GlobalVariable Property _00E_AchievementsEnabled Auto