4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

48 lines
1.2 KiB

Scriptname _00E_NQ09_Functions extends Quest
;=====================================================================================
; FUNCTIONS
;=====================================================================================
Function GiveNote()
If PlayerREF.GetItemCount(_00E_NQ09_OldNote) == 0
PlayerREF.AddItem(_00E_NQ09_OldNote, 1)
EndIf
EndFunction
Function EnableSecondTreasure()
NQ09Treasure.Enable()
EndFunction
Function StartCasketScene()
_00E_NQ09_Casket01Ref.Enable()
NQ09_SC0_SillasWalksToCasket.ForceStart()
EndFunction
Function GiveGoldToSillas(int iAmount, int iRewardEXP = 300)
PlayerREF.RemoveItem(Gold001, iAmount)
_00E_EPHandler.GiveEP(iRewardEXP)
EndFunction
;=====================================================================================
; PROPERTIES
;=====================================================================================
MiscObject Property Gold001 Auto
ObjectReference Property NQ09Treasure Auto
ObjectReference Property _00E_NQ09_Casket01Ref Auto
Actor Property PlayerREF Auto
Scene Property NQ09_SC0_SillasWalksToCasket Auto
Book Property _00E_NQ09_OldNote auto