From ec6a5d9d26855a9920c5789f686e9126e2d726da Mon Sep 17 00:00:00 2001 From: Princess Lexy <alexandra.cloodt@udo.edu> Date: Sun, 28 Mar 2021 22:26:47 +0000 Subject: [PATCH] Add new file --- public/dialogs/E37.json | 109 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 public/dialogs/E37.json diff --git a/public/dialogs/E37.json b/public/dialogs/E37.json new file mode 100644 index 0000000..6e236fc --- /dev/null +++ b/public/dialogs/E37.json @@ -0,0 +1,109 @@ +{ + "$schema": "../../src/dialogSet.schema.json", + "title": "Ein verzweifelter Studi", + "imageUrl": "./images/unsplash_desperate.png", + "startDialogName": "start", + "dialogs": { + "start": { + "text": "", + "options": [ + { + "text": "Du siehst aber gar nicht gut aus, was ist denn los?", + "forbiddenFacts": [ + "tonerMissingGuy/questStarted", + "tonerMissingGuy/questFinished" + ], + "linksToDialog": "intro1" + }, + { + "text": "Hallo!", + "requiredFacts": [ + "tonerMissingGuy/questStarted" + ], + "forbiddenFacts": [ + "tonerMissingGuy/questFinished" + ], + "linksToDialog": "questState" + }, + { + "text": "Oh, druckst du immer noch?", + "requiredFacts": [ + "tonerMissingGuy/questFinished" + ], + "linksToDialog": "stillPrinting" + } + ] + }, + "intro1": { + "text": "Ich bin verzweifelt! Der Drucker druckt nicht!", + "options": [ + { + "text": "Puh, von Druckern habe ich auch keine Ahnung. Vielleicht kann dir jemand anderes helfen.", + "linksToDialog": "sad" + }, + { + "text": "Hast du mal versucht den Drucker aus- und wieder einzuschalten?", + "linksToDialog": "intro2" + } + ] + }, + "sad": { + "text": "Schade! Falls du mir doch helfen möchtest, schau gerne wieder vorbei.", + "options": [] + }, + "intro2": { + "text": "Warte!\n...\n...\n...\nJetzt sagt er, dass der Toner leer ist!\nWo bekomme ich den denn jetzt her? Du musst mir helfen!", + "options": [ + { + "text": "Oh, da habe ich leider keine Zeit für.", + "linksToDialog": "sad" + }, + { + "text": "Ok, ich schaue mal ob ich irgendwo Toner auftreiben kann.", + "linksToDialog": "startQuest" + } + ] + }, + "startQuest": { + "text": "Danke! Ich warte hier und passe auf, dass der Drucker nicht plötzlich Feuer fängt.", + "addFacts": [ + "tonerMissingGuy/questStarted" + ], + "options": [] + }, + "questState": { + "text": "Oh, da bist du ja wieder! Hast du schon Toner gefunden?", + "options": [ + { + "text": "Leider noch nicht...", + "forbiddenFacts": [ + "tonerMissingGuy/gotToner" + ], + "linksToDialog": "comeBack" + }, + { + "text": "Ja, schau mal hier!", + "requiredFacts": [ + "tonerMissingGuy/gotToner" + ], + "linksToDialog": "questFinish" + } + ] + }, + "comeBack": { + "text": "Schade. Ich warte hier und beobachte weiter den Switch beim Blinken.", + "options": [] + }, + "stillPrinting": { + "text": "Ja, sonderlich schnell ist der Drucker nicht.", + "options": [] + }, + "questFinish": { + "text": "Danke! Jetzt druckt er endlich wieder!", + "addFacts": [ + "tonerMissingGuy/questFinished" + ], + "options": [] + } + } +} -- GitLab