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

;BEGIN ALIAS PROPERTY CenterMarker
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_CenterMarker Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY OldLocation
;ALIAS PROPERTY TYPE LocationAlias
LocationAlias Property Alias_OldLocation Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY NewLocation
;ALIAS PROPERTY TYPE LocationAlias
LocationAlias Property Alias_NewLocation Auto
;END ALIAS PROPERTY

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

;BEGIN ALIAS PROPERTY NoticeBoard
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_NoticeBoard Auto
;END ALIAS PROPERTY

;BEGIN FRAGMENT Fragment_2
Function Fragment_2()
;BEGIN CODE
if BIS_DebugMessage.getvalue() == 1
Debug.notification("There is a new letter in the emergency bulletin board")
endif

;If !(Alias_NoticeBoard.getreference().getitemcount(BIS_WhiterunLetterList) == 0)
If (Alias_NoticeBoard.getreference()).GetNumItems() == 0
BISMain.CreateRandomItem(BIS_WhiterunLetterList, Alias_NoticeBoard.getreference())
endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_7
Function Fragment_7()
;BEGIN CODE
if BIS_DebugMessage.getvalue() == 1
Debug.notification("There is a new letter in the emergency bulletin board")
endif

;If !(Alias_NoticeBoard.getreference().getitemcount(BIS_MorthalLetterList) == 0)
If (Alias_NoticeBoard.getreference()).GetNumItems() == 0
BISMain.CreateRandomItem(BIS_MorthalLetterList, Alias_NoticeBoard.getreference())
endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_4
Function Fragment_4()
;BEGIN CODE
if BIS_DebugMessage.getvalue() == 1
Debug.notification("There is a new letter in the emergency bulletin board")
endif

;If !(Alias_NoticeBoard.getreference().getitemcount(BIS_WindhelmLetterList) == 0)
If (Alias_NoticeBoard.getreference()).GetNumItems() == 0
BISMain.CreateRandomItem(BIS_WindhelmLetterList, Alias_NoticeBoard.getreference())
endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_6
Function Fragment_6()
;BEGIN CODE
if BIS_DebugMessage.getvalue() == 1
Debug.notification("There is a new letter in the emergency bulletin board")
endif

;If !(Alias_NoticeBoard.getreference().getitemcount(BIS_RiftenLetterList) == 0)
If (Alias_NoticeBoard.getreference()).GetNumItems() == 0
BISMain.CreateRandomItem(BIS_RiftenLetterList, Alias_NoticeBoard.getreference())
endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_1
Function Fragment_1()
;BEGIN CODE
if BIS_DebugMessage.getvalue() == 1
Debug.notification("There is a new letter in the emergency bulletin board")
endif

;If !(Alias_NoticeBoard.getreference().getitemcount(BIS_FalkreathLetterList) == 0)
If (Alias_NoticeBoard.getreference()).GetNumItems() == 0
BISMain.CreateRandomItem(BIS_FalkreathLetterList, Alias_NoticeBoard.getreference())
endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_8
Function Fragment_8()
;BEGIN CODE
if BIS_DebugMessage.getvalue() == 1
Debug.notification("There is a new letter in the emergency bulletin board")
endif

;If !(Alias_NoticeBoard.getreference().getitemcount(BIS_WinterholdLetterList) == 0)
If (Alias_NoticeBoard.getreference()).GetNumItems() == 0
BISMain.CreateRandomItem(BIS_WinterholdLetterList, Alias_NoticeBoard.getreference())
endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_3
Function Fragment_3()
;BEGIN CODE
if BIS_DebugMessage.getvalue() == 1
Debug.notification("There is a new letter in the emergency bulletin board")
endif

;If !(Alias_NoticeBoard.getreference().getitemcount(BIS_SolitudeLetterList) == 0)
If (Alias_NoticeBoard.getreference()).GetNumItems() == 0
BISMain.CreateRandomItem(BIS_SolitudeLetterList, Alias_NoticeBoard.getreference())
endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_5
Function Fragment_5()
;BEGIN CODE
if BIS_DebugMessage.getvalue() == 1
Debug.notification("There is a new letter in the emergency bulletin board")
endif

;If !(Alias_NoticeBoard.getreference().getitemcount(BIS_ReachLetterList) == 0)
If (Alias_NoticeBoard.getreference()).GetNumItems() == 0
BISMain.CreateRandomItem(BIS_ReachLetterList, Alias_NoticeBoard.getreference())
endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_9
Function Fragment_9()
;BEGIN CODE
if BIS_DebugMessage.getvalue() == 1
Debug.notification("There is a new letter in the emergency bulletin board")
endif

;If !(Alias_NoticeBoard.getreference().getitemcount(BIS_DawnstarLetterList) == 0)
If (Alias_NoticeBoard.getreference()).GetNumItems() == 0
BISMain.CreateRandomItem(BIS_DawnstarLetterList, Alias_NoticeBoard.getreference())
endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_11
Function Fragment_11()
;BEGIN CODE
if BIS_DebugMessage.getvalue() == 1
Debug.notification("There is a new letter in the emergency bulletin board")
endif

;If !(Alias_NoticeBoard.getreference().getitemcount(BIS_DLC02SolsthheimLetterList) == 0)
If (Alias_NoticeBoard.getreference()).GetNumItems() == 0
BISMain.CreateRandomItem(BIS_DLC02SolsthheimLetterList, Alias_NoticeBoard.getreference())
endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_10
Function Fragment_10()
;BEGIN CODE
if BIS_DebugMessage.getvalue() == 1
Debug.notification("There is a new letter in the emergency bulletin board")
endif

;If !(Alias_NoticeBoard.getreference().getitemcount(BIS_DLC01DawnguardLetterList) == 0)
If (Alias_NoticeBoard.getreference()).GetNumItems() == 0
BISMain.CreateRandomItem(BIS_DLC01DawnguardLetterList, Alias_NoticeBoard.getreference())
endif
;END CODE
EndFunction
;END FRAGMENT

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

GlobalVariable Property BIS_DebugMessage  Auto  

FormList Property BIS_FalkreathLetterList  Auto  
FormList Property BIS_MorthalLetterList  Auto  
FormList Property BIS_ReachLetterList  Auto  
FormList Property BIS_RiftenLetterList  Auto  
FormList Property BIS_SolitudeLetterList  Auto  
FormList Property BIS_WhiterunLetterList  Auto  
FormList Property BIS_WindhelmLetterList  Auto  
FormList Property BIS_WinterholdLetterList  Auto  
FormList Property BIS_DawnstarLetterList  Auto  
FormList Property BIS_DLC01DawnguardLetterList  Auto  
FormList Property BIS_DLC02SolsthheimLetterList  Auto  

 BaboImmersiveSlave_Main Property BISMain Auto
