enderalse/source/scripts/qf_fs_nq07_0101ca09.psc

608 lines
14 KiB
Plaintext

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 61
Scriptname QF_FS_NQ07_0101CA09 Extends Quest Hidden
;BEGIN ALIAS PROPERTY LostOne2
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_LostOne2 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Aurora
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Aurora Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY LostOne3
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_LostOne3 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Potion
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Potion Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Recipe
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Recipe Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY RitualStuhl
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_RitualStuhl Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Maxus
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Maxus Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Manfred
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Manfred Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Aaros
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Aaros Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY LostOne1
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_LostOne1 Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY DinnerMarker
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_DinnerMarker Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Diplom
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Diplom Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY TavernTable
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_TavernTable Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Erdhaufen
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Erdhaufen Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY EndbossMarker
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_EndbossMarker Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Player
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Player Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Borstenbeutel
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Borstenbeutel Auto
;END ALIAS PROPERTY
;BEGIN FRAGMENT Fragment_26
Function Fragment_26()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
SetObjectiveDisplayed(35)
SetObjectiveCompleted(20)
kmyQuest.GivePlayerCraftingPlan()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_13
Function Fragment_13()
;BEGIN CODE
SetObjectiveDisplayed(10)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_37
Function Fragment_37()
;BEGIN CODE
SetObjectiveDisplayed(70)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_50
Function Fragment_50()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.GiveMaxusDiplom()
SetObjectiveCompleted(100)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_38
Function Fragment_38()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.StartSC04()
SetObjectiveCompleted(70)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_40
Function Fragment_40()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
Game.DisablePlayerControls()
kmyQuest.StartSC05()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_52
Function Fragment_52()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.GivePlayerBelohnung()
kmyQuest.UpdateGlobals()
Utility.Wait(4)
SetObjectiveDisplayed(95)
kmyQuest.EnableActivatorForDinner()
SetObjectiveDisplayed(140)
SetObjectiveDisplayed(150)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_21
Function Fragment_21()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.GivePlayerBorsten()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_23
Function Fragment_23()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.OpenAuroraHome()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_41
Function Fragment_41()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.EnablePlayerControls1()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_35
Function Fragment_35()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.SummonManfred()
SetObjectiveCompleted(50)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_59
Function Fragment_59()
;BEGIN CODE
SetObjectiveCompleted(40)
SetObjectiveDisplayed(45)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_17
Function Fragment_17()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.AarosAddSpell()
SetObjectiveCompleted(15)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_39
Function Fragment_39()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.GivePlayerLightSpell()
SetObjectiveDisplayed(80)
SetObjectiveCompleted(60)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_43
Function Fragment_43()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.EndBossfight()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_15
Function Fragment_15()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.SetUpSC01()
SetObjectiveDisplayed(15)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_29
Function Fragment_29()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.EnableRitual()
SetObjectiveCompleted(45)
SetObjectiveDisplayed(50)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_19
Function Fragment_19()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.AarosRemoveSpell()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_51
Function Fragment_51()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.FadeAndForcegreet()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_22
Function Fragment_22()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.PrepareAuroraHome()
SetObjectiveDisplayed(20)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_53
Function Fragment_53()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.GivePlayerBelohnung()
kmyQuest.ClearPlayerAlias()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_49
Function Fragment_49()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
SetObjectiveCompleted(90)
SetObjectiveDisplayed(100)
kmyQuest.PrepareMaxus()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_56
Function Fragment_56()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.EndDinnerScene()
SetObjectiveCompleted(95)
SetObjectiveCompleted(160)
SetObjectiveDisplayed(170)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_32
Function Fragment_32()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.RitualLightsOff()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_58
Function Fragment_58()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.GiveAuroraTrankNight()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_55
Function Fragment_55()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.BringMaxusToDinner()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_28
Function Fragment_28()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.GiveAuroraTrank()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_33
Function Fragment_33()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.GiveAuroraBorsten()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_30
Function Fragment_30()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.StartRitual()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_48
Function Fragment_48()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.DisableManfred()
SetObjectiveCompleted(80)
SetObjectiveDisplayed(90)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_27
Function Fragment_27()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.CleanAuroraHome()
SetObjectiveCompleted(30)
SetObjectiveDisplayed(40)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_44
Function Fragment_44()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.EnablePlayerControls2()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_24
Function Fragment_24()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.GivePlayerRezept()
SetObjectiveDisplayed(30)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_42
Function Fragment_42()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.StartBossfight()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_57
Function Fragment_57()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.GivePlayerManfredSpell()
kmyQuest.ClearPlayerAlias()
SetObjectiveCompleted(170)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_54
Function Fragment_54()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
(kmyQuest.GetAlias(14) as ReferenceAlias).Clear() ; PlayerREF
SetObjectiveDisplayed(160)
kmyQuest.StartDinnerScene()
SetObjectiveCompleted(110)
SetObjectiveCompleted(120)
SetObjectiveCompleted(130)
SetObjectiveCompleted(140)
SetObjectiveCompleted(150)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_31
Function Fragment_31()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.RitualLights()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_18
Function Fragment_18()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.GivePlayerBear()
kmyQuest.AarosRemoveSpell()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_34
Function Fragment_34()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.StartSC03()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_20
Function Fragment_20()
;BEGIN AUTOCAST TYPE _00E_FS_NQ07_Functions
Quest __temp = self as Quest
_00E_FS_NQ07_Functions kmyQuest = __temp as _00E_FS_NQ07_Functions
;END AUTOCAST
;BEGIN CODE
kmyQuest.GivePlayerGold()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_36
Function Fragment_36()
;BEGIN CODE
SetObjectiveDisplayed(60)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment