enderalse/source/scripts/_00e_cqc01_functions.psc

53 lines
1.3 KiB
Plaintext

Scriptname _00E_CQC01_Functions extends Quest
;=====================================================================================
; FUNCTIONS
;=====================================================================================
Function StartSC01()
Levelsystem.SetAllowIdleChatter(False)
CQC01_SC01_CaliaCuratorium.ForceStart()
EndFunction
Function StartMusic()
_00E_Music_Special_Character_Calia.Add()
EndFunction
Function FinishQuest()
Levelsystem.SetAllowIdleChatter(True)
Levelsystem.GiveEP(__Config_iRewardEXP)
Levelsystem.RemoveSilence()
SetObjectiveCompleted(5)
_00E_Music_Special_Character_Calia.Remove()
EndFunction
Function ShowFailMessage()
If _00E_DisableQuestTutorials.GetValueInt() == 0
_00E_Tutorial_Companions02.Show()
EndIf
EndFunction
;=====================================================================================
; PROPERTIES
;=====================================================================================
GlobalVariable Property _00E_DisableQuestTutorials Auto
_00E_QuestFunctions Property Levelsystem Auto
int Property __Config_iRewardEXP = 250 Auto
Scene Property CQC01_SC01_CaliaCuratorium Auto
MusicType Property _00E_Music_Special_Character_Calia Auto
Message Property _00E_Tutorial_Companions02 Auto