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

;BEGIN ALIAS PROPERTY Foal
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Foal Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY BjornJournal
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_BjornJournal Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY Bjorn
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Bjorn Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY BanditScout
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_BanditScout Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY Nicolette
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Nicolette Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY FrontDoorOutside
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_FrontDoorOutside Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY CookingPot
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_CookingPot Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY BarArea
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_BarArea Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY MushroomMarker
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_MushroomMarker Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY PlayerRef
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_PlayerRef Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY UnboundStartTrigger
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_UnboundStartTrigger Auto
;END ALIAS PROPERTY

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

;BEGIN FRAGMENT Fragment_15
Function Fragment_15()
;BEGIN CODE
stop()
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_6
Function Fragment_6()
;BEGIN AUTOCAST TYPE __BeginningQuest01Script
Quest __temp = self as Quest
__BeginningQuest01Script kmyQuest = __temp as __BeginningQuest01Script
;END AUTOCAST
;BEGIN CODE
;Find mushrooms
SetObjectiveCompleted(30)
SetObjectiveDisplayed(40)
kmyQuest.TogglePolling(true)
kmyQuest.Stage40Thoughts()
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_14
Function Fragment_14()
;BEGIN CODE
NextQuest.Start()
NextQuest.SetStage(0)
FamilySexQuest.SetStage(55)
PlayerRef.Additem(Gold,200)
Utility.Wait(5.0)
ThisQuest.SetStage(200)
CompleteAllObjectives()
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_4
Function Fragment_4()
;BEGIN AUTOCAST TYPE __BeginningQuest01Script
Quest __temp = self as Quest
__BeginningQuest01Script kmyQuest = __temp as __BeginningQuest01Script
;END AUTOCAST
;BEGIN CODE
;Find and talk to Foal
SetObjectiveCompleted(20)
SetObjectiveDisplayed(30)
kmyQuest.Stage30Thoughts()
;fff
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_10
Function Fragment_10()
;BEGIN AUTOCAST TYPE __BeginningQuest01Script
Quest __temp = self as Quest
__BeginningQuest01Script kmyQuest = __temp as __BeginningQuest01Script
;END AUTOCAST
;BEGIN CODE
;Chasing Feria to bandit scout
kmyQuest.FeriaActivation(true)
kmyQuest.RegisterForUpdate(15.0)
Alias_BanditScout.TryToEnable()
SetObjectiveCompleted(55)
SetObjectiveDisplayed(60)
FeriaRunScene.Start()
BanditScene.Start()
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_13
Function Fragment_13()
;BEGIN AUTOCAST TYPE __BeginningQuest01Script
Quest __temp = self as Quest
__BeginningQuest01Script kmyQuest = __temp as __BeginningQuest01Script
;END AUTOCAST
;BEGIN CODE
;Feria goes home
SetObjectiveCompleted(70)
SexQuest.Start()
SexQuest.SetStage(0)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_12
Function Fragment_12()
;BEGIN AUTOCAST TYPE __BeginningQuest01Script
Quest __temp = self as Quest
__BeginningQuest01Script kmyQuest = __temp as __BeginningQuest01Script
;END AUTOCAST
;BEGIN CODE
;bandit ran away
kmyQuest.FeriaActivation(false)
kmyQuest.UnregisterForUpdate()
SetObjectiveCompleted(60)
SetObjectiveDisplayed(70)
kmyQuest.CreateNicolette()
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_9
Function Fragment_9()
;BEGIN AUTOCAST TYPE __BeginningQuest01Script
Quest __temp = self as Quest
__BeginningQuest01Script kmyQuest = __temp as __BeginningQuest01Script
;END AUTOCAST
;BEGIN CODE
;Player has to go outside
Alias_BjornJournal.TryToEnable()
Alias_Feria.TryToEnable()
SetObjectiveDisplayed(55)
SetObjectiveCompleted(52)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_7
Function Fragment_7()
;BEGIN AUTOCAST TYPE __BeginningQuest01Script
Quest __temp = self as Quest
__BeginningQuest01Script kmyQuest = __temp as __BeginningQuest01Script
;END AUTOCAST
;BEGIN CODE
;Found mushrooms. Go to house and cook them
SetObjectiveCompleted(40)
SetObjectiveDisplayed(50)
kmyQuest.Stage50Thoughts()
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_1
Function Fragment_1()
;BEGIN AUTOCAST TYPE __BeginningQuest01Script
Quest __temp = self as Quest
__BeginningQuest01Script kmyQuest = __temp as __BeginningQuest01Script
;END AUTOCAST
;BEGIN CODE
;quest activated by mara statue
TheBloodyMusic.Remove()
xxsDetectionQuest.SetStage(20)
kmyQuest.ArthLALRumorsOfWar()
kmyQuest.InitPlayerEntry()
;player was teleported to bed and played the wake-up animation
SetObjectiveDisplayed(10)
kmyQuest.SetNiceWeather()
kmyQuest.ToggleDoorBlock(true)
kmyQuest.InstallSexlab()
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_0
Function Fragment_0()
;BEGIN AUTOCAST TYPE __BeginningQuest01Script
Quest __temp = self as Quest
__BeginningQuest01Script kmyQuest = __temp as __BeginningQuest01Script
;END AUTOCAST
;BEGIN CODE
;quest is dormant. Will allow dialogue with statue if player is loli or shota
;xxsDetectionQuest.SetStage(0)
;This should already be happening
kmyQuest.UnboundAllowTeleport()
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_8
Function Fragment_8()
;BEGIN AUTOCAST TYPE __BeginningQuest01Script
Quest __temp = self as Quest
__BeginningQuest01Script kmyQuest = __temp as __BeginningQuest01Script
;END AUTOCAST
;BEGIN CODE
;Cooked the soup
kmyQuest.TogglePolling(false)
kmyQuest.Stage60Thoughts()
SetObjectiveCompleted(50)
kmyQuest.CreateBjorn()
;Bjorn should forcegreet player when spawned
SetObjectiveDisplayed(52)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_2
Function Fragment_2()
;BEGIN AUTOCAST TYPE __BeginningQuest01Script
Quest __temp = self as Quest
__BeginningQuest01Script kmyQuest = __temp as __BeginningQuest01Script
;END AUTOCAST
;BEGIN CODE
;Go Outside
SetObjectiveCompleted(10)
kmyQuest.Stage20Thoughts()
SetObjectiveDisplayed(20)
kmyQuest.ToggleDoorBlock(false)
kmyQuest.WhiterunLockFix()
kmyQuest.ShowVaryActorsRoot()
;END CODE
EndFunction
;END FRAGMENT

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

Quest Property xxsDetectionQuest  Auto  

Actor Property Feria  Auto  

Faction Property CurrentFollowerFaction  Auto  

Scene Property FeriaRunScene  Auto  

Scene Property BanditScene  Auto  

Quest Property NextQuest  Auto  

MiscObject Property Gold  Auto  

Actor Property PlayerRef  Auto  

Quest Property ThisQuest  Auto  

Quest Property RumorsOfWar  Auto  

Quest Property SexQuest  Auto  

Quest Property FamilySexQuest  Auto  

MusicType Property TheBloodyMusic  Auto  
