aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/GameSession/ProvinceOverviewPanel/ProvinceOverviewPanel.tscn
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-08-06 11:44:05 +0200
committer GitHub <noreply@github.com>2023-08-06 11:44:05 +0200
commitff0d38b5d53fa95609f2587a2be5205f0c0d3118 (patch)
tree2b08788e43e72106442ed74af78fdc67ef83f3ce /game/src/Game/GameSession/ProvinceOverviewPanel/ProvinceOverviewPanel.tscn
parentce9022d0df74d6c33db3686622be2050d873ab0b (diff)
parent244a669311edc5136aaa730b31ef64fd9d56879d (diff)
Merge pull request #144 from OpenVicProject/pops
First pass at pops (test pops and density mapmode)
Diffstat (limited to 'game/src/Game/GameSession/ProvinceOverviewPanel/ProvinceOverviewPanel.tscn')
-rw-r--r--game/src/Game/GameSession/ProvinceOverviewPanel/ProvinceOverviewPanel.tscn10
1 files changed, 9 insertions, 1 deletions
diff --git a/game/src/Game/GameSession/ProvinceOverviewPanel/ProvinceOverviewPanel.tscn b/game/src/Game/GameSession/ProvinceOverviewPanel/ProvinceOverviewPanel.tscn
index 896f8e9..7c82f10 100644
--- a/game/src/Game/GameSession/ProvinceOverviewPanel/ProvinceOverviewPanel.tscn
+++ b/game/src/Game/GameSession/ProvinceOverviewPanel/ProvinceOverviewPanel.tscn
@@ -2,7 +2,7 @@
[ext_resource type="Script" path="res://src/Game/GameSession/ProvinceOverviewPanel/ProvinceOverviewPanel.gd" id="1_3n8k5"]
-[node name="ProvinceOverviewPanel" type="PanelContainer" node_paths=PackedStringArray("_province_name_label", "_region_name_label", "_life_rating_bar", "_rgo_icon_texture_rect", "_rgo_name_label", "_buildings_container")]
+[node name="ProvinceOverviewPanel" type="PanelContainer" node_paths=PackedStringArray("_province_name_label", "_region_name_label", "_life_rating_bar", "_total_population_label", "_rgo_icon_texture_rect", "_rgo_name_label", "_buildings_container")]
editor_description = "UI-56"
anchors_preset = 2
anchor_top = 1.0
@@ -15,6 +15,7 @@ script = ExtResource("1_3n8k5")
_province_name_label = NodePath("PanelList/TopBarList/NameList/ProvinceName")
_region_name_label = NodePath("PanelList/TopBarList/NameList/RegionName")
_life_rating_bar = NodePath("PanelList/TopBarList/NameList/LifeRatingBar")
+_total_population_label = NodePath("PanelList/InteractList/TotalPopulation")
_rgo_icon_texture_rect = NodePath("PanelList/InteractList/RGOInfo/RGOIcon")
_rgo_name_label = NodePath("PanelList/InteractList/RGOInfo/RGOName")
_buildings_container = NodePath("PanelList/InteractList/BuildingsContainer")
@@ -63,6 +64,13 @@ size_flags_vertical = 3
layout_mode = 2
mouse_filter = 1
+[node name="TotalPopulation" type="Label" parent="PanelList/InteractList"]
+editor_description = "UI-121"
+layout_mode = 2
+tooltip_text = "PROVINCE_POPULATION_TOOLTIP"
+mouse_filter = 1
+text = "total_population_MISSING"
+
[node name="RGOInfo" type="HBoxContainer" parent="PanelList/InteractList"]
editor_description = "UI-112"
layout_mode = 2