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

[ext_resource type="Script" uid="uid://xcmuo66eae7n" path="res://addons/inventory-system-demos/tutorials/tutorial_03_transfer_inventories/inventory_tutorial.gd" id="1_628rb"]
[ext_resource type="InventoryDatabase" uid="uid://de5qy8ycey7yn" path="res://addons/inventory-system-demos/database/database.tres" id="2_umqil"]
[ext_resource type="Script" uid="uid://du4odj2yajra2" path="res://addons/inventory-system-demos/simple-transfer/simple_inventory_ui.gd" id="3_xif71"]
[ext_resource type="Script" uid="uid://bo10v3ducgixv" path="res://addons/inventory-system-demos/base/setup_keys.gd" id="4_umqil"]

[node name="InventoryTutorial" type="Node3D" unique_id=584910873]
script = ExtResource("1_628rb")
item_id = "wood"

[node name="Inventory" type="Inventory" parent="." unique_id=1657013817]
database = ExtResource("2_umqil")

[node name="OtherInventory" type="Inventory" parent="." unique_id=1319875516]
database = ExtResource("2_umqil")

[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=1891763972]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="SimpleInventoryUI" type="ItemList" parent="HBoxContainer" unique_id=1452093079 node_paths=PackedStringArray("inventory")]
layout_mode = 2
size_flags_horizontal = 3
script = ExtResource("3_xif71")
inventory = NodePath("../../Inventory")
metadata/_custom_type_script = "uid://du4odj2yajra2"

[node name="ButtonLeft" type="Button" parent="HBoxContainer" unique_id=1581125623]
layout_mode = 2
text = ">>>"

[node name="ButtonRight" type="Button" parent="HBoxContainer" unique_id=1253023650]
layout_mode = 2
text = "<<<"

[node name="OtherSimpleInventoryUI" type="ItemList" parent="HBoxContainer" unique_id=1933738389 node_paths=PackedStringArray("inventory")]
layout_mode = 2
size_flags_horizontal = 3
script = ExtResource("3_xif71")
inventory = NodePath("../../OtherInventory")
metadata/_custom_type_script = "uid://du4odj2yajra2"

[node name="Setup Keys" type="Node" parent="." unique_id=1014870286]
script = ExtResource("4_umqil")

[connection signal="button_down" from="HBoxContainer/ButtonLeft" to="." method="_on_button_left_button_down"]
[connection signal="button_down" from="HBoxContainer/ButtonRight" to="." method="_on_button_right_button_down"]
