From c4ba3d765ef629418dfe5d4f1fbd61555e1abc32 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Mon, 9 May 2022 09:33:43 +0200 Subject: [PATCH] =?UTF-8?q?Fixing=20#=E2=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/behavior/dialogue/dialogue.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/behavior/dialogue/dialogue.json b/source/behavior/dialogue/dialogue.json index bd923e31..40ce4617 100644 --- a/source/behavior/dialogue/dialogue.json +++ b/source/behavior/dialogue/dialogue.json @@ -60,7 +60,7 @@ "name": { "title": "Name", "description": "Set the text that is going to be displayed on your NPC’s button", - "$ref": "../../general/rawtext/rawtext.json" + "oneOf": [{ "type": "string" }, { "$ref": "../../general/rawtext/rawtext.json" }] }, "commands": { "type": "array", @@ -79,7 +79,7 @@ "npc_name": { "title": "NPC Name", "description": "This is where you can add or change a name for your NPC dialogue box. This is an optional property that is useful for dynamically changing NPC names.", - "$ref": "../../general/rawtext/rawtext.json" + "oneOf": [{ "type": "string" }, { "$ref": "../../general/rawtext/rawtext.json" }] }, "on_close_commands": { "type": "array", @@ -111,7 +111,7 @@ "text": { "title": "Text", "description": "This is where you enter the dialogue you want your NPC to display in-game for this scene. You can type the dialogue text directly here or use raw text if you are using a language file. This is an optional property, but without it your NPC dialogue box will be empty.", - "$ref": "../../general/rawtext/rawtext.json" + "oneOf": [{ "type": "string" }, { "$ref": "../../general/rawtext/rawtext.json" }] } } }