From 42242dc028d0235a8dfeeebf743525cd0b35783c Mon Sep 17 00:00:00 2001 From: Matt Antonelli Date: Thu, 19 Jan 2023 00:51:29 -0500 Subject: [PATCH] Add banner definitions --- SaintCoinach/Definitions/BannerCondition.json | 48 ++++++++++++++++++- .../Definitions/BannerObtainHintType.json | 7 ++- 2 files changed, 52 insertions(+), 3 deletions(-) diff --git a/SaintCoinach/Definitions/BannerCondition.json b/SaintCoinach/Definitions/BannerCondition.json index 14cf0933..fc6e994f 100644 --- a/SaintCoinach/Definitions/BannerCondition.json +++ b/SaintCoinach/Definitions/BannerCondition.json @@ -20,12 +20,26 @@ }, "sheet": "Quest" }, + { + "when": { + "key": "UnlockType1", + "value": 4 + }, + "sheet": "ContentFinderCondition" + }, { "when": { "key": "UnlockType1", "value": 5 }, "sheet": "Emote" + }, + { + "when": { + "key": "UnlockType1", + "value": 6 + }, + "sheet": "Companion" } ] } @@ -134,14 +148,44 @@ }, { "index": 11, - "name": "HasPrerequisite" + "name": "PrerequisiteType" }, { "index": 12, "name": "Prerequisite", + "converter": { + "type": "complexlink", + "links": [ + { + "when": { + "key": "PrerequisiteType", + "value": 1 + }, + "sheet": "Quest" + }, + { + "when": { + "key": "PrerequisiteType", + "value": 3 + }, + "sheet": "ContentFinderCondition" + }, + { + "when": { + "key": "PrerequisiteType", + "value": 4 + }, + "sheet": "ContentFinderCondition" + } + ] + } + }, + { + "index": 13, + "name": "UnlockHint", "converter": { "type": "link", - "target": "Quest" + "target": "BannerObtainHintType" } } ] diff --git a/SaintCoinach/Definitions/BannerObtainHintType.json b/SaintCoinach/Definitions/BannerObtainHintType.json index ba49dfd5..08095bbc 100644 --- a/SaintCoinach/Definitions/BannerObtainHintType.json +++ b/SaintCoinach/Definitions/BannerObtainHintType.json @@ -1,4 +1,9 @@ { "sheet": "BannerObtainHintType", - "definitions": [] + "defaultColumn": "Text", + "definitions": [ + { + "name": "Text" + } + ] } \ No newline at end of file