[gd_scene load_steps=7 format=3 uid="uid://bxctpr0tfqidf"] [ext_resource type="Theme" uid="uid://d035h7upxrw3h" path="res://theme.tres" id="1_fcqle"] [ext_resource type="Texture2D" uid="uid://cd205j7rs5ph7" path="res://ui/buildingmeny.png" id="1_xpu1e"] [ext_resource type="Script" path="res://ui/counters.gd" id="2_ei01o"] [ext_resource type="Texture2D" uid="uid://6bpdb3npejtx" path="res://ui/stone_icon.png" id="2_vo570"] [ext_resource type="Texture2D" uid="uid://byx0ivnwice1e" path="res://ui/wood_icon.png" id="3_ohuq3"] [ext_resource type="Texture2D" uid="uid://rtrb5p3o61i4" path="res://ui/essence_icon.png" id="4_7fjj4"] [node name="UI" type="MarginContainer"] custom_minimum_size = Vector2(640, 360) anchors_preset = 10 anchor_right = 1.0 offset_bottom = 44.0 grow_horizontal = 2 theme = ExtResource("1_fcqle") [node name="HBoxContainer" type="HBoxContainer" parent="."] layout_mode = 2 [node name="LeftCounters" type="HBoxContainer" parent="HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 [node name="Resources" type="MarginContainer" parent="HBoxContainer/LeftCounters"] layout_mode = 2 [node name="Background" type="NinePatchRect" parent="HBoxContainer/LeftCounters/Resources"] custom_minimum_size = Vector2(168, 24) layout_mode = 2 size_flags_vertical = 0 texture = ExtResource("1_xpu1e") region_rect = Rect2(-0.458088, -0.349636, 186.046, 47.2991) [node name="StoneIcon" type="TextureRect" parent="HBoxContainer/LeftCounters/Resources/Background"] layout_mode = 0 offset_left = 10.0 offset_right = 34.0 offset_bottom = 24.0 texture = ExtResource("2_vo570") expand_mode = 2 [node name="WoodIcon" type="TextureRect" parent="HBoxContainer/LeftCounters/Resources/Background"] layout_mode = 0 offset_left = 65.0 offset_right = 89.0 offset_bottom = 24.0 texture = ExtResource("3_ohuq3") expand_mode = 2 [node name="EssenceIcon" type="TextureRect" parent="HBoxContainer/LeftCounters/Resources/Background"] layout_mode = 0 offset_left = 120.0 offset_right = 144.0 offset_bottom = 24.0 texture = ExtResource("4_7fjj4") expand_mode = 2 [node name="StoneCountLabel" type="Label" parent="HBoxContainer/LeftCounters/Resources/Background"] layout_mode = 2 offset_right = 55.0 offset_bottom = 24.0 theme_override_colors/font_color = Color(1, 1, 1, 1) text = "000" horizontal_alignment = 2 vertical_alignment = 1 script = ExtResource("2_ei01o") key = "stone" [node name="WoodCountLabel" type="Label" parent="HBoxContainer/LeftCounters/Resources/Background"] layout_mode = 2 offset_left = 55.0 offset_right = 110.0 offset_bottom = 24.0 theme_override_colors/font_color = Color(1, 1, 1, 1) text = "000" horizontal_alignment = 2 vertical_alignment = 1 script = ExtResource("2_ei01o") key = "wood" [node name="EssenceCountLabel" type="Label" parent="HBoxContainer/LeftCounters/Resources/Background"] layout_mode = 2 offset_left = 110.0 offset_right = 165.0 offset_bottom = 24.0 theme_override_colors/font_color = Color(1, 1, 1, 1) text = "000" horizontal_alignment = 2 vertical_alignment = 1 script = ExtResource("2_ei01o") key = "essence" [node name="RightCounters" type="VBoxContainer" parent="HBoxContainer"] layout_direction = 2 layout_mode = 2 [node name="RightCounters" type="MarginContainer" parent="HBoxContainer/RightCounters"] layout_mode = 2 [node name="Background" type="NinePatchRect" parent="HBoxContainer/RightCounters/RightCounters"] custom_minimum_size = Vector2(113, 24) layout_mode = 2 texture = ExtResource("1_xpu1e") region_rect = Rect2(1.19859, 0.999939, 182.287, 45.1203) [node name="PopulationIcon" type="TextureRect" parent="HBoxContainer/RightCounters/RightCounters/Background"] layout_mode = 0 offset_left = 10.0 offset_right = 34.0 offset_bottom = 24.0 expand_mode = 2 [node name="FloodLevelIcon" type="TextureRect" parent="HBoxContainer/RightCounters/RightCounters/Background"] layout_mode = 0 offset_left = 65.0 offset_right = 89.0 offset_bottom = 24.0 expand_mode = 2 [node name="PopulationCountLabel" type="Label" parent="HBoxContainer/RightCounters/RightCounters/Background"] layout_mode = 2 offset_right = 55.0 offset_bottom = 24.0 theme_override_colors/font_color = Color(1, 1, 1, 1) text = "000" horizontal_alignment = 2 vertical_alignment = 1 script = ExtResource("2_ei01o") key = "population" [node name="FloodLevelCountLabel" type="Label" parent="HBoxContainer/RightCounters/RightCounters/Background"] layout_mode = 2 offset_left = 55.0 offset_right = 110.0 offset_bottom = 24.0 theme_override_colors/font_color = Color(1, 1, 1, 1) text = "000" horizontal_alignment = 2 vertical_alignment = 1 script = ExtResource("2_ei01o") key = "flood_level"