[gd_scene format=3 uid="uid://brp1fpvasaims"] [ext_resource type="Script" uid="uid://c0tyivmiouctw" path="res://entities/interactable_3d/cristal/scripts/mutation_announce.gd" id="1_02o74"] [ext_resource type="Texture2D" uid="uid://bi5jo6pf0acjb" path="res://common/icons/carambola.svg" id="2_vlom2"] [ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="3_5hs4t"] [ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="4_yg5wk"] [ext_resource type="Script" uid="uid://bqisp5hjs06rj" path="res://gui/game/announce/scripts/announce_inspectable.gd" id="5_qu1xy"] [ext_resource type="Texture2D" uid="uid://0hbdgalf04e" path="res://common/icons/wood.svg" id="6_n403s"] [ext_resource type="Script" uid="uid://dj2pv1hiwjfv0" path="res://gui/game/card/scripts/card_info.gd" id="7_se4h4"] [ext_resource type="Script" uid="uid://dgbh38j13g5kn" path="res://gui/game/card/scripts/card_section_info.gd" id="8_0osya"] [ext_resource type="Texture2D" uid="uid://dth2mj0nh2q70" path="res://common/icons/align-right.svg" id="9_s5jxo"] [ext_resource type="Script" uid="uid://b4tkium34c831" path="res://gui/game/card/scripts/card_stat_info.gd" id="10_qidgp"] [ext_resource type="Texture2D" uid="uid://bsvxhafoxwmw0" path="res://common/icons/cube-3d-sphere.svg" id="11_uj15c"] [ext_resource type="PackedScene" uid="uid://mwk845fx5ye2" path="res://entities/interactable_3d/cristal/assets/cristal.blend" id="12_wy2oe"] [ext_resource type="Environment" uid="uid://bxyp24f85p0xf" path="res://gui/game/assets/gui_3d_environment.tres" id="13_kyl1n"] [ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/hud.tres" id="14_d2gpy"] [ext_resource type="Texture2D" uid="uid://cwewx7cdy085h" path="res://common/icons/help-hexagon.svg" id="14_vlom2"] [ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="15_hu5cq"] [sub_resource type="ViewportTexture" id="ViewportTexture_6hxtc"] viewport_path = NodePath("Container/Particles/SubViewport") [sub_resource type="Curve" id="Curve_brrmr"] _limits = [-200.0, 200.0, 0.0, 1.0] _data = [Vector2(0, -200), 0.0, 560.0, 0, 0, Vector2(0.08235294, 92.384125), 1336.3082, 1336.3082, 0, 0, Vector2(0.34901965, 200), 0.0, 0.0, 0, 0, Vector2(0.854902, -200), 0.0, 0.0, 0, 0] point_count = 4 [sub_resource type="Gradient" id="Gradient_0u75y"] offsets = PackedFloat32Array(0, 0.8689956, 0.98253274) colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0) [sub_resource type="LabelSettings" id="LabelSettings_u8fe7"] font = ExtResource("4_yg5wk") font_size = 50 font_color = Color(1, 0.6509804, 0.09019608, 1) [sub_resource type="ViewportTexture" id="ViewportTexture_smt8b"] viewport_path = NodePath("Container/AnnounceContainer/ObjectVisualiser/SubViewport") [sub_resource type="Resource" id="Resource_rjaqi"] script = ExtResource("8_0osya") title_text = "Description" title_icon = ExtResource("9_s5jxo") text = "Une fois mature, ajoute [b]1[/b][img=22x22]res://common/icons/growth.svg[/img] tous les [b]3[/b][img=22x22]res://common/icons/calendar-week.svg[/img]" [sub_resource type="Resource" id="Resource_kgj7d"] script = ExtResource("7_se4h4") title = "Ancien" subtitle = "Mutation" important_stat_icon = ExtResource("6_n403s") sections = Array[ExtResource("8_0osya")]([SubResource("Resource_rjaqi")]) [sub_resource type="LabelSettings" id="LabelSettings_02o74"] font_size = 23 [sub_resource type="Animation" id="Animation_aao0q"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("MutationAnnounce/Container/AnnounceContainer:theme_override_constants/separation") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [4] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("MutationAnnounce/Container/Particles:modulate") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Color(1, 1, 1, 1)] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("MutationAnnounce:visible") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0.03333333), "transitions": PackedFloat32Array(1), "update": 1, "values": [false] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("MutationAnnounce/Container:modulate:a") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [1.0] } [sub_resource type="Animation" id="Animation_b6hac"] resource_name = "appear" length = 0.8 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("MutationAnnounce/Container/AnnounceContainer:theme_override_constants/separation") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0.23333333, 0.8), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [480, 4] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("MutationAnnounce/Container/Particles:modulate") tracks/1/interp = 2 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0.5, 0.8), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("MutationAnnounce:visible") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0, 0.16666667), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [false, true] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("MutationAnnounce/Container:modulate:a") tracks/3/interp = 2 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0.13333334, 0.8), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [0.0, 1.0] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_1aa3a"] _data = { &"RESET": SubResource("Animation_aao0q"), &"appear": SubResource("Animation_b6hac") } [node name="MutationAnnounce" type="CanvasLayer" unique_id=1447182082] layer = 2 script = ExtResource("1_02o74") [node name="Container" type="Control" parent="." unique_id=250759747] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="BackgroundRect" type="ColorRect" parent="Container" unique_id=1594037653] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 color = Color(0.03529412, 0.019607844, 0.12941177, 0.78431374) [node name="Particles" type="TextureRect" parent="Container" unique_id=1748571879] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -500.0 offset_top = -500.0 offset_right = 500.0 offset_bottom = 500.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = SubResource("ViewportTexture_6hxtc") [node name="SubViewport" type="SubViewport" parent="Container/Particles" unique_id=1123249182] transparent_bg = true size = Vector2i(1000, 1000) [node name="GPUParticles2D" type="CPUParticles2D" parent="Container/Particles/SubViewport" unique_id=220592083] position = Vector2(500, 500) amount = 20 texture = ExtResource("2_vlom2") preprocess = 1.0 spread = 180.0 gravity = Vector2(0, 0) initial_velocity_min = 2.0 initial_velocity_max = 2.0 linear_accel_min = 5.0 linear_accel_max = 5.0 linear_accel_curve = SubResource("Curve_brrmr") color_ramp = SubResource("Gradient_0u75y") [node name="AnnounceContainer" type="VBoxContainer" parent="Container" unique_id=645433045] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 4 alignment = 1 [node name="AnnounceTitle" type="Label" parent="Container/AnnounceContainer" unique_id=1768593559] unique_name_in_owner = true layout_mode = 2 text = "NEW_MUTATION" label_settings = ExtResource("3_5hs4t") horizontal_alignment = 1 [node name="AnnounceText" type="Label" parent="Container/AnnounceContainer" unique_id=768724763] unique_name_in_owner = true layout_mode = 2 text = "Ancien" label_settings = SubResource("LabelSettings_u8fe7") horizontal_alignment = 1 [node name="ObjectVisualiser" type="TextureRect" parent="Container/AnnounceContainer" unique_id=1180983374] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 texture = SubResource("ViewportTexture_smt8b") stretch_mode = 5 script = ExtResource("5_qu1xy") info = SubResource("Resource_kgj7d") [node name="MutationIconTextureRect" type="TextureRect" parent="Container/AnnounceContainer/ObjectVisualiser" unique_id=312214951] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -20.0 offset_top = -20.0 offset_right = 20.0 offset_bottom = 20.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("6_n403s") [node name="SubViewport" type="SubViewport" parent="Container/AnnounceContainer/ObjectVisualiser" unique_id=1795775056] own_world_3d = true transparent_bg = true size = Vector2i(300, 300) [node name="AnnouceObject" type="Node3D" parent="Container/AnnounceContainer/ObjectVisualiser/SubViewport" unique_id=1527573801] unique_name_in_owner = true transform = Transform3D(-0.66996473, 0.079749085, -0.73779225, -0.56796145, 0.58463466, 0.5788058, 0.47777697, 0.80682886, -0.34651512, 0, 0, 0) [node name="cristal" parent="Container/AnnounceContainer/ObjectVisualiser/SubViewport/AnnouceObject" unique_id=1362490576 instance=ExtResource("12_wy2oe")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0) [node name="Camera3D" type="Camera3D" parent="Container/AnnounceContainer/ObjectVisualiser/SubViewport" unique_id=173755338] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 10) keep_aspect = 0 current = true fov = 20.0 [node name="WorldEnvironment" type="WorldEnvironment" parent="Container/AnnounceContainer/ObjectVisualiser/SubViewport" unique_id=1135825303] environment = ExtResource("13_kyl1n") [node name="HBoxContainer" type="HBoxContainer" parent="Container/AnnounceContainer" unique_id=1306240981] custom_minimum_size = Vector2(0, 71.475) layout_mode = 2 theme_override_constants/separation = 8 alignment = 1 [node name="TextureRect" type="TextureRect" parent="Container/AnnounceContainer/HBoxContainer" unique_id=1018668980] custom_minimum_size = Vector2(30, 30) layout_mode = 2 texture = ExtResource("14_vlom2") expand_mode = 1 stretch_mode = 5 [node name="Label" type="Label" parent="Container/AnnounceContainer/HBoxContainer" unique_id=1496120454] layout_mode = 2 text = "THIS_MUTATION_CAN_NOW_APPEAR_ON_SEEDS" label_settings = SubResource("LabelSettings_02o74") horizontal_alignment = 1 [node name="OkButton" type="Button" parent="Container/AnnounceContainer" unique_id=249785792] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 theme = ExtResource("14_d2gpy") text = "OK" icon = ExtResource("15_hu5cq") [node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1913258839] unique_name_in_owner = true root_node = NodePath("../..") libraries/ = SubResource("AnimationLibrary_1aa3a")