broken_seals/game/ui/bags/Bag.tscn

264 lines
10 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=1]
[ext_resource path="res://ui/bags/InventoryGUI.gd" type="Script" id=2]
[ext_resource path="res://ui/bags/BagEntry.tscn" type="PackedScene" id=3]
[ext_resource path="res://ui/bags/EquipmentSlot.tscn" type="PackedScene" id=4]
[ext_resource path="res://ui/bags/ItemTooltip.tscn" type="PackedScene" id=5]
[node name="Inventory" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
theme = ExtResource( 1 )
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
inventory_item_scene = ExtResource( 3 )
inventory_item_container_path = NodePath("PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer2/VBoxContainer/ScrollContainer/GridContainer")
item_tooltip_path = NodePath("ItemTooltip")
inventory_slots = [ NodePath("PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer/Head"), NodePath("PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer2/Neck"), NodePath("PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer2/Shoulder"), NodePath("PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer3/Chest"), NodePath("PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer2/Hands"), NodePath("PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer4/Belt"), NodePath("PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer5/Legs"), NodePath("PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer5/Feet"), NodePath("PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer3/Ring1"), NodePath("PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer3/Ring2"), NodePath("PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer4/Trinket1"), NodePath("PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer4/Trinket2"), NodePath("PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer6/PanelContainer/HBoxContainer/MainHand"), NodePath("PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer6/PanelContainer/HBoxContainer/OffHand") ]
[node name="PanelContainer" type="PanelContainer" parent="."]
margin_left = 103.0
margin_top = 37.0
margin_right = 692.0
margin_bottom = 527.0
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
margin_left = 4.0
margin_top = 4.0
margin_right = 585.0
margin_bottom = 486.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
margin_right = 581.0
margin_bottom = 26.0
[node name="BagName" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer"]
margin_top = 5.0
margin_right = 547.0
margin_bottom = 20.0
size_flags_horizontal = 3
size_flags_vertical = 6
text = "Inventory"
align = 1
[node name="CloseButton" type="Button" parent="PanelContainer/VBoxContainer/HBoxContainer"]
margin_left = 551.0
margin_right = 581.0
margin_bottom = 26.5702
rect_min_size = Vector2( 30, 20 )
text = "X"
[node name="HBoxContainer3" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
margin_top = 34.0
margin_right = 581.0
margin_bottom = 482.0
size_flags_horizontal = 3
size_flags_vertical = 3
alignment = 1
[node name="PanelContainer" type="PanelContainer" parent="PanelContainer/VBoxContainer/HBoxContainer3"]
margin_right = 227.96
margin_bottom = 448.0
rect_min_size = Vector2( 227.96, 0 )
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer"]
margin_left = 4.0
margin_top = 4.0
margin_right = 223.96
margin_bottom = 444.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 10
alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer"]
margin_top = 41.0
margin_right = 219.0
margin_bottom = 91.0
size_flags_horizontal = 3
alignment = 1
[node name="Head" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer" instance=ExtResource( 4 )]
[node name="HBoxContainer2" type="HBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer"]
margin_top = 101.0
margin_right = 219.0
margin_bottom = 151.0
size_flags_horizontal = 3
alignment = 1
[node name="Shoulder" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer2" instance=ExtResource( 4 )]
margin_left = 30.0
margin_right = 80.0
text = "sh"
equip_slot = 2
[node name="Neck" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer2" instance=ExtResource( 4 )]
text = "Neck"
equip_slot = 1
[node name="Hands" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer2" instance=ExtResource( 4 )]
margin_left = 138.0
margin_right = 188.0
text = "Hands"
equip_slot = 4
[node name="HBoxContainer3" type="HBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer"]
margin_top = 161.0
margin_right = 219.0
margin_bottom = 211.0
size_flags_horizontal = 3
alignment = 1
[node name="Ring1" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer3" instance=ExtResource( 4 )]
margin_left = 30.0
margin_right = 80.0
text = "Ring"
equip_slot = 8
texture_path = NodePath("../Ring1/MarginContainer/TextureRect")
[node name="Chest" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer3" instance=ExtResource( 4 )]
text = "Chest"
equip_slot = 3
[node name="Ring2" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer3" instance=ExtResource( 4 )]
margin_left = 138.0
margin_right = 188.0
text = "Ring"
equip_slot = 9
[node name="HBoxContainer4" type="HBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer"]
margin_top = 221.0
margin_right = 219.0
margin_bottom = 271.0
size_flags_horizontal = 3
alignment = 1
[node name="Trinket1" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer4" instance=ExtResource( 4 )]
margin_left = 30.0
margin_right = 80.0
text = "Tr"
equip_slot = 10
[node name="Belt" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer4" instance=ExtResource( 4 )]
text = "Belt"
equip_slot = 5
[node name="Trinket2" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer4" instance=ExtResource( 4 )]
margin_left = 138.0
margin_right = 188.0
text = "Tr"
equip_slot = 11
[node name="HBoxContainer5" type="HBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer"]
margin_top = 281.0
margin_right = 219.0
margin_bottom = 331.0
size_flags_horizontal = 3
alignment = 1
[node name="Legs" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer5" instance=ExtResource( 4 )]
margin_left = 57.0
margin_right = 107.0
text = "Legs"
equip_slot = 6
[node name="Feet" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer5" instance=ExtResource( 4 )]
margin_left = 111.0
margin_right = 161.0
text = "Feet"
equip_slot = 7
[node name="HBoxContainer6" type="HBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer"]
margin_top = 341.0
margin_right = 219.0
margin_bottom = 399.0
size_flags_horizontal = 3
alignment = 1
[node name="PanelContainer" type="PanelContainer" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer6"]
margin_left = 53.0
margin_right = 165.0
margin_bottom = 58.0
size_flags_horizontal = 0
size_flags_vertical = 0
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer6/PanelContainer"]
margin_left = 4.0
margin_top = 4.0
margin_right = 108.0
margin_bottom = 54.0
[node name="MainHand" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer6/PanelContainer/HBoxContainer" instance=ExtResource( 4 )]
margin_left = 0.0
margin_right = 50.0
text = "MH"
equip_slot = 12
[node name="OffHand" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer/VBoxContainer/HBoxContainer6/PanelContainer/HBoxContainer" instance=ExtResource( 4 )]
margin_left = 54.0
margin_right = 104.0
text = "OH"
equip_slot = 13
[node name="PanelContainer2" type="PanelContainer" parent="PanelContainer/VBoxContainer/HBoxContainer3"]
margin_left = 231.0
margin_right = 581.0
margin_bottom = 448.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer2"]
margin_left = 4.0
margin_top = 4.0
margin_right = 346.0
margin_bottom = 444.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="ScrollContainer" type="ScrollContainer" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer2/VBoxContainer"]
margin_right = 342.0
margin_bottom = 406.0
size_flags_horizontal = 3
size_flags_vertical = 3
scroll_horizontal_enabled = false
[node name="GridContainer" type="GridContainer" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer2/VBoxContainer/ScrollContainer"]
size_flags_horizontal = 2
size_flags_vertical = 2
custom_constants/vseparation = 5
custom_constants/hseparation = 5
columns = 6
[node name="HBoxContainer2" type="HBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer2/VBoxContainer"]
margin_top = 414.0
margin_right = 342.0
margin_bottom = 440.0
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer2/VBoxContainer/HBoxContainer2"]
margin_top = 5.0
margin_right = 308.0
margin_bottom = 20.0
size_flags_horizontal = 3
text = "190 "
align = 2
[node name="ResizeButton" type="Button" parent="PanelContainer/VBoxContainer/HBoxContainer3/PanelContainer2/VBoxContainer/HBoxContainer2"]
margin_left = 312.0
margin_right = 342.0
margin_bottom = 26.5702
rect_min_size = Vector2( 30, 20 )
[node name="ItemTooltip" parent="." instance=ExtResource( 5 )]
margin_left = 4.0
margin_top = 4.0
margin_right = 299.0
margin_bottom = 227.0
[connection signal="pressed" from="PanelContainer/VBoxContainer/HBoxContainer/CloseButton" to="." method="hide"]