extends Node var _dialogues = [] func _ready(): _dialogues.append([ "Hero;I... I... I need to go pee", "Boss;After this you won't need to pee ever again!", "More text...............", "Even more text................", ".................................", ".........................", "...................", "...", "We're done here." ]) _dialogues.append([ "Hero;I've come to slay you, you beast!", "Boss;Well then... step forward!" ]) _dialogues.append([ "Hero;You've killed so many, but you won't kill me!", "Boss;We'll see about that!" ]) func get_dialogue(id): return _dialogues[id]