* Ajout d'un déblocage des mutations, dans une scène 3D trouvable dans les runs, ainsi qu'un dialogue d'annonce de ces scènes * Augmentation des charges par map à 10 et augmentation des objectifs de points de plantes en conséquence * Modification du loot des graines : les plantes donnent désormais un nombre fixe de graine et les graines issues de veine de Talion n'obtiennent pas automatiquement de mutations * Les portes ne seront désormais plus sur de la pierre * Amélioration du tutoriel pour inclure une section d'explication des mutations * Ajout du modificateur de région Magnétique qui divise l'objectif et les recharges par 2 *
316 lines
11 KiB
Plaintext
316 lines
11 KiB
Plaintext
[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://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="15_hu5cq"]
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_6hxtc"]
|
|
viewport_path = NodePath("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("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="Animation" id="Animation_aao0q"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("MutationAnnounce/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/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/AnnounceContainer:modulate")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1)]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/path = NodePath("MutationAnnounce/MarginContainer/BackgroundRect: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]
|
|
}
|
|
tracks/4/type = "value"
|
|
tracks/4/imported = false
|
|
tracks/4/enabled = true
|
|
tracks/4/path = NodePath("MutationAnnounce:visible")
|
|
tracks/4/interp = 1
|
|
tracks/4/loop_wrap = true
|
|
tracks/4/keys = {
|
|
"times": PackedFloat32Array(0.03333333),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
|
|
[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/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/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/AnnounceContainer:modulate")
|
|
tracks/2/interp = 2
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0.2, 0.8),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/path = NodePath("MutationAnnounce/MarginContainer/BackgroundRect:modulate:a")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/keys = {
|
|
"times": PackedFloat32Array(0.03333333, 0.8),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [0.0, 0.8]
|
|
}
|
|
tracks/4/type = "value"
|
|
tracks/4/imported = false
|
|
tracks/4/enabled = true
|
|
tracks/4/path = NodePath("MutationAnnounce:visible")
|
|
tracks/4/interp = 1
|
|
tracks/4/loop_wrap = true
|
|
tracks/4/keys = {
|
|
"times": PackedFloat32Array(0, 0.16666667),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [false, true]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_1aa3a"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_aao0q"),
|
|
&"appear": SubResource("Animation_b6hac")
|
|
}
|
|
|
|
[node name="MutationAnnounce" type="CanvasLayer" unique_id=1447182082]
|
|
visible = false
|
|
script = ExtResource("1_02o74")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="." unique_id=1853133518]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="BackgroundRect" type="ColorRect" parent="MarginContainer" unique_id=1594037653]
|
|
layout_mode = 2
|
|
color = Color(0.0352941, 0.0196078, 0.12549, 0.705882)
|
|
|
|
[node name="Particles" type="TextureRect" parent="." unique_id=1748571879]
|
|
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
|
|
texture = SubResource("ViewportTexture_6hxtc")
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="Particles" unique_id=1123249182]
|
|
transparent_bg = true
|
|
size = Vector2i(1000, 1000)
|
|
|
|
[node name="GPUParticles2D" type="CPUParticles2D" parent="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="." unique_id=645433045]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -627.0
|
|
offset_bottom = 627.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 4
|
|
alignment = 1
|
|
|
|
[node name="AnnounceTitle" type="Label" parent="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="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="AnnounceContainer" unique_id=1180983374]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
mouse_filter = 0
|
|
texture = SubResource("ViewportTexture_smt8b")
|
|
stretch_mode = 5
|
|
script = ExtResource("5_qu1xy")
|
|
info = SubResource("Resource_kgj7d")
|
|
|
|
[node name="MutationIconTextureRect" type="TextureRect" parent="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="AnnounceContainer/ObjectVisualiser" unique_id=1795775056]
|
|
own_world_3d = true
|
|
transparent_bg = true
|
|
size = Vector2i(300, 300)
|
|
|
|
[node name="AnnouceObject" type="Node3D" parent="AnnounceContainer/ObjectVisualiser/SubViewport" unique_id=1527573801]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(0.9998366, 0, 0, 0, 0.9995686, 0, 0, 0, 0.9996744, 0, 0, 0)
|
|
|
|
[node name="cristal" parent="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="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="AnnounceContainer/ObjectVisualiser/SubViewport" unique_id=1135825303]
|
|
environment = ExtResource("13_kyl1n")
|
|
|
|
[node name="OkButton" type="Button" parent="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")
|