Files
imnotsick/Scenes/screening_desk/terminate.gd
T
2026-03-01 14:10:51 +01:00

17 lines
378 B
GDScript

extends RichTextLabel
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
Globals.terminate_display.connect(self._on_terminate_display)
text = Globals.colorize("TERMINATE", "web_gray")
func _on_terminate_display(message:String):
text = message
#Resets to initial state
func reset():
text = Globals.colorize("TERMINATE", "web_gray")