[gd_scene format=3 uid="uid://cxs0ybxk2blth"]

[ext_resource type="Script" uid="uid://vm6intetgl40" path="res://scripts/inventory_ui.gd" id="1_inventory_ui"]
[ext_resource type="FontFile" uid="uid://bajcvmidrnc33" path="res://assets/fonts/standard_font.png" id="2_ylkvr"]
[ext_resource type="AudioStream" uid="uid://b5xbv7s85sy5o" path="res://assets/audio/sfx/pickups/potion.mp3" id="3_eicjl"]
[ext_resource type="AudioStream" uid="uid://cnb376ah43nqi" path="res://assets/audio/sfx/pickups/bite-food-01.mp3" id="4_uwj4j"]
[ext_resource type="AudioStream" uid="uid://bbnby1sso3f4v" path="res://assets/audio/sfx/pickups/bite-food-02.mp3" id="5_1dxi5"]
[ext_resource type="AudioStream" uid="uid://umoxmryvbm01" path="res://assets/audio/sfx/cloth/leather_cloth_01.wav.mp3" id="6_dqfnd"]
[ext_resource type="AudioStream" uid="uid://djw6c5rb4mm60" path="res://assets/audio/sfx/cloth/leather_cloth_02.wav.mp3" id="7_ngbl7"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_selection"]
bg_color = Color(0, 0, 0, 0)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(1, 1, 0, 1)

[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_8wyaw"]
playback_mode = 1
random_pitch = 1.0059091
streams_count = 2
stream_0/stream = ExtResource("4_uwj4j")
stream_1/stream = ExtResource("5_1dxi5")

[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_cwdri"]
streams_count = 2
stream_0/stream = ExtResource("6_dqfnd")
stream_1/stream = ExtResource("7_ngbl7")

[node name="InventoryUI" type="CanvasLayer" unique_id=-1294967296]
layer = 150
script = ExtResource("1_inventory_ui")

[node name="InventoryContainer" type="Control" parent="." unique_id=-294967296]
visible = false
layout_mode = 3
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 0
grow_vertical = 0
size_flags_horizontal = 3
size_flags_vertical = 3

[node name="MarginContainer" type="MarginContainer" parent="InventoryContainer" unique_id=935107028]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -610.0
offset_top = -226.0
grow_horizontal = 0
grow_vertical = 0

[node name="Background" type="ColorRect" parent="InventoryContainer/MarginContainer" unique_id=705032704]
layout_mode = 2
size_flags_vertical = 3
mouse_filter = 1
color = Color(0.1, 0.1, 0.1, 0.85)

[node name="MarginContainer" type="MarginContainer" parent="InventoryContainer/MarginContainer" unique_id=828124619]
layout_mode = 2
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = 16
theme_override_constants/margin_right = 16
theme_override_constants/margin_bottom = 16

[node name="VBoxContainer" type="VBoxContainer" parent="InventoryContainer/MarginContainer/MarginContainer" unique_id=1015792177]
layout_mode = 2
theme_override_constants/separation = 4

[node name="HBox" type="HBoxContainer" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer" unique_id=1705032704]
layout_mode = 2
theme_override_constants/separation = 10

[node name="StatsPanel" type="VBoxContainer" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/HBox" unique_id=-1589934592]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
theme_override_constants/separation = 5

[node name="StatsLabel" type="Label" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/HBox/StatsPanel" unique_id=-589934592]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_ylkvr")
theme_override_font_sizes/font_size = 16
text = "Stats"

[node name="StatsHBox" type="HBoxContainer" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/HBox/StatsPanel" unique_id=410065408]
layout_mode = 2
theme_override_constants/separation = 5

[node name="LabelBaseStats" type="Label" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/HBox/StatsPanel/StatsHBox" unique_id=1410065408]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_ylkvr")
theme_override_font_sizes/font_size = 10
text = "Level

HP
MP

STR
DEX
END
INT
WIS
LCK"

[node name="LabelBaseStatsValue" type="Label" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/HBox/StatsPanel/StatsHBox" unique_id=-1884901888]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_ylkvr")
theme_override_font_sizes/font_size = 10
text = "1

30/30
20/20

10
10
10
10
10
10"
horizontal_alignment = 2

[node name="LabelDerivedStats" type="Label" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/HBox/StatsPanel/StatsHBox" unique_id=-884901888]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_ylkvr")
theme_override_font_sizes/font_size = 10
text = "XP
Coin



DMG
DEF
MovSpd
AtkSpd
Sight
SpellAmp
Crit%"

[node name="LabelDerivedStatsValue" type="Label" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/HBox/StatsPanel/StatsHBox" unique_id=115098112]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_ylkvr")
theme_override_font_sizes/font_size = 10
text = "0/100
0



2.0
2.0
2.1
1.4
7.0
5.0
12.0%"
horizontal_alignment = 2

[node name="InventoryPanel" type="VBoxContainer" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/HBox" unique_id=1115098112]
custom_minimum_size = Vector2(400, 0)
layout_mode = 2
theme_override_constants/separation = 5

[node name="EquipmentLabel" type="Label" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/HBox/InventoryPanel" unique_id=2115098112]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_ylkvr")
theme_override_font_sizes/font_size = 16
text = "Equipment"

[node name="EquipmentSpacer" type="Control" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/HBox/InventoryPanel" unique_id=-1294967295]
custom_minimum_size = Vector2(0, 8)
layout_mode = 2

[node name="EquipmentPanel" type="GridContainer" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/HBox/InventoryPanel" unique_id=-1179869184]
layout_mode = 2
theme_override_constants/h_separation = 15
theme_override_constants/v_separation = 15
columns = 3

[node name="EquipmentBottomSpacer" type="Control" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/HBox/InventoryPanel" unique_id=-1294967294]
custom_minimum_size = Vector2(0, 8)
layout_mode = 2

[node name="InventoryLabel" type="Label" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/HBox/InventoryPanel" unique_id=-179869184]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_ylkvr")
theme_override_font_sizes/font_size = 16
text = "Inventory"

[node name="InventoryScroll" type="ScrollContainer" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/HBox/InventoryPanel" unique_id=820130816]
custom_minimum_size = Vector2(380, 120)
layout_mode = 2

[node name="InventoryVBox" type="VBoxContainer" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/HBox/InventoryPanel/InventoryScroll" unique_id=1820130816]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_constants/separation = -4

[node name="SelectionRectangle" type="Panel" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer" unique_id=-1474836480]
z_index = 100
custom_minimum_size = Vector2(38, 38)
layout_mode = 2
mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_selection")

[node name="InfoPanel" type="VBoxContainer" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer" unique_id=-474836480]
custom_minimum_size = Vector2(0, 80)
layout_mode = 2

[node name="InfoLabel" type="Label" parent="InventoryContainer/MarginContainer/MarginContainer/VBoxContainer/InfoPanel" unique_id=525163520]
custom_minimum_size = Vector2(300, 64)
layout_mode = 2
size_flags_vertical = 3
theme_override_fonts/font = ExtResource("2_ylkvr")
theme_override_font_sizes/font_size = 8
vertical_alignment = 1
autowrap_mode = 3

[node name="SfxPotion" type="AudioStreamPlayer2D" parent="." unique_id=370835589]
stream = ExtResource("3_eicjl")
volume_db = 9.724

[node name="SfxFood" type="AudioStreamPlayer2D" parent="." unique_id=1396668527]
stream = SubResource("AudioStreamRandomizer_8wyaw")

[node name="SfxArmour" type="AudioStreamPlayer2D" parent="." unique_id=1756569602]
stream = SubResource("AudioStreamRandomizer_cwdri")
