big work
This commit is contained in:
@@ -7,14 +7,13 @@ func _ready() -> void:
|
||||
|
||||
|
||||
#Updates Middle Screen Info
|
||||
func update(floor_count, diagnoses_count, diagnoses_quota, misdiagnoses_allowed):
|
||||
func update(floor_count, patient_count, patient_quota):
|
||||
var floor = Globals.colorize(str(floor_count), "dark_orange")
|
||||
var diagnoses = Globals.colorize(str(diagnoses_count) + "/" + str(diagnoses_quota), "dark_orange")
|
||||
var misdiagnoses = Globals.colorize(str(misdiagnoses_allowed), "dark_orange")
|
||||
var patients_seen = Globals.colorize(str(patient_count) + "/" + str(patient_quota), "dark_orange")
|
||||
|
||||
text = "FLOOR: " + floor + "\n\nACCURATE DIAGNOSES: " + diagnoses + "\n\nMISDIAGNOSES ALLOWED: " + misdiagnoses
|
||||
text = "FLOOR: " + floor + "\n\nPATIENTS SEEN: " + patients_seen
|
||||
|
||||
|
||||
#Resets to initial state
|
||||
func reset():
|
||||
update(Globals.floor_count, Globals.accurate_diagnoses, Globals.diagnoses_quota, Globals.misdiagnoses_allowed)
|
||||
update(Globals.floor_count, Globals.patient_count, Globals.patient_quota)
|
||||
|
||||
Reference in New Issue
Block a user