extends RichTextLabel # Called when the node enters the scene tree for the first time. func _ready() -> void: Globals.console_message.connect(self.display) hide() #Displays a message on the console screen func display(message): var text_to_display = message text_to_display = text_to_display.replace("\\n", "\n") #Replaces litteral backslashes by actual newlines (necessary because of Dialogue Manager) text = text_to_display show()