53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
Scriptname _00E_CQC01_Functions extends Quest
|
|
|
|
|
|
;=====================================================================================
|
|
; FUNCTIONS
|
|
;=====================================================================================
|
|
|
|
Function StartSC01()
|
|
|
|
AllowIdleChatter.SetValue(0)
|
|
CQC01_SC01_CaliaCuratorium.ForceStart()
|
|
|
|
EndFunction
|
|
|
|
Function StartMusic()
|
|
|
|
_00E_Music_Special_Character_Calia.Add()
|
|
|
|
EndFunction
|
|
|
|
Function FinishQuest()
|
|
|
|
AllowIdleChatter.SetValue(1)
|
|
_00E_EPHandler.GiveEP(__Config_iRewardEXP)
|
|
_00E_PlayerFunctions.GetSoundControl().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
|
|
|
|
GlobalVariable Property AllowIdleChatter 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 |