Réparation de bug, paufinnage du rayon tracteur et insert de l'outil dans l'histoire

This commit is contained in:
2026-06-14 16:19:36 +02:00
parent 7c66d8b9de
commit 33a8f022e5
30 changed files with 540 additions and 74 deletions

View File

@@ -3,6 +3,7 @@ class_name MercuryStoryStep
const MERCURY_DEPARTURE_DIALOG_PATH = "res://dialogs/timelines/1_waking_up/6_mercury_departure.dtl"
const VENDING_MACHINE_DIALOG_PATH = "res://dialogs/timelines/1_waking_up/6_vending_machine_presentation.dtl"
const VENUS_ARRIVAL_DIALOG_PATH = "res://dialogs/timelines/1_waking_up/7_venus_arrival.dtl"
func get_respawn_scene() -> Scene:
@@ -21,12 +22,11 @@ func get_destination_scene() -> Scene:
"002"
)
func get_first_vending_machine_occurence(_level : int) -> int:
return 1
func get_ship_dialog_path(level : int, ship_in_space := true) -> String:
if level == 0:
return MERCURY_DEPARTURE_DIALOG_PATH
elif level == 1:
return MERCURY_DEPARTURE_DIALOG_PATH
if ship_in_space and is_run_finished(level + 1):
return VENUS_ARRIVAL_DIALOG_PATH
return ""