somewhat working console, fully developed from the ground up some things work with it, but its still pretty buggy currently runs on global autoload because its the easiest way rn, later on have to change it so that only if the player is in the game and console is enabled it can be toggled
138 lines
4.5 KiB
Text
138 lines
4.5 KiB
Text
[gd_scene format=3 uid="uid://bsccbqq04umeg"]
|
|
|
|
[ext_resource type="Script" uid="uid://lkb0o8too0mj" path="res://scenes/player/ui_manager_scene.gd" id="1_32d7b"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_m6sn8"]
|
|
bg_color = Color(0.23921569, 0.23921569, 0.23921569, 0.47058824)
|
|
|
|
[node name="PlayerUi" type="Control" unique_id=454848358]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
offset_transform_enabled = true
|
|
mouse_filter = 2
|
|
mouse_behavior_recursive = 2
|
|
script = ExtResource("1_32d7b")
|
|
|
|
[node name="InvContainer" type="MarginContainer" parent="." unique_id=1895029439]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = 0.3
|
|
anchor_top = 0.87
|
|
anchor_right = 0.7
|
|
anchor_bottom = 0.98
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
offset_transform_position = Vector2(0.295, 0)
|
|
|
|
[node name="InventoryPanels" type="HBoxContainer" parent="InvContainer" unique_id=786436241]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
offset_transform_position = Vector2(0, -29.25)
|
|
offset_transform_visual_only = false
|
|
alignment = 1
|
|
|
|
[node name="AspectRatioContainer" type="AspectRatioContainer" parent="InvContainer/InventoryPanels" unique_id=1753013707]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
stretch_mode = 1
|
|
|
|
[node name="InvSlot1" type="PanelContainer" parent="InvContainer/InventoryPanels/AspectRatioContainer" unique_id=1847508075]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_m6sn8")
|
|
|
|
[node name="AspectRatioContainer2" type="AspectRatioContainer" parent="InvContainer/InventoryPanels" unique_id=305641278]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
stretch_mode = 1
|
|
|
|
[node name="InvSlot2" type="PanelContainer" parent="InvContainer/InventoryPanels/AspectRatioContainer2" unique_id=2121530771]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_m6sn8")
|
|
|
|
[node name="AspectRatioContainer3" type="AspectRatioContainer" parent="InvContainer/InventoryPanels" unique_id=1408216345]
|
|
visible = false
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
stretch_mode = 1
|
|
|
|
[node name="InvSlot3" type="PanelContainer" parent="InvContainer/InventoryPanels/AspectRatioContainer3" unique_id=1616781961]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_m6sn8")
|
|
|
|
[node name="AspectRatioContainer4" type="AspectRatioContainer" parent="InvContainer/InventoryPanels" unique_id=876478547]
|
|
visible = false
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
stretch_mode = 1
|
|
|
|
[node name="InvSlot4" type="PanelContainer" parent="InvContainer/InventoryPanels/AspectRatioContainer4" unique_id=1782511400]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_m6sn8")
|
|
|
|
[node name="AspectRatioContainer5" type="AspectRatioContainer" parent="InvContainer/InventoryPanels" unique_id=1510462561]
|
|
visible = false
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
stretch_mode = 1
|
|
|
|
[node name="InvSlot5" type="PanelContainer" parent="InvContainer/InventoryPanels/AspectRatioContainer5" unique_id=1512950913]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_m6sn8")
|
|
|
|
[node name="StaminaBarMargin" type="MarginContainer" parent="." unique_id=707986637]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = 0.07
|
|
anchor_top = 0.85
|
|
anchor_right = 0.27
|
|
anchor_bottom = 1.0
|
|
grow_vertical = 0
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
theme_override_constants/margin_left = 0
|
|
theme_override_constants/margin_right = 0
|
|
|
|
[node name="StaminaBar" type="ProgressBar" parent="StaminaBarMargin" unique_id=1844702202]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 50)
|
|
layout_mode = 2
|
|
offset_transform_enabled = true
|
|
offset_transform_rotation = -0.34906584
|
|
show_percentage = false
|
|
|
|
[node name="FlashlightBarMargin" type="MarginContainer" parent="." unique_id=915568145]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = 0.73
|
|
anchor_top = 0.85
|
|
anchor_right = 0.93
|
|
anchor_bottom = 1.0
|
|
offset_left = -4.0
|
|
offset_top = -4.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
|
|
[node name="FlashlightBar" type="ProgressBar" parent="FlashlightBarMargin" unique_id=551784534]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(50, 50)
|
|
layout_mode = 2
|
|
offset_transform_enabled = true
|
|
offset_transform_rotation = 0.34906584
|
|
fill_mode = 1
|
|
show_percentage = false
|