diff --git a/common/audio_manager/assets/morceaux/histoire/aqua.mp3 b/common/audio_manager/assets/morceaux/histoire/aqua.mp3 new file mode 100644 index 0000000..667d26f Binary files /dev/null and b/common/audio_manager/assets/morceaux/histoire/aqua.mp3 differ diff --git a/common/audio_manager/assets/morceaux/histoire/aqua.mp3.import b/common/audio_manager/assets/morceaux/histoire/aqua.mp3.import new file mode 100644 index 0000000..f0e7b95 --- /dev/null +++ b/common/audio_manager/assets/morceaux/histoire/aqua.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://bu87qluncx6pd" +path="res://.godot/imported/aqua.mp3-0d6e6fca8525376ee9d208a606348ba9.mp3str" + +[deps] + +source_file="res://common/audio_manager/assets/morceaux/histoire/aqua.mp3" +dest_files=["res://.godot/imported/aqua.mp3-0d6e6fca8525376ee9d208a606348ba9.mp3str"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/common/audio_manager/assets/morceaux/histoire/astra.ogg b/common/audio_manager/assets/morceaux/histoire/astra.ogg new file mode 100644 index 0000000..83714c2 Binary files /dev/null and b/common/audio_manager/assets/morceaux/histoire/astra.ogg differ diff --git a/common/audio_manager/assets/morceaux/histoire/astra.ogg.import b/common/audio_manager/assets/morceaux/histoire/astra.ogg.import new file mode 100644 index 0000000..2217952 --- /dev/null +++ b/common/audio_manager/assets/morceaux/histoire/astra.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://urh63a8tgsd0" +path="res://.godot/imported/astra.ogg-2a61314797c2f4f96a5fbfc70bd8543d.oggvorbisstr" + +[deps] + +source_file="res://common/audio_manager/assets/morceaux/histoire/astra.ogg" +dest_files=["res://.godot/imported/astra.ogg-2a61314797c2f4f96a5fbfc70bd8543d.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/common/audio_manager/assets/morceaux/histoire/estia.ogg b/common/audio_manager/assets/morceaux/histoire/estia.ogg new file mode 100644 index 0000000..209d0e6 Binary files /dev/null and b/common/audio_manager/assets/morceaux/histoire/estia.ogg differ diff --git a/common/audio_manager/assets/morceaux/histoire/estia.ogg.import b/common/audio_manager/assets/morceaux/histoire/estia.ogg.import new file mode 100644 index 0000000..8923cb4 --- /dev/null +++ b/common/audio_manager/assets/morceaux/histoire/estia.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://bkf62homs848n" +path="res://.godot/imported/estia.ogg-5a67cadf4221800898513f5ad486335d.oggvorbisstr" + +[deps] + +source_file="res://common/audio_manager/assets/morceaux/histoire/estia.ogg" +dest_files=["res://.godot/imported/estia.ogg-5a67cadf4221800898513f5ad486335d.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/common/audio_manager/assets/sfx/borea_lever/borea_lever.mp3 b/common/audio_manager/assets/sfx/borea_lever/borea_lever.mp3 new file mode 100644 index 0000000..4bdbdfc Binary files /dev/null and b/common/audio_manager/assets/sfx/borea_lever/borea_lever.mp3 differ diff --git a/common/audio_manager/assets/sfx/borea_lever/borea_lever.mp3.import b/common/audio_manager/assets/sfx/borea_lever/borea_lever.mp3.import new file mode 100644 index 0000000..33aef19 --- /dev/null +++ b/common/audio_manager/assets/sfx/borea_lever/borea_lever.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://dsqdt1ddvlyal" +path="res://.godot/imported/borea_lever.mp3-6c76a0e5e78025311230b59292d6bc98.mp3str" + +[deps] + +source_file="res://common/audio_manager/assets/sfx/borea_lever/borea_lever.mp3" +dest_files=["res://.godot/imported/borea_lever.mp3-6c76a0e5e78025311230b59292d6bc98.mp3str"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/common/audio_manager/audio_manager.tscn b/common/audio_manager/audio_manager.tscn index 47f60ad..1c2e5dd 100644 --- a/common/audio_manager/audio_manager.tscn +++ b/common/audio_manager/audio_manager.tscn @@ -12,7 +12,6 @@ [ext_resource type="AudioStream" uid="uid://dsphn6dbbd55a" path="res://common/audio_manager/assets/morceaux/niveau/forest_phase_1.ogg" id="6_6o1yh"] [ext_resource type="AudioStream" uid="uid://cwu71o0sl2vto" path="res://common/audio_manager/assets/ambiance/dialogues/ambiance_Demeter.ogg" id="6_8204s"] [ext_resource type="AudioStream" uid="uid://klb32q3kjtkt" path="res://common/audio_manager/assets/ambiance/vending_room_base_relais/ambiance_vending_room_base_relais.ogg" id="7_ge2sc"] -[ext_resource type="AudioStream" uid="uid://c8gbtdul2x8ws" path="res://common/audio_manager/assets/ambiance/borea/ambiance_borea.ogg" id="7_spekb"] [ext_resource type="AudioStream" uid="uid://bpf6witukorka" path="res://common/audio_manager/assets/morceaux/menu/main_menu.ogg" id="7_tuvql"] [ext_resource type="AudioStream" uid="uid://bmwaw1yb8hucf" path="res://common/audio_manager/assets/ambiance/vaisseau/ship_music.ogg" id="8_tuvql"] [ext_resource type="AudioStream" uid="uid://ccimypx71o4g6" path="res://common/audio_manager/assets/morceaux/niveau/forest_phase_2.ogg" id="10_tq535"] @@ -42,8 +41,11 @@ [ext_resource type="AudioStream" uid="uid://dq5qwydrca3vy" path="res://common/audio_manager/assets/sfx/recharge/recharge_capsule_5.wav" id="22_aedoe"] [ext_resource type="AudioStream" uid="uid://d1cpi438ep0ys" path="res://common/audio_manager/assets/sfx/announce/annnounce.wav" id="22_btfwx"] [ext_resource type="AudioStream" uid="uid://ch8wnrckanydg" path="res://common/audio_manager/assets/morceaux/histoire/meeting_demeter.ogg" id="22_mrdk3"] +[ext_resource type="AudioStream" uid="uid://bu87qluncx6pd" path="res://common/audio_manager/assets/morceaux/histoire/aqua.mp3" id="22_uaco0"] [ext_resource type="AudioStream" uid="uid://bnwtgp8t46xwc" path="res://common/audio_manager/assets/sfx/recharge/recharge_capsule_6.wav" id="23_ge2sc"] +[ext_resource type="AudioStream" uid="uid://bkf62homs848n" path="res://common/audio_manager/assets/morceaux/histoire/estia.ogg" id="24_eeq8n"] [ext_resource type="AudioStream" uid="uid://bp3wsncvda5gl" path="res://common/audio_manager/assets/sfx/recharge/recharge_capsule_7.wav" id="24_yr73o"] +[ext_resource type="AudioStream" uid="uid://urh63a8tgsd0" path="res://common/audio_manager/assets/morceaux/histoire/astra.ogg" id="25_1r4ky"] [ext_resource type="AudioStream" uid="uid://8juy5ev3rdfh" path="res://common/audio_manager/assets/sfx/plant_points/plant_point_1.wav" id="29_ngi21"] [ext_resource type="AudioStream" uid="uid://su387eovtrsg" path="res://common/audio_manager/assets/sfx/plant_points/plant_point_2.wav" id="30_xmumj"] [ext_resource type="AudioStream" uid="uid://bp6mtpqjf4txo" path="res://common/audio_manager/assets/sfx/plant_points/plant_point_3.wav" id="31_spekb"] @@ -167,19 +169,14 @@ unique_name_in_owner = true stream = ExtResource("5_ipd1r") volume_db = -15.0 -[node name="Astra" type="AudioStreamPlayer" parent="Ambiances" unique_id=1244577212] -unique_name_in_owner = true -stream = ExtResource("5_8204s") -volume_db = -5.0 - [node name="Demeter" type="AudioStreamPlayer" parent="Ambiances" unique_id=351918026] unique_name_in_owner = true stream = ExtResource("6_8204s") volume_db = -5.0 -[node name="Borea" type="AudioStreamPlayer" parent="Ambiances" unique_id=1857904648] +[node name="Astra" type="AudioStreamPlayer" parent="Ambiances" unique_id=1244577212] unique_name_in_owner = true -stream = ExtResource("7_spekb") +stream = ExtResource("5_8204s") volume_db = -5.0 [node name="Ship" type="AudioStreamPlayer" parent="Ambiances" unique_id=1564186965] @@ -187,10 +184,6 @@ unique_name_in_owner = true stream = ExtResource("8_tuvql") volume_db = -5.0 -[node name="Subterra" type="AudioStreamPlayer" parent="Ambiances" unique_id=2019011683] -unique_name_in_owner = true -stream = ExtResource("12_mrdk3") - [node name="Musics" type="Node" parent="." unique_id=1450527710] unique_name_in_owner = true @@ -247,10 +240,29 @@ stream = ExtResource("7_tuvql") volume_db = -5.0 bus = &"Music" -[node name="Meeting_demeter" type="AudioStreamPlayer" parent="Musics" unique_id=1066359159] +[node name="MeetingDemeter" type="AudioStreamPlayer" parent="Musics" unique_id=1066359159] unique_name_in_owner = true stream = ExtResource("22_mrdk3") +[node name="Aqua" type="AudioStreamPlayer" parent="Musics" unique_id=1941388305] +unique_name_in_owner = true +stream = ExtResource("22_uaco0") +volume_db = -5.0 + +[node name="Subterra" type="AudioStreamPlayer" parent="Musics" unique_id=2019011683] +unique_name_in_owner = true +stream = ExtResource("12_mrdk3") + +[node name="Estia" type="AudioStreamPlayer" parent="Musics" unique_id=531815272] +unique_name_in_owner = true +stream = ExtResource("24_eeq8n") +volume_db = -5.0 + +[node name="AstraEnd" type="AudioStreamPlayer" parent="Musics" unique_id=818527318] +unique_name_in_owner = true +stream = ExtResource("25_1r4ky") +volume_db = -5.0 + [node name="Sfx" type="Node" parent="." unique_id=2023641207] unique_name_in_owner = true diff --git a/common/audio_manager/scripts/audio_manager.gd b/common/audio_manager/scripts/audio_manager.gd index ec3f2b0..6fa8366 100644 --- a/common/audio_manager/scripts/audio_manager.gd +++ b/common/audio_manager/scripts/audio_manager.gd @@ -58,9 +58,6 @@ func _on_change_scene(scene : Scene): elif scene is GarageScene: stop_all_musics() play_ambiance_alone("Astra", false) - elif scene is BoreaScene: - play_music_alone("Meeting_demeter") - stop_all_ambiances() elif scene is VendingMachineScene: stop_all_musics() play_ambiance_alone("VendingRoom", false) @@ -70,6 +67,21 @@ func _on_change_scene(scene : Scene): elif scene is CaveScene: stop_all_musics() play_ambiance_alone("Cave", false) + elif scene is BoreaScene: + play_music_alone("MeetingDemeter", false, 0.) + stop_all_ambiances() + elif scene is AquaScene: + play_music_alone("Aqua") + stop_all_ambiances() + elif scene is SubterraScene: + play_music_alone("Subterra") + stop_all_ambiances() + elif scene is EstiaScene: + play_music_alone("Estia") + stop_all_ambiances() + elif scene is AstraEndScene: + play_music_alone("AstraEnd") + stop_all_ambiances() # Fonction s'exécutant à chaque début de timeline func _on_timeline_started(): diff --git a/common/game_data/scripts/artefacts/talion_spray/talion_spray.blend b/common/game_data/scripts/artefacts/talion_spray/talion_spray.blend new file mode 100644 index 0000000..d767709 Binary files /dev/null and b/common/game_data/scripts/artefacts/talion_spray/talion_spray.blend differ diff --git a/common/game_data/scripts/artefacts/talion_spray/talion_spray.blend.import b/common/game_data/scripts/artefacts/talion_spray/talion_spray.blend.import new file mode 100644 index 0000000..e4b3b0c --- /dev/null +++ b/common/game_data/scripts/artefacts/talion_spray/talion_spray.blend.import @@ -0,0 +1,71 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://cbfoonpkmmva8" +path="res://.godot/imported/talion_spray.blend-3cc293a04161d1f6f5e9c094a05903f8.scn" + +[deps] + +source_file="res://common/game_data/scripts/artefacts/talion_spray/talion_spray.blend" +dest_files=["res://.godot/imported/talion_spray.blend-3cc293a04161d1f6f5e9c094a05903f8.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +mesh_library/use_node_names_as_mesh_names=false +array_mesh/deduplicate_surfaces=true +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={ +"materials": { +"Material": { +"use_external/enabled": true, +"use_external/fallback_path": "res://common/assets/materials/default_3d.tres", +"use_external/path": "uid://dvvi1k5c5iowc" +} +} +} +blender/nodes/visible=0 +blender/nodes/active_collection_only=false +blender/nodes/punctual_lights=true +blender/nodes/cameras=true +blender/nodes/custom_properties=true +blender/nodes/modifiers=1 +blender/meshes/vertex_colors=1 +blender/meshes/uvs=true +blender/meshes/normals=true +blender/meshes/export_geometry_nodes_instances=false +blender/meshes/gpu_instances=false +blender/meshes/tangents=true +blender/meshes/skins=2 +blender/meshes/export_bones_deforming_mesh_only=false +blender/materials/unpack_enabled=true +blender/materials/export_materials=1 +blender/animation/limit_playback=true +blender/animation/always_sample=true +blender/animation/group_tracks=true +gltf/naming_version=2 +gltf/texture_map_mode=1 diff --git a/common/game_data/scripts/artefacts/talion_spray/talion_spray.blend1 b/common/game_data/scripts/artefacts/talion_spray/talion_spray.blend1 new file mode 100644 index 0000000..80c0d71 Binary files /dev/null and b/common/game_data/scripts/artefacts/talion_spray/talion_spray.blend1 differ diff --git a/common/game_data/scripts/artefacts/talion_spray/talion_spray.gd b/common/game_data/scripts/artefacts/talion_spray/talion_spray.gd new file mode 100644 index 0000000..6a5b21d --- /dev/null +++ b/common/game_data/scripts/artefacts/talion_spray/talion_spray.gd @@ -0,0 +1,14 @@ +extends Artefact +class_name TalionSprayArtifact + +func get_artefact_name() -> String: + return "TALION_SPRAY" + +func get_artefact_desc() -> String: + return "TALION_SPRAY_DESC_TEXT" + +func get_3d_scene() -> PackedScene: + return preload("res://common/game_data/scripts/artefacts/talion_spray/talion_spray.blend") + +func modify_plant_base_score(plant_base_score : int) -> int: + return plant_base_score + 1 \ No newline at end of file diff --git a/common/game_data/scripts/artefacts/talion_spray/talion_spray.gd.uid b/common/game_data/scripts/artefacts/talion_spray/talion_spray.gd.uid new file mode 100644 index 0000000..bea6fea --- /dev/null +++ b/common/game_data/scripts/artefacts/talion_spray/talion_spray.gd.uid @@ -0,0 +1 @@ +uid://2eo5lucwktg4 diff --git a/common/game_data/scripts/infinite_progression_data.gd b/common/game_data/scripts/infinite_progression_data.gd index 9c068ee..fd623a2 100644 --- a/common/game_data/scripts/infinite_progression_data.gd +++ b/common/game_data/scripts/infinite_progression_data.gd @@ -27,3 +27,15 @@ func unlock_new_mutation() -> PlantMutation: func get_available_mutations() -> Array[PlantMutation]: return get_all_mutations() + +func set_best_run(v := best_run): + if best_run < 10 and v == 10: + SteamConnection.unlock_achievement(SteamConnection.ACH_STW_HIT_10_INFINITE) + + if best_run < 20 and v == 20: + SteamConnection.unlock_achievement(SteamConnection.ACH_STW_HIT_20_INFINITE) + + if best_run < 30 and v == 30: + SteamConnection.unlock_achievement(SteamConnection.ACH_STW_HIT_30_INFINITE) + + best_run = v diff --git a/common/game_data/scripts/progression_data.gd b/common/game_data/scripts/progression_data.gd index 0451124..9b98b40 100644 --- a/common/game_data/scripts/progression_data.gd +++ b/common/game_data/scripts/progression_data.gd @@ -3,7 +3,7 @@ extends Resource class_name ProgressionData @export var run_number : int = 0 -@export var best_run : int = 0 +@export var best_run : int = 0 : set = set_best_run @abstract func get_story_step() -> StoryStep @@ -21,6 +21,9 @@ class_name ProgressionData @abstract func unlock_new_mutation() -> PlantMutation +func set_best_run(v := best_run): + best_run = v + func get_all_mutations() -> Array[PlantMutation]: return [ QualityMutation.new(), @@ -52,14 +55,19 @@ func get_all_artifacts() -> Array[Artefact]: StabilisatorArtefact.new(), TalionOverloaderArtefact.new(), TalionSoilArtifact.new(), + TalionSprayArtifact.new() ] func get_all_story_steps() -> Array[StoryStep]: return [ - TutorialStoryStep.new(), - StartStoryStep.new(), - MercuryStoryStep.new(), - BoreaStoryStep.new() + # TutorialStoryStep.new(), + # StartStoryStep.new(), + # MercuryStoryStep.new(), + BoreaStoryStep.new(), + AquaStoryStep.new(), + SubterraStoryStep.new(), + EstiaStoryStep.new(), + AstraStoryStep.new(), ] func finish_run(run : RunData): diff --git a/common/game_data/scripts/story/story_step.gd b/common/game_data/scripts/story/story_step.gd index d5f0836..0028bf2 100644 --- a/common/game_data/scripts/story/story_step.gd +++ b/common/game_data/scripts/story/story_step.gd @@ -29,7 +29,7 @@ func is_region_sequence_infinite() -> bool: return false func get_region_sequence_length() -> int: - return 7 + return 2 #TO CHANGE TO 7 func get_first_vending_machine_occurence(_level : int) -> int: return 2 diff --git a/common/game_data/scripts/story/story_steps/1_3_borea_story_step.gd b/common/game_data/scripts/story/story_steps/1_3_borea_story_step.gd index 2b274f5..4570024 100644 --- a/common/game_data/scripts/story/story_steps/1_3_borea_story_step.gd +++ b/common/game_data/scripts/story/story_steps/1_3_borea_story_step.gd @@ -10,16 +10,6 @@ func get_respawn_scene() -> Scene: true ) -func get_objective_for_region(l : int) -> int: - match l: - 0: return 0 - 1: return 8 - _: return get_objective_for_region(l-1) + l * 5 - - -func get_region_sequence_length() -> int: - return 8 - func get_destination_text() -> String: return tr("BOREA_BASE") diff --git a/common/game_data/scripts/story/story_steps/2_aqua_story_step.gd b/common/game_data/scripts/story/story_steps/2_aqua_story_step.gd new file mode 100644 index 0000000..2c0504d --- /dev/null +++ b/common/game_data/scripts/story/story_steps/2_aqua_story_step.gd @@ -0,0 +1,22 @@ +extends StoryStep +class_name AquaStoryStep + +const AQUA_TRAVEL_PHONE_CALL_DIALOG_PATH = "res://dialogs/timelines/2_aqua/1_aqua_travel_phone_call.dtl" + +func get_respawn_scene() -> Scene: + return RelayBaseScene.new( + "BOREA_BASE", + "004", + true + ) + +func get_destination_text() -> String: + return tr("AQUA_BASE") + +func get_destination_scene() -> Scene: + return AquaScene.new() + +func get_ship_dialog_path(level : int, _ship_in_space := true) -> String: + if level == 5: + return AQUA_TRAVEL_PHONE_CALL_DIALOG_PATH + return "" \ No newline at end of file diff --git a/common/game_data/scripts/story/story_steps/2_aqua_story_step.gd.uid b/common/game_data/scripts/story/story_steps/2_aqua_story_step.gd.uid new file mode 100644 index 0000000..630ee40 --- /dev/null +++ b/common/game_data/scripts/story/story_steps/2_aqua_story_step.gd.uid @@ -0,0 +1 @@ +uid://cvuv0lig50jok diff --git a/common/game_data/scripts/story/story_steps/3_subterra_story_step.gd b/common/game_data/scripts/story/story_steps/3_subterra_story_step.gd new file mode 100644 index 0000000..e520061 --- /dev/null +++ b/common/game_data/scripts/story/story_steps/3_subterra_story_step.gd @@ -0,0 +1,22 @@ +extends StoryStep +class_name SubterraStoryStep + +const TRAVEL_PHONE_CALL_DIALOG_PATH = "res://dialogs/timelines/3_subterra/1_subterra_travel_phone_call.dtl" + +func get_respawn_scene() -> Scene: + return RelayBaseScene.new( + "AQUA_BASE", + "005", + true + ) + +func get_destination_text() -> String: + return tr("SUBTERRA_BASE") + +func get_destination_scene() -> Scene: + return SubterraScene.new() + +func get_ship_dialog_path(level : int, _ship_in_space := true) -> String: + if level == 5: + return TRAVEL_PHONE_CALL_DIALOG_PATH + return "" \ No newline at end of file diff --git a/common/game_data/scripts/story/story_steps/3_subterra_story_step.gd.uid b/common/game_data/scripts/story/story_steps/3_subterra_story_step.gd.uid new file mode 100644 index 0000000..b2f72dd --- /dev/null +++ b/common/game_data/scripts/story/story_steps/3_subterra_story_step.gd.uid @@ -0,0 +1 @@ +uid://b5ixh763b7s34 diff --git a/common/game_data/scripts/story/story_steps/4_estia_story_step.gd b/common/game_data/scripts/story/story_steps/4_estia_story_step.gd new file mode 100644 index 0000000..5436ad4 --- /dev/null +++ b/common/game_data/scripts/story/story_steps/4_estia_story_step.gd @@ -0,0 +1,22 @@ +extends StoryStep +class_name EstiaStoryStep + +const TRAVEL_PHONE_CALL_DIALOG_PATH = "res://dialogs/timelines/4_estia/1_estia_travel_phone_call.dtl" + +func get_respawn_scene() -> Scene: + return RelayBaseScene.new( + "SUBTERRA_BASE", + "006", + true + ) + +func get_destination_text() -> String: + return tr("SUBTERRA_BASE") + +func get_destination_scene() -> Scene: + return EstiaScene.new() + +func get_ship_dialog_path(level : int, _ship_in_space := true) -> String: + if level == 5: + return TRAVEL_PHONE_CALL_DIALOG_PATH + return "" \ No newline at end of file diff --git a/common/game_data/scripts/story/story_steps/4_estia_story_step.gd.uid b/common/game_data/scripts/story/story_steps/4_estia_story_step.gd.uid new file mode 100644 index 0000000..e44c6f9 --- /dev/null +++ b/common/game_data/scripts/story/story_steps/4_estia_story_step.gd.uid @@ -0,0 +1 @@ +uid://cnxvc4wfr7dba diff --git a/common/game_data/scripts/story/story_steps/5_astra_story_step.gd b/common/game_data/scripts/story/story_steps/5_astra_story_step.gd new file mode 100644 index 0000000..6fe7620 --- /dev/null +++ b/common/game_data/scripts/story/story_steps/5_astra_story_step.gd @@ -0,0 +1,22 @@ +extends StoryStep +class_name AstraStoryStep + +const TRAVEL_PHONE_CALL_DIALOG_PATH = "res://dialogs/timelines/6_astra/1_astra_travel_phone_call.dtl" + +func get_respawn_scene() -> Scene: + return RelayBaseScene.new( + "ESTIA_BASE", + "007", + true + ) + +func get_destination_text() -> String: + return tr("ESTIA_BASE") + +func get_destination_scene() -> Scene: + return AstraEndScene.new() + +func get_ship_dialog_path(level : int, _ship_in_space := true) -> String: + if level == 4: + return TRAVEL_PHONE_CALL_DIALOG_PATH + return "" \ No newline at end of file diff --git a/common/game_data/scripts/story/story_steps/5_astra_story_step.gd.uid b/common/game_data/scripts/story/story_steps/5_astra_story_step.gd.uid new file mode 100644 index 0000000..67d0591 --- /dev/null +++ b/common/game_data/scripts/story/story_steps/5_astra_story_step.gd.uid @@ -0,0 +1 @@ +uid://bkm4tgllpq0p diff --git a/common/icons/globe.svg.import b/common/icons/globe.svg.import index ec3a802..c935895 100644 --- a/common/icons/globe.svg.import +++ b/common/icons/globe.svg.import @@ -3,19 +3,20 @@ importer="texture" type="CompressedTexture2D" uid="uid://sdrr43mek1cl" -path="res://.godot/imported/globe.svg-e211d89cbdcd4219d25d8110f0497347.ctex" +path.s3tc="res://.godot/imported/globe.svg-e211d89cbdcd4219d25d8110f0497347.s3tc.ctex" metadata={ -"vram_texture": false +"imported_formats": ["s3tc_bptc"], +"vram_texture": true } [deps] source_file="res://common/icons/globe.svg" -dest_files=["res://.godot/imported/globe.svg-e211d89cbdcd4219d25d8110f0497347.ctex"] +dest_files=["res://.godot/imported/globe.svg-e211d89cbdcd4219d25d8110f0497347.s3tc.ctex"] [params] -compress/mode=0 +compress/mode=2 compress/high_quality=false compress/lossy_quality=0.7 compress/uastc_level=0 @@ -23,7 +24,7 @@ compress/rdo_quality_loss=0.0 compress/hdr_compression=1 compress/normal_map=0 compress/channel_pack=0 -mipmaps/generate=false +mipmaps/generate=true mipmaps/limit=-1 roughness/mode=0 roughness/src_normal="" @@ -37,7 +38,7 @@ process/normal_map_invert_y=false process/hdr_as_srgb=false process/hdr_clamp_exposure=false process/size_limit=0 -detect_3d/compress_to=1 +detect_3d/compress_to=0 svg/scale=2.0 editor/scale_with_editor_scale=false editor/convert_colors_with_editor_theme=false diff --git a/common/scene_manager/scripts/scenes/aqua_scene.gd b/common/scene_manager/scripts/scenes/aqua_scene.gd new file mode 100644 index 0000000..d1b3c96 --- /dev/null +++ b/common/scene_manager/scripts/scenes/aqua_scene.gd @@ -0,0 +1,11 @@ +extends Scene +class_name AquaScene + +func get_scene_id() -> String: + return "AQUA_BASE" + +func get_scene_path() -> String: + return "res://stages/3d_scenes/aqua_base/aqua_base.tscn" + +func is_mouse_captured() -> bool: + return true \ No newline at end of file diff --git a/common/scene_manager/scripts/scenes/aqua_scene.gd.uid b/common/scene_manager/scripts/scenes/aqua_scene.gd.uid new file mode 100644 index 0000000..7d519b1 --- /dev/null +++ b/common/scene_manager/scripts/scenes/aqua_scene.gd.uid @@ -0,0 +1 @@ +uid://nfk8hgtoadfe diff --git a/common/scene_manager/scripts/scenes/astra_end_scene.gd b/common/scene_manager/scripts/scenes/astra_end_scene.gd new file mode 100644 index 0000000..777bee4 --- /dev/null +++ b/common/scene_manager/scripts/scenes/astra_end_scene.gd @@ -0,0 +1,11 @@ +extends Scene +class_name AstraEndScene + +func get_scene_id() -> String: + return "ASTRA_BASE" + +func get_scene_path() -> String: + return "res://stages/3d_scenes/astra_base/astra_end_base.tscn" + +func is_mouse_captured() -> bool: + return true \ No newline at end of file diff --git a/common/scene_manager/scripts/scenes/astra_end_scene.gd.uid b/common/scene_manager/scripts/scenes/astra_end_scene.gd.uid new file mode 100644 index 0000000..6a97ead --- /dev/null +++ b/common/scene_manager/scripts/scenes/astra_end_scene.gd.uid @@ -0,0 +1 @@ +uid://cpkdlnhughu5j diff --git a/common/scene_manager/scripts/scenes/cockpit_scene.gd b/common/scene_manager/scripts/scenes/cockpit_scene.gd index 1e6603e..f0d090c 100644 --- a/common/scene_manager/scripts/scenes/cockpit_scene.gd +++ b/common/scene_manager/scripts/scenes/cockpit_scene.gd @@ -1,3 +1,4 @@ +@tool extends Scene class_name CockpitScene diff --git a/common/scene_manager/scripts/scenes/estia_scene.gd b/common/scene_manager/scripts/scenes/estia_scene.gd new file mode 100644 index 0000000..7be34a0 --- /dev/null +++ b/common/scene_manager/scripts/scenes/estia_scene.gd @@ -0,0 +1,11 @@ +extends Scene +class_name EstiaScene + +func get_scene_id() -> String: + return "ESTIA_BASE" + +func get_scene_path() -> String: + return "res://stages/3d_scenes/estia_base/estia_base.tscn" + +func is_mouse_captured() -> bool: + return true \ No newline at end of file diff --git a/common/scene_manager/scripts/scenes/estia_scene.gd.uid b/common/scene_manager/scripts/scenes/estia_scene.gd.uid new file mode 100644 index 0000000..cc72cd2 --- /dev/null +++ b/common/scene_manager/scripts/scenes/estia_scene.gd.uid @@ -0,0 +1 @@ +uid://b8mu1im3j3g4b diff --git a/common/scene_manager/scripts/scenes/subterra_scene.gd b/common/scene_manager/scripts/scenes/subterra_scene.gd new file mode 100644 index 0000000..f8a731e --- /dev/null +++ b/common/scene_manager/scripts/scenes/subterra_scene.gd @@ -0,0 +1,11 @@ +extends Scene +class_name SubterraScene + +func get_scene_id() -> String: + return "SUBTERRA_BASE" + +func get_scene_path() -> String: + return "res://stages/3d_scenes/subterra_base/subterra_base.tscn" + +func is_mouse_captured() -> bool: + return true \ No newline at end of file diff --git a/common/scene_manager/scripts/scenes/subterra_scene.gd.uid b/common/scene_manager/scripts/scenes/subterra_scene.gd.uid new file mode 100644 index 0000000..cbac294 --- /dev/null +++ b/common/scene_manager/scripts/scenes/subterra_scene.gd.uid @@ -0,0 +1 @@ +uid://fb77eebcsnvq diff --git a/common/steam_connection/steam_connection.gd b/common/steam_connection/steam_connection.gd index 2064750..251c1f7 100644 --- a/common/steam_connection/steam_connection.gd +++ b/common/steam_connection/steam_connection.gd @@ -8,6 +8,13 @@ const ACH_UNLOCK_ALL_MUTATION="STW_UNLOCK_ALL_MUTATIONS" const ACH_KICK_YOUR_OLD_BODY="STW_KICK_YOUR_OLD_BODY" const ACH_MERCURY_BASE="STW_REACH_MERCURY_BASE" const ACH_REACH_VENUS_BASE="STW_REACH_VENUS_BASE" +const ACH_STW_REACH_AQUA_BASE="STW_REACH_AQUA_BASE" +const ACH_STW_REACH_SUBTERRA_BASE="STW_REACH_SUBTERRA_BASE" +const ACH_STW_REACH_ESTIA_BASE="STW_REACH_ESTIA_BASE" +const ACH_STW_REPAIR_THE_PLANET="STW_REPAIR_THE_PLANET" +const ACH_STW_HIT_10_INFINITE="STW_HIT_10_INFINITE" +const ACH_STW_HIT_20_INFINITE="STW_HIT_20_INFINITE" +const ACH_STW_HIT_30_INFINITE="STW_HIT_30_INFINITE" func unlock_achievement(achivement_name : String): if Steam.isSteamRunning(): diff --git a/entities/interactable_3d/3d_door/3d_door.tscn b/entities/interactable_3d/3d_door/3d_door.tscn new file mode 100644 index 0000000..dbdf896 --- /dev/null +++ b/entities/interactable_3d/3d_door/3d_door.tscn @@ -0,0 +1,252 @@ +[gd_scene format=3 uid="uid://cypsoytvytdup"] + +[ext_resource type="PackedScene" uid="uid://cah00gew65ire" path="res://entities/interactable_3d/3d_door/assets/3d/door.blend" id="1_7a6nb"] +[ext_resource type="Script" uid="uid://u6dj6ud4mvk7" path="res://entities/interactable_3d/3d_door/scripts/3d_door.gd" id="1_08fm6"] +[ext_resource type="PackedScene" uid="uid://cc7uo5xqcplu8" path="res://entities/interactable_3d/3d_door/assets/3d/door_closed.blend" id="2_xjn0l"] +[ext_resource type="Texture2D" uid="uid://1ynlp05wj0hm" path="res://common/icons/rocket.svg" id="5_3uc8q"] + +[sub_resource type="Animation" id="Animation_08fm6"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("door:visible") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [true] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("door_closed:visible") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [false] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Icon:visible") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [true] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Icon2:visible") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [true] +} +tracks/4/type = "value" +tracks/4/imported = false +tracks/4/enabled = true +tracks/4/path = NodePath("Icon:scale") +tracks/4/interp = 1 +tracks/4/loop_wrap = true +tracks/4/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector3(1.5, 1.5, 1.5)] +} +tracks/5/type = "value" +tracks/5/imported = false +tracks/5/enabled = true +tracks/5/path = NodePath("Icon2:scale") +tracks/5/interp = 1 +tracks/5/loop_wrap = true +tracks/5/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector3(1.5, 1.5, 1.5)] +} + +[sub_resource type="Animation" id="Animation_3uc8q"] +resource_name = "activated" +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("door:visible") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [true] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("door_closed:visible") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [false] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Icon:visible") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [true] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Icon2:visible") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [true] +} + +[sub_resource type="Animation" id="Animation_7o3sc"] +resource_name = "deactivated" +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("door:visible") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [false] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("door_closed:visible") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [true] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Icon2:visible") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [false] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Icon:visible") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [false] +} + +[sub_resource type="Animation" id="Animation_p35e2"] +resource_name = "hover" +loop_mode = 1 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Icon:scale") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.46666667, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Vector3(1.5, 1.5, 1.5), Vector3(2, 2, 2), Vector3(1.5, 1.5, 1.5)] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Icon2:scale") +tracks/1/interp = 2 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0, 0.46666667, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Vector3(1.5, 1.5, 1.5), Vector3(2, 2, 2), Vector3(1.5, 1.5, 1.5)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_p35e2"] +_data = { +&"RESET": SubResource("Animation_08fm6"), +&"activated": SubResource("Animation_3uc8q"), +&"deactivated": SubResource("Animation_7o3sc"), +&"hover": SubResource("Animation_p35e2") +} + +[sub_resource type="BoxShape3D" id="BoxShape3D_g4v7s"] +size = Vector3(1, 5.1875, 5.140625) + +[node name="3dDoor" type="Area3D" unique_id=814731756 node_paths=PackedStringArray("hover_animation_player")] +script = ExtResource("1_08fm6") +interactable = false +hover_animation_player = NodePath("AnimationPlayer") + +[node name="door" parent="." unique_id=48771245 instance=ExtResource("1_7a6nb")] + +[node name="door_closed" parent="." unique_id=366011214 instance=ExtResource("2_xjn0l")] +visible = false + +[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=545958515] +libraries/ = SubResource("AnimationLibrary_p35e2") + +[node name="Icon" type="Sprite3D" parent="." unique_id=368585741] +unique_name_in_owner = true +transform = Transform3D(-6.556708e-08, 0, -1.5, 0, 1.5, 0, 1.5, 0, -6.556708e-08, 0.1830883, -0.8157884, 0.62879825) +texture = ExtResource("5_3uc8q") + +[node name="Icon2" type="Sprite3D" parent="." unique_id=286944398] +unique_name_in_owner = true +transform = Transform3D(-6.556708e-08, 0, -1.5, 0, 1.5, 0, 1.5, 0, -6.556708e-08, -0.15410006, -0.8157884, 0.62879825) +flip_h = true +texture = ExtResource("5_3uc8q") + +[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1859296170] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0390625, -0.03125) +shape = SubResource("BoxShape3D_g4v7s") diff --git a/entities/interactable_3d/3d_door/assets/3d/door.blend b/entities/interactable_3d/3d_door/assets/3d/door.blend new file mode 100644 index 0000000..5376672 Binary files /dev/null and b/entities/interactable_3d/3d_door/assets/3d/door.blend differ diff --git a/stages/3d_scenes/common/assets/3d/door.blend.import b/entities/interactable_3d/3d_door/assets/3d/door.blend.import similarity index 81% rename from stages/3d_scenes/common/assets/3d/door.blend.import rename to entities/interactable_3d/3d_door/assets/3d/door.blend.import index 280e7cf..248a84b 100644 --- a/stages/3d_scenes/common/assets/3d/door.blend.import +++ b/entities/interactable_3d/3d_door/assets/3d/door.blend.import @@ -4,18 +4,20 @@ importer="scene" importer_version=1 type="PackedScene" uid="uid://cah00gew65ire" -path="res://.godot/imported/door.blend-c87f276c56915caea51fe7d3dbe0db91.scn" +path="res://.godot/imported/door.blend-eece18402c8800106d851ddc37f797c8.scn" [deps] -source_file="res://stages/3d_scenes/common/assets/3d/door.blend" -dest_files=["res://.godot/imported/door.blend-c87f276c56915caea51fe7d3dbe0db91.scn"] +source_file="res://entities/interactable_3d/3d_door/assets/3d/door.blend" +dest_files=["res://.godot/imported/door.blend-eece18402c8800106d851ddc37f797c8.scn"] [params] nodes/root_type="" nodes/root_name="" nodes/root_script=null +mesh_library/use_node_names_as_mesh_names=false +array_mesh/deduplicate_surfaces=true nodes/apply_root_scale=true nodes/root_scale=1.0 nodes/import_as_skeleton_bones=false @@ -52,7 +54,7 @@ blender/nodes/punctual_lights=true blender/nodes/cameras=true blender/nodes/custom_properties=true blender/nodes/modifiers=1 -blender/meshes/colors=false +blender/meshes/vertex_colors=2 blender/meshes/uvs=true blender/meshes/normals=true blender/meshes/export_geometry_nodes_instances=false @@ -66,3 +68,4 @@ blender/animation/limit_playback=true blender/animation/always_sample=true blender/animation/group_tracks=true gltf/naming_version=2 +gltf/texture_map_mode=0 diff --git a/stages/3d_scenes/common/assets/3d/door.blend b/entities/interactable_3d/3d_door/assets/3d/door.blend1 similarity index 75% rename from stages/3d_scenes/common/assets/3d/door.blend rename to entities/interactable_3d/3d_door/assets/3d/door.blend1 index 1a1baad..6a22f5e 100644 Binary files a/stages/3d_scenes/common/assets/3d/door.blend and b/entities/interactable_3d/3d_door/assets/3d/door.blend1 differ diff --git a/entities/interactable_3d/3d_door/assets/3d/door_closed.blend b/entities/interactable_3d/3d_door/assets/3d/door_closed.blend new file mode 100644 index 0000000..b927bed Binary files /dev/null and b/entities/interactable_3d/3d_door/assets/3d/door_closed.blend differ diff --git a/entities/interactable_3d/3d_door/assets/3d/door_closed.blend.import b/entities/interactable_3d/3d_door/assets/3d/door_closed.blend.import new file mode 100644 index 0000000..c751643 --- /dev/null +++ b/entities/interactable_3d/3d_door/assets/3d/door_closed.blend.import @@ -0,0 +1,71 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://cc7uo5xqcplu8" +path="res://.godot/imported/door_closed.blend-507164d9450864a513b7fc7bb246c74c.scn" + +[deps] + +source_file="res://entities/interactable_3d/3d_door/assets/3d/door_closed.blend" +dest_files=["res://.godot/imported/door_closed.blend-507164d9450864a513b7fc7bb246c74c.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +mesh_library/use_node_names_as_mesh_names=false +array_mesh/deduplicate_surfaces=true +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={ +"materials": { +"Default3D": { +"use_external/enabled": true, +"use_external/fallback_path": "res://common/assets/materials/default_3d.tres", +"use_external/path": "uid://dvvi1k5c5iowc" +} +} +} +blender/nodes/visible=0 +blender/nodes/active_collection_only=false +blender/nodes/punctual_lights=true +blender/nodes/cameras=true +blender/nodes/custom_properties=true +blender/nodes/modifiers=1 +blender/meshes/vertex_colors=1 +blender/meshes/uvs=true +blender/meshes/normals=true +blender/meshes/export_geometry_nodes_instances=false +blender/meshes/gpu_instances=false +blender/meshes/tangents=true +blender/meshes/skins=2 +blender/meshes/export_bones_deforming_mesh_only=false +blender/materials/unpack_enabled=true +blender/materials/export_materials=1 +blender/animation/limit_playback=true +blender/animation/always_sample=true +blender/animation/group_tracks=true +gltf/naming_version=2 +gltf/texture_map_mode=1 diff --git a/entities/interactable_3d/3d_door/assets/3d/door_closed.blend1 b/entities/interactable_3d/3d_door/assets/3d/door_closed.blend1 new file mode 100644 index 0000000..5386837 Binary files /dev/null and b/entities/interactable_3d/3d_door/assets/3d/door_closed.blend1 differ diff --git a/entities/interactable_3d/3d_door/scripts/3d_door.gd b/entities/interactable_3d/3d_door/scripts/3d_door.gd new file mode 100644 index 0000000..a6ba539 --- /dev/null +++ b/entities/interactable_3d/3d_door/scripts/3d_door.gd @@ -0,0 +1,21 @@ +@tool +extends Interactable3D +class_name Door3d + +@export var to_scene : Scene : set = set_to_scene + +func _ready(): + set_to_scene() + interactable = interactable + +func set_to_scene(v : Scene = to_scene): + to_scene = v + if is_node_ready() and to_scene: + %Icon.texture = to_scene.get_scene_icon() + %Icon2.texture = to_scene.get_scene_icon() + +func click(): + if interactable: + clicked.emit() + if to_scene: + SceneManager.change_to_scene(to_scene) \ No newline at end of file diff --git a/entities/interactable_3d/3d_door/scripts/3d_door.gd.uid b/entities/interactable_3d/3d_door/scripts/3d_door.gd.uid new file mode 100644 index 0000000..94cbad7 --- /dev/null +++ b/entities/interactable_3d/3d_door/scripts/3d_door.gd.uid @@ -0,0 +1 @@ +uid://u6dj6ud4mvk7 diff --git a/entities/interactables/energy_cell/energy_cell.tscn b/entities/interactables/energy_cell/energy_cell.tscn index 61dbe57..a1c32a4 100644 --- a/entities/interactables/energy_cell/energy_cell.tscn +++ b/entities/interactables/energy_cell/energy_cell.tscn @@ -3,6 +3,7 @@ [ext_resource type="Script" uid="uid://b25sqd4v2i3v2" path="res://entities/interactables/energy_cell/scripts/energy_cell.gd" id="1_nheea"] [ext_resource type="Texture2D" uid="uid://ds65vxsiitxit" path="res://entities/interactables/energy_cell/assets/sprites/energy_cell_on.png" id="2_fnyaf"] [ext_resource type="Texture2D" uid="uid://dh6jdqoy2xu65" path="res://entities/interactables/energy_cell/assets/sprites/energy_cell_off.png" id="3_t6ydv"] +[ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="4_fnyaf"] [sub_resource type="CircleShape2D" id="CircleShape2D_ylpt4"] radius = 39.115215 @@ -100,3 +101,10 @@ shape = SubResource("CircleShape2D_ylpt4") [node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1320210428] unique_name_in_owner = true libraries/ = SubResource("AnimationLibrary_d2c63") + +[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1285579466] + +[node name="EnergyParticle" type="Sprite2D" parent="CanvasLayer" unique_id=786670396] +unique_name_in_owner = true +position = Vector2(100, 100) +texture = ExtResource("4_fnyaf") diff --git a/entities/interactables/energy_cell/scripts/energy_cell.gd b/entities/interactables/energy_cell/scripts/energy_cell.gd index 38b2bbc..318fa36 100644 --- a/entities/interactables/energy_cell/scripts/energy_cell.gd +++ b/entities/interactables/energy_cell/scripts/energy_cell.gd @@ -1,4 +1,3 @@ -@tool extends Interactable class_name EnergyCell @@ -8,6 +7,7 @@ const GIVEN_ENERGY = 1 func _ready(): set_used() + %EnergyParticle.visible = false func set_used(v = used): used = v @@ -18,6 +18,11 @@ func set_used(v = used): %SpriteOff.visible = used %SpriteOn.visible = not used +func pointer_text() -> String: + if used: + return tr("%s_USED") % tr(default_info_title) + return default_info_title + func can_interact(p : Player) -> bool: return p.data.energy < p.data.max_energy @@ -26,13 +31,30 @@ func interact(p : Player) -> bool: used = true available = false + await spawn_energy_particle() + p.data.energy += GIVEN_ENERGY interacted.emit(p) region.data.used_objects.append(name) - AudioManager.play_sfx("Recharge1") - return true return false + +func spawn_energy_particle(): + var screen_size = get_viewport().get_visible_rect().size + %EnergyParticle.visible = true + %EnergyParticle.position = ( + (global_position - region.camera.global_position) * get_viewport().get_camera_2d().zoom + + ((screen_size) / 2) + ) + + var tween = create_tween() + tween.set_trans(Tween.TransitionType.TRANS_SPRING) + tween.tween_property(%EnergyParticle,"position",Vector2(100,100),1.) + + await tween.finished + + AudioManager.play_sfx("Recharge1") + %EnergyParticle.visible = false diff --git a/entities/interactables/talion_cell/scripts/talion_cell.gd b/entities/interactables/talion_cell/scripts/talion_cell.gd index 15de92e..d227e9a 100644 --- a/entities/interactables/talion_cell/scripts/talion_cell.gd +++ b/entities/interactables/talion_cell/scripts/talion_cell.gd @@ -18,6 +18,11 @@ func set_used(v = used): %SpriteOff.visible = used %SpriteOn.visible = not used +func pointer_text() -> String: + if used: + return tr("%s_USED") % tr(default_info_title) + return default_info_title + func interact(p : Player) -> bool: if not used and region: used = true diff --git a/entities/player/assets/sprites/robot_big_line.png b/entities/player/assets/sprites/robot_big_line.png new file mode 100644 index 0000000..3ea513b Binary files /dev/null and b/entities/player/assets/sprites/robot_big_line.png differ diff --git a/entities/player/assets/sprites/robot_big_line.png.import b/entities/player/assets/sprites/robot_big_line.png.import new file mode 100644 index 0000000..f19f456 --- /dev/null +++ b/entities/player/assets/sprites/robot_big_line.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cwjixsd8nssnl" +path="res://.godot/imported/robot_big_line.png-5ca66c48d2c95407c22b892fe8eab474.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/player/assets/sprites/robot_big_line.png" +dest_files=["res://.godot/imported/robot_big_line.png-5ca66c48d2c95407c22b892fe8eab474.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/entities/player/assets/sprites/robot_big_line.png~ b/entities/player/assets/sprites/robot_big_line.png~ new file mode 100644 index 0000000..4ac978a Binary files /dev/null and b/entities/player/assets/sprites/robot_big_line.png~ differ diff --git a/entities/player/inventory/scripts/items/utils/detector_signal.gd b/entities/player/inventory/scripts/items/utils/detector_signal.gd index 36a4a64..fa7158f 100644 --- a/entities/player/inventory/scripts/items/utils/detector_signal.gd +++ b/entities/player/inventory/scripts/items/utils/detector_signal.gd @@ -15,9 +15,9 @@ const DOOR_ICON = preload("res://common/icons/logout.svg") const PLANT_ICON = preload("res://common/icons/seedling.svg") const SOUND_SOURCE : AudioStreamMP3 = preload("res://common/audio_manager/assets/sfx/signal/signal.mp3") const SOUND_BASE_PITCH = 1. -const SOUND_NIVEL_LEVEL = 6 +const SOUND_NIVEL_LEVEL = 8 -const CELL_DETECTION_MAX_DISTANCE = 2000. +const CELL_DETECTION_MAX_DISTANCE = 3000. const CELL_DETECTION_COLOR : Color = Color("#ff006e") const CELL_DETECTION_MAX_PITCH = 1.5 diff --git a/entities/player/player.tscn b/entities/player/player.tscn index 30e77f6..de00ec1 100644 --- a/entities/player/player.tscn +++ b/entities/player/player.tscn @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://das7twcy5153p" path="res://entities/player/scripts/player.gd" id="1_abrql"] [ext_resource type="Texture2D" uid="uid://dompaj451gklw" path="res://entities/player/assets/sprites/movement_particles.png" id="2_bls4j"] [ext_resource type="Texture2D" uid="uid://ys5fis3gsnoy" path="res://entities/player/assets/sprites/shadow.png" id="2_fkugw"] -[ext_resource type="Texture2D" uid="uid://c7ff87jniga5m" path="res://entities/player/assets/sprites/robot.png" id="4_bls4j"] +[ext_resource type="Texture2D" uid="uid://cwjixsd8nssnl" path="res://entities/player/assets/sprites/robot_big_line.png" id="3_26q78"] [ext_resource type="Texture2D" uid="uid://drgl0d51d4cf7" path="res://entities/player/assets/sprites/radial-gradient.png" id="5_8fjmc"] [ext_resource type="Script" uid="uid://b1mmtgmi5oq86" path="res://entities/player/scripts/player_sprite.gd" id="5_fkugw"] [ext_resource type="Texture2D" uid="uid://51255tpyl6vj" path="res://common/icons/no-bolt.svg" id="7_26q78"] @@ -27,101 +27,101 @@ fill = 1 fill_from = Vector2(0.5, 0.5) fill_to = Vector2(0.5, 0) -[sub_resource type="AtlasTexture" id="AtlasTexture_fkugw"] -atlas = ExtResource("4_bls4j") -region = Rect2(3048, 0, 762, 1080) - -[sub_resource type="AtlasTexture" id="AtlasTexture_8fjmc"] -atlas = ExtResource("4_bls4j") -region = Rect2(3810, 0, 762, 1080) - -[sub_resource type="AtlasTexture" id="AtlasTexture_qiwj3"] -atlas = ExtResource("4_bls4j") -region = Rect2(2286, 0, 762, 1080) - -[sub_resource type="AtlasTexture" id="AtlasTexture_26q78"] -atlas = ExtResource("4_bls4j") -region = Rect2(0, 0, 762, 1080) - [sub_resource type="AtlasTexture" id="AtlasTexture_bectd"] -atlas = ExtResource("4_bls4j") -region = Rect2(5334, 0, 762, 1080) +atlas = ExtResource("3_26q78") +region = Rect2(1388, 0, 347, 347) [sub_resource type="AtlasTexture" id="AtlasTexture_wvtmh"] -atlas = ExtResource("4_bls4j") -region = Rect2(762, 0, 762, 1080) +atlas = ExtResource("3_26q78") +region = Rect2(1735, 0, 347, 347) [sub_resource type="AtlasTexture" id="AtlasTexture_7thud"] -atlas = ExtResource("4_bls4j") -region = Rect2(4572, 0, 762, 1080) +atlas = ExtResource("3_26q78") +region = Rect2(1041, 0, 347, 347) [sub_resource type="AtlasTexture" id="AtlasTexture_a1qjk"] -atlas = ExtResource("4_bls4j") -region = Rect2(1524, 0, 762, 1080) +atlas = ExtResource("3_26q78") +region = Rect2(0, 0, 347, 347) + +[sub_resource type="AtlasTexture" id="AtlasTexture_j3ovn"] +atlas = ExtResource("3_26q78") +region = Rect2(2429, 0, 347, 347) + +[sub_resource type="AtlasTexture" id="AtlasTexture_afbqv"] +atlas = ExtResource("3_26q78") +region = Rect2(347, 0, 347, 347) + +[sub_resource type="AtlasTexture" id="AtlasTexture_gx6sm"] +atlas = ExtResource("3_26q78") +region = Rect2(2082, 0, 347, 347) + +[sub_resource type="AtlasTexture" id="AtlasTexture_yqrof"] +atlas = ExtResource("3_26q78") +region = Rect2(694, 0, 347, 347) [sub_resource type="SpriteFrames" id="SpriteFrames_a1qjk"] animations = [{ "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_fkugw") -}], -"loop": true, -"name": &"back", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_8fjmc") -}], -"loop": true, -"name": &"back_left", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_qiwj3") -}], -"loop": true, -"name": &"back_right", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_26q78") -}], -"loop": true, -"name": &"front", -"speed": 5.0 -}, { -"frames": [{ -"duration": 1.0, "texture": SubResource("AtlasTexture_bectd") }], -"loop": true, -"name": &"front_left", +"loop": 1, +"name": &"back", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_wvtmh") }], -"loop": true, -"name": &"front_right", +"loop": 1, +"name": &"back_left", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_7thud") }], -"loop": true, -"name": &"left", +"loop": 1, +"name": &"back_right", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_a1qjk") }], -"loop": true, +"loop": 1, +"name": &"front", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_j3ovn") +}], +"loop": 1, +"name": &"front_left", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_afbqv") +}], +"loop": 1, +"name": &"front_right", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_gx6sm") +}], +"loop": 1, +"name": &"left", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_yqrof") +}], +"loop": 1, "name": &"right", "speed": 5.0 }] @@ -130,7 +130,7 @@ animations = [{ blend_mode = 1 [sub_resource type="Curve" id="Curve_fkugw"] -_data = [Vector2(0, 0.14473677), 0.0, 0.0, 0, 0, Vector2(0.972549, 0.2654798), 0.0, 0.0, 0, 0] +_data = [Vector2(0.006711416, 0.21238941), 0.0, 0.0, 0, 0, Vector2(1, 0.5083333), 0.0, 0.0, 0, 0] point_count = 2 [sub_resource type="Gradient" id="Gradient_bls4j"] @@ -142,7 +142,7 @@ length = 0.001 tracks/0/type = "bezier" tracks/0/imported = false tracks/0/enabled = true -tracks/0/path = NodePath(".:position:y") +tracks/0/path = NodePath(".:offset:y") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { @@ -157,12 +157,12 @@ loop_mode = 1 tracks/0/type = "bezier" tracks/0/imported = false tracks/0/enabled = true -tracks/0/path = NodePath(".:position:y") +tracks/0/path = NodePath(".:offset:y") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "handle_modes": PackedInt32Array(2, 2), -"points": PackedFloat32Array(-1097.2793, 0, 0, 0, -139.75659, -1097.2793, 0, -112.66321, 0, 0), +"points": PackedFloat32Array(0, -0.24854341, 55.161533, 0.2, -44.387848, 0, -0.23333335, -52.649887, 0, 0), "times": PackedFloat32Array(0, 1) } @@ -314,13 +314,13 @@ texture = SubResource("GradientTexture2D_26q78") [node name="PlayerSprite" type="AnimatedSprite2D" parent="." unique_id=638545037] unique_name_in_owner = true position = Vector2(0.99999994, -17) -scale = Vector2(0.0656168, 0.065616846) +scale = Vector2(0.221, 0.221) sprite_frames = SubResource("SpriteFrames_a1qjk") -animation = &"front_left" -frame_progress = 0.15805355 -offset = Vector2(0, -370) +animation = &"left" +frame_progress = 0.2383069 +offset = Vector2(0, -150) script = ExtResource("5_fkugw") -wanted_orientation = 2 +wanted_orientation = 7 [node name="Light" type="Sprite2D" parent="PlayerSprite" unique_id=1768327734] modulate = Color(0.70603025, 0.5959886, 0.33971557, 0.09019608) @@ -331,8 +331,7 @@ texture = ExtResource("5_8fjmc") [node name="CPUParticles2D" type="CPUParticles2D" parent="PlayerSprite" unique_id=1489736082] z_index = -1 -position = Vector2(-15.239999, -60.95996) -scale = Vector2(3.4752407, 3.4752383) +position = Vector2(-4.5248866, -46.816402) amount = 3 texture = ExtResource("2_bls4j") lifetime = 0.4 @@ -343,8 +342,8 @@ color_ramp = SubResource("Gradient_bls4j") [node name="NoEnergyLeftIcon" type="Sprite2D" parent="PlayerSprite" unique_id=1059424679] unique_name_in_owner = true modulate = Color(1, 0, 0.43137255, 1) -position = Vector2(-15.239998, 0) -scale = Vector2(10.16, 10.16) +position = Vector2(-4.5248866, -377.13315) +scale = Vector2(3, 3) texture = ExtResource("7_26q78") [node name="AnimationPlayer" type="AnimationPlayer" parent="PlayerSprite/NoEnergyLeftIcon" unique_id=390014722] diff --git a/entities/player_3d/player_3D.tscn b/entities/player_3d/player_3D.tscn index 4e0839a..65b8c48 100644 --- a/entities/player_3d/player_3D.tscn +++ b/entities/player_3d/player_3D.tscn @@ -124,6 +124,7 @@ horizontal_alignment = 1 vertical_alignment = 1 [node name="CPUParticles3D" type="CPUParticles3D" parent="." unique_id=1470634574] +unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.66324395, 0) amount = 5 mesh = SubResource("PlaneMesh_0oeag") diff --git a/entities/player_3d/scripts/player_3d.gd b/entities/player_3d/scripts/player_3d.gd index 8289ee3..22ac407 100644 --- a/entities/player_3d/scripts/player_3d.gd +++ b/entities/player_3d/scripts/player_3d.gd @@ -7,6 +7,7 @@ const POINTER_ACTION_TEXTURE = preload("res://common/icons/hand-finger.svg") @export var pointer_texture_rect : TextureRect @export var speed := 4.0 +@export var gravity_factor = 1. const MOUSE_SENSIVITY = 0.002 const RAY_LENGTH = 10. const PUSH_FORCE = 0.6 @@ -85,9 +86,11 @@ func _physics_process(delta): else : velocity = Vector3.ZERO + %CPUParticles3D.emitting = is_on_floor() + # Add the gravity. if not is_on_floor(): - velocity += get_gravity() * delta + velocity += get_gravity() * gravity_factor * delta move_and_slide() for i in get_slide_collision_count(): diff --git a/gui/game/scripts/game_gui.gd b/gui/game/scripts/game_gui.gd index e87a10c..b839d9f 100644 --- a/gui/game/scripts/game_gui.gd +++ b/gui/game/scripts/game_gui.gd @@ -95,7 +95,7 @@ func score_update(with_animation = true): func state_update(region_data : RegionData): if region_data.state == RegionData.State.SUCCEEDED: objective_text = "COLLECT_YOUR_SEEDS_AND_TAKE_OFF" - if GameInfo.game_data.current_run.get_st is TutorialStoryStep: + if GameInfo.game_data.current_run.story_step is TutorialStoryStep: objective_text = "PASS_THE_MYSTERIOUS_DOOR" elif region_data.state == RegionData.State.FAILED: objective_text = "NO_RECHARGE_LEFT" diff --git a/project.godot b/project.godot index 7053a1c..e73399d 100644 --- a/project.godot +++ b/project.godot @@ -16,7 +16,7 @@ compatibility/default_parent_skeleton_in_mesh_instance_3d=true config/name="Seeding The Wasteland" config/description="Seeding planets is a survival, managment and cosy game in which you play a little gardener robot." -config/version="beta-2.0" +config/version="0.1" run/main_scene="uid://c5bruelvqbm1k" config/features=PackedStringArray("4.7", "Forward Plus") config/icon="uid://df0y0s666ui4h" @@ -47,9 +47,22 @@ directories/dch_directory={ "mysterious_demeter": "res://dialogs/characters/mysterious_demeter.dch" } directories/dtl_directory={ +"1_aqua_travel_phone_call": "res://dialogs/timelines/2_aqua/1_aqua_travel_phone_call.dtl", +"1_astra_travel_phone_call": "res://dialogs/timelines/6_astra/1_astra_travel_phone_call.dtl", +"1_estia_travel_phone_call": "res://dialogs/timelines/4_estia/1_estia_travel_phone_call.dtl", +"1_subterra_travel_phone_call": "res://dialogs/timelines/3_subterra/1_subterra_travel_phone_call.dtl", +"2_aqua_arrival": "res://dialogs/timelines/2_aqua/2_aqua_arrival.dtl", +"2_astra_top": "res://dialogs/timelines/6_astra/2_astra_top.dtl", +"2_estia_arrival": "res://dialogs/timelines/4_estia/2_estia_arrival.dtl", +"2_subterra_arrival": "res://dialogs/timelines/3_subterra/2_subterra_arrival.dtl", +"3_astra_end": "res://dialogs/timelines/6_astra/3_astra_end.dtl", +"5_subterra/1_subterra_travel_phone_call": "res://dialogs/timelines/5_subterra/1_subterra_travel_phone_call.dtl", +"5_subterra/2_subterra_arrival": "res://dialogs/timelines/5_subterra/2_subterra_arrival.dtl", "6_vending_machine_presentation": "res://dialogs/timelines/1_waking_up/6_vending_machine_presentation.dtl", "8_venus_departure": "res://dialogs/timelines/1_waking_up/8_venus_departure.dtl", -"9_borea": "res://dialogs/timelines/1_waking_up/9_borea.dtl", +"91_borea_comms_up": "res://dialogs/timelines/1_waking_up/91_borea_comms_up.dtl", +"91_borea_later": "res://dialogs/timelines/1_waking_up/92_borea_later.dtl", +"9_borea_arrival": "res://dialogs/timelines/1_waking_up/9_borea_arrival.dtl", "cave": "res://dialogs/timelines/1_waking_up/4_cave.dtl", "mercury_arrival": "res://dialogs/timelines/1_waking_up/5_mercury_arrival.dtl", "mercury_departure": "res://dialogs/timelines/1_waking_up/6_mercury_departure.dtl", @@ -259,7 +272,7 @@ environment/defaults/default_clear_color=Color(0.0617213, 0.0605653, 0.169189, 1 [steam] -initialization/app_id=4452760 +initialization/app_id=4444510 initialization/initialize_on_startup=true initialization/embed_callbacks=true multiplayer_peer/max_channels=4 diff --git a/stages/3d_scenes/aqua_base/AquaBase.tscn b/stages/3d_scenes/aqua_base/aqua_base.tscn similarity index 65% rename from stages/3d_scenes/aqua_base/AquaBase.tscn rename to stages/3d_scenes/aqua_base/aqua_base.tscn index be717eb..c67033c 100644 --- a/stages/3d_scenes/aqua_base/AquaBase.tscn +++ b/stages/3d_scenes/aqua_base/aqua_base.tscn @@ -2,11 +2,13 @@ [ext_resource type="Script" uid="uid://bti5mdrogptcl" path="res://stages/3d_scenes/aqua_base/scripts/aqua_base.gd" id="1_dltk4"] [ext_resource type="Texture2D" uid="uid://cww35xu1yqivp" path="res://stages/3d_scenes/cockpit_scene/assets/textures/sky.png" id="2_mr0dk"] +[ext_resource type="PackedScene" uid="uid://bk64hw2adc5kt" path="res://stages/3d_scenes/common/assets/3d/elevator.blend" id="3_dlfx2"] [ext_resource type="PackedScene" uid="uid://ci5vs3qhiuf0x" path="res://stages/3d_scenes/common/assets/3d/hub.blend" id="3_mr0dk"] [ext_resource type="Shader" uid="uid://n4s2kr10ivgb" path="res://common/vfx/materials/shaders/underwater.gdshader" id="4_dltk4"] [ext_resource type="PackedScene" uid="uid://da7a74dg30q1l" path="res://entities/player_3d/player_3D.tscn" id="4_k4ak1"] [ext_resource type="PackedScene" uid="uid://c2unmkf4ec4gf" path="res://entities/interactable_3d/ai_receptacle/ai_receptacle.tscn" id="4_m5l0g"] [ext_resource type="Material" uid="uid://ba5cnhu0o1yf5" path="res://stages/3d_scenes/aqua_base/resources/materials/caustic_default_3d.tres" id="4_nydtf"] +[ext_resource type="PackedScene" uid="uid://cypsoytvytdup" path="res://entities/interactable_3d/3d_door/3d_door.tscn" id="9_qe4m5"] [sub_resource type="Environment" id="Environment_m5l0g"] background_mode = 2 @@ -27,7 +29,6 @@ glow_hdr_luminance_cap = 5.63 fog_light_color = Color(0.13725491, 0.39215687, 0.6666667, 1) fog_sky_affect = 0.0 volumetric_fog_enabled = true -volumetric_fog_density = 0.147 volumetric_fog_albedo = Color(0.13725491, 0.39215687, 0.6666667, 1) adjustment_enabled = true adjustment_saturation = 1.3 @@ -40,7 +41,7 @@ shading_mode = 0 albedo_color = Color(0.5882353, 0.7019608, 0.85882354, 1) albedo_texture = ExtResource("2_mr0dk") -[sub_resource type="ViewportTexture" id="ViewportTexture_nydtf"] +[sub_resource type="ViewportTexture" id="ViewportTexture_dlfx2"] viewport_path = NodePath("Screen/SubViewport") [sub_resource type="QuadMesh" id="QuadMesh_m5l0g"] @@ -99,6 +100,68 @@ material = SubResource("StandardMaterial3D_nydtf") size = Vector2(0.1, 0.1) orientation = 2 +[sub_resource type="Animation" id="Animation_dlfx2"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("AreaLight3D:light_energy") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [1.0] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("AreaLight3D2:light_energy") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [1.0] +} + +[sub_resource type="Animation" id="Animation_qe4m5"] +resource_name = "blink" +length = 10.0 +loop_mode = 1 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("AreaLight3D:light_energy") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 1.6999997, 1.9333333, 4.5333333, 4.766667, 7.2999997, 7.5333333), +"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1), +"update": 0, +"values": [1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("AreaLight3D2:light_energy") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0, 3.4666667, 3.7333333), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [1.0, 0.0, 1.0] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_ei7or"] +_data = { +&"RESET": SubResource("Animation_dlfx2"), +&"blink": SubResource("Animation_qe4m5") +} + [node name="AquaBase" type="Node3D" unique_id=1653537813] script = ExtResource("1_dltk4") @@ -110,6 +173,9 @@ transform = Transform3D(997.05176, -55.31525, 53.176765, 60.60978, 992.7559, -10 mesh = SubResource("SphereMesh_nydtf") surface_material_override/0 = SubResource("StandardMaterial3D_u74oo") +[node name="elevator" parent="WorldEnvironment" unique_id=54829698 instance=ExtResource("3_dlfx2")] +transform = Transform3D(0.9437205, 0, -0.33074403, 0, 1, 0, 0.33074403, 0, 0.9437205, 33.362873, -1.240936, 9.956917) + [node name="hub" parent="." unique_id=1785379104 instance=ExtResource("3_mr0dk")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.06701422, 2.5714142, -0.17472172) @@ -118,8 +184,9 @@ surface_material_override/0 = ExtResource("4_nydtf") surface_material_override/1 = ExtResource("4_nydtf") [node name="AiReceptacle" parent="." unique_id=1082354698 instance=ExtResource("4_m5l0g")] +unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.9, -0.34409285) -screen_text = "DOWNLOAD_DATA" +screen_text = "CONNECT_TO_POSEIDON" broken = true [node name="Model" parent="AiReceptacle" index="0" unique_id=154868613] @@ -131,14 +198,11 @@ visible = true [node name="Support" parent="AiReceptacle/ModelBroken" index="5" unique_id=1098621972] surface_material_override/0 = ExtResource("4_nydtf") -[node name="Receptacle" parent="AiReceptacle/ModelBroken" index="6" unique_id=956575790] -surface_material_override/0 = ExtResource("4_nydtf") - [node name="Screen" parent="AiReceptacle" index="3" unique_id=1396407912] -texture = SubResource("ViewportTexture_nydtf") +texture = SubResource("ViewportTexture_dlfx2") [node name="ScreenTitle" parent="AiReceptacle/Screen/SubViewport/ScreenContent/VBoxContainer" parent_id_path=PackedInt32Array(1082354698, 1893636910) index="1" unique_id=443526476] -text = "DOWNLOAD_DATA" +text = "CONNECT_TO_POSEIDON" [node name="SpotLight3D" type="SpotLight3D" parent="AiReceptacle" unique_id=1906884086] transform = Transform3D(1, 0, 0, 0, -0.67415154, -0.73859304, 0, 0.73859304, -0.67415154, 0, 0.66735864, 3.2564082) @@ -154,7 +218,8 @@ light_energy = 0.282 omni_range = 0.90236074 [node name="Player3D" parent="." unique_id=549819967 instance=ExtResource("4_k4ak1")] -transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 32.225853, -2.260468, 9.559124) +transform = Transform3D(0.32746872, 0, 0.944862, 0, 1, 0, -0.944862, 0, 0.32746872, 50.90299, 26.542282, 16.319273) +gravity_factor = 0.1 [node name="Underwater" type="MeshInstance3D" parent="Player3D/Camera3D" parent_id_path=PackedInt32Array(549819967, 2091917091) index="1" unique_id=1179772459] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.55200577) @@ -186,6 +251,35 @@ light_volumetric_fog_energy = 2.507 shadow_enabled = true shadow_blur = 10.0 +[node name="Exit3dDoor" parent="." unique_id=814731756 instance=ExtResource("9_qe4m5")] +unique_name_in_owner = true +transform = Transform3D(0.9659258, 0, 0.25881904, 0, 1, 0, -0.25881904, 0, 0.9659258, -33.924656, -1.5212469, 10.235093) + +[node name="3dDoor2" parent="." unique_id=586173999 instance=ExtResource("9_qe4m5")] +transform = Transform3D(0.96592593, 0, -0.25881907, 0, 1, 0, 0.25881907, 0, 0.96592593, -33.422764, -1.5212469, -10.490751) + +[node name="3dDoor3" parent="." unique_id=400367626 instance=ExtResource("9_qe4m5")] +transform = Transform3D(0.9659258, 0, 0.25881904, 0, 1, 0, -0.25881904, 0, 0.9659258, 33.257763, -1.5212469, -10.375927) + +[node name="3dDoor4" parent="." unique_id=724552378 instance=ExtResource("9_qe4m5")] +transform = Transform3D(0.9400856, 0, -0.3409387, 0, 1, 0, 0.3409387, 0, 0.9400856, 52.61224, 26.647182, 16.93967) + +[node name="AreaLight3D" type="AreaLight3D" parent="." unique_id=938586300] +transform = Transform3D(0.9356459, 0, -0.35294035, 0, 1, 0, 0.35294035, 0, 0.9356459, 44.207127, 13.405382, 7.122408) +area_normalize_energy = false +area_size = Vector2(2.6380386, 37.029243) + +[node name="AreaLight3D2" type="AreaLight3D" parent="." unique_id=1104365666] +transform = Transform3D(-0.9356459, 0, 0.3529404, 0, 1, 0, -0.3529404, 0, -0.9356459, 40.79839, 13.405382, 19.24271) +area_normalize_energy = false +area_size = Vector2(2.6380386, 37.029243) + +[node name="LightAnimationPlayer" type="AnimationPlayer" parent="." unique_id=75847280] +libraries/ = SubResource("AnimationLibrary_ei7or") +autoplay = &"blink" + +[connection signal="clicked" from="AiReceptacle" to="." method="_on_ai_receptacle_clicked"] + [editable path="hub"] [editable path="AiReceptacle"] [editable path="AiReceptacle/ModelBroken"] diff --git a/stages/3d_scenes/aqua_base/scripts/aqua_base.gd b/stages/3d_scenes/aqua_base/scripts/aqua_base.gd index c003307..af74a5c 100644 --- a/stages/3d_scenes/aqua_base/scripts/aqua_base.gd +++ b/stages/3d_scenes/aqua_base/scripts/aqua_base.gd @@ -1,5 +1,27 @@ extends Node3D +const DIALOG_PATH = "res://dialogs/timelines/2_aqua/2_aqua_arrival.dtl" + func _ready(): if not Engine.is_editor_hint(): Input.mouse_mode = Input.MOUSE_MODE_CAPTURED + + %AiReceptacle.screen_turned_on = true + %AiReceptacle.interactable = true + SteamConnection.unlock_achievement(SteamConnection.ACH_STW_REACH_AQUA_BASE) + +func _on_ai_receptacle_clicked(): + %AiReceptacle.screen_turned_on = false + %AiReceptacle.interactable = false + + Dialogic.start(DIALOG_PATH) + + await Dialogic.timeline_ended + + %Exit3dDoor.to_scene = RelayBaseScene.new( + "AQUA_BASE", + "005", + ) + %Exit3dDoor.interactable = true + + AudioManager.play_sfx("DoorOpen") diff --git a/stages/3d_scenes/astra_base/astra_end_base.tscn b/stages/3d_scenes/astra_base/astra_end_base.tscn new file mode 100644 index 0000000..ab48f00 --- /dev/null +++ b/stages/3d_scenes/astra_base/astra_end_base.tscn @@ -0,0 +1,3 @@ +[gd_scene format=3 uid="uid://d07wxwvl7nuhw"] + +[node name="AstraEndBase" type="Node3D" unique_id=227915094] diff --git a/stages/3d_scenes/borea_base/borea_base.tscn b/stages/3d_scenes/borea_base/borea_base.tscn index ca7e37c..0ca2e7d 100644 --- a/stages/3d_scenes/borea_base/borea_base.tscn +++ b/stages/3d_scenes/borea_base/borea_base.tscn @@ -6,15 +6,16 @@ [ext_resource type="PackedScene" uid="uid://da7a74dg30q1l" path="res://entities/player_3d/player_3D.tscn" id="3_xd71i"] [ext_resource type="PackedScene" uid="uid://ci5vs3qhiuf0x" path="res://stages/3d_scenes/common/assets/3d/hub.blend" id="5_fevne"] [ext_resource type="Texture2D" uid="uid://bvmbbyadi5b4l" path="res://dialogs/characters/portraits/demeter.png" id="6_jcdon"] -[ext_resource type="PackedScene" uid="uid://cah00gew65ire" path="res://stages/3d_scenes/common/assets/3d/door.blend" id="7_s7tqr"] [ext_resource type="PackedScene" uid="uid://7pitc7kjmffv" path="res://stages/3d_scenes/common/assets/3d/corridor.blend" id="8_2ei4e"] -[ext_resource type="PackedScene" uid="uid://cepouw76en6r" path="res://stages/3d_scenes/common/assets/3d/room.blend" id="9_hlox4"] +[ext_resource type="Script" uid="uid://cnpm8ciojdjxf" path="res://common/scene_manager/scripts/scenes/relay_base_scene.gd" id="9_3jpm4"] [ext_resource type="ArrayMesh" uid="uid://u78be56ih8xw" path="res://stages/3d_scenes/common/assets/3d/moss.res" id="10_vetlt"] [ext_resource type="ArrayMesh" uid="uid://cb5tklxnk2dek" path="res://stages/3d_scenes/common/assets/3d/plant.res" id="12_0dh60"] [ext_resource type="ArrayMesh" uid="uid://3pwvp242qwvv" path="res://stages/3d_scenes/common/assets/3d/falling_plant.res" id="12_67c4d"] +[ext_resource type="Script" uid="uid://bj4d1x8n8ina" path="res://entities/interactable_3d/interactable_3d.gd" id="12_jcdon"] +[ext_resource type="AudioStream" uid="uid://dsqdt1ddvlyal" path="res://common/audio_manager/assets/sfx/borea_lever/borea_lever.mp3" id="13_3jpm4"] [ext_resource type="PackedScene" uid="uid://brckina5otmj6" path="res://stages/3d_scenes/common/assets/3d/communication.blend" id="13_67c4d"] [ext_resource type="PackedScene" uid="uid://c2unmkf4ec4gf" path="res://entities/interactable_3d/ai_receptacle/ai_receptacle.tscn" id="13_antnu"] -[ext_resource type="PackedScene" uid="uid://c5a32n6rjjlnt" path="res://gui/credits/credits.tscn" id="15_jcdon"] +[ext_resource type="PackedScene" uid="uid://cypsoytvytdup" path="res://entities/interactable_3d/3d_door/3d_door.tscn" id="14_antnu"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_2ei4e"] shader = ExtResource("3_c8vcx") @@ -85,6 +86,10 @@ albedo_texture = ExtResource("2_rsbui") [sub_resource type="CompressedTexture2D" id="CompressedTexture2D_antnu"] load_path = "res://.godot/imported/server-2.svg-157f45e1edc7f985a184d2ca4c7433c5.ctex" +[sub_resource type="Resource" id="Resource_3jpm4"] +script = ExtResource("9_3jpm4") +metadata/_custom_type_script = "uid://cnpm8ciojdjxf" + [sub_resource type="PointMesh" id="PointMesh_67c4d"] [sub_resource type="MultiMesh" id="MultiMesh_0dh60"] @@ -132,12 +137,99 @@ instance_count = 128 mesh = ExtResource("12_0dh60") buffer = PackedFloat32Array(0.7400677, -0.10821047, -0.48917124, 3.6737647, 0.11986516, 0.885505, -0.014540042, 0.72170067, 0.4864466, -0.05356833, 0.74779564, 3.1067052, -0.3688318, -0.08159002, -0.55800647, -7.2780523, -0.010963066, 0.6676652, -0.09037759, -1.0315683, 0.5638333, -0.04039019, -0.36677748, -3.7523336, 0.46225378, -0.06758935, -0.3055413, 5.0757937, 0.07486899, 0.5530954, -0.009081857, 0.86364084, 0.30383947, -0.03345932, 0.46708074, 2.62087, -0.46784696, -0.10349335, -0.70780677, 0.6015661, -0.013906167, 0.846904, -0.11463999, 0.22637184, 0.7151978, -0.05123318, -0.46524116, 1.1247118, 0.86232066, -0.12608592, -0.5699782, 3.0088415, 0.13966587, 1.031783, -0.016941933, 0.59813267, 0.56680346, -0.062417366, 0.8713252, 2.4072547, -0.6226717, -0.13774246, -0.9420415, -5.936055, -0.01850814, 1.1271702, -0.15257786, -0.868377, 0.9518785, -0.0681878, -0.61920357, -3.765615, -0.28971547, -0.06408853, -0.4383112, -3.9145544, -0.00861143, 0.5244475, -0.07099112, -0.48469192, 0.44288814, -0.031726282, -0.28810182, -1.5066763, 1.0546542, -0.15420832, -0.6971072, 6.5029235, 0.1708172, 1.2619138, -0.020720618, 1.1116557, 0.6932244, -0.07633911, 1.0656672, 3.8377821, -0.7577765, -0.16762923, -1.1464418, -2.2415905, -0.02252396, 1.3717389, -0.18568356, -0.22182402, 1.1584132, -0.082982905, -0.75355583, -0.54083216, -0.5849354, -0.12939468, -0.8849501, 0.58097136, -0.017386476, 1.0588593, -0.143331, 0.22217341, 0.89419097, -0.06405533, -0.58167744, 1.0969118, 1.0685387, -0.15623848, -0.7062845, 3.8588428, 0.17306599, 1.2785267, -0.020993479, 0.75029397, 0.70235056, -0.077344045, 1.0796965, 3.205499, 1.1744125, -0.171719, -0.7762652, 6.530828, 0.19021386, 1.4052068, -0.023073489, 1.1131067, 0.7719415, -0.085007586, 1.1866759, 3.8054008, 0.98892653, -0.14459784, -0.6536624, 5.1639895, 0.16017161, 1.1832693, -0.019429348, 0.95335585, 0.65002155, -0.07158148, 0.99925315, 3.925734, -0.41233662, -0.09121377, -0.6238248, 4.8851266, -0.012256207, 0.7464182, -0.10103785, 0.9388617, 0.63033885, -0.045154314, -0.41004, 4.2494574, 1.159172, -0.16949059, -0.76619154, 5.6828585, 0.18774544, 1.3869712, -0.022774061, 1.0572895, 0.7619239, -0.08390443, 1.1712763, 4.595656, 0.8245805, -0.120567635, -0.5450326, 6.050351, 0.13355328, 0.98662615, -0.016200397, 1.061455, 0.54199684, -0.059685666, 0.8331909, 3.9221659, 0.54533273, -0.0797369, -0.36045498, 3.519806, 0.08832488, 0.6525009, -0.010714102, 0.6690604, 0.35844728, -0.039472826, 0.55102724, 2.5475466, -0.3984436, -0.0881405, -0.60280627, -3.077298, -0.011843239, 0.72126895, -0.09763359, -0.4156485, 0.6091009, -0.043632936, -0.39622438, -2.056659, 1.0819854, -0.15820463, -0.71517247, 0.8126595, 0.17524388, 1.294616, -0.021257667, 0.22300115, 0.711189, -0.078317344, 1.0932838, 0.64257455, 0.505438, -0.07390363, -0.3340852, -2.0635738, 0.081863336, 0.6047661, -0.009930293, -0.28389227, 0.33222443, -0.03658512, 0.5107159, -1.9264452, 0.61062634, -0.08928392, -0.40361285, 6.6326494, 0.09890018, 0.730626, -0.0119968755, 1.1222652, 0.40136477, -0.044199012, 0.61700267, 3.75111, 0.56409997, -0.082480974, -0.37285978, 6.073614, 0.091364525, 0.6749563, -0.01108278, 1.089431, 0.370783, -0.04083129, 0.56999046, 4.337626, 1.0021328, -0.14652884, -0.6623912, 2.0467584, 0.16231056, 1.1990707, -0.01968881, 0.43636972, 0.6587018, -0.072537355, 1.0125972, 1.6767037, -0.4279224, -0.09466156, -0.64740473, -6.7763915, -0.012719459, 0.77463186, -0.10485699, -0.9709137, 0.6541651, -0.04686111, -0.42553896, -3.7630677, 0.9667799, -0.14135964, -0.63902384, 3.167149, 0.15658464, 1.1567705, -0.018994235, 0.5700434, 0.6354646, -0.069978446, 0.9768751, 1.62314, -0.6960936, -0.15398425, -1.0531216, -3.300054, -0.020690514, 1.2600796, -0.17056897, -0.4419993, 1.0641185, -0.07622812, -0.6922165, -2.0422697, 0.44389415, -0.06490486, -0.29340583, -1.1313846, 0.071895376, 0.5311277, -0.008721142, -0.11229056, 0.29177162, -0.03213039, 0.44852936, -0.9728687, 1.043644, -0.15259847, -0.6898296, 4.3806543, 0.16903393, 1.2487397, -0.020504376, 0.7945119, 0.6859873, -0.07554209, 1.054542, 2.8823552, 0.42082623, -0.06153192, -0.27815843, 5.6840487, 0.06815917, 0.5035265, -0.008267903, 1.0440348, 0.27660912, -0.030460693, 0.42522058, 4.3741493, 1.0927207, -0.15977432, -0.7222681, 2.0767434, 0.17698264, 1.3074609, -0.021468582, 0.41594532, 0.7182452, -0.07909438, 1.1041311, 1.2785094, 0.5381807, -0.078691155, -0.3557276, 3.4866605, 0.0871665, 0.64394337, -0.010573586, 0.6298723, 0.35374624, -0.03895514, 0.54380053, 1.9667087, -0.7803363, -0.17261975, -1.1805725, -6.82928, -0.023194522, 1.412577, -0.19121158, -0.9703615, 1.1929003, -0.0854534, -0.77598995, -3.6471033, 0.46046004, -0.067327075, -0.30435568, 4.715414, 0.074578464, 0.55094916, -0.009046616, 0.8053718, 0.30266044, -0.033329487, 0.46526828, 2.3856435, -0.6145599, -0.13594799, -0.9297694, 3.296612, -0.018267002, 1.1124862, -0.15059015, 0.6633893, 0.9394781, -0.067299485, -0.6111369, 2.9046638, -0.7753424, -0.17151503, -1.1730173, -4.9769583, -0.023046086, 1.403537, -0.18998788, -0.72258, 1.1852661, -0.084906526, -0.77102387, -3.292954, -0.48597604, -0.10750371, -0.7352345, 3.3313148, -0.014445012, 0.8797217, -0.11908231, 0.68517554, 0.7429119, -0.053218473, -0.48326924, 3.1946964, 0.55918527, -0.08176239, -0.36961126, 2.2694802, 0.09056852, 0.6690758, -0.010986261, 0.4133136, 0.3675526, -0.04047552, 0.5650244, 0.8456681, 0.93340755, -0.13648003, -0.61696535, 3.336824, 0.15117946, 1.1168398, -0.01833857, 0.659824, 0.6135289, -0.06756285, 0.9431544, 2.764497, 0.6129319, -0.089621045, -0.40513676, 4.1760416, 0.099273585, 0.7333846, -0.012042216, 0.75931716, 0.4028802, -0.044365857, 0.61933225, 2.713898, -0.2899193, -0.06413362, -0.43861952, -4.56942, -0.008617489, 0.52481645, -0.07104107, -0.66722906, 0.4431997, -0.031748604, -0.28830448, -3.2012284, -0.30808684, -0.06815249, -0.46610525, 1.2587237, -0.0091575, 0.5577037, -0.075492784, 0.34859967, 0.47097242, -0.0337381, -0.30637088, 1.8176955, -0.81874335, -0.18111584, -1.2386787, -4.3989577, -0.024336124, 1.482102, -0.20062274, -0.5708795, 1.2516131, -0.089659296, -0.8141831, -1.9528725, -0.28707743, -0.063504964, -0.4343201, -5.2210484, -0.008533018, 0.5196721, -0.07034471, -0.7471807, 0.43885535, -0.031437397, -0.28547844, -3.2065396, 0.9202408, -0.13455483, -0.60826236, -3.8971558, 0.14904691, 1.1010855, -0.018079886, -0.56989217, 0.60487443, -0.0666098, 0.92985016, -2.9502149, 0.59840703, -0.087497264, -0.3955361, 2.629138, 0.096921064, 0.7160053, -0.011756847, 0.53632915, 0.39333302, -0.0433145, 0.60465574, 2.152638, 0.9842003, -0.14390679, -0.6505382, -1.9518499, 0.15940613, 1.1776141, -0.01933649, -0.23758781, 0.64691484, -0.07123936, 0.99447745, -1.386703, -0.7735219, -0.17111233, -1.170263, 2.2223248, -0.022991974, 1.4002416, -0.1895418, 0.48179704, 1.1824832, -0.08470717, -0.76921356, 2.0729823, 1.114507, -0.16295984, -0.7366687, 3.6643128, 0.18051127, 1.3335286, -0.021896614, 0.64325213, 0.7325656, -0.08067138, 1.1261448, 1.829015, -0.57957697, -0.12820937, -0.87684333, -6.014355, -0.017227203, 1.0491594, -0.14201804, -0.91306496, 0.8859995, -0.06346856, -0.57634884, -4.3461537, -0.32777852, -0.07250853, -0.49589685, 0.06969547, -0.009742807, 0.5933498, -0.08031798, 0.115018785, 0.5010751, -0.035894506, -0.32595286, 0.35840607, -0.6361038, -0.1407138, -0.96236295, 2.0580587, -0.018907392, 1.1514852, -0.15586923, 0.45684433, 0.9724121, -0.06965873, -0.63256085, 1.9923291, 0.9840686, -0.14388753, -0.65045124, 0.33732176, 0.15938477, 1.1774566, -0.019333905, 0.13384145, 0.6468283, -0.07122983, 0.9943444, 0.12893438, 0.49742773, -0.07273238, -0.32879063, 3.5001478, 0.08056595, 0.5951817, -0.009772916, 0.6146537, 0.32695934, -0.036005322, 0.50262195, 1.6878936, -0.7273557, -0.1608998, -1.1004181, -4.406911, -0.02161974, 1.3166708, -0.17822936, -0.60348874, 1.1119089, -0.07965158, -0.7233045, -2.475851, -0.6080511, -0.13450818, -0.9199219, 1.1407061, -0.018073568, 1.1007037, -0.14899524, 0.29934698, 0.9295279, -0.06658671, -0.60466444, 1.2419311, -0.6383327, -0.14120686, -0.9657351, -4.9676437, -0.018973645, 1.15552, -0.1564154, -0.70320696, 0.97581947, -0.069902815, -0.63477737, -2.991525, 0.81083095, -0.118557245, -0.53594416, 3.1447861, 0.13132632, 0.9701745, -0.01593032, 0.61387473, 0.53295904, -0.058690354, 0.81929785, 2.3928642, -0.5587436, -0.12360079, -0.84532446, -4.3883524, -0.016607957, 1.0114465, -0.13691309, -0.56550306, 0.85415155, -0.061187133, -0.5556315, -1.8854232, 0.6718681, -0.09823851, -0.4440923, 2.1505263, 0.10881918, 0.8039028, -0.013200128, 0.46362072, 0.44161874, -0.048631806, 0.67888385, 1.9175568, -0.7165348, -0.15850605, -1.0840471, 0.7700481, -0.02129811, 1.2970825, -0.17557779, 0.27146214, 1.095367, -0.07846659, -0.71254385, 1.5297307, -0.8034113, -0.17772421, -1.2154828, -3.676611, -0.023880398, 1.4543478, -0.19686583, -0.4631071, 1.2281752, -0.08798031, -0.7989365, -1.6305282, -0.73031425, -0.16155428, -1.1048942, -5.667938, -0.02170768, 1.3220264, -0.17895432, -0.86239433, 1.1164317, -0.07997557, -0.72624654, -4.2083282, -0.5316387, -0.117604844, -0.80431736, -4.9661045, -0.015802296, 0.9623807, -0.13027136, -0.6619804, 0.8127162, -0.058218915, -0.5286775, -2.3131433, 0.71780705, -0.10495557, -0.47445732, 4.9856434, 0.1162597, 0.8588697, -0.014102688, 0.93676233, 0.47181463, -0.051957034, 0.7253025, 4.011703, -0.7997971, -0.1769247, -1.2100149, -4.125472, -0.023772972, 1.4478054, -0.1959802, -0.60273635, 1.2226502, -0.087584525, -0.7953424, -3.0319345, 0.4817278, -0.07043678, -0.31841326, 4.4813943, 0.0780231, 0.5763964, -0.009464461, 0.8209716, 0.31663975, -0.03486891, 0.4867581, 3.1162455, 1.034395, -0.15124606, -0.6837161, 5.898754, 0.1675359, 1.237673, -0.020322585, 1.0216286, 0.6799079, -0.07487268, 1.0451963, 3.5700507, -0.7704956, -0.17044286, -1.1656845, -7.0421257, -0.02290202, 1.3947632, -0.18880023, -1.0130465, 1.1778568, -0.08437576, -0.76620406, -3.9227445, -0.30819795, -0.068177074, -0.46627337, 0.5173899, -0.009160799, 0.5579048, -0.075520016, 0.21471785, 0.4711423, -0.03375027, -0.30648133, 1.1021065, -0.7950741, -0.17587994, -1.2028697, -0.04073089, -0.023632573, 1.439256, -0.19482292, 0.14210086, 1.2154303, -0.08706733, -0.7906457, 1.0291488, 0.9409027, -0.13757595, -0.6219195, 4.7631645, 0.15239342, 1.1258079, -0.018485827, 0.887761, 0.61845547, -0.06810537, 0.9507278, 3.651111, -0.4038891, -0.08934511, -0.6110448, 0.26541355, -0.012005093, 0.73112655, -0.09896794, 0.18476403, 0.6174255, -0.044229258, -0.40163952, 1.1159618, 0.910314, -0.13310337, -0.60170066, 2.912975, 0.14743912, 1.0892079, -0.017884854, 0.51969814, 0.5983493, -0.06589124, 0.91981965, 1.3043547, 1.1446605, -0.1673688, -0.7565999, -4.284666, 0.18539509, 1.3696082, -0.022489045, -0.63995177, 0.7523857, -0.082853995, 1.1566133, -3.3255382, -0.48131344, -0.10647228, -0.72818017, -0.67770886, -0.014306441, 0.87128115, -0.11793978, 0.014079943, 0.735784, -0.05270787, -0.4786326, 0.19963837, 0.7153847, -0.1046014, -0.47285622, 1.6529808, 0.115867384, 0.8559714, -0.014055097, 0.31925875, 0.4702225, -0.051781707, 0.72285485, 0.5362624, -0.67685807, -0.1497291, -1.0240202, -1.3421545, -0.020118762, 1.2252592, -0.16585553, -0.08301705, 1.0347131, -0.074121654, -0.67308813, -0.06320143, -0.53276795, -0.11785466, -0.80602586, 0.586149, -0.015835863, 0.96442497, -0.13054809, 0.2250164, 0.8144425, -0.058342587, -0.52980053, 1.1334496, 1.0715247, -0.15667507, -0.7082583, 5.5171413, 0.17354964, 1.2820996, -0.021052068, 1.0053455, 0.70431334, -0.077560246, 1.0827138, 4.0717583, 0.7089626, -0.10366237, -0.46861133, 2.3743515, 0.11482723, 0.8482872, -0.013928922, 0.4526419, 0.46600127, -0.051316857, 0.7163657, 1.2839341, 1.1675122, -0.1707101, -0.7717042, 3.9592314, 0.18909626, 1.3969504, -0.022938004, 0.709335, 0.7674059, -0.08450805, 1.1797036, 2.3256426, -0.5913269, -0.13080858, -0.8946198, -0.66694236, -0.017576454, 1.0704293, -0.1448972, 0.024135813, 0.9039616, -0.06475527, -0.5880333, 0.34411716, 0.5308717, -0.077622436, -0.35089648, 5.781532, 0.085982695, 0.635198, -0.010429949, 1.0012652, 0.348942, -0.038426124, 0.53641516, 3.4702303, 0.7209124, -0.10540963, -0.47650993, 5.568425, 0.11676267, 0.8625853, -0.014163699, 0.9666637, 0.47385582, -0.05218181, 0.72844034, 3.3287382, -0.5239234, -0.115898125, -0.7926449, -2.2505875, -0.015572969, 0.9484144, -0.12838082, -0.24386653, 0.80092186, -0.05737402, -0.5210053, -0.8870293, 0.65149903, -0.09526022, -0.43062884, -0.4935913, 0.10552012, 0.7795308, -0.012799934, -0.020278454, 0.42823032, -0.047157455, 0.65830207, -0.7402444, 0.44596416, -0.06520753, -0.29477414, 4.507818, 0.07223064, 0.53360456, -0.008761816, 0.7812091, 0.2931323, -0.03228023, 0.450621, 2.4055786, -0.6749537, -0.14930785, -1.021139, -6.3392725, -0.020062156, 1.2218119, -0.1653889, -0.95715934, 1.0318019, -0.07391312, -0.6711943, -4.4187036, -0.6588445, -0.14574426, -0.9967672, -0.03573191, -0.019583337, 1.1926507, -0.1614415, 0.12131706, 1.0071757, -0.07214901, -0.65517485, 0.6754869, -0.45307958, -0.10022661, -0.68546516, 0.5722381, -0.013467225, 0.82017183, -0.11102142, 0.21237448, 0.6926229, -0.04961602, -0.45055604, 0.9525746, 1.0124091, -0.1480314, -0.6691838, 0.9876747, 0.16397496, 1.2113667, -0.019890709, 0.25877196, 0.66545653, -0.073281206, 1.0229809, 0.8803408, -0.38561302, -0.085302226, -0.5833948, -4.4559913, -0.011461866, 0.6980428, -0.09448961, -0.60669565, 0.5894868, -0.042227875, -0.38346523, -2.429718, 1.1065177, -0.16179167, -0.7313876, 1.8056676, 0.17921726, 1.3239691, -0.021739649, 0.3435662, 0.72731394, -0.08009304, 1.118072, 0.6296406, -0.5525689, -0.122234836, -0.83598286, -1.9172744, -0.016424416, 1.0002689, -0.13540003, -0.17941618, 0.8447123, -0.06051094, -0.54949117, -0.4949479, -0.71790767, -0.15880978, -1.0861242, -6.9260674, -0.02133891, 1.2995678, -0.17591423, -0.97712505, 1.0974656, -0.07861694, -0.7139091, -3.5633912, 0.45968196, -0.06721329, -0.30384138, 6.086944, 0.074452445, 0.55001813, -0.009031296, 1.0260369, 0.302149, -0.03327319, 0.46448207, 3.2627666, -0.6336799, -0.1401776, -0.95869577, -6.209899, -0.018835345, 1.1470973, -0.15527529, -0.9152964, 0.96870667, -0.06939329, -0.63015044, -3.9880342, -0.35554552, -0.0786509, -0.53790545, -6.113373, -0.010568161, 0.64361405, -0.08712191, -0.9425452, 0.54352236, -0.038935214, -0.35356522, -4.633454, -0.38279715, -0.08467931, -0.5791347, -1.0814674, -0.011378168, 0.6929455, -0.09379961, -0.07009554, 0.58518213, -0.04191951, -0.38066506, -0.37620378, 0.97833174, -0.14304872, -0.64665926, -1.7293258, 0.15845563, 1.1705923, -0.019221192, -0.19952327, 0.64305747, -0.07081458, 0.9885476, -1.2069898, 1.0563067, -0.15444997, -0.6981994, 4.002619, 0.17108484, 1.2638909, -0.020753158, 0.74578094, 0.6943105, -0.076458655, 1.0673368, 2.840462, -0.69638526, -0.15404877, -1.0535629, -5.807413, -0.020699183, 1.2606076, -0.17064044, -0.86150527, 1.0645643, -0.07626005, -0.69250655, -3.911885, -0.56244564, -0.12441971, -0.85092527, -5.318806, -0.016717995, 1.018148, -0.13782021, -0.777305, 0.8598108, -0.061592534, -0.55931294, -3.50703, 0.4681016, -0.068444386, -0.3094066, 5.5303454, 0.07581613, 0.5600924, -0.0091967145, 1.0031724, 0.30768323, -0.033882633, 0.47298962, 4.0091624, 1.0084898, -0.14745834, -0.6665932, -0.7725091, 0.1633402, 1.2066771, -0.019813696, -0.0688079, 0.6628804, -0.072997525, 1.0190207, -0.979028, 1.1339626, -0.16580454, -0.7495285, 5.6432724, 0.18366238, 1.3568076, -0.022278775, 1.0097176, 0.74535376, -0.08207969, 1.1458037, 3.8892398, -0.79665554, -0.17622976, -1.205262, -4.688964, -0.023679592, 1.4421184, -0.19521041, -0.638146, 1.2178476, -0.087240495, -0.7922183, -2.4789882, 0.94418734, -0.13805622, -0.62409025, 2.3324678, 0.15292542, 1.1297379, -0.01855036, 0.41656488, 0.62061423, -0.068343095, 0.95404667, 0.7721759, -0.6432214, -0.14228828, -0.9731311, -5.5490465, -0.019118953, 1.1643696, -0.1576133, -0.83910894, 0.98329276, -0.07043816, -0.6396388, -4.0635777, -0.5402357, -0.11950662, -0.81732386, -5.253887, -0.016057832, 0.97794324, -0.13237795, -0.79448557, 0.82585853, -0.059160363, -0.53722674, -3.922171, -0.3288627, -0.07274837, -0.49753714, 3.3647156, -0.009775033, 0.5953124, -0.08058366, 0.677634, 0.5027325, -0.036013238, -0.327031, 3.0025616, -0.7037208, -0.15567148, -1.0646608, -5.866248, -0.020917222, 1.2738864, -0.17243792, -0.89212036, 1.0757782, -0.07706336, -0.6998012, -4.2991147, -0.47529295, -0.105140485, -0.7190718, -0.66159296, -0.01412749, 0.8603828, -0.11646454, 0.012375057, 0.7265805, -0.05204858, -0.47264567, 0.13890135, 1.0649651, -0.15571597, -0.7039223, 0.05405426, 0.1724872, 1.2742506, -0.020923259, 0.062196434, 0.70000154, -0.07708537, 1.0760856, -0.48317266, 0.65601015, -0.095919795, -0.4336107, 5.566625, 0.10625076, 0.7849285, -0.012888523, 1.0309687, 0.43119553, -0.04748403, 0.66286033, 4.3953595, -0.58972716, -0.1304547, -0.8921996, -2.1029477, -0.017528905, 1.0675334, -0.1445052, -0.19181652, 0.90151614, -0.06458009, -0.58644253, -0.32486254, -0.55905634, -0.12366995, -0.84579766, -1.5750189, -0.016617252, 1.0120126, -0.1369897, -0.113418624, 0.85462964, -0.061221376, -0.55594254, -0.09535506, 0.57393724, -0.08391937, -0.37936205, 4.9379764, 0.09295782, 0.68672675, -0.011276091, 0.8545227, 0.37724903, -0.04154331, 0.5799304, 2.7485409, -0.32860613, -0.072691604, -0.49714896, -3.0299945, -0.009767408, 0.59484804, -0.08052079, -0.3714603, 0.5023403, -0.03598514, -0.32677585, -1.4217651, 0.6995579, -0.10228721, -0.46239498, 5.6504745, 0.113303974, 0.8370342, -0.013744098, 1.0267692, 0.45981947, -0.050636146, 0.7068628, 4.156561, -0.77114135, -0.1705857, -1.1666615, -3.7788897, -0.022921214, 1.3959322, -0.18895848, -0.51977754, 1.1788441, -0.084446475, -0.76684624, -2.3607047, -0.41784787, -0.09243297, -0.632163, 0.43543264, -0.012420006, 0.7563948, -0.10238837, 0.2176113, 0.6387642, -0.04575787, -0.41552055, 1.3154936, -0.62798375, -0.13891752, -0.950078, -0.51002, -0.018666033, 1.1367861, -0.1538795, 0.034912825, 0.95999897, -0.0687695, -0.62448597, 0.20527482, -0.37426966, -0.08279293, -0.56623346, -2.3162313, -0.011124698, 0.67750883, -0.09171006, -0.25476754, 0.5721462, -0.040985677, -0.37218505, -0.9346243, 0.81847256, -0.11967457, -0.5409953, 0.22050738, 0.132564, 0.97931784, -0.016080447, 0.10833722, 0.537982, -0.059243497, 0.8270192, -0.056689978, 0.41804498, -0.061125256, -0.2763201, 5.6675467, 0.06770871, 0.5001987, -0.00821326, 1.0474652, 0.27478102, -0.030259378, 0.42241028, 4.464189, 0.8822727, -0.12900326, -0.5831662, 3.8746362, 0.14289741, 1.055656, -0.01733393, 0.7527732, 0.57991797, -0.06386156, 0.89148563, 3.2145777, 0.6034223, -0.08823059, -0.39885092, 2.3510935, 0.09773336, 0.72200614, -0.011855382, 0.45911413, 0.39662942, -0.043677505, 0.6097233, 1.4379056) -[node name="BoreaBase" type="Node3D" unique_id=628999030] +[sub_resource type="BoxShape3D" id="BoxShape3D_g4v7s"] +size = Vector3(1, 1.6564941, 1.2410889) + +[sub_resource type="Animation" id="Animation_jcdon"] +resource_name = "PassDays" +length = 4.0 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("ColorRect:modulate:a") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 1.5, 2.6666667, 4), +"transitions": PackedFloat32Array(1, 1, 1, 1), +"update": 0, +"values": [0.0, 1.0, 1.0, 0.0] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("..:show_plants") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0, 2), +"transitions": PackedFloat32Array(1, 1), +"update": 1, +"values": [false, true] +} +tracks/2/type = "bezier" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("%Sun:rotation:x") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"handle_modes": PackedInt32Array(2, 2), +"points": PackedFloat32Array(-0.44, -0.25000778, 0.008583318, 2.5333333, -0.08697492, 40.24, -2.9333334, -0.14252472, 0, 0), +"times": PackedFloat32Array(0, 4) +} + +[sub_resource type="Animation" id="Animation_3jpm4"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("ColorRect:modulate:a") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [0.0] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("..:show_plants") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [false] +} +tracks/2/type = "bezier" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("%Sun:rotation:x") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"handle_modes": PackedInt32Array(0), +"points": PackedFloat32Array(-0.44, -0.25, 0, 0.25, 0), +"times": PackedFloat32Array(0) +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_pnewi"] +_data = { +&"PassDays": SubResource("Animation_jcdon"), +&"RESET": SubResource("Animation_3jpm4") +} + +[node name="BoreaBase" type="Node3D" unique_id=628999030 node_paths=PackedStringArray("communication_lever_animation_player")] script = ExtResource("1_xd71i") +communication_lever_animation_player = NodePath("borea_base_hub/CommunicationModel/AnimationPlayer") [node name="Sun" type="DirectionalLight3D" parent="." unique_id=1663715456] unique_name_in_owner = true -transform = Transform3D(-0.7631158, 0.25391632, -0.5942902, -0.49361107, -0.8225597, 0.28238884, -0.4171361, 0.5088434, 0.75304425, -6.8596926, 14.862026, 0.5521965) +transform = Transform3D(-0.86032605, -0.14010645, 0.4901113, 0.09614253, 0.8996288, 0.42593938, -0.5005952, 0.41356733, -0.76050395, -6.8596926, 14.862026, 0.5521965) shadow_enabled = true shadow_bias = 0.0 shadow_blur = 0.8 @@ -155,6 +247,7 @@ surface_material_override/0 = SubResource("StandardMaterial3D_s7tqr") transform = Transform3D(0.2701804, 0, -0.96280974, 0, 1, 0, 0.96280974, 0, 0.2701804, 0, 2.2198172, 0) [node name="AiReceptacle" parent="borea_base_hub" unique_id=1082354698 instance=ExtResource("13_antnu")] +unique_name_in_owner = true transform = Transform3D(0.2701804, 0, 0.96280974, 0, 1, 0, -0.96280974, 0, 0.2701804, 0, -6.516397, 0) screen_icon = SubResource("CompressedTexture2D_antnu") screen_text = "CONNECT_TO_DEMETER" @@ -166,23 +259,19 @@ billboard = 2 alpha_cut = 1 texture = ExtResource("6_jcdon") -[node name="borea_base_door" parent="borea_base_hub" unique_id=2065501623 instance=ExtResource("7_s7tqr")] -transform = Transform3D(0.9560697, 0, 0.29313934, 0, 1, 0, -0.29313934, 0, 0.9560697, -31.896538, -4.554616, 9.663141) - -[node name="borea_base_door3" parent="borea_base_hub" unique_id=1376352277 instance=ExtResource("7_s7tqr")] -transform = Transform3D(-0.96280974, 0, 0.27018037, 0, 1, 0, -0.27018037, 0, -0.96280974, 90.70357, -4.238233, 26.383053) - [node name="borea_base_corridor" parent="borea_base_hub" unique_id=1744755235 instance=ExtResource("8_2ei4e")] transform = Transform3D(0.2701804, 0, 0.96280974, 0, 1, 0, -0.96280974, 0, 0.2701804, 81.22702, -5.980817, 23.750223) -[node name="borea_base_room" parent="borea_base_hub" unique_id=1619509238 instance=ExtResource("9_hlox4")] -transform = Transform3D(-0.96280974, 0, 0.27018037, 0, 1, 0, -0.27018037, 0, -0.96280974, -45.26237, -4.9913235, -13.5056095) +[node name="Exit3dDoor" parent="borea_base_hub" unique_id=814731756 instance=ExtResource("14_antnu")] +unique_name_in_owner = true +transform = Transform3D(0.9641713, 0, 0.2652806, 0, 1, 0, -0.2652806, 0, 0.9641713, -33.317116, -4.1291647, 10.333275) -[node name="communication" parent="borea_base_hub" unique_id=2008113291 instance=ExtResource("13_67c4d")] -transform = Transform3D(0.96053207, 0, 0.2781697, 0, 1, 0, -0.2781697, 0, 0.96053207, 34.811417, -6.5185328, -10.564589) +[node name="3dDoor2" parent="borea_base_hub" unique_id=703514139 instance=ExtResource("14_antnu")] +transform = Transform3D(0.9650166, 0, -0.2621892, 0, 1, 0, 0.2621892, 0, 0.9650166, -33.407913, -4.381092, -10.258134) +to_scene = SubResource("Resource_3jpm4") -[node name="Lever" parent="borea_base_hub/communication" index="3" unique_id=424103656] -transform = Transform3D(1, 0, 0, 0, 1, -2.0727045e-09, 0, 2.0727045e-09, 1, 21.938557, 1.46437, 0) +[node name="3dDoor3" parent="borea_base_hub" unique_id=87456926 instance=ExtResource("14_antnu")] +transform = Transform3D(0.9676372, 0, -0.25234592, 0, 1, 0, 0.25234592, 0, 0.9676372, 90.961, -4.2550783, 26.41674) [node name="Details" type="Node3D" parent="borea_base_hub" unique_id=543546809] transform = Transform3D(0.2701804, 0, 0.96280974, 0, 1, 0, -0.96280974, 0, 0.2701804, 0, -2.2198172, 0) @@ -190,7 +279,7 @@ transform = Transform3D(0.2701804, 0, 0.96280974, 0, 1, 0, -0.96280974, 0, 0.270 [node name="MeshInstance3D" type="MeshInstance3D" parent="borea_base_hub/Details" unique_id=937201602] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -32.98448, -2.3797207, 61.91548) mesh = SubResource("PointMesh_67c4d") -skeleton = NodePath("../Plant2") +skeleton = NodePath("") [node name="Moss" type="Node3D" parent="borea_base_hub/Details" unique_id=1983087250] @@ -315,14 +404,6 @@ multimesh = SubResource("MultiMesh_4atk4") transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.555825, -3.8082914, 54.952164) multimesh = SubResource("MultiMesh_4atk4") -[node name="NotDenseMossMultiMesh7" type="MultiMeshInstance3D" parent="borea_base_hub/Details/Moss" unique_id=299488302] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.643795, -3.84704, -57.903755) -multimesh = SubResource("MultiMesh_4atk4") - -[node name="NotDenseMossMultiMesh8" type="MultiMeshInstance3D" parent="borea_base_hub/Details/Moss" unique_id=1349299] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.09216595, -3.8470404, -41.219547) -multimesh = SubResource("MultiMesh_4atk4") - [node name="NotDenseMossMultiMesh4" type="MultiMeshInstance3D" parent="borea_base_hub/Details/Moss" unique_id=1943427008] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.016938, -4.4144917, 10.036061) multimesh = SubResource("MultiMesh_4atk4") @@ -336,6 +417,8 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.3476973, -4.4144917, -9.832 multimesh = SubResource("MultiMesh_4atk4") [node name="Plant" type="Node3D" parent="borea_base_hub/Details" unique_id=1861201895] +unique_name_in_owner = true +visible = false [node name="MeshInstance3D" type="MeshInstance3D" parent="borea_base_hub/Details/Plant" unique_id=1254445386] transform = Transform3D(0.54735535, -0.1210815, 0.828095, 0.01626943, 0.99083114, 0.13412249, -0.83674204, -0.05994002, 0.5443066, -18.45068, 20.68637, 22.55161) @@ -403,11 +486,9 @@ multimesh = SubResource("MultiMesh_pnewi") transform = Transform3D(0.9797016, -0.0074522197, 0.20032433, 0.07177044, 0.9461063, -0.31580347, -0.18717429, 0.32377028, 0.92743665, -3.9438963, 33.240597, 14.184056) multimesh = SubResource("MultiMesh_pnewi") -[node name="Plant2" type="MeshInstance3D" parent="borea_base_hub/Details" unique_id=1899226714] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -35.2014, 0.095321655, 56.352386) -mesh = ExtResource("12_0dh60") - [node name="FallingPlant" type="Node3D" parent="borea_base_hub/Details" unique_id=307570248] +unique_name_in_owner = true +visible = false [node name="FallingPlant" type="MeshInstance3D" parent="borea_base_hub/Details/FallingPlant" unique_id=1299225452] transform = Transform3D(-2.1855694e-08, 0.5, 0, -0.5, -2.1855694e-08, 0, 0, 0, 0.5, 13.610115, 10.801528, -5.9728403) @@ -584,14 +665,51 @@ transform = Transform3D(1, 1.5512109e-08, -3.3398894e-08, 1.5512109e-08, 0.64512 mesh = ExtResource("12_67c4d") skeleton = NodePath("../../../../..") +[node name="CommunicationLever" type="Area3D" parent="borea_base_hub" unique_id=1647335014 node_paths=PackedStringArray("audio_player")] +unique_name_in_owner = true +transform = Transform3D(0.96053207, 0, 0.27816978, 0, 1, 0, -0.27816978, 0, 0.96053207, 55.192722, -3.5220742, -16.972366) +script = ExtResource("12_jcdon") +audio_player = NodePath("AudioStreamPlayer3D") +metadata/_custom_type_script = "uid://bj4d1x8n8ina" + +[node name="CollisionShape3D" type="CollisionShape3D" parent="borea_base_hub/CommunicationLever" unique_id=707170757] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5701561, -1.4003406, 0.47440147) +shape = SubResource("BoxShape3D_g4v7s") + +[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="borea_base_hub/CommunicationLever" unique_id=983703971] +stream = ExtResource("13_3jpm4") +volume_db = 5.926 +bus = &"Sfx" + +[node name="CommunicationModel" parent="borea_base_hub" unique_id=2008113291 instance=ExtResource("13_67c4d")] +transform = Transform3D(0.96053207, 0, 0.2781697, 0, 1, 0, -0.2781697, 0, 0.96053207, 34.811417, -6.5185328, -10.564589) + +[node name="Lever" parent="borea_base_hub/CommunicationModel" index="3" unique_id=424103656] +transform = Transform3D(1, 0, 0, 0, 1, -2.0727045e-09, 0, 2.0727045e-09, 1, 21.938557, 1.46437, 0) + [node name="Player3D" parent="." unique_id=549819967 instance=ExtResource("3_xd71i")] unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.95067215, -2.3712459, 90.22012) -[node name="Credits" parent="." unique_id=180964898 instance=ExtResource("15_jcdon")] +[node name="PassDayAnimationPlayer" type="AnimationPlayer" parent="." unique_id=548412291] unique_name_in_owner = true +root_node = NodePath("../PassDaysAnimation") +libraries/ = SubResource("AnimationLibrary_pnewi") + +[node name="PassDaysAnimation" type="CanvasLayer" parent="." unique_id=1487021241] +layer = 2 + +[node name="ColorRect" type="ColorRect" parent="PassDaysAnimation" unique_id=1475266755] +modulate = Color(1, 1, 1, 0) +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +mouse_filter = 2 +color = Color(0.0627451, 0.05882353, 0.16862746, 1) [connection signal="clicked" from="borea_base_hub/AiReceptacle" to="." method="_on_ai_receptacle_clicked"] +[connection signal="clicked" from="borea_base_hub/CommunicationLever" to="." method="_on_communication_lever_clicked"] -[editable path="borea_base_hub/communication"] -[editable path="Credits"] +[editable path="borea_base_hub/CommunicationModel"] diff --git a/stages/3d_scenes/borea_base/scripts/borea_base.gd b/stages/3d_scenes/borea_base/scripts/borea_base.gd index 8215f63..c2808d2 100644 --- a/stages/3d_scenes/borea_base/scripts/borea_base.gd +++ b/stages/3d_scenes/borea_base/scripts/borea_base.gd @@ -1,13 +1,75 @@ +@tool extends Node3D +enum State {ARRIVAL,COMMS_UP,LATER} + +const DIALOG_BOREA_ARRIVAL = "res://dialogs/timelines/1_waking_up/9_borea_arrival.dtl" +const DIALOG_COMMS_UP = "res://dialogs/timelines/1_waking_up/91_borea_comms_up.dtl" +const DIALOG_BOREA_LATER = "res://dialogs/timelines/1_waking_up/92_borea_later.dtl" + +@export var communication_lever_animation_player : AnimationPlayer + +@export var show_plants : bool = false : set = set_show_plants + +var state := State.ARRIVAL : set = set_state + func _ready(): if not Engine.is_editor_hint(): Input.mouse_mode = Input.MOUSE_MODE_CAPTURED - %Credits.hide() + set_show_plants() + set_state() +func set_show_plants(v : bool = show_plants): + show_plants = v + if is_node_ready(): + %Plant.visible = show_plants + %FallingPlant.visible = show_plants + +func set_state(v := state): + state = v + if is_node_ready(): + %AiReceptacle.screen_turned_on = true + %AiReceptacle.interactable = true func _on_ai_receptacle_clicked(): - %Player3D.controlling_player = false - Input.mouse_mode = Input.MOUSE_MODE_VISIBLE SteamConnection.unlock_achievement(SteamConnection.ACH_MEET_DEMETER) - %Credits.appear() \ No newline at end of file + + %AiReceptacle.screen_turned_on = false + %AiReceptacle.interactable = false + + match state: + State.ARRIVAL: + Dialogic.start(DIALOG_BOREA_ARRIVAL) + State.COMMS_UP: + Dialogic.start(DIALOG_COMMS_UP) + + await Dialogic.timeline_ended + await get_tree().create_timer(3.).timeout + + %Player3D.controlling_player = false + %PassDayAnimationPlayer.play("PassDays") + + await %PassDayAnimationPlayer.animation_finished + + %Player3D.controlling_player = true + + state = State.LATER + State.LATER: + Dialogic.start(DIALOG_BOREA_LATER) + + await Dialogic.timeline_ended + + %Exit3dDoor.to_scene = RelayBaseScene.new( + "BOREA_BASE", + "004", + ) + %Exit3dDoor.interactable = true + + AudioManager.play_sfx("DoorOpen") + +func _on_communication_lever_clicked(): + %CommunicationLever.interactable = false + %CommunicationLever.play_audio() + communication_lever_animation_player.play("Activate") + + state = State.COMMS_UP diff --git a/stages/3d_scenes/common/assets/3d/elevator.blend b/stages/3d_scenes/common/assets/3d/elevator.blend new file mode 100644 index 0000000..289906a Binary files /dev/null and b/stages/3d_scenes/common/assets/3d/elevator.blend differ diff --git a/stages/3d_scenes/common/assets/3d/elevator.blend.import b/stages/3d_scenes/common/assets/3d/elevator.blend.import new file mode 100644 index 0000000..5e83072 --- /dev/null +++ b/stages/3d_scenes/common/assets/3d/elevator.blend.import @@ -0,0 +1,71 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://bk64hw2adc5kt" +path="res://.godot/imported/elevator.blend-41f2e78cb8e3b0c96c2c7ee2ff9d260d.scn" + +[deps] + +source_file="res://stages/3d_scenes/common/assets/3d/elevator.blend" +dest_files=["res://.godot/imported/elevator.blend-41f2e78cb8e3b0c96c2c7ee2ff9d260d.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +mesh_library/use_node_names_as_mesh_names=false +array_mesh/deduplicate_surfaces=true +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={ +"materials": { +"Default3D": { +"use_external/enabled": true, +"use_external/fallback_path": "res://common/assets/materials/default_3d.tres", +"use_external/path": "uid://dvvi1k5c5iowc" +} +} +} +blender/nodes/visible=0 +blender/nodes/active_collection_only=false +blender/nodes/punctual_lights=true +blender/nodes/cameras=true +blender/nodes/custom_properties=true +blender/nodes/modifiers=1 +blender/meshes/vertex_colors=1 +blender/meshes/uvs=true +blender/meshes/normals=true +blender/meshes/export_geometry_nodes_instances=false +blender/meshes/gpu_instances=false +blender/meshes/tangents=true +blender/meshes/skins=2 +blender/meshes/export_bones_deforming_mesh_only=false +blender/materials/unpack_enabled=true +blender/materials/export_materials=1 +blender/animation/limit_playback=true +blender/animation/always_sample=true +blender/animation/group_tracks=true +gltf/naming_version=2 +gltf/texture_map_mode=1 diff --git a/stages/3d_scenes/common/assets/3d/elevator.blend1 b/stages/3d_scenes/common/assets/3d/elevator.blend1 new file mode 100644 index 0000000..1ce3240 Binary files /dev/null and b/stages/3d_scenes/common/assets/3d/elevator.blend1 differ diff --git a/stages/3d_scenes/common/assets/3d/hub_buried.blend b/stages/3d_scenes/common/assets/3d/hub_buried.blend new file mode 100644 index 0000000..a0c20e3 Binary files /dev/null and b/stages/3d_scenes/common/assets/3d/hub_buried.blend differ diff --git a/stages/3d_scenes/common/assets/3d/hub_buried.blend.import b/stages/3d_scenes/common/assets/3d/hub_buried.blend.import new file mode 100644 index 0000000..8b78005 --- /dev/null +++ b/stages/3d_scenes/common/assets/3d/hub_buried.blend.import @@ -0,0 +1,76 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://b6xsvqwg7lqt6" +path="res://.godot/imported/hub_buried.blend-7ff39cb711d1ea8f116750320d780d2d.scn" + +[deps] + +source_file="res://stages/3d_scenes/common/assets/3d/hub_buried.blend" +dest_files=["res://.godot/imported/hub_buried.blend-7ff39cb711d1ea8f116750320d780d2d.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +mesh_library/use_node_names_as_mesh_names=false +array_mesh/deduplicate_surfaces=true +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={ +"materials": { +"Default3D": { +"use_external/enabled": true, +"use_external/fallback_path": "res://common/assets/materials/default_3d.tres", +"use_external/path": "uid://dvvi1k5c5iowc" +}, +"Glass": { +"use_external/enabled": true, +"use_external/fallback_path": "res://common/assets/materials/glass_3d.tres", +"use_external/path": "uid://b5vlcdry8vtgi" +} +} +} +blender/nodes/visible=0 +blender/nodes/active_collection_only=false +blender/nodes/punctual_lights=true +blender/nodes/cameras=true +blender/nodes/custom_properties=true +blender/nodes/modifiers=1 +blender/meshes/vertex_colors=1 +blender/meshes/uvs=true +blender/meshes/normals=true +blender/meshes/export_geometry_nodes_instances=false +blender/meshes/gpu_instances=false +blender/meshes/tangents=true +blender/meshes/skins=2 +blender/meshes/export_bones_deforming_mesh_only=false +blender/materials/unpack_enabled=true +blender/materials/export_materials=1 +blender/animation/limit_playback=true +blender/animation/always_sample=true +blender/animation/group_tracks=true +gltf/naming_version=2 +gltf/texture_map_mode=1 diff --git a/stages/3d_scenes/common/assets/3d/hub_buried.blend1 b/stages/3d_scenes/common/assets/3d/hub_buried.blend1 new file mode 100644 index 0000000..46aa9d3 Binary files /dev/null and b/stages/3d_scenes/common/assets/3d/hub_buried.blend1 differ diff --git a/stages/3d_scenes/estia_base/estia_base.tscn b/stages/3d_scenes/estia_base/estia_base.tscn new file mode 100644 index 0000000..cad31ec --- /dev/null +++ b/stages/3d_scenes/estia_base/estia_base.tscn @@ -0,0 +1,3 @@ +[gd_scene format=3 uid="uid://54xysfcblfv6"] + +[node name="EstiaBase" type="Node3D" unique_id=32407651] diff --git a/stages/3d_scenes/subterra_base/scripts/subterra_base.gd b/stages/3d_scenes/subterra_base/scripts/subterra_base.gd new file mode 100644 index 0000000..dcd7843 --- /dev/null +++ b/stages/3d_scenes/subterra_base/scripts/subterra_base.gd @@ -0,0 +1,7 @@ +extends Node3D + +func _ready(): + if not Engine.is_editor_hint(): + Input.mouse_mode = Input.MOUSE_MODE_CAPTURED + + SteamConnection.unlock_achievement(SteamConnection.ACH_STW_REACH_SUBTERRA_BASE) diff --git a/stages/3d_scenes/subterra_base/scripts/subterra_base.gd.uid b/stages/3d_scenes/subterra_base/scripts/subterra_base.gd.uid new file mode 100644 index 0000000..132ac95 --- /dev/null +++ b/stages/3d_scenes/subterra_base/scripts/subterra_base.gd.uid @@ -0,0 +1 @@ +uid://csfx6yy1rxtu diff --git a/stages/3d_scenes/subterra_base/subterra_base.tscn b/stages/3d_scenes/subterra_base/subterra_base.tscn new file mode 100644 index 0000000..425d4a7 --- /dev/null +++ b/stages/3d_scenes/subterra_base/subterra_base.tscn @@ -0,0 +1,19 @@ +[gd_scene format=3 uid="uid://rig3sj4xx0sq"] + +[ext_resource type="PackedScene" uid="uid://b6xsvqwg7lqt6" path="res://stages/3d_scenes/common/assets/3d/hub_buried.blend" id="1_qkleo"] +[ext_resource type="Script" uid="uid://csfx6yy1rxtu" path="res://stages/3d_scenes/subterra_base/scripts/subterra_base.gd" id="1_vuar3"] +[ext_resource type="PackedScene" uid="uid://da7a74dg30q1l" path="res://entities/player_3d/player_3D.tscn" id="2_vuar3"] +[ext_resource type="PackedScene" uid="uid://c2unmkf4ec4gf" path="res://entities/interactable_3d/ai_receptacle/ai_receptacle.tscn" id="3_jc2l3"] + +[node name="SubterraBase" type="Node3D" unique_id=1948800502] +script = ExtResource("1_vuar3") + +[node name="hub_buried" parent="." unique_id=385558494 instance=ExtResource("1_qkleo")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.6178805, -0.025483131, -1.7124133) + +[node name="Player3D" parent="." unique_id=549819967 instance=ExtResource("2_vuar3")] +transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 9.730468, -3.3392239, 7.232474) + +[node name="AiReceptacle" parent="." unique_id=1082354698 instance=ExtResource("3_jc2l3")] +transform = Transform3D(-0.8670973, 0, 0.49813876, 0, 1, 0, -0.49813876, 0, -0.8670973, -1.320488, -6.334047, -1.7143525) +broken = true diff --git a/stages/terrain/region/scripts/region.gd b/stages/terrain/region/scripts/region.gd index 949e6d6..78e7027 100644 --- a/stages/terrain/region/scripts/region.gd +++ b/stages/terrain/region/scripts/region.gd @@ -48,26 +48,26 @@ var data_last_updated = 0. var plant_grid : PlantGrid # Cheat Code -# func _input(_e): -# if ( -# Input.is_action_pressed("drop") -# and Input.is_action_pressed("move_right") -# and Input.is_action_pressed("move_left") -# and Input.is_action_just_pressed("action") -# ): -# if data.state != RegionData.State.SUCCEEDED: -# data.succeded.emit() -# data.state = RegionData.State.SUCCEEDED -# # data.update() +func _input(_e): + if ( + Input.is_action_pressed("drop") + and Input.is_action_pressed("move_right") + and Input.is_action_pressed("move_left") + and Input.is_action_just_pressed("action") + ): + if data.state != RegionData.State.SUCCEEDED: + data.succeded.emit() + data.state = RegionData.State.SUCCEEDED + # data.update() -# if ( -# Input.is_action_pressed("drop") -# and Input.is_action_pressed("move_right") -# and Input.is_action_pressed("move_left") -# and Input.is_action_just_pressed("move_pointer") -# ): -# data.charges = 0 -# data.state = RegionData.State.FAILED + if ( + Input.is_action_pressed("drop") + and Input.is_action_pressed("move_right") + and Input.is_action_pressed("move_left") + and Input.is_action_just_pressed("move_pointer") + ): + data.charges = 0 + data.state = RegionData.State.FAILED func _init(): data = GameInfo.game_data.current_region_data diff --git a/stages/title_screen/scripts/title_screen.gd b/stages/title_screen/scripts/title_screen.gd index 6a5fb96..2ebcc94 100644 --- a/stages/title_screen/scripts/title_screen.gd +++ b/stages/title_screen/scripts/title_screen.gd @@ -70,7 +70,7 @@ func _process(delta): %Planet3d.rotate(Vector3.UP, planet_rotation.x * delta) %Planet3d.rotate(Vector3.RIGHT, planet_rotation.y * delta) - if not planet_spin_ach_sended and planet_rotation.length() > 40: + if not planet_spin_ach_sended and planet_rotation.length() > 50: planet_spin_ach_sended = true SteamConnection.unlock_achievement(SteamConnection.ACH_SPIN_PLANET) diff --git a/stages/title_screen/title_screen.tscn b/stages/title_screen/title_screen.tscn index 1dd910d..75317fe 100644 --- a/stages/title_screen/title_screen.tscn +++ b/stages/title_screen/title_screen.tscn @@ -10,9 +10,7 @@ [ext_resource type="PackedScene" uid="uid://cm5b7w7j6527f" path="res://stages/title_screen/planet_3d.tscn" id="5_7a1qq"] [ext_resource type="Texture2D" uid="uid://cixd5j8yqpavg" path="res://common/icons/settings.svg" id="6_3aitq"] [ext_resource type="PackedScene" uid="uid://c8flevrkelpvy" path="res://gui/credits/socials/instagram.tscn" id="6_7a1qq"] -[ext_resource type="PackedScene" uid="uid://bpy6sqa71gcfm" path="res://gui/credits/socials/survey.tscn" id="6_pjo5j"] [ext_resource type="Texture2D" uid="uid://bkwhrq4sp5dcp" path="res://common/icons/device-gamepad.svg" id="7_igvpv"] -[ext_resource type="PackedScene" uid="uid://bc3byq8e45ejj" path="res://gui/credits/socials/steam.tscn" id="7_nmsah"] [ext_resource type="Texture2D" uid="uid://dex283rx00fjb" path="res://common/icons/logout.svg" id="8_lwj2x"] [ext_resource type="Shader" uid="uid://cuni3ggtw2uuy" path="res://common/vfx/materials/shaders/blur.gdshader" id="8_pjo5j"] [ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="9_5mxqx"] @@ -71,7 +69,7 @@ shader = ExtResource("8_pjo5j") shader_parameter/strength = 5.00000023424012 shader_parameter/mix_percentage = 0.3 -[sub_resource type="FastNoiseLite" id="FastNoiseLite_gn4uv"] +[sub_resource type="FastNoiseLite" id="FastNoiseLite_lwj2x"] frequency = 1.0 [sub_resource type="Animation" id="Animation_gn4uv"] @@ -452,18 +450,10 @@ size_flags_horizontal = 8 size_flags_vertical = 8 alignment = 2 -[node name="Survey" parent="MarginContainer/Socials" unique_id=1337726269 instance=ExtResource("6_pjo5j")] -layout_mode = 2 - [node name="Button2" parent="MarginContainer/Socials" unique_id=927302743 instance=ExtResource("6_7a1qq")] layout_mode = 2 size_flags_horizontal = 8 -[node name="SteamButton" parent="MarginContainer/Socials" unique_id=1181450581 instance=ExtResource("7_nmsah")] -layout_mode = 2 -size_flags_horizontal = 8 -link = "https://store.steampowered.com/app/4444510/Seeding_The_Wasteland/" - [node name="ModeChoose" type="Control" parent="." unique_id=1527342716] unique_name_in_owner = true visible = false @@ -523,7 +513,7 @@ size = Vector2i(1980, 1080) [node name="Planet3d" parent="SubViewport" unique_id=926789923 instance=ExtResource("5_7a1qq")] unique_name_in_owner = true -noise = SubResource("FastNoiseLite_gn4uv") +noise = SubResource("FastNoiseLite_lwj2x") [node name="Camera3D" type="Camera3D" parent="SubViewport" unique_id=806252928] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.369979, 0, 64.323425) diff --git a/translation/game/gui.csv b/translation/game/gui.csv index 6683f46..427f111 100644 --- a/translation/game/gui.csv +++ b/translation/game/gui.csv @@ -185,7 +185,8 @@ TALION_CRISTAL_DESC_TEXT,"A pure form of Talion, cannot be broken or used","Une TALION_CELL,Talion Cell,Cellule de Talion TALION_CELL_DESC_TEXT,"This cell is filled with liquid form of Talion, let's see what's inside!","Cette cellule est remplie d'une forme liquide de Talio, voyons ce qu'il y a à l'intérieur !" ENERGY_CELL,Energy Cell,Cellule d'énergie -ENERGY_CELL_DESC_TEXT,"Some energy remain on this cell... Might be usefull.","De l'énergie reste dans cette cellule... Cela pourra être utile." +ENERGY_CELL_DESC_TEXT,"Some energy remain on this cell... Might be usefull. Can only be used when Orchid's energy is not full.","De l'énergie reste dans cette cellule... Cela pourra être utile. Peut seulement être utilisée si Orchid n'est pas complètement rechargé." +%s_USED,%s (used),%s (utilisée) OPEN,Open,Ouvrir COMPOST,Compost,Compost START,Start,Commencer @@ -300,6 +301,9 @@ MYSTERIOUS_DOOR,Mysterious Door,Porte mystérieuse MYSTERIOUS_DOOR_TEXT,"This door has a space ship logo on it... What could it be ?","Cette porte à un logo de vaisseau marqué dessus... Que peut-il y avoir à l'intérieur ?" ASTRA_BASE,Astra Base,Base Astra BOREA_BASE,Borea Base,Base Boréa +AQUA_BASE,Aqua Base,Base Aqua +SUBTERRA_BASE,Subterra Base,Base Subterra +ESTIA_BASE,Estia Base,Base Estia RELAY_BASE_X,Relay Base %s,Base relai %s MERCURY,Mercury,Mercure VENUS,Venus,Vénus @@ -373,6 +377,8 @@ TALION_RELAY,Talion Relay,Relai de Talion TALION_RELAY_DESC_TEXT,Increase mutation probability,Augmente la probabilité des mutations TALION_SOIL,Talion Soil,Terreau de Talion TALION_SOIL_DESC_TEXT,Increase plant influence radius,Augmente le rayon d'influence des plantes +TALION_SPRAY,Talion Spray,Vaporisateur de Talion +TALION_SPRAY_DESC_TEXT,Increase default plant points by 1,Augmente les points de base des plantes de 1 PLANTS_CAN_HAVE_UP_TO_X_MUTATION,Plants can have up to [b]%d[/b] mutations,Les plantes peuvent avoir jusqu'à [b]%d[/b] mutations PLANTS_MUTATION_CHANCE_IS_X_PERCENT,Plant mutation chance is [b]{mutation_chance}%[/b],Les chances de mutation d'une plante sont de [b]{mutation_chance}%[/b] ARTEFACTS_VENDING_MACHINE,Artefacts Vending Machine,Distributeur d'Artefacts