117 lines
3.9 KiB
Plaintext
117 lines
3.9 KiB
Plaintext
[gd_scene format=3 uid="uid://dr37gne0tsx3h"]
|
|
|
|
[ext_resource type="Script" uid="uid://dg1igfflunr7n" path="res://gui/pause/pause.gd" id="1_syqp4"]
|
|
[ext_resource type="Texture2D" uid="uid://dxf00vjmse6ab" path="res://items/sprites/items.png" id="2_3oqg8"]
|
|
[ext_resource type="PackedScene" uid="uid://b2r6mp7h13pak" path="res://gui/pause/inventory/inventory_slot.tscn" id="3_ev3e7"]
|
|
[ext_resource type="Script" uid="uid://b7a5u5kcishd4" path="res://gui/pause/inventory/scripts/inventory_ui.gd" id="3_g4auy"]
|
|
[ext_resource type="Resource" uid="uid://8eo5dhh10mag" path="res://gui/pause/inventory/player_inventory.tres" id="4_nr23h"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ev3e7"]
|
|
atlas = ExtResource("2_3oqg8")
|
|
region = Rect2(96, 0, 32, 32)
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_g4auy"]
|
|
content_margin_left = 10.0
|
|
content_margin_top = 10.0
|
|
content_margin_right = 10.0
|
|
content_margin_bottom = 10.0
|
|
texture = SubResource("AtlasTexture_ev3e7")
|
|
texture_margin_left = 14.0
|
|
texture_margin_top = 14.0
|
|
texture_margin_right = 14.0
|
|
texture_margin_bottom = 14.0
|
|
|
|
[node name="Pause" type="CanvasLayer" unique_id=61680245]
|
|
process_mode = 3
|
|
script = ExtResource("1_syqp4")
|
|
|
|
[node name="Control" type="Control" parent="." unique_id=220122734]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="Control" unique_id=131716919]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0.23392546, 0.23392546, 0.2339254, 0.61960787)
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Control" unique_id=1624860206]
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -31.0
|
|
offset_right = 154.0
|
|
grow_vertical = 0
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 8
|
|
|
|
[node name="Save" type="Button" parent="Control/HBoxContainer" unique_id=1562812412]
|
|
custom_minimum_size = Vector2(75, 0)
|
|
layout_mode = 2
|
|
text = "Save"
|
|
|
|
[node name="Load" type="Button" parent="Control/HBoxContainer" unique_id=673890119]
|
|
custom_minimum_size = Vector2(75, 0)
|
|
layout_mode = 2
|
|
text = "Load"
|
|
|
|
[node name="Label" type="Label" parent="Control" unique_id=631151135]
|
|
layout_mode = 1
|
|
offset_right = 80.0
|
|
offset_bottom = 23.0
|
|
text = "[ paused ]"
|
|
|
|
[node name="ItemDescription" type="Label" parent="Control" unique_id=1498356388]
|
|
layout_mode = 1
|
|
offset_top = 184.0
|
|
offset_right = 192.0
|
|
offset_bottom = 208.0
|
|
theme_override_font_sizes/font_size = 10
|
|
autowrap_mode = 2
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="Control" unique_id=1571046276]
|
|
layout_mode = 1
|
|
anchors_preset = 4
|
|
anchor_top = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_top = -44.0
|
|
offset_right = 196.0
|
|
offset_bottom = 44.0
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxTexture_g4auy")
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="Control/PanelContainer" unique_id=1929711512]
|
|
layout_mode = 2
|
|
columns = 5
|
|
script = ExtResource("3_g4auy")
|
|
data = ExtResource("4_nr23h")
|
|
|
|
[node name="InventorySlot" parent="Control/PanelContainer/GridContainer" unique_id=823052233 instance=ExtResource("3_ev3e7")]
|
|
layout_mode = 2
|
|
|
|
[node name="InventorySlot2" parent="Control/PanelContainer/GridContainer" unique_id=479001907 instance=ExtResource("3_ev3e7")]
|
|
layout_mode = 2
|
|
|
|
[node name="InventorySlot3" parent="Control/PanelContainer/GridContainer" unique_id=327293097 instance=ExtResource("3_ev3e7")]
|
|
layout_mode = 2
|
|
|
|
[node name="InventorySlot4" parent="Control/PanelContainer/GridContainer" unique_id=355127191 instance=ExtResource("3_ev3e7")]
|
|
layout_mode = 2
|
|
|
|
[node name="InventorySlot5" parent="Control/PanelContainer/GridContainer" unique_id=1654439347 instance=ExtResource("3_ev3e7")]
|
|
layout_mode = 2
|
|
|
|
[node name="InventorySlot6" parent="Control/PanelContainer/GridContainer" unique_id=786772334 instance=ExtResource("3_ev3e7")]
|
|
layout_mode = 2
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="Control" unique_id=838536062]
|
|
max_polyphony = 4
|