PayphoneWatcher/main.tscn

169 lines
6 KiB
Text
Raw Normal View History

2026-05-21 00:22:40 +10:00
[gd_scene format=3 uid="uid://df4wh83ypl085"]
2025-05-31 13:03:59 +10:00
2026-05-21 00:22:40 +10:00
[ext_resource type="Script" uid="uid://dblnpuq85tsmq" path="res://main.gd" id="1_h2yge"]
2025-05-31 13:03:59 +10:00
[ext_resource type="Script" uid="uid://njpp5gvmxi7f" path="res://TitleBar.gd" id="1_ig7tw"]
[ext_resource type="Texture2D" uid="uid://b502wtiwv20em" path="res://Sprites/statusIcon.png" id="3_h2yge"]
2026-05-21 00:22:40 +10:00
[node name="Control" type="Control" unique_id=577067945 node_paths=PackedStringArray("player_name", "player_rank", "player_score", "cell_rank", "cell_score", "player_request", "cell_request", "cell_name")]
2025-05-31 13:03:59 +10:00
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2026-05-21 00:22:40 +10:00
script = ExtResource("1_h2yge")
player_name = NodePath("VBoxContainer/MainContent/OnTask/playerName")
player_rank = NodePath("VBoxContainer/MainContent/OnTask/GridContainer/playerRank")
player_score = NodePath("VBoxContainer/MainContent/OnTask/GridContainer/playerScore")
cell_rank = NodePath("VBoxContainer/MainContent/OnTask/GridContainer2/cellRank")
cell_score = NodePath("VBoxContainer/MainContent/OnTask/GridContainer2/cellScore")
player_request = NodePath("playerRequest")
cell_request = NodePath("cellRequest")
cell_name = NodePath("VBoxContainer/MainContent/OnTask/cellName")
[node name="Background" type="ColorRect" parent="." unique_id=641703216]
2025-05-31 13:03:59 +10:00
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2026-05-21 00:22:40 +10:00
color = Color(0.31691015, 0.00042817116, 0.42128003, 1)
2025-05-31 13:03:59 +10:00
2026-05-21 00:22:40 +10:00
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=670454016]
2025-05-31 13:03:59 +10:00
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2026-05-21 00:22:40 +10:00
[node name="TitleBar" type="PanelContainer" parent="VBoxContainer" unique_id=1245189107 node_paths=PackedStringArray("options_menu")]
2025-05-31 13:03:59 +10:00
layout_mode = 2
script = ExtResource("1_ig7tw")
2025-06-01 09:39:46 +10:00
options_menu = NodePath("../../StatusIndicator/PopupMenu")
2025-05-31 13:03:59 +10:00
2026-05-21 00:22:40 +10:00
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/TitleBar" unique_id=1199806333]
2025-05-31 13:03:59 +10:00
layout_mode = 2
alignment = 1
2026-05-21 00:22:40 +10:00
[node name="Label" type="Label" parent="VBoxContainer/TitleBar/HBoxContainer" unique_id=804273888]
2025-05-31 13:03:59 +10:00
layout_mode = 2
2026-05-21 00:22:40 +10:00
text = "Payphone Watcher"
2025-05-31 13:03:59 +10:00
2026-05-21 00:22:40 +10:00
[node name="MainContent" type="Control" parent="VBoxContainer" unique_id=1523584708]
2025-05-31 13:03:59 +10:00
layout_mode = 2
size_flags_vertical = 3
2026-05-21 00:22:40 +10:00
[node name="OnTask" type="VBoxContainer" parent="VBoxContainer/MainContent" unique_id=1800861120]
2025-05-31 13:03:59 +10:00
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_vertical = 3
2026-05-21 00:22:40 +10:00
theme_override_constants/separation = 0
2025-05-31 13:03:59 +10:00
alignment = 1
2026-05-21 00:22:40 +10:00
[node name="playerName" type="Label" parent="VBoxContainer/MainContent/OnTask" unique_id=1091176720]
modulate = Color(1, 0.58431375, 1, 1)
2025-05-31 13:03:59 +10:00
layout_mode = 2
2026-05-21 00:22:40 +10:00
text = "LunarLynx 😜"
2025-05-31 13:03:59 +10:00
horizontal_alignment = 1
2026-05-21 00:22:40 +10:00
[node name="GridContainer" type="GridContainer" parent="VBoxContainer/MainContent/OnTask" unique_id=938839243]
2025-05-31 13:03:59 +10:00
layout_mode = 2
2026-05-21 00:22:40 +10:00
columns = 2
2025-05-31 13:03:59 +10:00
2026-05-21 00:22:40 +10:00
[node name="Label" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer" unique_id=1388196608]
2025-05-31 13:03:59 +10:00
layout_mode = 2
2026-05-21 00:22:40 +10:00
size_flags_horizontal = 3
text = "Rank:"
horizontal_alignment = 2
2025-05-31 13:03:59 +10:00
2026-05-21 00:22:40 +10:00
[node name="playerRank" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer" unique_id=482359721]
layout_mode = 2
size_flags_horizontal = 3
text = "..."
2025-05-31 13:03:59 +10:00
2026-05-21 00:22:40 +10:00
[node name="Label2" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer" unique_id=1618465185]
2025-05-31 13:03:59 +10:00
layout_mode = 2
2026-05-21 00:22:40 +10:00
size_flags_horizontal = 3
text = "Score:"
horizontal_alignment = 2
2025-05-31 13:03:59 +10:00
2026-05-21 00:22:40 +10:00
[node name="playerScore" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer" unique_id=994771734]
2025-05-31 13:03:59 +10:00
layout_mode = 2
2026-05-21 00:22:40 +10:00
size_flags_horizontal = 3
text = "..."
2025-05-31 13:03:59 +10:00
2026-05-21 00:22:40 +10:00
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/MainContent/OnTask" unique_id=1485557779]
layout_mode = 2
2025-05-31 13:03:59 +10:00
2026-05-21 00:22:40 +10:00
[node name="cellName" type="Label" parent="VBoxContainer/MainContent/OnTask" unique_id=157893317]
modulate = Color(1, 0.58431375, 1, 1)
2025-05-31 13:03:59 +10:00
layout_mode = 2
2026-05-21 00:22:40 +10:00
text = "The Catgirl Mafia [MIAW]"
2025-05-31 13:03:59 +10:00
horizontal_alignment = 1
2026-05-21 00:22:40 +10:00
[node name="GridContainer2" type="GridContainer" parent="VBoxContainer/MainContent/OnTask" unique_id=959168299]
2025-05-31 13:03:59 +10:00
layout_mode = 2
2026-05-21 00:22:40 +10:00
columns = 2
[node name="Label" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer2" unique_id=521074097]
layout_mode = 2
size_flags_horizontal = 3
text = "Rank:"
horizontal_alignment = 2
2025-05-31 13:03:59 +10:00
2026-05-21 00:22:40 +10:00
[node name="cellRank" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer2" unique_id=1333088748]
2025-05-31 13:03:59 +10:00
layout_mode = 2
2026-05-21 00:22:40 +10:00
size_flags_horizontal = 3
text = "..."
2025-05-31 13:03:59 +10:00
2026-05-21 00:22:40 +10:00
[node name="Label2" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer2" unique_id=639603789]
2025-05-31 13:03:59 +10:00
layout_mode = 2
2026-05-21 00:22:40 +10:00
size_flags_horizontal = 3
text = "Score:"
horizontal_alignment = 2
2025-05-31 13:03:59 +10:00
2026-05-21 00:22:40 +10:00
[node name="cellScore" type="Label" parent="VBoxContainer/MainContent/OnTask/GridContainer2" unique_id=329730910]
2025-05-31 13:03:59 +10:00
layout_mode = 2
2026-05-21 00:22:40 +10:00
size_flags_horizontal = 3
text = "..."
2025-05-31 13:03:59 +10:00
2026-05-21 00:22:40 +10:00
[node name="StatusIndicator" type="StatusIndicator" parent="." unique_id=1039426600]
2025-05-31 13:03:59 +10:00
icon = ExtResource("3_h2yge")
menu = NodePath("PopupMenu")
2026-05-21 00:22:40 +10:00
[node name="PopupMenu" type="PopupMenu" parent="StatusIndicator" unique_id=1255435033]
2025-06-22 12:26:49 +10:00
item_count = 6
2025-05-31 13:03:59 +10:00
item_0/text = "Exit"
item_0/id = 0
2025-06-01 09:39:46 +10:00
item_1/id = 1
item_1/separator = true
2025-06-22 12:26:49 +10:00
item_2/text = "Smaller"
2025-06-01 09:39:46 +10:00
item_2/checkable = 2
2025-06-22 12:26:49 +10:00
item_2/id = 5
item_3/text = "Small"
2025-06-01 09:39:46 +10:00
item_3/checkable = 2
2025-06-22 12:26:49 +10:00
item_3/checked = true
item_3/id = 2
item_4/text = "Medium"
2025-06-01 09:39:46 +10:00
item_4/checkable = 2
2025-06-22 12:26:49 +10:00
item_4/id = 3
item_5/text = "Large"
item_5/checkable = 2
item_5/id = 4
2025-05-31 13:03:59 +10:00
2026-05-21 00:22:40 +10:00
[node name="playerRequest" type="HTTPRequest" parent="." unique_id=692196380]
[node name="cellRequest" type="HTTPRequest" parent="." unique_id=1748890035]
2025-05-31 13:03:59 +10:00
[connection signal="gui_input" from="VBoxContainer/TitleBar" to="VBoxContainer/TitleBar" method="_on_TitleBar_gui_input"]
[connection signal="id_pressed" from="StatusIndicator/PopupMenu" to="." method="_on_popup_menu_id_pressed"]
2025-06-01 09:39:46 +10:00
[connection signal="id_pressed" from="StatusIndicator/PopupMenu" to="VBoxContainer/TitleBar" method="_on_popup_menu_id_pressed"]
2026-05-21 00:22:40 +10:00
[connection signal="request_completed" from="playerRequest" to="." method="player_request_completed"]
[connection signal="request_completed" from="cellRequest" to="." method="cell_request_completed"]