Refactor code structure for improved readability and maintainability

This commit is contained in:
Kirill
2026-05-26 23:21:44 +03:00
parent 3bab036cc4
commit edb5ec9dfa
28 changed files with 238 additions and 426 deletions
+13 -12
View File
@@ -4,16 +4,17 @@ class_name OwniverseEntity
var id: String
var is_visible: bool = false
var unlock: Dictionary = {}
var is_unlocked: bool = false
var cost: Dictionary = {}
var bind: Dictionary = {}
var mass: float
var space: int
var mass: float
var space: int
var lifespan: int
var auto: float
var gamma: float
var blast: int
var gamma: float
var blast: int
var life_product: Dictionary = {}
var product_per_year_type: String = ""
var product_per_year_amount: float = 0.0
var voids: int
var output_or: Dictionary = {}
var output_and: Dictionary = {}
@@ -30,26 +31,28 @@ var claim: String
var amount: float = 0.0
func init_entity(values: Dictionary) -> bool:
func init_entity(values: Dictionary) -> void:
id = values.id
is_visible = values.is_visible == "1"
unlock = _parse_and_string(values.unlock)
if "prime" == values.unlock:
is_unlocked = true
cost = _parse_and_string(values.cost)
bind = _parse_and_string(values.bind)
mass = float(values.mass)
space = int(values.space)
lifespan = int(values.lifespan)
auto = float(values.auto)
gamma = float(values.gamma)
gamma = float(values.gamma)
blast = int(values.blast)
life_product = _parse_and_string(values.life_product)
for key in life_product.keys():
product_per_year_type = key
product_per_year_amount = life_product[key] / lifespan if lifespan != 0 else 0
voids = int(values.voids)
output_or = _parse_or_string(values.output)
output_and = _parse_and_string(values.output)
destroy_level = int(values.destroy_level)
degradation = _parse_and_string(values.degradation)
degradation = _parse_and_string(values.degradation)
planets = _parse_planet_string(values.planets)
count_as = values.count_as
group_as = values.group_as
@@ -58,8 +61,6 @@ func init_entity(values: Dictionary) -> bool:
civ_bonus = float(values.civ_bonus)
claim = values.claim
return true
func _parse_or_string(source_line: String) -> Dictionary:
var result = {}
+49 -12
View File
@@ -1,6 +1,8 @@
extends Node
class_name Owniverse
signal unlock_item(item_id: String)
var g_datetime: float = 0
var g_speed: int = 1
var g_speed_in_years = 1
@@ -11,31 +13,57 @@ var items_to_update: Dictionary[String, float] = {}
var cumulative_amount: Dictionary[String, float] = {}
var auto_production: Array = []
var locked_entities: Array = []
#region Production
func cycle(delta: float) -> void:
_check_locked_items()
func produce(item_id: String, amount: int) -> void:
if item_id == "S" or item_id == 'H':
entities[item_id].amount += 1
var entity: OwniverseEntity = entities[item_id]
_process_enitity(entity, amount)
_process_enitity(item_id, amount)
func automated_production() -> void:
pass
func automated_production(_delta: float) -> void:
for entity_id in auto_production:
var entity = entities[entity_id]
var amount_to_produce = int(entity.amount * entity.product_per_year_amount * _delta)
# add to all lists
func _process_enitity(item_id: String, amount: int) -> void:
items_to_update[item_id] = entities[item_id].amount
func _process_enitity(entity: OwniverseEntity, amount: int) -> void:
_count_cumulative(entity, amount)
items_to_update[entity.id] = entity.amount
func _count_cumulative(item_id: String, amount: int) -> void:
if cumulative_amount.has(item_id):
cumulative_amount[item_id] += amount
else:
cumulative_amount[item_id] = amount
func _count_cumulative(entity: OwniverseEntity, amount: int) -> void:
cumulative_amount[entity.id] += amount
if entity.group_as != "":
cumulative_amount[entity.group_as] += amount
func _check_locked_items() -> void:
for entity:OwniverseEntity in locked_entities:
for elem in entity.unlock:
if cumulative_amount[elem] < entity.unlock[elem]:
continue
print(entity.id, " ", elem, ":", entity.unlock[elem])
unlock_item.emit(entity.id)
locked_entities.erase(entity)
# unlock here
return
#endregion
@@ -44,10 +72,19 @@ func init_enitities() -> void:
var entity = OwniverseEntity.new()
entity.init_entity(Global.OwniverseEntities[entity_id])
entities[entity_id] = entity
cumulative_amount[entity_id] = 0
cumulative_amount[entity.group_as] = 0
if entity.unlock != {}:
locked_entities.append(entity)
if entity.product_per_year_type != "":
auto_production.append(entity)
func add_time_delta(delta) -> float:
var year_delta:float = delta * g_speed_in_years
var year_delta: float = delta * g_speed_in_years
# all ownivewrse activity should be called here
@@ -57,5 +94,5 @@ func add_time_delta(delta) -> float:
func change_speed(delta: int) -> int:
g_speed = clamp(g_speed + delta, 1, Global.SPEED_LIMIT)
g_speed_in_years = pow(10, g_speed-1)
g_speed_in_years = pow(10, g_speed - 1)
return g_speed
+844
View File
@@ -0,0 +1,844 @@
[gd_scene format=3 uid="uid://bv384dpmvjv8o"]
[ext_resource type="Script" uid="uid://d2wrwichuoncd" path="res://world/Background/background.gd" id="1_ifjjt"]
[ext_resource type="PackedScene" uid="uid://icbk3la71t7h" path="res://world/Background/starry_sky_layer.tscn" id="2_behgl"]
[ext_resource type="Script" uid="uid://iiva6x8uo0f2" path="res://stage/stage.gd" id="3_k83x5"]
[ext_resource type="Texture2D" uid="uid://5f80g4i46ycl" path="res://ui/topmenu/buttons/button.burger.normal.png" id="4_b8tmp"]
[ext_resource type="Texture2D" uid="uid://caia36a08wlqs" path="res://ui/topmenu/buttons/button.burger.pressed.png" id="5_en1oy"]
[ext_resource type="Texture2D" uid="uid://cjcchycx7biyl" path="res://ui/topmenu/time&speed/time_x.png" id="6_pfbnl"]
[ext_resource type="FontFile" uid="uid://dtyi81a0phumr" path="res://fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf" id="7_gwdna"]
[ext_resource type="Texture2D" uid="uid://davmv5mwt3mo1" path="res://ui/topmenu/time&speed/speed.png" id="8_h4vgh"]
[ext_resource type="Texture2D" uid="uid://cnjtnggw5ccq3" path="res://ui/topmenu/time&speed/time1.png" id="9_kvuv0"]
[ext_resource type="Texture2D" uid="uid://rmdsdkck0vst" path="res://ui/topmenu/buttons/buton.report.normal.png" id="10_sg5c8"]
[ext_resource type="Texture2D" uid="uid://dbhkuw2jshyoh" path="res://ui/topmenu/buttons/buton.report.pressed.png" id="11_vu62d"]
[ext_resource type="PackedScene" uid="uid://dg15dpxiepicb" path="res://ui/border/border.tscn" id="12_58wjt"]
[ext_resource type="Texture2D" uid="uid://dgkmobpfbbffa" path="res://ui/pages/forces.en.png" id="13_dp8ul"]
[ext_resource type="FontFile" uid="uid://d3k1ddvv0rmhs" path="res://fonts/Roboto_Condensed/RobotoCondensed-Light.ttf" id="14_o7xkw"]
[ext_resource type="FontFile" uid="uid://8s0fv3gfj317" path="res://fonts/Roboto_Condensed/RobotoCondensed-BoldItalic.ttf" id="15_bfrib"]
[ext_resource type="FontFile" uid="uid://derqj4pbwtae6" path="res://fonts/Roboto_Condensed/RobotoCondensed-Italic.ttf" id="16_mip0j"]
[ext_resource type="Texture2D" uid="uid://i43jaaejvh5f" path="res://ui/indicators/energy/energy.png" id="17_l6135"]
[ext_resource type="Texture2D" uid="uid://bef36h52n7lxb" path="res://ui/indicators/energy/border-energy.png" id="18_uvuuk"]
[ext_resource type="Texture2D" uid="uid://blq0anccuu387" path="res://ui/pages/resources.en.png" id="19_an6vj"]
[ext_resource type="Texture2D" uid="uid://cvc1stj3hoax5" path="res://ui/indicators/density/density.png" id="20_s3ar6"]
[ext_resource type="Texture2D" uid="uid://df2nus1pmcc67" path="res://ui/indicators/density/density_crunch.png" id="21_d36xh"]
[ext_resource type="Texture2D" uid="uid://bbk74pjqgxe32" path="res://ui/indicators/density/density_rip.png" id="22_vu83j"]
[ext_resource type="Texture2D" uid="uid://bm8ae1ffv7xq5" path="res://ui/indicators/density/density_pointer.png" id="23_bcq5b"]
[ext_resource type="Texture2D" uid="uid://dbcmaot2c3tg5" path="res://ui/indicators/burnability/burnability.png" id="24_o2i0n"]
[ext_resource type="Texture2D" uid="uid://sry5js57vds4" path="res://ui/indicators/burnability/burnability_pointer.png" id="25_rur7c"]
[ext_resource type="Texture2D" uid="uid://38fl8ovnubh8" path="res://ui/pages/stars.en.png" id="26_y1rwn"]
[ext_resource type="Texture2D" uid="uid://ysbavtgmq7me" path="res://ui/indicators/explosiveness/explosiveness.png" id="27_4rajv"]
[ext_resource type="Texture2D" uid="uid://bbint5cvwtrou" path="res://ui/indicators/explosiveness/explosivenessPointer.png" id="28_upe80"]
[ext_resource type="Texture2D" uid="uid://cbi24bwo70nk" path="res://ui/pages/structures.en.png" id="29_0drd1"]
[ext_resource type="Texture2D" uid="uid://cfttpatxe6k2u" path="res://ui/indicators/aggression/aggression.png" id="30_bemti"]
[ext_resource type="Texture2D" uid="uid://dm87u2ku8wec8" path="res://ui/indicators/aggression/aggression_pointer.png" id="31_x6tg5"]
[ext_resource type="Texture2D" uid="uid://bpff5o5oa4wag" path="res://ui/pages/planets.en.png" id="32_xitqn"]
[ext_resource type="Texture2D" uid="uid://bgjcnwl61nu5i" path="res://ui/indicators/trends/trend_bar1.png" id="33_fprte"]
[ext_resource type="Texture2D" uid="uid://caiyhk6vv53iu" path="res://ui/indicators/trends/trend_bar2.png" id="34_lnsl1"]
[ext_resource type="Texture2D" uid="uid://dspjxpbpwq52k" path="res://ui/indicators/trends/trend_icon_2.png" id="35_1u5dl"]
[ext_resource type="Texture2D" uid="uid://dxutg6k0ck226" path="res://ui/indicators/trends/trend_bar3.png" id="36_v15xm"]
[ext_resource type="Texture2D" uid="uid://bp72c0myjnl61" path="res://ui/indicators/trends/trend_icon_3.png" id="37_vjhti"]
[ext_resource type="Texture2D" uid="uid://qrjhpvw8ou3o" path="res://ui/indicators/trends/trend_bar4.png" id="38_ctwlg"]
[ext_resource type="Texture2D" uid="uid://bwqmmmg6w7dho" path="res://ui/indicators/trends/trend_icon_4.png" id="39_jms70"]
[ext_resource type="Texture2D" uid="uid://4tpbmpe6tbk0" path="res://ui/indicators/trends/trend_bar5.png" id="40_50rdj"]
[ext_resource type="Texture2D" uid="uid://cnf3ml5gj2cvl" path="res://ui/indicators/trends/trend_icon_5.png" id="41_mi6gc"]
[ext_resource type="Script" uid="uid://xte4iwvipeve" path="res://command_processor.gd" id="42_1s1fv"]
[node name="World" type="Node2D" unique_id=1392592456]
[node name="Background" type="Node2D" parent="." unique_id=1988758765]
script = ExtResource("1_ifjjt")
STARRY_SKY_LAYER = ExtResource("2_behgl")
[node name="Stage" type="Control" parent="." unique_id=1485959841]
custom_minimum_size = Vector2(1080, 1920)
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
size_flags_horizontal = 4
size_flags_vertical = 3
script = ExtResource("3_k83x5")
[node name="StageRows" type="VBoxContainer" parent="Stage" unique_id=1878643860]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 128.0
grow_horizontal = 2
size_flags_horizontal = 3
theme_override_constants/separation = 0
[node name="TopMenu" type="HBoxContainer" parent="Stage/StageRows" unique_id=255793366]
custom_minimum_size = Vector2(0, 128)
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
theme_override_constants/separation = 0
[node name="BurgerButton" type="TextureButton" parent="Stage/StageRows/TopMenu" unique_id=760392200]
custom_minimum_size = Vector2(128, 128)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("4_b8tmp")
texture_pressed = ExtResource("5_en1oy")
[node name="LeftSeparator" type="Panel" parent="Stage/StageRows/TopMenu" unique_id=305575734]
self_modulate = Color(1, 1, 1, 0)
custom_minimum_size = Vector2(64, 128)
layout_mode = 2
[node name="TimeMinus" type="TextureButton" parent="Stage/StageRows/TopMenu" unique_id=1811052825]
custom_minimum_size = Vector2(128, 128)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("6_pfbnl")
[node name="InfoPanel" type="VBoxContainer" parent="Stage/StageRows/TopMenu" unique_id=397773008]
custom_minimum_size = Vector2(440, 0)
layout_mode = 2
size_flags_horizontal = 3
[node name="DateTime" type="Label" parent="Stage/StageRows/TopMenu/InfoPanel" unique_id=1261215093]
custom_minimum_size = Vector2(240, 72)
layout_mode = 2
theme_override_colors/font_color = Color(0.6, 0.6, 0.6, 1)
theme_override_fonts/font = ExtResource("7_gwdna")
theme_override_font_sizes/font_size = 48
text = "2025.11.16 09:23"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Speed" type="HBoxContainer" parent="Stage/StageRows/TopMenu/InfoPanel" unique_id=1961840008]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="Speed1" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=2128881914]
layout_mode = 2
texture = ExtResource("8_h4vgh")
[node name="Speed2" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=1532494238]
visible = false
layout_mode = 2
texture = ExtResource("8_h4vgh")
[node name="Speed3" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=180180843]
visible = false
layout_mode = 2
texture = ExtResource("8_h4vgh")
[node name="Speed4" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=847300920]
visible = false
layout_mode = 2
texture = ExtResource("8_h4vgh")
[node name="Speed5" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=636141728]
visible = false
layout_mode = 2
texture = ExtResource("8_h4vgh")
[node name="Speed6" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=988232766]
visible = false
layout_mode = 2
texture = ExtResource("8_h4vgh")
[node name="Speed7" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=1241111770]
visible = false
layout_mode = 2
texture = ExtResource("8_h4vgh")
[node name="Speed8" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=220922349]
visible = false
layout_mode = 2
texture = ExtResource("8_h4vgh")
[node name="TimePlus" type="TextureButton" parent="Stage/StageRows/TopMenu" unique_id=2128537958]
custom_minimum_size = Vector2(128, 128)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("9_kvuv0")
[node name="RightSeparator" type="Panel" parent="Stage/StageRows/TopMenu" unique_id=1481873764]
self_modulate = Color(1, 1, 1, 0)
custom_minimum_size = Vector2(64, 128)
layout_mode = 2
[node name="ReportButton" type="TextureButton" parent="Stage/StageRows/TopMenu" unique_id=247269539]
custom_minimum_size = Vector2(128, 128)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("10_sg5c8")
texture_pressed = ExtResource("11_vu62d")
[node name="TopMenuBorder" parent="Stage/StageRows" unique_id=476233375 instance=ExtResource("12_58wjt")]
layout_mode = 2
[node name="PageScroller" type="ScrollContainer" parent="Stage/StageRows" unique_id=1772137283]
custom_minimum_size = Vector2(0, 1040)
layout_mode = 2
horizontal_scroll_mode = 3
vertical_scroll_mode = 0
[node name="HBoxContainer" type="HBoxContainer" parent="Stage/StageRows/PageScroller" unique_id=398473867]
layout_mode = 2
theme_override_constants/separation = 0
[node name="ForcePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=71643627]
layout_mode = 2
[node name="PageHeader" type="HBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage" unique_id=2102307933]
custom_minimum_size = Vector2(0, 128)
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
theme_override_constants/separation = 0
[node name="LeftIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage/PageHeader" unique_id=663302862]
custom_minimum_size = Vector2(316, 64)
layout_mode = 2
[node name="Header" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage/PageHeader" unique_id=1295272502]
custom_minimum_size = Vector2(440, 64)
layout_mode = 2
texture = ExtResource("13_dp8ul")
[node name="RighIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage/PageHeader" unique_id=504419468]
custom_minimum_size = Vector2(316, 64)
layout_mode = 2
[node name="PageHeaderBorder" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage" unique_id=1411786120 instance=ExtResource("12_58wjt")]
layout_mode = 2
[node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage" unique_id=1934400572]
custom_minimum_size = Vector2(0, 670)
layout_mode = 2
size_flags_vertical = 3
theme_override_fonts/normal_font = ExtResource("14_o7xkw")
theme_override_fonts/bold_font = ExtResource("7_gwdna")
theme_override_fonts/bold_italics_font = ExtResource("15_bfrib")
theme_override_fonts/italics_font = ExtResource("16_mip0j")
theme_override_font_sizes/normal_font_size = 42
theme_override_font_sizes/bold_font_size = 54
theme_override_font_sizes/bold_italics_font_size = 42
theme_override_font_sizes/italics_font_size = 42
theme_override_font_sizes/mono_font_size = 42
bbcode_enabled = true
text = "Forces"
fit_content = true
horizontal_alignment = 1
[node name="Border" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage" unique_id=519355296 instance=ExtResource("12_58wjt")]
layout_mode = 2
[node name="Forces" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage" unique_id=2057408842]
custom_minimum_size = Vector2(1080, 1024)
layout_mode = 2
mouse_filter = 1
[node name="ResourcePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=1417647206]
layout_mode = 2
[node name="ResourceHeader" type="HBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage" unique_id=1468901953]
custom_minimum_size = Vector2(0, 128)
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
theme_override_constants/separation = 0
[node name="EnergyIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader" unique_id=1518176902]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="Indicator" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader/EnergyIndicator" unique_id=427946956]
custom_minimum_size = Vector2(316, 60)
layout_mode = 1
offset_left = 2.0
offset_top = 34.0
offset_right = 318.0
offset_bottom = 94.0
texture = ExtResource("17_l6135")
[node name="Energy" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader/EnergyIndicator" unique_id=1283004804]
layout_mode = 0
offset_top = 32.0
offset_right = 320.0
offset_bottom = 96.0
texture = ExtResource("18_uvuuk")
[node name="Header" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader" unique_id=1086493812]
custom_minimum_size = Vector2(440, 64)
layout_mode = 2
texture = ExtResource("19_an6vj")
[node name="DensityIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader" unique_id=956598060]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="Density" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader/DensityIndicator" unique_id=1404964132]
custom_minimum_size = Vector2(316, 64)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -64.0
offset_right = 158.0
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("20_s3ar6")
stretch_mode = 3
[node name="DensityCrunch" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader/DensityIndicator" unique_id=473304616]
visible = false
custom_minimum_size = Vector2(316, 64)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -64.0
offset_right = 158.0
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("21_d36xh")
stretch_mode = 3
[node name="DensityRip" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader/DensityIndicator" unique_id=1255957268]
visible = false
custom_minimum_size = Vector2(316, 64)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -64.0
offset_right = 158.0
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("22_vu83j")
stretch_mode = 3
[node name="Pointer" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader/DensityIndicator" unique_id=1087356985]
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 = -24.0
offset_right = 20.0
offset_bottom = 24.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("23_bcq5b")
[node name="ResourceHeaderBorder" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage" unique_id=2672876 instance=ExtResource("12_58wjt")]
layout_mode = 2
[node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage" unique_id=1171833]
custom_minimum_size = Vector2(0, 670)
layout_mode = 2
size_flags_vertical = 3
theme_override_fonts/normal_font = ExtResource("14_o7xkw")
theme_override_fonts/bold_font = ExtResource("7_gwdna")
theme_override_fonts/bold_italics_font = ExtResource("15_bfrib")
theme_override_fonts/italics_font = ExtResource("16_mip0j")
theme_override_font_sizes/normal_font_size = 42
theme_override_font_sizes/bold_font_size = 54
theme_override_font_sizes/bold_italics_font_size = 42
theme_override_font_sizes/italics_font_size = 42
theme_override_font_sizes/mono_font_size = 42
bbcode_enabled = true
fit_content = true
horizontal_alignment = 1
[node name="Border" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage" unique_id=1268799323 instance=ExtResource("12_58wjt")]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage" unique_id=206289176]
custom_minimum_size = Vector2(1080, 1024)
layout_mode = 2
[node name="Resources" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/HBoxContainer" unique_id=1538364728]
custom_minimum_size = Vector2(256, 1024)
layout_mode = 2
mouse_filter = 2
[node name="RichTextLabel" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/HBoxContainer" unique_id=420150583]
layout_mode = 2
size_flags_horizontal = 3
context_menu_enabled = true
[node name="StarPage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=270059674]
layout_mode = 2
[node name="StarHeader" type="HBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage" unique_id=1459928]
custom_minimum_size = Vector2(0, 128)
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
theme_override_constants/separation = 0
[node name="BurnabilityIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader" unique_id=1361870819]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="Burnability" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader/BurnabilityIndicator" unique_id=24868730]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -30.0
offset_right = 158.0
offset_bottom = 30.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("24_o2i0n")
[node name="BurnabilityPointer" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader/BurnabilityIndicator" unique_id=326702611]
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 = -24.0
offset_right = 20.0
offset_bottom = 24.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("25_rur7c")
[node name="Header" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader" unique_id=1846312458]
custom_minimum_size = Vector2(440, 64)
layout_mode = 2
texture = ExtResource("26_y1rwn")
[node name="ExplosivenessIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader" unique_id=528204117]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="Explosiveness" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader/ExplosivenessIndicator" unique_id=149475724]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -30.0
offset_right = 158.0
offset_bottom = 30.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("27_4rajv")
[node name="ExplosivenessPointer" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader/ExplosivenessIndicator" unique_id=1486652639]
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 = -24.0
offset_right = 20.0
offset_bottom = 24.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("28_upe80")
[node name="StarHeaderBorder" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage" unique_id=2057421818 instance=ExtResource("12_58wjt")]
layout_mode = 2
[node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage" unique_id=1195874488]
custom_minimum_size = Vector2(0, 670)
layout_mode = 2
size_flags_vertical = 3
theme_override_fonts/normal_font = ExtResource("14_o7xkw")
theme_override_fonts/bold_font = ExtResource("7_gwdna")
theme_override_fonts/bold_italics_font = ExtResource("15_bfrib")
theme_override_fonts/italics_font = ExtResource("16_mip0j")
theme_override_font_sizes/normal_font_size = 42
theme_override_font_sizes/bold_font_size = 54
theme_override_font_sizes/bold_italics_font_size = 42
theme_override_font_sizes/italics_font_size = 42
theme_override_font_sizes/mono_font_size = 42
bbcode_enabled = true
text = "Stars"
horizontal_alignment = 1
[node name="Border" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage" unique_id=358659431 instance=ExtResource("12_58wjt")]
layout_mode = 2
[node name="Stars" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage" unique_id=1969457639]
custom_minimum_size = Vector2(1080, 1024)
layout_mode = 2
[node name="StructurePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=435979853]
layout_mode = 2
[node name="StructureHeader" type="HBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage" unique_id=1291109226]
custom_minimum_size = Vector2(0, 128)
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
theme_override_constants/separation = 0
[node name="EnergyIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader" unique_id=410607995]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="Indicator" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader/EnergyIndicator" unique_id=1701423661]
custom_minimum_size = Vector2(316, 60)
layout_mode = 1
offset_left = 2.0
offset_top = 34.0
offset_right = 318.0
offset_bottom = 94.0
texture = ExtResource("17_l6135")
[node name="Energy" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader/EnergyIndicator" unique_id=1417853951]
layout_mode = 0
offset_top = 32.0
offset_right = 320.0
offset_bottom = 96.0
texture = ExtResource("18_uvuuk")
[node name="Header" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader" unique_id=1038870090]
custom_minimum_size = Vector2(440, 64)
layout_mode = 2
texture = ExtResource("29_0drd1")
[node name="DensityIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader" unique_id=1280030697]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="Density" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader/DensityIndicator" unique_id=1683122883]
custom_minimum_size = Vector2(316, 64)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -64.0
offset_right = 158.0
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("20_s3ar6")
stretch_mode = 3
[node name="DensityCrunch" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader/DensityIndicator" unique_id=1612334015]
visible = false
custom_minimum_size = Vector2(316, 64)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -64.0
offset_right = 158.0
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("21_d36xh")
stretch_mode = 3
[node name="DensityRip" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader/DensityIndicator" unique_id=1570489598]
visible = false
custom_minimum_size = Vector2(316, 64)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -64.0
offset_right = 158.0
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("22_vu83j")
stretch_mode = 3
[node name="Pointer" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader/DensityIndicator" unique_id=1090838442]
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 = -24.0
offset_right = 20.0
offset_bottom = 24.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("23_bcq5b")
[node name="StructureHeaderBorder" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage" unique_id=522613609 instance=ExtResource("12_58wjt")]
layout_mode = 2
[node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage" unique_id=414749774]
custom_minimum_size = Vector2(0, 670)
layout_mode = 2
size_flags_vertical = 3
theme_override_fonts/normal_font = ExtResource("14_o7xkw")
theme_override_fonts/bold_font = ExtResource("7_gwdna")
theme_override_fonts/bold_italics_font = ExtResource("15_bfrib")
theme_override_fonts/italics_font = ExtResource("16_mip0j")
theme_override_font_sizes/normal_font_size = 42
theme_override_font_sizes/bold_font_size = 54
theme_override_font_sizes/bold_italics_font_size = 42
theme_override_font_sizes/italics_font_size = 42
theme_override_font_sizes/mono_font_size = 42
bbcode_enabled = true
text = "Structures"
horizontal_alignment = 1
[node name="Border" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage" unique_id=342730054 instance=ExtResource("12_58wjt")]
layout_mode = 2
[node name="Structures" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage" unique_id=1126505300]
custom_minimum_size = Vector2(1080, 1024)
layout_mode = 2
[node name="LifePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=1519563846]
layout_mode = 2
[node name="LifeHeader" type="HBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage" unique_id=1673431378]
custom_minimum_size = Vector2(0, 128)
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
theme_override_constants/separation = 0
[node name="AggressionIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader" unique_id=654536473]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="Aggression" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/AggressionIndicator" unique_id=1538930806]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -30.0
offset_right = 158.0
offset_bottom = 30.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("30_bemti")
[node name="AggressionPointer" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/AggressionIndicator" unique_id=1229249560]
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 = -24.0
offset_right = 20.0
offset_bottom = 24.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("31_x6tg5")
[node name="Header" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader" unique_id=607573422]
custom_minimum_size = Vector2(440, 64)
layout_mode = 2
texture = ExtResource("32_xitqn")
[node name="TrendIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader" unique_id=483731989]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator" unique_id=1344897474]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
theme_override_constants/separation = 2
[node name="CenterContainer" type="CenterContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer" unique_id=907503399]
layout_mode = 2
[node name="Trend1" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer" unique_id=1067418872]
layout_mode = 2
texture = ExtResource("33_fprte")
[node name="Trend1Icon" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer" unique_id=433344874]
layout_mode = 2
texture = ExtResource("31_x6tg5")
[node name="CenterContainer2" type="CenterContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer" unique_id=1119046601]
layout_mode = 2
[node name="Trend2" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer2" unique_id=893059409]
layout_mode = 2
texture = ExtResource("34_lnsl1")
[node name="Trend2Icon" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer2" unique_id=1567846635]
layout_mode = 2
texture = ExtResource("35_1u5dl")
[node name="CenterContainer3" type="CenterContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer" unique_id=1657283663]
layout_mode = 2
[node name="Trend3" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer3" unique_id=1541892233]
layout_mode = 2
texture = ExtResource("36_v15xm")
[node name="Trend3Icon" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer3" unique_id=2131664708]
layout_mode = 2
texture = ExtResource("37_vjhti")
[node name="CenterContainer4" type="CenterContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer" unique_id=1576749946]
layout_mode = 2
[node name="Trend4" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer4" unique_id=1484921702]
layout_mode = 2
texture = ExtResource("38_ctwlg")
[node name="Trend4Icon" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer4" unique_id=209689041]
layout_mode = 2
texture = ExtResource("39_jms70")
[node name="CenterContainer5" type="CenterContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer" unique_id=1182691919]
layout_mode = 2
[node name="Trend5" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer5" unique_id=873423599]
layout_mode = 2
texture = ExtResource("40_50rdj")
[node name="Trend5Icon" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer5" unique_id=1362104530]
layout_mode = 2
texture = ExtResource("41_mi6gc")
[node name="LifeHeaderBorder" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage" unique_id=100084430 instance=ExtResource("12_58wjt")]
layout_mode = 2
[node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage" unique_id=454792539]
custom_minimum_size = Vector2(0, 670)
layout_mode = 2
size_flags_vertical = 3
theme_override_fonts/normal_font = ExtResource("14_o7xkw")
theme_override_fonts/bold_font = ExtResource("7_gwdna")
theme_override_fonts/bold_italics_font = ExtResource("15_bfrib")
theme_override_fonts/italics_font = ExtResource("16_mip0j")
theme_override_font_sizes/normal_font_size = 42
theme_override_font_sizes/bold_font_size = 54
theme_override_font_sizes/bold_italics_font_size = 42
theme_override_font_sizes/italics_font_size = 42
theme_override_font_sizes/mono_font_size = 42
bbcode_enabled = true
text = "Planets"
horizontal_alignment = 1
[node name="Border" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage" unique_id=335602062 instance=ExtResource("12_58wjt")]
layout_mode = 2
[node name="Planets" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage" unique_id=1203503863]
custom_minimum_size = Vector2(1080, 1024)
layout_mode = 2
[node name="Life" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/Planets" unique_id=2090564849]
custom_minimum_size = Vector2(1080, 512)
anchors_preset = 0
offset_right = 1080.0
offset_bottom = 512.0
[node name="LivingPlanet" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/Planets" unique_id=678651682]
visible = false
custom_minimum_size = Vector2(1080, 512)
anchors_preset = 0
offset_top = 512.0
offset_right = 1080.0
offset_bottom = 1024.0
[node name="Civ0" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/Planets" unique_id=7201092]
visible = false
custom_minimum_size = Vector2(1080, 512)
anchors_preset = 0
offset_top = 512.0
offset_right = 1080.0
offset_bottom = 1024.0
[node name="Civ1" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/Planets" unique_id=986637561]
visible = false
custom_minimum_size = Vector2(1080, 512)
anchors_preset = 0
offset_top = 512.0
offset_right = 1080.0
offset_bottom = 1024.0
[node name="Civ2" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/Planets" unique_id=323991195]
visible = false
custom_minimum_size = Vector2(1080, 512)
anchors_preset = 0
offset_top = 512.0
offset_right = 1080.0
offset_bottom = 1024.0
[node name="Civ3" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/Planets" unique_id=289902942]
visible = false
custom_minimum_size = Vector2(1080, 512)
anchors_preset = 0
offset_top = 512.0
offset_right = 1080.0
offset_bottom = 1024.0
[node name="Civ4" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/Planets" unique_id=19783669]
visible = false
custom_minimum_size = Vector2(1080, 512)
anchors_preset = 0
offset_top = 512.0
offset_right = 1080.0
offset_bottom = 1024.0
[node name="ItemAmountUpdate" type="Timer" parent="Stage" unique_id=1953928024]
wait_time = 0.2
autostart = true
[node name="CommandProcessor" type="Node" parent="." unique_id=2069361293]
script = ExtResource("42_1s1fv")
[connection signal="pressed" from="Stage/StageRows/TopMenu/BurgerButton" to="Stage" method="_on_topmenu_button_pressed" binds= ["Burger"]]
[connection signal="pressed" from="Stage/StageRows/TopMenu/TimeMinus" to="Stage" method="_change_speed" binds= [-1]]
[connection signal="pressed" from="Stage/StageRows/TopMenu/TimePlus" to="Stage" method="_change_speed" binds= [1]]
[connection signal="pressed" from="Stage/StageRows/TopMenu/ReportButton" to="Stage" method="_on_topmenu_button_pressed" binds= ["Report"]]
[connection signal="pressed" from="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader/EnergyIndicator" to="Stage" method="_on_indicator_pressed" binds= ["Energy", 1]]
[connection signal="pressed" from="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader/DensityIndicator" to="Stage" method="_on_indicator_pressed" binds= ["Density", 1]]
[connection signal="pressed" from="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader/BurnabilityIndicator" to="Stage" method="_on_indicator_pressed" binds= ["Burnability", 2]]
[connection signal="pressed" from="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader/ExplosivenessIndicator" to="Stage" method="_on_indicator_pressed" binds= ["Explosiveness", 2]]
[connection signal="pressed" from="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader/EnergyIndicator" to="Stage" method="_on_indicator_pressed" binds= ["Energy", 3]]
[connection signal="pressed" from="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader/DensityIndicator" to="Stage" method="_on_indicator_pressed" binds= ["Density", 3]]
[connection signal="pressed" from="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/AggressionIndicator" to="Stage" method="_on_indicator_pressed" binds= ["Aggression", 4]]
[connection signal="pressed" from="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator" to="Stage" method="_on_indicator_pressed" binds= ["Trends", 4]]
[connection signal="timeout" from="Stage/ItemAmountUpdate" to="Stage" method="set_owniverse_item_value"]