In progress item changes
This commit is contained in:
@@ -1,62 +1,92 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://c005nd0m2eim"]
|
||||
[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="Button"]
|
||||
custom_minimum_size = Vector2(100, 50)
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.885
|
||||
anchor_bottom = 0.093
|
||||
offset_left = 123.0
|
||||
offset_right = -1414.2
|
||||
offset_bottom = -50.44
|
||||
[node name="ItemSlot" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
mouse_filter = 2
|
||||
theme_override_constants/h_separation = 20
|
||||
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_lt1pw")
|
||||
theme_override_styles/disabled = ExtResource("4_lt1pw")
|
||||
theme_override_styles/hover_pressed_mirrored = ExtResource("4_lt1pw")
|
||||
theme_override_styles/hover_pressed = ExtResource("4_lt1pw")
|
||||
theme_override_styles/hover_mirrored = ExtResource("4_lt1pw")
|
||||
theme_override_styles/hover = ExtResource("4_lt1pw")
|
||||
theme_override_styles/pressed_mirrored = ExtResource("4_lt1pw")
|
||||
theme_override_styles/pressed = ExtResource("4_lt1pw")
|
||||
theme_override_styles/normal_mirrored = ExtResource("4_lt1pw")
|
||||
theme_override_styles/normal = ExtResource("4_lt1pw")
|
||||
button_mask = 0
|
||||
text = "Cross Sword"
|
||||
flat = true
|
||||
alignment = 0
|
||||
script = ExtResource("1_yttxt")
|
||||
|
||||
[node name="ItemTexture" type="TextureRect" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_left = -65.0
|
||||
offset_top = 6.0
|
||||
offset_right = -25.0
|
||||
offset_bottom = 46.0
|
||||
texture = ExtResource("2_rf22b")
|
||||
expand_mode = 2
|
||||
stretch_mode = 4
|
||||
[node name="Row" type="HBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
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_vertical = 3
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="Equipped" type="Label" parent="."]
|
||||
[node name="ItemInfo" type="HBoxContainer" parent="Row"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 20
|
||||
alignment = 1
|
||||
|
||||
[node name="EquippedLabel" type="Label" parent="Row/ItemInfo"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(25, 50)
|
||||
layout_mode = 2
|
||||
offset_left = -122.0
|
||||
offset_right = -78.0
|
||||
offset_bottom = 50.0
|
||||
theme_override_fonts/font = ExtResource("4_t6dim")
|
||||
theme_override_font_sizes/font_size = 25
|
||||
text = "E"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ItemTexture" type="TextureRect" parent="Row/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="Row/ItemInfo"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemName" type="Button" parent="Row/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="Row/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="Row"]
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user