end_of_day dialogues
This commit is contained in:
+6
-6
@@ -16,10 +16,10 @@ extends Control
|
||||
@onready var balloon: Node
|
||||
@onready var patient_emotions : Dictionary
|
||||
|
||||
var patient_count = 0
|
||||
|
||||
signal recovery_pressed
|
||||
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
|
||||
@@ -230,8 +230,8 @@ func clear_patient(choice:String):
|
||||
var scenes_to_hide = [patient_controls, patient_texture, face_zoom, panel_container] + margin_container.get_children()
|
||||
var scenes_to_show:Array[Node]
|
||||
|
||||
patient_count += 1
|
||||
if patient_count < Globals.daily_patient_limit:
|
||||
Globals.patient_count += 1
|
||||
if Globals.patient_count < Globals.daily_patient_limit:
|
||||
scenes_to_show.append(alone_controls)
|
||||
else:
|
||||
scenes_to_show.append(end_of_day_controls)
|
||||
@@ -240,11 +240,11 @@ func clear_patient(choice:String):
|
||||
await TransitionScreen.transition_finished
|
||||
|
||||
|
||||
if patient_count < Globals.daily_patient_limit:
|
||||
if Globals.patient_count < Globals.daily_patient_limit:
|
||||
#Setting Up Next Patient
|
||||
new_patient("564")
|
||||
else:
|
||||
patient_count = 0
|
||||
Globals.patient_count = 0
|
||||
|
||||
#Starting End of Day Dialogue
|
||||
var start_title = "end_of_day_" + str(Globals.day_count)
|
||||
|
||||
Reference in New Issue
Block a user