* modification de certains assets * optimisation de chunks * ajout d'un SceneManager * ajout d'un premier dialogue avec Demeter * changement des jour en charge * mise en place d'un système de run * etc...
321 lines
12 KiB
Plaintext
321 lines
12 KiB
Plaintext
[gd_scene load_steps=13 format=3 uid="uid://xmfjxrn7m6vo"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://rxao2rluuwqq" path="res://gui/game/screen/screen.tscn" id="1_8bdn3"]
|
|
[ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/hud.tres" id="2_vpxyy"]
|
|
[ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="3_ou1lu"]
|
|
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="4_m0jcy"]
|
|
[ext_resource type="Texture2D" uid="uid://n7hhyqhhtx0q" path="res://entities/interactables/truck/compost/assets/sprites/compost.png" id="4_ywwbf"]
|
|
[ext_resource type="Texture2D" uid="uid://b0wy3dbpxbnt7" path="res://common/icons/seedling.svg" id="6_jn707"]
|
|
[ext_resource type="Texture2D" uid="uid://bsvxhafoxwmw0" path="res://common/icons/cube-3d-sphere.svg" id="7_0715l"]
|
|
[ext_resource type="Texture2D" uid="uid://bt3g5bmar0icf" path="res://common/icons/growth.svg" id="8_8iodd"]
|
|
[ext_resource type="Texture2D" uid="uid://ds4m14vl7he6v" path="res://common/icons/pick.svg" id="9_1f0ht"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_foxij"]
|
|
content_margin_left = 20.0
|
|
content_margin_top = 8.0
|
|
content_margin_right = 8.0
|
|
content_margin_bottom = 20.0
|
|
draw_center = false
|
|
border_width_left = 2
|
|
border_width_top = 2
|
|
border_width_right = 2
|
|
border_width_bottom = 2
|
|
border_color = Color(1, 1, 1, 0.54509807)
|
|
corner_radius_top_left = 100
|
|
corner_radius_top_right = 100
|
|
corner_radius_bottom_right = 100
|
|
corner_radius_bottom_left = 100
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_hf34d"]
|
|
content_margin_left = 20.0
|
|
content_margin_top = 8.0
|
|
content_margin_right = 8.0
|
|
content_margin_bottom = 20.0
|
|
draw_center = false
|
|
border_width_left = 2
|
|
border_width_top = 2
|
|
border_width_right = 2
|
|
border_width_bottom = 2
|
|
border_color = Color(1, 1, 1, 1)
|
|
corner_radius_top_left = 100
|
|
corner_radius_top_right = 100
|
|
corner_radius_bottom_right = 100
|
|
corner_radius_bottom_left = 100
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_t7tak"]
|
|
font = ExtResource("4_m0jcy")
|
|
|
|
[node name="BuildMenu" type="MarginContainer"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 30
|
|
theme_override_constants/margin_top = 30
|
|
theme_override_constants/margin_right = 30
|
|
theme_override_constants/margin_bottom = 30
|
|
|
|
[node name="Screen" parent="." instance=ExtResource("1_8bdn3")]
|
|
layout_mode = 2
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="Screen/ScreenContainer" index="0"]
|
|
layout_mode = 2
|
|
horizontal_scroll_mode = 0
|
|
|
|
[node name="Categories" type="GridContainer" parent="Screen/ScreenContainer/ScrollContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme = ExtResource("2_vpxyy")
|
|
|
|
[node name="TextEdit" type="TextEdit" parent="Screen/ScreenContainer/ScrollContainer/Categories"]
|
|
custom_minimum_size = Vector2(0, 40)
|
|
layout_mode = 2
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_foxij")
|
|
theme_override_styles/focus = SubResource("StyleBoxFlat_hf34d")
|
|
placeholder_text = "Search blueprints..."
|
|
|
|
[node name="Category" type="HBoxContainer" parent="Screen/ScreenContainer/ScrollContainer/Categories"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category"]
|
|
custom_minimum_size = Vector2(50, 50)
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
texture = ExtResource("3_ou1lu")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Button" type="Button" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category"]
|
|
custom_minimum_size = Vector2(100, 100)
|
|
layout_mode = 2
|
|
flat = true
|
|
expand_icon = true
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category/Button"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 5
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category/Button/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
texture = ExtResource("4_ywwbf")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Label" type="Label" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category/Button/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Compost"
|
|
label_settings = SubResource("LabelSettings_t7tak")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category/Button/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 0
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category/Button/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_vpxyy")
|
|
text = "2"
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category/Button/VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(20, 20)
|
|
layout_mode = 2
|
|
texture = ExtResource("3_ou1lu")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Label2" type="Label" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category/Button/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_vpxyy")
|
|
text = "3"
|
|
|
|
[node name="TextureRect2" type="TextureRect" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category/Button/VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(20, 20)
|
|
layout_mode = 2
|
|
texture = ExtResource("6_jn707")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Button2" type="Button" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category"]
|
|
custom_minimum_size = Vector2(100, 100)
|
|
layout_mode = 2
|
|
flat = true
|
|
expand_icon = true
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category/Button2"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 5
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category/Button2/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
texture = ExtResource("7_0715l")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Label" type="Label" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category/Button2/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Panneau solaire"
|
|
label_settings = SubResource("LabelSettings_t7tak")
|
|
horizontal_alignment = 1
|
|
autowrap_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category/Button2/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 0
|
|
alignment = 1
|
|
|
|
[node name="Label2" type="Label" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category/Button2/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_vpxyy")
|
|
text = "5"
|
|
|
|
[node name="TextureRect2" type="TextureRect" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category/Button2/VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(20, 20)
|
|
layout_mode = 2
|
|
texture = ExtResource("6_jn707")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Category2" type="HBoxContainer" parent="Screen/ScreenContainer/ScrollContainer/Categories"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category2"]
|
|
custom_minimum_size = Vector2(50, 50)
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
texture = ExtResource("8_8iodd")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Button" type="Button" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category2"]
|
|
custom_minimum_size = Vector2(100, 100)
|
|
layout_mode = 2
|
|
flat = true
|
|
expand_icon = true
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category2/Button"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 5
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category2/Button/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
texture = ExtResource("7_0715l")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Label" type="Label" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category2/Button/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Fertiliseur"
|
|
label_settings = SubResource("LabelSettings_t7tak")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category2/Button/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 0
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category2/Button/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_vpxyy")
|
|
text = "2"
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category2/Button/VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(20, 20)
|
|
layout_mode = 2
|
|
texture = ExtResource("3_ou1lu")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Label2" type="Label" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category2/Button/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_vpxyy")
|
|
text = "3"
|
|
|
|
[node name="TextureRect2" type="TextureRect" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category2/Button/VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(20, 20)
|
|
layout_mode = 2
|
|
texture = ExtResource("6_jn707")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Category3" type="HBoxContainer" parent="Screen/ScreenContainer/ScrollContainer/Categories"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category3"]
|
|
custom_minimum_size = Vector2(50, 50)
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
texture = ExtResource("9_1f0ht")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Button" type="Button" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category3"]
|
|
custom_minimum_size = Vector2(100, 100)
|
|
layout_mode = 2
|
|
flat = true
|
|
expand_icon = true
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category3/Button"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 5
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category3/Button/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
texture = ExtResource("7_0715l")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Label" type="Label" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category3/Button/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Foreuse"
|
|
label_settings = SubResource("LabelSettings_t7tak")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category3/Button/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 0
|
|
alignment = 1
|
|
|
|
[node name="Label2" type="Label" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category3/Button/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_vpxyy")
|
|
text = "5"
|
|
|
|
[node name="TextureRect2" type="TextureRect" parent="Screen/ScreenContainer/ScrollContainer/Categories/Category3/Button/VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(20, 20)
|
|
layout_mode = 2
|
|
texture = ExtResource("6_jn707")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[editable path="Screen"]
|