;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 12
Scriptname QF___LALLSeekingFeria1_0725C9F2 Extends Quest Hidden

;BEGIN ALIAS PROPERTY Balgruuf
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Balgruuf Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY Constance
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Constance Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY Haelga
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Haelga Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY Grelod
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Grelod Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY Laila
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Laila Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY CurrentClient
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_CurrentClient Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY Feria
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Feria Auto
;END ALIAS PROPERTY

;BEGIN FRAGMENT Fragment_8
Function Fragment_8()
;BEGIN AUTOCAST TYPE __LALLSeekingFeria1Script
Quest __temp = self as Quest
__LALLSeekingFeria1Script kmyQuest = __temp as __LALLSeekingFeria1Script
;END AUTOCAST
;BEGIN CODE
FeriaFollowerQuest.Start()
SetObjectiveCompleted(55)
kmyQuest.ChangeFeriaOutfit()
ThisQuest.SetStage(65)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_3
Function Fragment_3()
;BEGIN AUTOCAST TYPE __LALLSeekingFeria1Script
Quest __temp = self as Quest
__LALLSeekingFeria1Script kmyQuest = __temp as __LALLSeekingFeria1Script
;END AUTOCAST
;BEGIN CODE
;Player talked to Constance or Grelod and know that Feria is in the bunkhouse
Alias_Feria.TryToEnable()
kmyQuest.PrepareFeria()
SetObjectiveCompleted(20)
SetObjectiveDisplayed(30)
SetObjectiveCompleted(10)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_4
Function Fragment_4()
;BEGIN CODE
HaelgaInterruptScene.Start()
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_7
Function Fragment_7()
;BEGIN AUTOCAST TYPE __LALLSeekingFeria1Script
Quest __temp = self as Quest
__LALLSeekingFeria1Script kmyQuest = __temp as __LALLSeekingFeria1Script
;END AUTOCAST
;BEGIN CODE
;Talk to Feria and set her free
kmyQuest.UnregisterForUpdateGameTime()
SetObjectiveCompleted(50)
SetObjectiveCompleted(53)
SetObjectiveDisplayed(55)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_0
Function Fragment_0()
;BEGIN AUTOCAST TYPE __LALLSeekingFeria1Script
Quest __temp = self as Quest
__LALLSeekingFeria1Script kmyQuest = __temp as __LALLSeekingFeria1Script
;END AUTOCAST
;BEGIN CODE
;Quest is dormant. Function will set to stage 10
kmyQuest.Stage0Thoughts()
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_1
Function Fragment_1()
;BEGIN AUTOCAST TYPE __LALLSeekingFeria1Script
Quest __temp = self as Quest
__LALLSeekingFeria1Script kmyQuest = __temp as __LALLSeekingFeria1Script
;END AUTOCAST
;BEGIN CODE
;Pick up rumors about Feria
SetObjectiveDisplayed(0)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_5
Function Fragment_5()
;BEGIN AUTOCAST TYPE __LALLSeekingFeria1Script
Quest __temp = self as Quest
__LALLSeekingFeria1Script kmyQuest = __temp as __LALLSeekingFeria1Script
;END AUTOCAST
;BEGIN CODE
;Talk to Haelga about Feria
SetObjectiveCompleted(30)
SetObjectiveDisplayed(40)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_10
Function Fragment_10()
;BEGIN AUTOCAST TYPE __LALLSeekingFeria1Script
Quest __temp = self as Quest
__LALLSeekingFeria1Script kmyQuest = __temp as __LALLSeekingFeria1Script
;END AUTOCAST
;BEGIN CODE
;Player is instead doing stuff with Haelga to pay the debt
SetObjectiveDisplayed(53)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_11
Function Fragment_11()
;BEGIN CODE
Stop()
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_9
Function Fragment_9()
;BEGIN CODE
ThisQuest.SetStage(200)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_6
Function Fragment_6()
;BEGIN AUTOCAST TYPE __LALLSeekingFeria1Script
Quest __temp = self as Quest
__LALLSeekingFeria1Script kmyQuest = __temp as __LALLSeekingFeria1Script
;END AUTOCAST
;BEGIN CODE
;Player has to work off 3500 gold in prostitution
kmyQuest.RegisterForUpdateGameTime(24)
SetObjectiveCompleted(40)
SetObjectiveDisplayed(50)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_2
Function Fragment_2()
;BEGIN AUTOCAST TYPE __LALLSeekingFeria1Script
Quest __temp = self as Quest
__LALLSeekingFeria1Script kmyQuest = __temp as __LALLSeekingFeria1Script
;END AUTOCAST
;BEGIN CODE
;Player Got instruction from Balgruuf to look for Feria in honorhall
SetObjectiveDisplayed(20)
SetObjectiveDisplayed(10)
;END CODE
EndFunction
;END FRAGMENT

;END FRAGMENT CODE - Do not edit anything between this and the begin comment

Scene Property HaelgaInterruptScene  Auto  

Quest Property FeriaFollowerQuest  Auto  

Quest Property ThisQuest  Auto  
