|
|
@ -1,25 +1,28 @@ |
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://boueuk2hnfvg"] |
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://boueuk2hnfvg"] |
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dknv7amroftm8" path="res://icon.svg" id="1_o0kom"] |
|
|
|
[ext_resource type="Script" uid="uid://cknl6i0jce5jr" path="res://scenes/ui/inventory/item_rect.gd" id="1_oderi"] |
|
|
|
|
|
|
|
[node name="ItemRect" type="Panel"] |
|
|
|
custom_minimum_size = Vector2(128, 128) |
|
|
|
anchors_preset = -1 |
|
|
|
anchor_right = 0.111111 |
|
|
|
anchor_bottom = 0.197531 |
|
|
|
grow_horizontal = 2 |
|
|
|
grow_vertical = 2 |
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_oderi"] |
|
|
|
outline_size = 3 |
|
|
|
outline_color = Color(0, 0, 0, 1) |
|
|
|
|
|
|
|
[node name="ItemRect" type="Panel" node_paths=PackedStringArray("amount_label", "item_texture")] |
|
|
|
custom_minimum_size = Vector2(64, 64) |
|
|
|
offset_right = 64.0 |
|
|
|
offset_bottom = 64.0 |
|
|
|
script = ExtResource("1_oderi") |
|
|
|
amount_label = NodePath("AmountLabel") |
|
|
|
item_texture = NodePath("ItemTexture") |
|
|
|
metadata/_edit_use_anchors_ = true |
|
|
|
|
|
|
|
[node name="ItemTexture" type="TextureRect" parent="."] |
|
|
|
texture_filter = 1 |
|
|
|
custom_minimum_size = Vector2(64, 64) |
|
|
|
layout_mode = 0 |
|
|
|
offset_right = 128.0 |
|
|
|
offset_bottom = 128.0 |
|
|
|
offset_right = 64.0 |
|
|
|
offset_bottom = 64.0 |
|
|
|
texture = ExtResource("1_o0kom") |
|
|
|
expand_mode = 1 |
|
|
|
stretch_mode = 4 |
|
|
|
|
|
|
|
[node name="AmountLabel" type="Label" parent="."] |
|
|
@ -35,3 +38,4 @@ offset_right = -3.0 |
|
|
|
grow_horizontal = 0 |
|
|
|
grow_vertical = 0 |
|
|
|
text = "x100" |
|
|
|
label_settings = SubResource("LabelSettings_oderi") |