195 lines
4.9 KiB
Plaintext
195 lines
4.9 KiB
Plaintext
[gd_scene load_steps=4 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scripts/ui/ship_schematic.gd" id="1_schematic"]
|
|
[ext_resource type="PackedScene" path="res://scenes/ui/inventory_slot_view.tscn" id="2_slot"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="EquipmentPanelStyle"]
|
|
bg_color = Color(0.018, 0.028, 0.043, 0.96)
|
|
border_width_left = 1
|
|
border_width_top = 1
|
|
border_width_right = 1
|
|
border_width_bottom = 1
|
|
border_color = Color(0.38, 0.42, 0.46, 0.9)
|
|
content_margin_left = 7.0
|
|
content_margin_top = 7.0
|
|
content_margin_right = 7.0
|
|
content_margin_bottom = 7.0
|
|
corner_radius_top_left = 3
|
|
corner_radius_top_right = 3
|
|
corner_radius_bottom_left = 3
|
|
corner_radius_bottom_right = 3
|
|
|
|
[node name="ShipEquipmentPanel" type="PanelContainer"]
|
|
anchors_preset = 1
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -330.0
|
|
offset_top = 244.0
|
|
offset_right = -10.0
|
|
offset_bottom = 634.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 1
|
|
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.8, 0.84, 0.88, 1)
|
|
theme_override_font_sizes/font_size = 12
|
|
text = "SYSTEMY POKŁADOWE"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="EquipmentLayout" type="Control" parent="Contents"]
|
|
custom_minimum_size = Vector2(284, 552)
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
|
|
[node name="Schematic" type="Control" parent="Contents/EquipmentLayout"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
script = ExtResource("1_schematic")
|
|
|
|
[node name="Weapon1" parent="Contents/EquipmentLayout" instance=ExtResource("2_slot")]
|
|
layout_mode = 0
|
|
offset_left = 14.0
|
|
offset_top = 22.0
|
|
offset_right = 78.0
|
|
offset_bottom = 86.0
|
|
slot_kind = "weapon"
|
|
slot_index = 0
|
|
overlay_slot = true
|
|
|
|
[node name="Weapon2" parent="Contents/EquipmentLayout" instance=ExtResource("2_slot")]
|
|
layout_mode = 0
|
|
offset_left = 206.0
|
|
offset_top = 22.0
|
|
offset_right = 270.0
|
|
offset_bottom = 86.0
|
|
slot_kind = "weapon"
|
|
slot_index = 1
|
|
overlay_slot = true
|
|
|
|
[node name="Weapon3" parent="Contents/EquipmentLayout" instance=ExtResource("2_slot")]
|
|
layout_mode = 0
|
|
offset_left = 110.0
|
|
offset_top = 22.0
|
|
offset_right = 174.0
|
|
offset_bottom = 86.0
|
|
slot_kind = "weapon"
|
|
slot_index = 2
|
|
overlay_slot = true
|
|
|
|
[node name="Module1" parent="Contents/EquipmentLayout" instance=ExtResource("2_slot")]
|
|
layout_mode = 0
|
|
offset_left = 14.0
|
|
offset_top = 108.0
|
|
offset_right = 78.0
|
|
offset_bottom = 172.0
|
|
slot_kind = "module"
|
|
slot_index = 0
|
|
overlay_slot = true
|
|
|
|
[node name="Module2" parent="Contents/EquipmentLayout" instance=ExtResource("2_slot")]
|
|
layout_mode = 0
|
|
offset_left = 14.0
|
|
offset_top = 200.0
|
|
offset_right = 78.0
|
|
offset_bottom = 264.0
|
|
slot_kind = "module"
|
|
slot_index = 1
|
|
overlay_slot = true
|
|
|
|
[node name="Module3" parent="Contents/EquipmentLayout" instance=ExtResource("2_slot")]
|
|
layout_mode = 0
|
|
offset_left = 14.0
|
|
offset_top = 292.0
|
|
offset_right = 78.0
|
|
offset_bottom = 356.0
|
|
slot_kind = "module"
|
|
slot_index = 2
|
|
overlay_slot = true
|
|
|
|
[node name="Module4" parent="Contents/EquipmentLayout" instance=ExtResource("2_slot")]
|
|
layout_mode = 0
|
|
offset_left = 14.0
|
|
offset_top = 384.0
|
|
offset_right = 78.0
|
|
offset_bottom = 448.0
|
|
slot_kind = "module"
|
|
slot_index = 3
|
|
overlay_slot = true
|
|
|
|
[node name="Module5" parent="Contents/EquipmentLayout" instance=ExtResource("2_slot")]
|
|
layout_mode = 0
|
|
offset_left = 14.0
|
|
offset_top = 476.0
|
|
offset_right = 78.0
|
|
offset_bottom = 540.0
|
|
slot_kind = "module"
|
|
slot_index = 4
|
|
overlay_slot = true
|
|
|
|
[node name="Extension1" parent="Contents/EquipmentLayout" instance=ExtResource("2_slot")]
|
|
layout_mode = 0
|
|
offset_left = 206.0
|
|
offset_top = 108.0
|
|
offset_right = 270.0
|
|
offset_bottom = 172.0
|
|
slot_kind = "extension"
|
|
slot_index = 0
|
|
overlay_slot = true
|
|
|
|
[node name="Extension2" parent="Contents/EquipmentLayout" instance=ExtResource("2_slot")]
|
|
layout_mode = 0
|
|
offset_left = 206.0
|
|
offset_top = 200.0
|
|
offset_right = 270.0
|
|
offset_bottom = 264.0
|
|
slot_kind = "extension"
|
|
slot_index = 1
|
|
overlay_slot = true
|
|
|
|
[node name="Extension3" parent="Contents/EquipmentLayout" instance=ExtResource("2_slot")]
|
|
layout_mode = 0
|
|
offset_left = 206.0
|
|
offset_top = 292.0
|
|
offset_right = 270.0
|
|
offset_bottom = 356.0
|
|
slot_kind = "extension"
|
|
slot_index = 2
|
|
overlay_slot = true
|
|
|
|
[node name="Extension4" parent="Contents/EquipmentLayout" instance=ExtResource("2_slot")]
|
|
layout_mode = 0
|
|
offset_left = 206.0
|
|
offset_top = 384.0
|
|
offset_right = 270.0
|
|
offset_bottom = 448.0
|
|
slot_kind = "extension"
|
|
slot_index = 3
|
|
overlay_slot = true
|
|
|
|
[node name="Extension5" parent="Contents/EquipmentLayout" instance=ExtResource("2_slot")]
|
|
layout_mode = 0
|
|
offset_left = 206.0
|
|
offset_top = 476.0
|
|
offset_right = 270.0
|
|
offset_bottom = 540.0
|
|
slot_kind = "extension"
|
|
slot_index = 4
|
|
overlay_slot = true
|
|
|
|
[node name="InventoryButton" type="Button" parent="Contents"]
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 28)
|
|
theme_override_font_sizes/font_size = 12
|
|
text = "MAGAZYN"
|