[gd_scene load_steps=2 format=3]

[ext_resource type="Script" path="res://ui/components/bubble_menu/bag_item_sprite.gd" id="1_script"]

[node name="BagItemSprite" type="Button"]
custom_minimum_size = Vector2(118, 86)
focus_mode = 1
mouse_default_cursor_shape = 2
script = ExtResource("1_script")

[node name="VisualRoot" type="Control" parent="."]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2

[node name="ItemTexture" type="TextureRect" parent="VisualRoot"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 10.0
offset_top = 8.0
offset_right = -10.0
offset_bottom = -8.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture_filter = 1
expand_mode = 1
stretch_mode = 5

[node name="QuantityBadge" type="PanelContainer" parent="VisualRoot"]
unique_name_in_owner = true
visible = false
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -42.0
offset_top = -28.0
offset_right = -2.0
offset_bottom = -2.0
grow_horizontal = 0
grow_vertical = 0
mouse_filter = 2

[node name="QuantityLabel" type="Label" parent="VisualRoot/QuantityBadge"]
unique_name_in_owner = true
layout_mode = 2
mouse_filter = 2
theme_override_colors/font_color = Color(0.17, 0.105, 0.05, 1)
theme_override_font_sizes/font_size = 15
text = "×2"
horizontal_alignment = 1
vertical_alignment = 1

[node name="CompatibilityMarker" type="Label" parent="VisualRoot"]
unique_name_in_owner = true
visible = false
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -28.0
offset_top = 0.0
offset_right = -2.0
offset_bottom = 24.0
grow_horizontal = 0
mouse_filter = 2
theme_override_colors/font_color = Color(0.31, 0.22, 0.12, 1)
theme_override_colors/font_outline_color = Color(0.96, 0.93, 0.82, 1)
theme_override_constants/outline_size = 2
theme_override_font_sizes/font_size = 17
text = "×"
horizontal_alignment = 1
