Redesign and reimplement inventory menu
Add jewels but no implementation yet (needed redesign of inventory menu to function correctly)
This commit is contained in:
@@ -1,65 +1,62 @@
|
||||
[gd_scene load_steps=5 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="LabelSettings" uid="uid://dupifadnagodp" path="res://src/ui/label_settings/MainTextRegular.tres" id="3_rf22b"]
|
||||
[ext_resource type="Script" uid="uid://b0rrpkpsfdga8" path="res://src/ui/inventory_menu/ItemLabel.cs" id="3_xlgl0"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_lt1pw"]
|
||||
[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="FontFile" uid="uid://0syyay37admf" path="res://src/ui/fonts/georgiab.ttf" id="4_t6dim"]
|
||||
|
||||
[node name="ItemSlot" type="Button"]
|
||||
custom_minimum_size = Vector2(100, 60)
|
||||
custom_minimum_size = Vector2(100, 50)
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.885
|
||||
anchor_bottom = 0.093
|
||||
offset_right = 0.799927
|
||||
offset_bottom = -0.440002
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_lt1pw")
|
||||
theme_override_styles/disabled_mirrored = SubResource("StyleBoxEmpty_lt1pw")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_lt1pw")
|
||||
theme_override_styles/hover_pressed_mirrored = SubResource("StyleBoxEmpty_lt1pw")
|
||||
theme_override_styles/hover_pressed = SubResource("StyleBoxEmpty_lt1pw")
|
||||
theme_override_styles/hover_mirrored = SubResource("StyleBoxEmpty_lt1pw")
|
||||
theme_override_styles/hover = SubResource("StyleBoxEmpty_lt1pw")
|
||||
theme_override_styles/pressed_mirrored = SubResource("StyleBoxEmpty_lt1pw")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxEmpty_lt1pw")
|
||||
theme_override_styles/normal_mirrored = SubResource("StyleBoxEmpty_lt1pw")
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_lt1pw")
|
||||
offset_left = 123.0
|
||||
offset_right = -1414.2
|
||||
offset_bottom = -50.44
|
||||
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="HBox" type="HBoxContainer" parent="."]
|
||||
custom_minimum_size = Vector2(100, 60)
|
||||
[node name="ItemTexture" type="TextureRect" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_right = 1700.0
|
||||
offset_bottom = 100.0
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="HBox"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemTexture" type="TextureRect" parent="HBox"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
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="ReferenceRect2" type="ReferenceRect" parent="HBox"]
|
||||
custom_minimum_size = Vector2(40, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemName" type="Label" parent="HBox"]
|
||||
[node name="Equipped" type="Label" parent="."]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(550, 50)
|
||||
custom_minimum_size = Vector2(25, 50)
|
||||
layout_mode = 2
|
||||
text = "Mask of the Goddess of Destruction"
|
||||
label_settings = ExtResource("3_rf22b")
|
||||
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
|
||||
script = ExtResource("3_xlgl0")
|
||||
|
||||
[node name="ItemCount" type="Label" parent="HBox"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
text = "x99"
|
||||
label_settings = ExtResource("3_rf22b")
|
||||
|
||||
Reference in New Issue
Block a user