mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-13 14:02:23 +02:00
Added dialogue system start point
This commit is contained in:
27
src/Menus/DialogueBox/Dialogues.gd
Normal file
27
src/Menus/DialogueBox/Dialogues.gd
Normal file
@@ -0,0 +1,27 @@
|
||||
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]
|
||||
Reference in New Issue
Block a user