48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://blutrglw7mycx"]
|
|
|
|
[ext_resource type="Script" uid="uid://djccw7ahn8b47" path="res://prefabs/ui/inventory_ui.gd" id="1_4ieor"]
|
|
[ext_resource type="Script" uid="uid://ckalp7icn1f28" path="res://prefabs/ui/ui.gd" id="1_htiv7"]
|
|
[ext_resource type="Texture2D" uid="uid://4rxwcyoye2sa" path="res://sprites/blueberry_item.png" id="2_htiv7"]
|
|
[ext_resource type="Texture2D" uid="uid://d11rkcho3c38n" path="res://sprites/cowberry_item.png" id="3_gxjsb"]
|
|
|
|
[node name="UI" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_htiv7")
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="."]
|
|
layout_mode = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
|
|
[node name="Inventory" type="VBoxContainer" parent="PanelContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
script = ExtResource("1_4ieor")
|
|
|
|
[node name="Blueberry" type="HBoxContainer" parent="PanelContainer/Inventory"]
|
|
layout_mode = 2
|
|
|
|
[node name="Item" type="TextureRect" parent="PanelContainer/Inventory/Blueberry"]
|
|
layout_mode = 2
|
|
texture = ExtResource("2_htiv7")
|
|
|
|
[node name="Count" type="Label" parent="PanelContainer/Inventory/Blueberry"]
|
|
layout_mode = 2
|
|
text = "0"
|
|
|
|
[node name="Cowberry" type="HBoxContainer" parent="PanelContainer/Inventory"]
|
|
layout_mode = 2
|
|
|
|
[node name="Item" type="TextureRect" parent="PanelContainer/Inventory/Cowberry"]
|
|
layout_mode = 2
|
|
texture = ExtResource("3_gxjsb")
|
|
|
|
[node name="Count" type="Label" parent="PanelContainer/Inventory/Cowberry"]
|
|
layout_mode = 2
|
|
text = "0"
|