Spray Supervisor

This commit is contained in:
2026-01-25 21:57:27 +01:00
parent 930d5b27b0
commit b3d31dffa9
8 changed files with 138 additions and 10 deletions
+8 -3
View File
@@ -95,16 +95,21 @@ func start_day():
await get_tree().create_timer(1.0).timeout
#Setting up new patient
$ScreeningDesk.console_display(Globals.directives)
$ScreeningDesk.accurate_diagnoses = 0 #Resetting accurate_diagnoses value at the day's beginning
$ScreeningDesk.new_patient()
$ScreeningDesk.update_middle_screen(Globals.day_count, Globals.floor_count, $ScreeningDesk.accurate_diagnoses, Globals.diagnoses_quota)
#Transitioning to the screening desk
scenes_to_hide = scenes_to_show
scenes_to_show = [$ScreeningDesk, $ScreeningDesk.next_patient, UI, UI.get_node("UI/UpperContainer")]
scenes_to_show = [$ScreeningDesk, UI, UI.get_node("UI/UpperContainer")]
TransitionScreen.transition("big", scenes_to_hide, scenes_to_show)
await TransitionScreen.transition_finished
#Supervisor Dialogue
$ScreeningDesk.supervisor_dialogue(Globals.interfloor_dialogue, "interfloor_" + str(-Globals.floor_count-1))
await $ScreeningDesk.supervisor_dialogue_finished
$ScreeningDesk.console_display(Globals.directives)
$ScreeningDesk.new_patient()
#Saves game state on the selected save slot