Dev 0.1.0
* Ajout des logs et de la radio
This commit is contained in:
@@ -15,6 +15,15 @@ func get_destination_scene() -> Scene:
|
||||
"MERCURY",
|
||||
"001"
|
||||
)
|
||||
|
||||
func get_logs() -> Array[Log]:
|
||||
return [
|
||||
Log.new(
|
||||
"LOG_DEMETER_LAUNCH_TITLE_TEXT",
|
||||
"LOG_DEMETER_LAUNCH_TITLE_TEXT",
|
||||
"LOG_DEMETER_LAUNCH_CONTENT_TEXT"
|
||||
)
|
||||
]
|
||||
|
||||
func get_cave_occurence(_level : int, _difficulty_setting : int) -> int:
|
||||
return 2
|
||||
@@ -38,7 +47,7 @@ func get_challenge_chance(_level : int, _difficulty_setting : int) -> float:
|
||||
return 0.
|
||||
|
||||
func get_ship_dialog_path(level : int, difficulty_setting : int ,ship_in_space := true) -> String:
|
||||
if ship_in_space and level == get_cave_occurence(level, difficulty_setting) - 1:
|
||||
if ship_in_space and level + 1 == get_cave_occurence(level, difficulty_setting):
|
||||
return CAVE_DIALOG_PATH
|
||||
if ship_in_space and is_run_finished(level + 1, difficulty_setting):
|
||||
return MERCURY_ARRIVAL_DIALOG_PATH
|
||||
|
||||
@@ -23,6 +23,21 @@ func get_destination_scene() -> Scene:
|
||||
"002"
|
||||
)
|
||||
|
||||
func get_logs() -> Array[Log]:
|
||||
return [
|
||||
Log.new(
|
||||
"LOG_PLANET_DISCOVERY_1_TITLE_TEXT",
|
||||
"LOG_PLANET_DISCOVERY_1_TITLE_TEXT",
|
||||
"LOG_PLANET_DISCOVERY_1_CONTENT_TEXT"
|
||||
)
|
||||
]
|
||||
|
||||
func get_region_sequence_length(_difficulty_setting : int) -> int:
|
||||
return 6
|
||||
|
||||
func get_objective_multiplier() -> float:
|
||||
return 0.8
|
||||
|
||||
func get_ship_dialog_path(level : int, difficulty_setting : int, ship_in_space := true) -> String:
|
||||
if level == 0:
|
||||
return MERCURY_DEPARTURE_DIALOG_PATH
|
||||
|
||||
@@ -10,6 +10,15 @@ func get_respawn_scene() -> Scene:
|
||||
true
|
||||
)
|
||||
|
||||
func get_logs() -> Array[Log]:
|
||||
return [
|
||||
Log.new(
|
||||
"LOG_PLANET_DISCOVERY_2_TITLE_TEXT",
|
||||
"LOG_PLANET_DISCOVERY_2_TITLE_TEXT",
|
||||
"LOG_PLANET_DISCOVERY_2_CONTENT_TEXT"
|
||||
)
|
||||
]
|
||||
|
||||
func get_destination_text() -> String:
|
||||
return tr("BOREA_BASE")
|
||||
|
||||
|
||||
@@ -10,6 +10,15 @@ func get_respawn_scene() -> Scene:
|
||||
true
|
||||
)
|
||||
|
||||
func get_logs() -> Array[Log]:
|
||||
return [
|
||||
Log.new(
|
||||
"LOG_TALION_ANALYSIS_TITLE_TEXT",
|
||||
"LOG_TALION_ANALYSIS_TITLE_TEXT",
|
||||
"LOG_TALION_ANALYSIS_CONTENT_TEXT"
|
||||
)
|
||||
]
|
||||
|
||||
func get_destination_text() -> String:
|
||||
return tr("AQUA_BASE")
|
||||
|
||||
@@ -24,6 +33,9 @@ func get_player_max_energy(difficulty_setting) -> int:
|
||||
func get_player_max_inventory(_difficulty_setting) -> int:
|
||||
return 4
|
||||
|
||||
func get_objective_multiplier() -> float:
|
||||
return 1.2
|
||||
|
||||
func get_ship_dialog_path(level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
|
||||
if level == 5:
|
||||
return AQUA_TRAVEL_PHONE_CALL_DIALOG_PATH
|
||||
|
||||
@@ -13,6 +13,16 @@ func get_respawn_scene() -> Scene:
|
||||
func get_destination_text() -> String:
|
||||
return tr("SUBTERRA_BASE")
|
||||
|
||||
|
||||
func get_logs() -> Array[Log]:
|
||||
return [
|
||||
Log.new(
|
||||
"LOG_THE_WAVE_TITLE_TEXT",
|
||||
"LOG_THE_WAVE_TITLE_TEXT",
|
||||
"LOG_THE_WAVE_CONTENT_TEXT"
|
||||
)
|
||||
]
|
||||
|
||||
func get_destination_scene() -> Scene:
|
||||
return SubterraScene.new()
|
||||
|
||||
@@ -24,6 +34,9 @@ func get_player_max_energy(difficulty_setting : int) -> int:
|
||||
func get_player_max_inventory(_difficulty_setting : int) -> int:
|
||||
return 5
|
||||
|
||||
func get_objective_multiplier() -> float:
|
||||
return 1.4
|
||||
|
||||
func get_ship_dialog_path(level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
|
||||
if level == 5:
|
||||
return TRAVEL_PHONE_CALL_DIALOG_PATH
|
||||
|
||||
@@ -10,6 +10,16 @@ func get_respawn_scene() -> Scene:
|
||||
true
|
||||
)
|
||||
|
||||
func get_logs() -> Array[Log]:
|
||||
return [
|
||||
Log.new(
|
||||
"LOG_THE_DEPARTURE_TITLE_TEXT",
|
||||
"LOG_THE_DEPARTURE_TITLE_TEXT",
|
||||
"LOG_THE_DEPARTURE_CONTENT_TEXT"
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
func get_destination_text() -> String:
|
||||
return tr("SUBTERRA_BASE")
|
||||
|
||||
@@ -24,6 +34,9 @@ func get_player_max_energy(difficulty_setting : int) -> int:
|
||||
func get_player_max_inventory(_difficulty_setting : int) -> int:
|
||||
return 5
|
||||
|
||||
func get_objective_multiplier() -> float:
|
||||
return 1.6
|
||||
|
||||
func get_ship_dialog_path(level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
|
||||
if level == 5:
|
||||
return TRAVEL_PHONE_CALL_DIALOG_PATH
|
||||
|
||||
@@ -10,6 +10,15 @@ func get_respawn_scene() -> Scene:
|
||||
true
|
||||
)
|
||||
|
||||
func get_logs() -> Array[Log]:
|
||||
return [
|
||||
Log.new(
|
||||
"LOG_ASTRA_EXPEDITION_1_TITLE_TEXT",
|
||||
"LOG_ASTRA_EXPEDITION_1_TITLE_TEXT",
|
||||
"LOG_ASTRA_EXPEDITION_1_CONTENT_TEXT"
|
||||
)
|
||||
]
|
||||
|
||||
func get_destination_text() -> String:
|
||||
return tr("ESTIA_BASE")
|
||||
|
||||
@@ -24,6 +33,9 @@ func get_player_max_energy(difficulty_setting : int) -> int:
|
||||
func get_player_max_inventory(_difficulty_setting : int) -> int:
|
||||
return 6
|
||||
|
||||
func get_objective_multiplier() -> float:
|
||||
return 2.
|
||||
|
||||
func get_ship_dialog_path(level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
|
||||
if level == 4:
|
||||
return TRAVEL_PHONE_CALL_DIALOG_PATH
|
||||
|
||||
Reference in New Issue
Block a user