Vast improvements and a working finite state machine, working on new guild member registration.

This commit is contained in:
2025-07-24 08:41:19 -04:00
parent 90151369de
commit dc30d1b15c
100 changed files with 1987 additions and 194 deletions

View File

@@ -3,12 +3,12 @@
[ext_resource type="Script" uid="uid://dhw85vqlvw33s" path="res://main_panel.gd" id="1_pdekv"]
[ext_resource type="Script" uid="uid://4jrp67ckp7vt" path="res://timer_label.gd" id="2_5rs2c"]
[node name="PanelContainer" type="PanelContainer"]
[node name="MainPanel" type="PanelContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = -573.0
offset_bottom = -257.0
offset_right = -870.0
offset_bottom = -526.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_pdekv")
@@ -25,40 +25,67 @@ theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 20
[node name="Passive" type="VBoxContainer" parent="MarginContainer"]
visible = false
unique_name_in_owner = true
layout_mode = 2
[node name="Label" type="Label" parent="MarginContainer/Passive"]
layout_mode = 2
theme_override_font_sizes/font_size = 50
theme_override_font_sizes/font_size = 28
text = "Time til Next Shift"
horizontal_alignment = 1
[node name="TimerLabel" type="Label" parent="MarginContainer/Passive"]
layout_mode = 2
theme_override_font_sizes/font_size = 100
theme_override_font_sizes/font_size = 28
text = "000:00:00.00"
script = ExtResource("2_5rs2c")
[node name="VisitorsLabel" type="Label" parent="MarginContainer/Passive"]
layout_mode = 2
theme_override_font_sizes/font_size = 28
text = "000:00:00.00"
script = ExtResource("2_5rs2c")
[node name="QuestProgressList" type="ScrollContainer" parent="MarginContainer/Passive"]
unique_name_in_owner = true
clip_contents = false
custom_minimum_size = Vector2(260, 100)
layout_mode = 2
horizontal_scroll_mode = 0
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Passive/QuestProgressList"]
custom_minimum_size = Vector2(300, 100)
layout_mode = 2
[node name="Active" type="VBoxContainer" parent="MarginContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
[node name="Label" type="Label" parent="MarginContainer/Active"]
layout_mode = 2
theme_override_font_sizes/font_size = 50
theme_override_font_sizes/font_size = 28
text = "Time til Next Shift"
horizontal_alignment = 1
[node name="TimerLabel" type="Label" parent="MarginContainer/Active"]
layout_mode = 2
theme_override_font_sizes/font_size = 100
theme_override_font_sizes/font_size = 28
text = "00:00:00.00"
horizontal_alignment = 1
script = ExtResource("2_5rs2c")
[node name="Label3" type="Label" parent="MarginContainer/Active"]
visible = false
layout_mode = 2
theme_override_font_sizes/font_size = 100
theme_override_font_sizes/font_size = 28
text = "00:00:00.00"
horizontal_alignment = 1
[node name="Button" type="Button" parent="MarginContainer/Active"]
layout_mode = 2
text = "END SHIFT"
[connection signal="time_changed" from="." to="MarginContainer/Passive/TimerLabel" method="_on_time_changed"]
[connection signal="time_changed" from="." to="MarginContainer/Active/TimerLabel" method="_on_time_changed"]
[connection signal="pressed" from="MarginContainer/Active/Button" to="." method="_on_end_shift_pressed"]