120 lines
2.9 KiB
Plaintext
120 lines
2.9 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://bdiyyfiwtdsoy"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Game/Inventory.cs" id="1_7ku6o"]
|
|
[ext_resource type="PackedScene" uid="uid://dma8pi16kq0w2" path="res://Prefab/UI/split_item_frame.tscn" id="2_qttk4"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ouugc"]
|
|
bg_color = Color(0.14902, 0.14902, 0.14902, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ho80h"]
|
|
draw_center = false
|
|
border_width_left = 1
|
|
border_width_top = 1
|
|
border_width_right = 1
|
|
border_width_bottom = 1
|
|
border_color = Color(0.878431, 0.0862745, 0.105882, 1)
|
|
corner_radius_top_left = 2
|
|
corner_radius_top_right = 2
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wgu6p"]
|
|
bg_color = Color(0.6, 0.6, 0.6, 0)
|
|
border_width_left = 1
|
|
border_width_top = 1
|
|
border_width_right = 1
|
|
border_width_bottom = 1
|
|
border_color = Color(0.87451, 0.0862745, 0.105882, 1)
|
|
|
|
[node name="Inventory" type="Panel"]
|
|
visible = false
|
|
anchors_preset = 11
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -700.0
|
|
offset_bottom = -4.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_ouugc")
|
|
script = ExtResource("1_7ku6o")
|
|
SplitFrame = ExtResource("2_qttk4")
|
|
|
|
[node name="InventoryGrid" type="ScrollContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 13
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -325.0
|
|
offset_top = 295.0
|
|
offset_right = 325.0
|
|
offset_bottom = -21.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_ho80h")
|
|
horizontal_scroll_mode = 0
|
|
|
|
[node name="Control" type="Control" parent="InventoryGrid"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="WeightBar" type="ProgressBar" parent="."]
|
|
layout_mode = 1
|
|
offset_left = 175.0
|
|
offset_top = 250.0
|
|
offset_right = 675.0
|
|
offset_bottom = 270.0
|
|
show_percentage = false
|
|
|
|
[node name="Label" type="Label" parent="WeightBar"]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -30.5
|
|
offset_top = -11.5
|
|
offset_right = 30.5
|
|
offset_bottom = 11.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
text = "0 / 100"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="WeightLabel" type="Label" parent="."]
|
|
layout_mode = 1
|
|
offset_left = 50.0
|
|
offset_top = 248.0
|
|
offset_right = 150.0
|
|
offset_bottom = 271.0
|
|
text = "Weight"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Backpack" type="Panel" parent="."]
|
|
layout_mode = 1
|
|
offset_left = 475.0
|
|
offset_top = 25.0
|
|
offset_right = 675.0
|
|
offset_bottom = 225.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_wgu6p")
|
|
|
|
[node name="Button" type="MenuButton" parent="Backpack"]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -100.0
|
|
offset_right = 100.0
|
|
offset_bottom = 200.0
|
|
grow_horizontal = 2
|
|
button_mask = 2
|
|
text = "Backpack"
|
|
|
|
[node name="Stats" type="Panel" parent="."]
|
|
layout_mode = 1
|
|
offset_left = 25.0
|
|
offset_top = 25.0
|
|
offset_right = 450.0
|
|
offset_bottom = 225.0
|