[gd_scene load_steps=12 format=3 uid="uid://iaf4md4cbwqh"] [ext_resource type="Script" path="res://scripts/gui/seed_card.gd" id="1_ecgsq"] [ext_resource type="Theme" uid="uid://dnebunkx13tbr" path="res://assets/gui/Text.tres" id="2_n5opx"] [ext_resource type="Texture2D" uid="uid://dpfe11wn04ntd" path="res://assets/gui/icons/watering-soil.svg" id="3_4sryb"] [ext_resource type="Texture2D" uid="uid://be2uusaqcpcpd" path="res://assets/gradients/Fertility.tres" id="4_5omu3"] [ext_resource type="PackedScene" path="res://objects/gui/Stats_area.tscn" id="4_wwqbk"] [ext_resource type="Texture2D" uid="uid://cwowpvsoo3dey" path="res://assets/gradients/Water.tres" id="5_hwfmn"] [ext_resource type="Texture2D" uid="uid://dgo81cisfryi1" path="res://assets/gui/icons/soil-alt.svg" id="6_4k6c3"] [ext_resource type="Texture2D" uid="uid://bdg3ep75da6xd" path="res://assets/gui/icons/tree.svg" id="8_i3l01"] [ext_resource type="Texture2D" uid="uid://biti1wmdsg7xr" path="res://assets/gradients/Presence.tres" id="9_w0o2o"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8gji7"] draw_center = false border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_kiud1"] [node name="SeedCard" type="Control"] layout_mode = 3 anchors_preset = 0 size_flags_horizontal = 8 size_flags_vertical = 8 script = ExtResource("1_ecgsq") [node name="Card" type="PanelContainer" parent="."] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -277.0 offset_top = -280.0 grow_horizontal = 0 grow_vertical = 0 [node name="TextureRect" type="Panel" parent="Card"] layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_8gji7") [node name="MarginContainer" type="MarginContainer" parent="Card"] layout_mode = 2 theme_override_constants/margin_left = 10 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 10 theme_override_constants/margin_bottom = 10 [node name="VBoxContainer" type="VBoxContainer" parent="Card/MarginContainer"] layout_mode = 2 [node name="Nom" type="Label" parent="Card/MarginContainer/VBoxContainer"] layout_mode = 2 theme = ExtResource("2_n5opx") theme_override_font_sizes/font_size = 30 text = "Chène" horizontal_alignment = 1 vertical_alignment = 1 [node name="Image" type="TextureRect" parent="Card/MarginContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 80) layout_mode = 2 texture = SubResource("NoiseTexture2D_kiud1") expand_mode = 3 stretch_mode = 5 [node name="Needs" type="Label" parent="Card/MarginContainer/VBoxContainer"] layout_mode = 2 theme = ExtResource("2_n5opx") theme_override_font_sizes/font_size = 20 text = "Needs" horizontal_alignment = 1 vertical_alignment = 1 [node name="WaterNeeds" type="HFlowContainer" parent="Card/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_constants/h_separation = 20 alignment = 2 [node name="IconLabel" type="HBoxContainer" parent="Card/MarginContainer/VBoxContainer/WaterNeeds"] layout_mode = 2 theme_override_constants/separation = 10 [node name="TextureRect" type="TextureRect" parent="Card/MarginContainer/VBoxContainer/WaterNeeds/IconLabel"] layout_mode = 2 texture = ExtResource("3_4sryb") [node name="Label" type="Label" parent="Card/MarginContainer/VBoxContainer/WaterNeeds/IconLabel"] layout_mode = 2 theme = ExtResource("2_n5opx") text = "Water" [node name="StatsArea" parent="Card/MarginContainer/VBoxContainer/WaterNeeds" instance=ExtResource("4_wwqbk")] layout_mode = 2 gradient = ExtResource("5_hwfmn") [node name="FertilityNeeds" type="HFlowContainer" parent="Card/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_constants/h_separation = 20 alignment = 2 [node name="IconLabel" type="HBoxContainer" parent="Card/MarginContainer/VBoxContainer/FertilityNeeds"] layout_mode = 2 theme_override_constants/separation = 10 [node name="TextureRect" type="TextureRect" parent="Card/MarginContainer/VBoxContainer/FertilityNeeds/IconLabel"] layout_mode = 2 texture = ExtResource("6_4k6c3") [node name="Label" type="Label" parent="Card/MarginContainer/VBoxContainer/FertilityNeeds/IconLabel"] layout_mode = 2 theme = ExtResource("2_n5opx") text = "Fertility" [node name="StatsArea" parent="Card/MarginContainer/VBoxContainer/FertilityNeeds" instance=ExtResource("4_wwqbk")] layout_mode = 2 gradient = ExtResource("4_5omu3") [node name="Population" type="HFlowContainer" parent="Card/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_constants/h_separation = 20 alignment = 2 [node name="IconLabel" type="HBoxContainer" parent="Card/MarginContainer/VBoxContainer/Population"] layout_mode = 2 theme_override_constants/separation = 10 [node name="TextureRect" type="TextureRect" parent="Card/MarginContainer/VBoxContainer/Population/IconLabel"] layout_mode = 2 texture = ExtResource("8_i3l01") [node name="Label" type="Label" parent="Card/MarginContainer/VBoxContainer/Population/IconLabel"] layout_mode = 2 theme = ExtResource("2_n5opx") text = "Population" [node name="StatsArea" parent="Card/MarginContainer/VBoxContainer/Population" instance=ExtResource("4_wwqbk")] layout_mode = 2 gradient = ExtResource("9_w0o2o") [node name="Apports" type="Label" parent="Card/MarginContainer/VBoxContainer"] layout_mode = 2 theme = ExtResource("2_n5opx") theme_override_font_sizes/font_size = 20 text = "Supply " horizontal_alignment = 1 vertical_alignment = 1 [node name="WaterSupply" type="HBoxContainer" parent="Card/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_constants/separation = 10 alignment = 1 [node name="TextureRect" type="TextureRect" parent="Card/MarginContainer/VBoxContainer/WaterSupply"] layout_mode = 2 texture = ExtResource("3_4sryb") [node name="Label" type="Label" parent="Card/MarginContainer/VBoxContainer/WaterSupply"] layout_mode = 2 theme = ExtResource("2_n5opx") text = "Water" [node name="Supply" type="Label" parent="Card/MarginContainer/VBoxContainer/WaterSupply"] layout_mode = 2 theme = ExtResource("2_n5opx") theme_override_font_sizes/font_size = 20 text = "1" [node name="FertilitySupply" type="HBoxContainer" parent="Card/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_constants/separation = 10 alignment = 1 [node name="TextureRect" type="TextureRect" parent="Card/MarginContainer/VBoxContainer/FertilitySupply"] layout_mode = 2 texture = ExtResource("6_4k6c3") [node name="Label" type="Label" parent="Card/MarginContainer/VBoxContainer/FertilitySupply"] layout_mode = 2 theme = ExtResource("2_n5opx") text = "Fertility" [node name="Supply" type="Label" parent="Card/MarginContainer/VBoxContainer/FertilitySupply"] layout_mode = 2 theme = ExtResource("2_n5opx") theme_override_font_sizes/font_size = 20 text = "1" [node name="PopulationSupply" type="HBoxContainer" parent="Card/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_constants/separation = 10 alignment = 1 [node name="TextureRect" type="TextureRect" parent="Card/MarginContainer/VBoxContainer/PopulationSupply"] layout_mode = 2 texture = ExtResource("8_i3l01") [node name="Label" type="Label" parent="Card/MarginContainer/VBoxContainer/PopulationSupply"] layout_mode = 2 theme = ExtResource("2_n5opx") text = "Population" [node name="Supply" type="Label" parent="Card/MarginContainer/VBoxContainer/PopulationSupply"] layout_mode = 2 theme = ExtResource("2_n5opx") theme_override_font_sizes/font_size = 20 text = "1"