From 84c70cee089b72720a85d285ee0437b65be298b9 Mon Sep 17 00:00:00 2001 From: troido Date: Sun, 5 Apr 2020 13:19:27 +0200 Subject: interactions can have an argument --- content/encyclopediae/default_encyclopedia.json | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'content/encyclopediae/default_encyclopedia.json') diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json index 5fa6ebf..a7196d8 100644 --- a/content/encyclopediae/default_encyclopedia.json +++ b/content/encyclopediae/default_encyclopedia.json @@ -270,6 +270,14 @@ "components": [ ["Interactable", {"action": ["interaction", ["say", "Good morning there, World"]]}] ] + }, + "dude": { + "sprite": "human", + "height": 1.5, + "flags": ["Occupied"], + "components": [ + ["Interactable", {"action": ["interaction", ["reply", "did you say '{}'?"]]}] + ] } } } -- cgit