|
|
@ -1,157 +1,63 @@ |
|
|
|
[gd_scene load_steps=9 format=3 uid="uid://cbiygbgpfk220"] |
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://cbiygbgpfk220"] |
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://bcq6vexsmyeol" path="res://scenes/ui/quick_slots.gd" id="1_cqw2g"] |
|
|
|
[ext_resource type="Texture2D" uid="uid://li36txj7oweq" path="res://assets/textures/dirt.png" id="2_kotkb"] |
|
|
|
[ext_resource type="StyleBox" uid="uid://dlaswvta2mvim" path="res://resources/inventory/quickslot-panel-highlight-stylebox.tres" id="2_ps55n"] |
|
|
|
[ext_resource type="Texture2D" uid="uid://ct1iawpfkdf5l" path="res://assets/textures/stone.png" id="3_cqw2g"] |
|
|
|
[ext_resource type="Texture2D" uid="uid://bgo4mb3atmbot" path="res://assets/textures/grass.png" id="3_yyyxx"] |
|
|
|
[ext_resource type="Texture2D" uid="uid://0mw651622h01" path="res://assets/textures/wood.png" id="4_yyyxx"] |
|
|
|
[ext_resource type="Texture2D" uid="uid://goygbpyqhych" path="res://assets/textures/leaves.png" id="5_ps55n"] |
|
|
|
[ext_resource type="Texture2D" uid="uid://cpllegyqnfnrh" path="res://assets/textures/glass.png" id="8_bup65"] |
|
|
|
[ext_resource type="PackedScene" uid="uid://c40k8ey6e54v1" path="res://scenes/ui/inventory/quickslots_slot.tscn" id="3_bup65"] |
|
|
|
|
|
|
|
[node name="QuickSlots" type="MarginContainer"] |
|
|
|
anchors_preset = 4 |
|
|
|
anchor_top = 0.5 |
|
|
|
anchor_bottom = 0.5 |
|
|
|
offset_top = -220.0 |
|
|
|
offset_right = 80.0 |
|
|
|
offset_bottom = 220.0 |
|
|
|
grow_vertical = 2 |
|
|
|
size_flags_horizontal = 0 |
|
|
|
[node name="QuickSlots" type="MarginContainer" node_paths=PackedStringArray("slots_container")] |
|
|
|
anchors_preset = 7 |
|
|
|
anchor_left = 0.5 |
|
|
|
anchor_top = 1.0 |
|
|
|
anchor_right = 0.5 |
|
|
|
anchor_bottom = 1.0 |
|
|
|
offset_left = -364.0 |
|
|
|
offset_top = -80.0 |
|
|
|
offset_right = 364.0 |
|
|
|
grow_horizontal = 2 |
|
|
|
grow_vertical = 0 |
|
|
|
theme_override_constants/margin_left = 8 |
|
|
|
theme_override_constants/margin_top = 8 |
|
|
|
theme_override_constants/margin_right = 8 |
|
|
|
theme_override_constants/margin_bottom = 8 |
|
|
|
script = ExtResource("1_cqw2g") |
|
|
|
highlight_theme = ExtResource("2_ps55n") |
|
|
|
slots_container = NodePath("SlotsContainer") |
|
|
|
quickslots_slot = ExtResource("3_bup65") |
|
|
|
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="."] |
|
|
|
[node name="SlotsContainer" type="GridContainer" parent="."] |
|
|
|
layout_mode = 2 |
|
|
|
size_flags_horizontal = 4 |
|
|
|
size_flags_vertical = 4 |
|
|
|
theme_override_constants/h_separation = 8 |
|
|
|
theme_override_constants/v_separation = 8 |
|
|
|
columns = 10 |
|
|
|
|
|
|
|
[node name="Slot0" type="Panel" parent="GridContainer"] |
|
|
|
custom_minimum_size = Vector2(64, 64) |
|
|
|
layout_mode = 2 |
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="GridContainer/Slot0"] |
|
|
|
layout_mode = 1 |
|
|
|
anchors_preset = 15 |
|
|
|
anchor_right = 1.0 |
|
|
|
anchor_bottom = 1.0 |
|
|
|
grow_horizontal = 2 |
|
|
|
grow_vertical = 2 |
|
|
|
theme_override_constants/margin_left = 4 |
|
|
|
theme_override_constants/margin_top = 4 |
|
|
|
theme_override_constants/margin_right = 4 |
|
|
|
theme_override_constants/margin_bottom = 4 |
|
|
|
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="GridContainer/Slot0/MarginContainer"] |
|
|
|
texture_filter = 1 |
|
|
|
layout_mode = 2 |
|
|
|
texture = ExtResource("2_kotkb") |
|
|
|
|
|
|
|
[node name="Slot1" type="Panel" parent="GridContainer"] |
|
|
|
custom_minimum_size = Vector2(64, 64) |
|
|
|
[node name="Slot0" parent="SlotsContainer" instance=ExtResource("3_bup65")] |
|
|
|
layout_mode = 2 |
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="GridContainer/Slot1"] |
|
|
|
layout_mode = 1 |
|
|
|
anchors_preset = 15 |
|
|
|
anchor_right = 1.0 |
|
|
|
anchor_bottom = 1.0 |
|
|
|
grow_horizontal = 2 |
|
|
|
grow_vertical = 2 |
|
|
|
theme_override_constants/margin_left = 4 |
|
|
|
theme_override_constants/margin_top = 4 |
|
|
|
theme_override_constants/margin_right = 4 |
|
|
|
theme_override_constants/margin_bottom = 4 |
|
|
|
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="GridContainer/Slot1/MarginContainer"] |
|
|
|
texture_filter = 1 |
|
|
|
[node name="Slot1" parent="SlotsContainer" instance=ExtResource("3_bup65")] |
|
|
|
layout_mode = 2 |
|
|
|
texture = ExtResource("3_yyyxx") |
|
|
|
|
|
|
|
[node name="Slot3" type="Panel" parent="GridContainer"] |
|
|
|
custom_minimum_size = Vector2(64, 64) |
|
|
|
[node name="Slot2" parent="SlotsContainer" instance=ExtResource("3_bup65")] |
|
|
|
layout_mode = 2 |
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="GridContainer/Slot3"] |
|
|
|
layout_mode = 1 |
|
|
|
anchors_preset = 15 |
|
|
|
anchor_right = 1.0 |
|
|
|
anchor_bottom = 1.0 |
|
|
|
grow_horizontal = 2 |
|
|
|
grow_vertical = 2 |
|
|
|
theme_override_constants/margin_left = 4 |
|
|
|
theme_override_constants/margin_top = 4 |
|
|
|
theme_override_constants/margin_right = 4 |
|
|
|
theme_override_constants/margin_bottom = 4 |
|
|
|
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="GridContainer/Slot3/MarginContainer"] |
|
|
|
texture_filter = 1 |
|
|
|
[node name="Slot3" parent="SlotsContainer" instance=ExtResource("3_bup65")] |
|
|
|
layout_mode = 2 |
|
|
|
texture = ExtResource("3_cqw2g") |
|
|
|
|
|
|
|
[node name="Slot4" type="Panel" parent="GridContainer"] |
|
|
|
custom_minimum_size = Vector2(64, 64) |
|
|
|
[node name="Slot4" parent="SlotsContainer" instance=ExtResource("3_bup65")] |
|
|
|
layout_mode = 2 |
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="GridContainer/Slot4"] |
|
|
|
layout_mode = 1 |
|
|
|
anchors_preset = 15 |
|
|
|
anchor_right = 1.0 |
|
|
|
anchor_bottom = 1.0 |
|
|
|
grow_horizontal = 2 |
|
|
|
grow_vertical = 2 |
|
|
|
theme_override_constants/margin_left = 4 |
|
|
|
theme_override_constants/margin_top = 4 |
|
|
|
theme_override_constants/margin_right = 4 |
|
|
|
theme_override_constants/margin_bottom = 4 |
|
|
|
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="GridContainer/Slot4/MarginContainer"] |
|
|
|
texture_filter = 1 |
|
|
|
[node name="Slot5" parent="SlotsContainer" instance=ExtResource("3_bup65")] |
|
|
|
layout_mode = 2 |
|
|
|
texture = ExtResource("4_yyyxx") |
|
|
|
|
|
|
|
[node name="Slot5" type="Panel" parent="GridContainer"] |
|
|
|
custom_minimum_size = Vector2(64, 64) |
|
|
|
[node name="Slot6" parent="SlotsContainer" instance=ExtResource("3_bup65")] |
|
|
|
layout_mode = 2 |
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="GridContainer/Slot5"] |
|
|
|
layout_mode = 1 |
|
|
|
anchors_preset = 15 |
|
|
|
anchor_right = 1.0 |
|
|
|
anchor_bottom = 1.0 |
|
|
|
grow_horizontal = 2 |
|
|
|
grow_vertical = 2 |
|
|
|
theme_override_constants/margin_left = 4 |
|
|
|
theme_override_constants/margin_top = 4 |
|
|
|
theme_override_constants/margin_right = 4 |
|
|
|
theme_override_constants/margin_bottom = 4 |
|
|
|
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="GridContainer/Slot5/MarginContainer"] |
|
|
|
texture_filter = 1 |
|
|
|
[node name="Slot7" parent="SlotsContainer" instance=ExtResource("3_bup65")] |
|
|
|
layout_mode = 2 |
|
|
|
texture = ExtResource("5_ps55n") |
|
|
|
|
|
|
|
[node name="Slot6" type="Panel" parent="GridContainer"] |
|
|
|
custom_minimum_size = Vector2(64, 64) |
|
|
|
[node name="Slot8" parent="SlotsContainer" instance=ExtResource("3_bup65")] |
|
|
|
layout_mode = 2 |
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="GridContainer/Slot6"] |
|
|
|
layout_mode = 1 |
|
|
|
anchors_preset = 15 |
|
|
|
anchor_right = 1.0 |
|
|
|
anchor_bottom = 1.0 |
|
|
|
grow_horizontal = 2 |
|
|
|
grow_vertical = 2 |
|
|
|
theme_override_constants/margin_left = 4 |
|
|
|
theme_override_constants/margin_top = 4 |
|
|
|
theme_override_constants/margin_right = 4 |
|
|
|
theme_override_constants/margin_bottom = 4 |
|
|
|
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="GridContainer/Slot6/MarginContainer"] |
|
|
|
texture_filter = 1 |
|
|
|
[node name="Slot9" parent="SlotsContainer" instance=ExtResource("3_bup65")] |
|
|
|
layout_mode = 2 |
|
|
|
texture = ExtResource("8_bup65") |