breadwinner/scenes/player/player_ui.tscn

219 lines
7.3 KiB
Text
Raw Normal View History

2026-07-26 15:03:12 +02:00
[gd_scene format=3 uid="uid://bsccbqq04umeg"]
[ext_resource type="Script" uid="uid://lkb0o8too0mj" path="res://scenes/player/player_ui.gd" id="1_32d7b"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_m6sn8"]
bg_color = Color(0.23921569, 0.23921569, 0.23921569, 0.47058824)
2026-07-26 15:03:12 +02:00
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_b5l5s"]
bg_color = Color(0.6, 0.6, 0.6, 0)
[sub_resource type="Curve" id="Curve_3gngh"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0]
point_count = 1
[sub_resource type="Curve" id="Curve_fcnqv"]
_data = [Vector2(0.6145833, 1), 0.0, 0.0, 0, 0]
point_count = 1
[sub_resource type="Curve" id="Curve_7numd"]
_data = [Vector2(0.6145833, 1), 0.0, 0.0, 0, 0]
point_count = 1
[sub_resource type="CurveXYZTexture" id="CurveXYZTexture_32d7b"]
curve_x = SubResource("Curve_3gngh")
curve_y = SubResource("Curve_fcnqv")
curve_z = SubResource("Curve_7numd")
2026-07-26 15:03:12 +02:00
[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")
2026-07-26 15:03:12 +02:00
[node name="InvContainer" type="MarginContainer" parent="." unique_id=1895029439]
2026-07-26 15:03:12 +02:00
layout_mode = 1
anchors_preset = -1
anchor_left = 0.3
anchor_top = 0.87
anchor_right = 0.7
anchor_bottom = 0.98
2026-07-26 15:03:12 +02:00
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
2026-07-26 15:03:12 +02:00
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="InvSlot1Container" type="PanelContainer" parent="InvContainer/InventoryPanels/AspectRatioContainer" unique_id=1847508075]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/panel = SubResource("StyleBoxFlat_m6sn8")
[node name="InvSlot1" type="TextureRect" parent="InvContainer/InventoryPanels/AspectRatioContainer/InvSlot1Container" unique_id=707719551]
unique_name_in_owner = true
layout_mode = 2
[node name="AspectRatioContainer2" type="AspectRatioContainer" parent="InvContainer/InventoryPanels" unique_id=305641278]
2026-07-26 15:03:12 +02:00
layout_mode = 2
size_flags_horizontal = 3
stretch_mode = 1
2026-07-26 15:03:12 +02:00
[node name="InvSlot2Container" type="PanelContainer" parent="InvContainer/InventoryPanels/AspectRatioContainer2" unique_id=2121530771]
2026-07-26 15:03:12 +02:00
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/panel = SubResource("StyleBoxFlat_m6sn8")
2026-07-26 15:03:12 +02:00
[node name="InvSlot2" type="TextureRect" parent="InvContainer/InventoryPanels/AspectRatioContainer2/InvSlot2Container" unique_id=265967012]
unique_name_in_owner = true
layout_mode = 2
[node name="AspectRatioContainer3" type="AspectRatioContainer" parent="InvContainer/InventoryPanels" unique_id=1408216345]
visible = false
2026-07-26 15:03:12 +02:00
layout_mode = 2
size_flags_horizontal = 3
stretch_mode = 1
2026-07-26 15:03:12 +02:00
[node name="InvSlot3Container" type="PanelContainer" parent="InvContainer/InventoryPanels/AspectRatioContainer3" unique_id=1616781961]
2026-07-26 15:03:12 +02:00
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/panel = SubResource("StyleBoxFlat_m6sn8")
2026-07-26 15:03:12 +02:00
[node name="InvSlot3" type="TextureRect" parent="InvContainer/InventoryPanels/AspectRatioContainer3/InvSlot3Container" unique_id=1230703223]
unique_name_in_owner = true
layout_mode = 2
[node name="AspectRatioContainer4" type="AspectRatioContainer" parent="InvContainer/InventoryPanels" unique_id=876478547]
visible = false
2026-07-26 15:03:12 +02:00
layout_mode = 2
size_flags_horizontal = 3
stretch_mode = 1
2026-07-26 15:03:12 +02:00
[node name="InvSlot4Container" type="PanelContainer" parent="InvContainer/InventoryPanels/AspectRatioContainer4" unique_id=1782511400]
2026-07-26 15:03:12 +02:00
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/panel = SubResource("StyleBoxFlat_m6sn8")
[node name="InvSlot4" type="TextureRect" parent="InvContainer/InventoryPanels/AspectRatioContainer4/InvSlot4Container" unique_id=522773629]
unique_name_in_owner = true
layout_mode = 2
[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="InvSlot5Container" type="PanelContainer" parent="InvContainer/InventoryPanels/AspectRatioContainer5" unique_id=1512950913]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/panel = SubResource("StyleBoxFlat_m6sn8")
[node name="InvSlot5" type="TextureRect" parent="InvContainer/InventoryPanels/AspectRatioContainer5/InvSlot5Container" unique_id=143698041]
unique_name_in_owner = true
layout_mode = 2
[node name="CenterContainer2" type="Control" parent="." unique_id=772146403]
layout_mode = 1
anchor_left = 0.7
anchor_top = 0.65
anchor_right = 1.0
anchor_bottom = 1.0
grow_vertical = 0
[node name="StaminaBarMargin" type="PanelContainer" parent="CenterContainer2" unique_id=2079111724]
layout_mode = 1
anchors_preset = -1
anchor_top = 0.2
anchor_right = 0.7
anchor_bottom = 0.8
grow_horizontal = 2
grow_vertical = 2
rotation = 0.34906584
size_flags_horizontal = 4
size_flags_vertical = 4
theme_override_styles/panel = SubResource("StyleBoxFlat_b5l5s")
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer2/StaminaBarMargin" unique_id=1659237850]
layout_mode = 2
[node name="Label" type="Label" parent="CenterContainer2/StaminaBarMargin/VBoxContainer" unique_id=37159973]
layout_mode = 2
text = "Flashlight"
horizontal_alignment = 2
[node name="FlashlightBar" type="ProgressBar" parent="CenterContainer2/StaminaBarMargin/VBoxContainer" unique_id=487706195]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 50)
layout_mode = 2
offset_transform_enabled = true
fill_mode = 1
show_percentage = false
[node name="CenterContainer" type="Control" parent="." unique_id=86499814]
layout_mode = 1
anchor_top = 0.81
anchor_right = 0.3
anchor_bottom = 1.0
grow_vertical = 0
[node name="StaminaBarMargin" type="PanelContainer" parent="CenterContainer" unique_id=1687637803]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.3
anchor_top = 0.2
anchor_right = 1.0
anchor_bottom = 0.8
grow_horizontal = 2
grow_vertical = 2
rotation = -0.34906584
size_flags_horizontal = 4
size_flags_vertical = 4
theme_override_styles/panel = SubResource("StyleBoxFlat_b5l5s")
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/StaminaBarMargin" unique_id=162758047]
layout_mode = 2
[node name="Label" type="Label" parent="CenterContainer/StaminaBarMargin/VBoxContainer" unique_id=976233035]
layout_mode = 2
text = "Stamina"
[node name="StaminaBar" type="ProgressBar" parent="CenterContainer/StaminaBarMargin/VBoxContainer" unique_id=1844702202]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 50)
layout_mode = 2
offset_transform_enabled = true
show_percentage = false
[node name="AspectRatioContainer" type="AspectRatioContainer" parent="." unique_id=1864185410]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.49
anchor_top = 0.49
anchor_right = 0.51
anchor_bottom = 0.51
grow_horizontal = 2
grow_vertical = 2
[node name="Cursor" type="TextureRect" parent="AspectRatioContainer" unique_id=417293523]
unique_name_in_owner = true
layout_mode = 2
offset_transform_scale = Vector2(0.345, 0.345)
texture = SubResource("CurveXYZTexture_32d7b")
expand_mode = 1