From 19b9831fa74985766290925a3c57307dc4ae3454 Mon Sep 17 00:00:00 2001 From: Jonas <jonas.zohren@tu-dortmund.de> Date: Thu, 11 Mar 2021 17:33:00 +0100 Subject: [PATCH] Stefan: React to carrying wasteBag --- public/dialogs/stefan.json | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/public/dialogs/stefan.json b/public/dialogs/stefan.json index 6f2b7c8..484b174 100644 --- a/public/dialogs/stefan.json +++ b/public/dialogs/stefan.json @@ -9,13 +9,19 @@ "options": [ { "text": "Bin ich hier richtig bei Herrn Dißmann?", - "forbiddenFacts": ["stefan/madeFirstContact"], + "forbiddenFacts": [ + "stefan/madeFirstContact", + "kitchenWaste/carriesStinkingBag" + ], "linksToDialog": "firstContact" }, { "text": "Halten sie nicht die DAP1-Vorlesung?", "requiredFacts": ["stefan/madeFirstContact"], - "forbiddenFacts": ["stefan/askedAfterDap1"], + "forbiddenFacts": [ + "stefan/askedAfterDap1", + "kitchenWaste/carriesStinkingBag" + ], "linksToDialog": "dap1question" }, { @@ -24,8 +30,16 @@ "stefan/madeFirstContact", "hans/acceptedQuestToFindNewAlumniMembers" ], - "forbiddenFacts": ["stefan/askedToJoinAlumni"], + "forbiddenFacts": [ + "stefan/askedToJoinAlumni", + "kitchenWaste/carriesStinkingBag" + ], "linksToDialog": "joinAlumniQuestion" + }, + { + "text": "Hallo?", + "requiredFacts": ["kitchenWaste/carriesStinkingBag"], + "linksToDialog": "kitchenBagResponse" } ] }, @@ -76,6 +90,10 @@ "linksToDialog": "start" } ] + }, + "kitchenBagResponse": { + "text": "Mein Büro ist nicht der Müllraum! Bring das bitte weg.", + "options": [] } } } -- GitLab