From 08ae1a42c694ec409921225daa59ab42fac75d58 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 9 Aug 2020 16:29:26 +0300 Subject: Allow options in dialogue --- data/dialogue/dwarf_1.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'data/dialogue/dwarf_1.json') diff --git a/data/dialogue/dwarf_1.json b/data/dialogue/dwarf_1.json index 91c7a5e..d42ec8c 100644 --- a/data/dialogue/dwarf_1.json +++ b/data/dialogue/dwarf_1.json @@ -1,3 +1,5 @@ -[ - { "name": "Dwarf", "body": "Top of the morning to ye." } -] +{ + "1": { "name": "Dwarf", "body": "What are you doing in this dungeon?", "options": [["Just chilling", "2"], ["Nothing", "3"]] }, + "2": { "name": "Dwarf", "body": "Stop chilling and go back to the surface." }, + "3": { "name": "Dwarf", "body": "Right." } +} -- cgit v1.3