Loeveth rework WIP

This commit is contained in:
2026-05-20 00:29:19 +02:00
parent 1b65969798
commit 804a104895
15 changed files with 49 additions and 9 deletions
+2 -2
View File
@@ -209,13 +209,13 @@ func _on_main_menu_pressed():
clear_balloon()
#Going back to main menu
var scenes_to_hide = [$ScreeningDesk, $TextScreens, $TextScreens/Day, UI.game_over, UI.pause_menu.menu_button, UI.game_over]
var scenes_to_hide = [$ScreeningDesk, $TextScreens, $TextScreens/Day, UI.game_over, UI.pause_menu.menu_button]
var scenes_to_show = [$TitleScreen]
UI.masks.transition(scenes_to_hide, scenes_to_show)
await UI.masks.transition_finished
#Resetting scenes
for scene in [$ScreeningDesk, UI.its_game_over]:
for scene in [$ScreeningDesk, UI.game_over]:
scene.reset()
+1 -1
View File
@@ -254,7 +254,7 @@ func next_patient() -> Dictionary: #Decides next patient ID
next_id = generate_next_id(next_type)
-4:
if Globals.patient_count == 0:
next_id = "ite_00"
next_id = "ite_01"
next_type = "ite"
else:
next_type = next_patient_type()