This commit is contained in:
Page Asgardius 2024-09-25 04:35:43 -07:00
parent a7b9199d38
commit b1e1a6202e
4 changed files with 11 additions and 0 deletions

View file

@ -10,6 +10,8 @@ func _ready():
Global.cdialog = [[tr("DIALOG_CERES_L20_0"), true, 0, 0], [tr("DIALOG_CERES_L20_1"), false, 3], [tr("DIALOG_CERES_L20_2"), true, 0, 0]]
Global.live = 0
get_tree().root.add_child.call(talk)
if !Global.debug:
Global.quest[0] = 1
# Called every frame. 'delta' is the elapsed time since the previous frame.
@ -30,6 +32,8 @@ func _input(event):
Global.cdialog = []
func _winner():
Global.quest[0] = 3
Global.quest[1] = 1
Global.cdialog = [[tr("DIALOG_CERES_L20_3"), true, 0, 0], [tr("DIALOG_CERES_L20_4"), false, 3], [tr("DIALOG_CERES_L20_5"), true, 0, 0]]
Global.live = 3
Global.ccutscene = 6

View file

@ -6,6 +6,8 @@ func _ready():
if !Global.debug:
_statrebase()
Global.live = 1
Global.quest[1] = 3
Global.quest[2] = 1
#pass # Replace with function body.

View file

@ -11,6 +11,10 @@ func _ready():
if !Global.debug:
_statrebase()
Global.live = 1
if Global.quest[1] == 0:
hkr.queue_free()
if Global.quest[2] == 0:
troublemaker.queue_free()
#pass # Replace with function body.

View file

@ -27,6 +27,7 @@ func _input(event):
Global.cdialog = []
func _winner():
Global.quest[2] = 3
Global.cdialog = [[tr("DIALOG_TROUBLEMAKER_3"), true, 0, 0], [tr("DIALOG_TROUBLEMAKER_4"), true, 7, 0], [tr("DIALOG_TROUBLEMAKER_5"), true, 0, 0]]
Global.live = 3
#Global.ccutscene = 6