115 lines
3.3 KiB
Plaintext
115 lines
3.3 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.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 = 7.0
|
|
content_margin_top = 6.0
|
|
content_margin_right = 7.0
|
|
content_margin_bottom = 6.0
|
|
|
|
[node name="ShipEquipmentPanel" type="PanelContainer"]
|
|
anchors_preset = 1
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -248.0
|
|
offset_top = 14.0
|
|
offset_right = -14.0
|
|
offset_bottom = 454.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 = 12
|
|
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 = 10
|
|
text = "BROŃ PRZEDNIA"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="WeaponSlots" type="HBoxContainer" parent="Contents"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="Weapon1" parent="Contents/WeaponSlots" instance=ExtResource("2_slot")]
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(90, 38)
|
|
slot_kind = "weapon"
|
|
slot_index = 0
|
|
|
|
[node name="Weapon2" parent="Contents/WeaponSlots" instance=ExtResource("2_slot")]
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(90, 38)
|
|
slot_kind = "weapon"
|
|
slot_index = 1
|
|
|
|
[node name="Schematic" type="Control" parent="Contents"]
|
|
custom_minimum_size = Vector2(0, 104)
|
|
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 = 10
|
|
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" parent="Contents/ModuleSlots" instance=ExtResource("2_slot")]
|
|
layout_mode = 2
|
|
slot_kind = "module"
|
|
slot_index = 0
|
|
|
|
[node name="Module2" parent="Contents/ModuleSlots" instance=ExtResource("2_slot")]
|
|
layout_mode = 2
|
|
slot_kind = "module"
|
|
slot_index = 1
|
|
|
|
[node name="Module3" parent="Contents/ModuleSlots" instance=ExtResource("2_slot")]
|
|
layout_mode = 2
|
|
slot_kind = "module"
|
|
slot_index = 2
|
|
|
|
[node name="Module4" parent="Contents/ModuleSlots" instance=ExtResource("2_slot")]
|
|
layout_mode = 2
|
|
slot_kind = "module"
|
|
slot_index = 3
|
|
|
|
[node name="Module5" parent="Contents/ModuleSlots" instance=ExtResource("2_slot")]
|
|
layout_mode = 2
|
|
slot_kind = "module"
|
|
slot_index = 4
|
|
|
|
[node name="Module6" parent="Contents/ModuleSlots" instance=ExtResource("2_slot")]
|
|
layout_mode = 2
|
|
slot_kind = "module"
|
|
slot_index = 5
|
|
|
|
[node name="InventoryButton" type="Button" parent="Contents"]
|
|
layout_mode = 2
|
|
text = "OTWÓRZ MAGAZYN"
|