Randoloot/scenes/ui/ship_equipment_panel.tscn
2026-10-09 14:45:28 +02:00

156 lines
4.7 KiB
Plaintext

[gd_scene load_steps=3 format=3]
[ext_resource type="Script" path="res://scripts/ui/ship_schematic.gd" id="1_schematic"]
[sub_resource type="StyleBoxFlat" id="EquipmentPanelStyle"]
bg_color = Color(0.018, 0.045, 0.085, 0.88)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.12, 0.32, 0.4, 0.9)
content_margin_left = 10.0
content_margin_top = 8.0
content_margin_right = 10.0
content_margin_bottom = 8.0
[node name="ShipEquipmentPanel" type="PanelContainer"]
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -310.0
offset_top = 18.0
offset_right = -18.0
offset_bottom = 558.0
grow_horizontal = 0
grow_vertical = 0
theme_override_styles/panel = SubResource("EquipmentPanelStyle")
[node name="Contents" type="VBoxContainer" parent="."]
layout_mode = 2
theme_override_constants/separation = 6
[node name="Title" type="Label" parent="Contents"]
layout_mode = 2
theme_override_colors/font_color = Color(0.72, 0.88, 0.98, 1)
theme_override_font_sizes/font_size = 16
text = "WYPOSAŻENIE STATKU"
horizontal_alignment = 1
[node name="WeaponLabel" type="Label" parent="Contents"]
layout_mode = 2
theme_override_colors/font_color = Color(0.98, 0.72, 0.38, 1)
theme_override_font_sizes/font_size = 13
text = "BROŃ PRZEDNIA"
horizontal_alignment = 1
[node name="WeaponSlots" type="HBoxContainer" parent="Contents"]
layout_mode = 2
theme_override_constants/separation = 8
[node name="Weapon1" type="PanelContainer" parent="Contents/WeaponSlots"]
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
[node name="Label" type="Label" parent="Contents/WeaponSlots/Weapon1"]
layout_mode = 2
theme_override_colors/font_color = Color(0.82, 0.86, 0.9, 1)
text = "BROŃ 1 [LPM]\nPUSTY"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Weapon2" type="PanelContainer" parent="Contents/WeaponSlots"]
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
[node name="Label" type="Label" parent="Contents/WeaponSlots/Weapon2"]
layout_mode = 2
theme_override_colors/font_color = Color(0.82, 0.86, 0.9, 1)
text = "BROŃ 2 [PPM]\nPUSTY"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Schematic" type="Control" parent="Contents"]
custom_minimum_size = Vector2(0, 136)
layout_mode = 2
script = ExtResource("1_schematic")
[node name="ModuleLabel" type="Label" parent="Contents"]
layout_mode = 2
theme_override_colors/font_color = Color(0.72, 0.88, 0.98, 1)
theme_override_font_sizes/font_size = 13
text = "MODUŁY NIEBOJOWE (6)"
horizontal_alignment = 1
[node name="ModuleSlots" type="GridContainer" parent="Contents"]
layout_mode = 2
columns = 2
theme_override_constants/h_separation = 8
theme_override_constants/v_separation = 6
[node name="Module1" type="PanelContainer" parent="Contents/ModuleSlots"]
custom_minimum_size = Vector2(0, 54)
layout_mode = 2
[node name="Label" type="Label" parent="Contents/ModuleSlots/Module1"]
layout_mode = 2
theme_override_colors/font_color = Color(0.82, 0.86, 0.9, 1)
text = "MODUŁ 1\nPUSTY"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Module2" type="PanelContainer" parent="Contents/ModuleSlots"]
custom_minimum_size = Vector2(0, 54)
layout_mode = 2
[node name="Label" type="Label" parent="Contents/ModuleSlots/Module2"]
layout_mode = 2
theme_override_colors/font_color = Color(0.82, 0.86, 0.9, 1)
text = "MODUŁ 2\nPUSTY"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Module3" type="PanelContainer" parent="Contents/ModuleSlots"]
custom_minimum_size = Vector2(0, 54)
layout_mode = 2
[node name="Label" type="Label" parent="Contents/ModuleSlots/Module3"]
layout_mode = 2
theme_override_colors/font_color = Color(0.82, 0.86, 0.9, 1)
text = "MODUŁ 3\nPUSTY"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Module4" type="PanelContainer" parent="Contents/ModuleSlots"]
custom_minimum_size = Vector2(0, 54)
layout_mode = 2
[node name="Label" type="Label" parent="Contents/ModuleSlots/Module4"]
layout_mode = 2
theme_override_colors/font_color = Color(0.82, 0.86, 0.9, 1)
text = "MODUŁ 4\nPUSTY"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Module5" type="PanelContainer" parent="Contents/ModuleSlots"]
custom_minimum_size = Vector2(0, 54)
layout_mode = 2
[node name="Label" type="Label" parent="Contents/ModuleSlots/Module5"]
layout_mode = 2
theme_override_colors/font_color = Color(0.82, 0.86, 0.9, 1)
text = "MODUŁ 5\nPUSTY"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Module6" type="PanelContainer" parent="Contents/ModuleSlots"]
custom_minimum_size = Vector2(0, 54)
layout_mode = 2
[node name="Label" type="Label" parent="Contents/ModuleSlots/Module6"]
layout_mode = 2
theme_override_colors/font_color = Color(0.82, 0.86, 0.9, 1)
text = "MODUŁ 6\nPUSTY"
horizontal_alignment = 1
vertical_alignment = 1