16 lines
561 B
GDScript
16 lines
561 B
GDScript
extends RichTextLabel
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
pass # Replace with function body.
|
|
|
|
|
|
#Updates Middle Screen Info
|
|
func update(day_count, floor_count, diagnoses_count, diagnoses_quota):
|
|
var day = Globals.colorize(str(day_count), "dark_orange")
|
|
var floor = Globals.colorize(str(floor_count), "dark_orange")
|
|
var diagnoses = Globals.colorize(str(diagnoses_count) + "/" + str(diagnoses_quota), "dark_orange")
|
|
|
|
text = "DAY: " + day + "\n\nFLOOR: " + floor + "\n\nACCURATE DIAGNOSES: " + diagnoses
|