Files
GameJamDungeon/Zennysoft.Game.Ma/src/ui/inventory_menu/ItemSlot.tscn
2026-02-13 23:39:49 -08:00

84 lines
3.1 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://c005nd0m2eim"]
[ext_resource type="Script" uid="uid://cglxk7v8hpesn" path="res://src/ui/inventory_menu/ItemSlot.cs" id="1_yttxt"]
[ext_resource type="Texture2D" uid="uid://dymrg1fmwho35" path="res://src/items/weapons/textures/Cross Sword.png" id="2_rf22b"]
[ext_resource type="StyleBox" uid="uid://bxuy4tnftibfq" path="res://src/options/SelectedOptionsBox.tres" id="4_lt1pw"]
[ext_resource type="StyleBox" uid="uid://bl15q835s4ene" path="res://src/options/UnselectedOptionsBox.tres" id="4_rf22b"]
[ext_resource type="FontFile" uid="uid://0syyay37admf" path="res://src/ui/fonts/georgiab.ttf" id="4_t6dim"]
[ext_resource type="Texture2D" uid="uid://d3bx1j5irhdes" path="res://src/items/jewels/texture/Igneous Jewel.png" id="5_lt1pw"]
[node name="ItemSlot" type="HBoxContainer"]
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -215.0
offset_right = 215.0
offset_bottom = 50.0
grow_horizontal = 2
size_flags_horizontal = 3
size_flags_vertical = 0
script = ExtResource("1_yttxt")
[node name="ItemInfo" type="HBoxContainer" parent="."]
layout_mode = 2
theme_override_constants/separation = 20
alignment = 1
[node name="EquippedLabel" type="Label" parent="ItemInfo"]
unique_name_in_owner = true
custom_minimum_size = Vector2(25, 50)
layout_mode = 2
theme_override_fonts/font = ExtResource("4_t6dim")
theme_override_font_sizes/font_size = 25
horizontal_alignment = 1
vertical_alignment = 1
[node name="ItemTexture" type="TextureRect" parent="ItemInfo"]
unique_name_in_owner = true
custom_minimum_size = Vector2(50, 50)
layout_mode = 2
texture = ExtResource("2_rf22b")
[node name="Control" type="HBoxContainer" parent="ItemInfo"]
layout_mode = 2
[node name="ItemName" type="Button" parent="ItemInfo/Control"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
theme_override_fonts/font = ExtResource("4_t6dim")
theme_override_font_sizes/font_size = 25
theme_override_styles/focus = ExtResource("4_lt1pw")
theme_override_styles/disabled_mirrored = ExtResource("4_rf22b")
theme_override_styles/disabled = ExtResource("4_rf22b")
theme_override_styles/hover_pressed_mirrored = ExtResource("4_rf22b")
theme_override_styles/hover_pressed = ExtResource("4_rf22b")
theme_override_styles/hover_mirrored = ExtResource("4_rf22b")
theme_override_styles/hover = ExtResource("4_rf22b")
theme_override_styles/pressed_mirrored = ExtResource("4_rf22b")
theme_override_styles/pressed = ExtResource("4_rf22b")
theme_override_styles/normal_mirrored = ExtResource("4_rf22b")
theme_override_styles/normal = ExtResource("4_rf22b")
button_mask = 0
text = "Cross Sword"
[node name="AugmentTexture" type="TextureRect" parent="ItemInfo/Control"]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(15, 20)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("5_lt1pw")
stretch_mode = 2
[node name="ItemCountLabel" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 10
theme_override_fonts/font = ExtResource("4_t6dim")
theme_override_font_sizes/font_size = 25
text = "x99"
horizontal_alignment = 2
vertical_alignment = 1