155 lines
3.9 KiB
Plaintext
155 lines
3.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 = "WYPOSAŻENIE STATKU"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="EquipmentLayout" type="Control" parent="Contents"]
|
|
custom_minimum_size = Vector2(306, 318)
|
|
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 = 0.0
|
|
offset_top = 22.0
|
|
offset_right = 90.0
|
|
offset_bottom = 66.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 = 216.0
|
|
offset_top = 22.0
|
|
offset_right = 306.0
|
|
offset_bottom = 66.0
|
|
slot_kind = "weapon"
|
|
slot_index = 1
|
|
overlay_slot = true
|
|
|
|
[node name="Missile" parent="Contents/EquipmentLayout" instance=ExtResource("2_slot")]
|
|
layout_mode = 0
|
|
offset_left = 108.0
|
|
offset_top = 22.0
|
|
offset_right = 198.0
|
|
offset_bottom = 66.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 = 0.0
|
|
offset_top = 100.0
|
|
offset_right = 104.0
|
|
offset_bottom = 144.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 = 202.0
|
|
offset_top = 100.0
|
|
offset_right = 306.0
|
|
offset_bottom = 144.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 = 0.0
|
|
offset_top = 180.0
|
|
offset_right = 104.0
|
|
offset_bottom = 224.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 = 202.0
|
|
offset_top = 180.0
|
|
offset_right = 306.0
|
|
offset_bottom = 224.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 = 0.0
|
|
offset_top = 260.0
|
|
offset_right = 104.0
|
|
offset_bottom = 304.0
|
|
slot_kind = "module"
|
|
slot_index = 4
|
|
overlay_slot = true
|
|
|
|
[node name="Module6" parent="Contents/EquipmentLayout" instance=ExtResource("2_slot")]
|
|
layout_mode = 0
|
|
offset_left = 202.0
|
|
offset_top = 260.0
|
|
offset_right = 306.0
|
|
offset_bottom = 304.0
|
|
slot_kind = "module"
|
|
slot_index = 5
|
|
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"
|