Files
GameJamDungeon/demos/6. handling metadata/handling_metadata_dialogue.gd
2024-09-07 15:01:45 -07:00

8 lines
371 B
GDScript

extends DialogueEngine
func _setup() -> void:
# Use DialogueEntry.set_metadata for data that must be available through DialogueEngine.dialogue_continued signal.
# The metadata handling per DialogueEntry must be implemented by the user.
add_text_entry("[i]We won! Let's goooo!![/i]").set_metadata("author", "Gary")
add_text_entry("Press <Enter> or <Space> to exit.")