quest
This commit is contained in:
parent
a7b9199d38
commit
b1e1a6202e
4 changed files with 11 additions and 0 deletions
|
@ -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.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
|
Global.live = 0
|
||||||
get_tree().root.add_child.call(talk)
|
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.
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
@ -30,6 +32,8 @@ func _input(event):
|
||||||
Global.cdialog = []
|
Global.cdialog = []
|
||||||
|
|
||||||
func _winner():
|
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.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.live = 3
|
||||||
Global.ccutscene = 6
|
Global.ccutscene = 6
|
||||||
|
|
|
@ -6,6 +6,8 @@ func _ready():
|
||||||
if !Global.debug:
|
if !Global.debug:
|
||||||
_statrebase()
|
_statrebase()
|
||||||
Global.live = 1
|
Global.live = 1
|
||||||
|
Global.quest[1] = 3
|
||||||
|
Global.quest[2] = 1
|
||||||
#pass # Replace with function body.
|
#pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,10 @@ func _ready():
|
||||||
if !Global.debug:
|
if !Global.debug:
|
||||||
_statrebase()
|
_statrebase()
|
||||||
Global.live = 1
|
Global.live = 1
|
||||||
|
if Global.quest[1] == 0:
|
||||||
|
hkr.queue_free()
|
||||||
|
if Global.quest[2] == 0:
|
||||||
|
troublemaker.queue_free()
|
||||||
#pass # Replace with function body.
|
#pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@ func _input(event):
|
||||||
Global.cdialog = []
|
Global.cdialog = []
|
||||||
|
|
||||||
func _winner():
|
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.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.live = 3
|
||||||
#Global.ccutscene = 6
|
#Global.ccutscene = 6
|
||||||
|
|
Loading…
Reference in a new issue