From bd0ed31263049c07a16a313e3cc7ad7382bcf38b Mon Sep 17 00:00:00 2001 From: Felix Siebeneicker Date: Thu, 15 Oct 2020 16:22:37 +0200 Subject: [PATCH] Updating section definition json schema --- .../generator/SectionDefinition.schema.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/jsonschema/current/dungeoneer/generator/SectionDefinition.schema.json b/jsonschema/current/dungeoneer/generator/SectionDefinition.schema.json index f0b763f4..1263ce2a 100644 --- a/jsonschema/current/dungeoneer/generator/SectionDefinition.schema.json +++ b/jsonschema/current/dungeoneer/generator/SectionDefinition.schema.json @@ -30,7 +30,7 @@ }, "transitionLevel": { "$ref": "../game/Level.schema.json", - "description": "Transition level to use after all floors in this section. If numFloors is 0, just use this level." + "description": "Transition level to use after all floors in this section. If `floors` is 0, just use this level." }, "levelTemplates": { "type": "array", @@ -38,6 +38,13 @@ "$ref": "../game/Level.schema.json", "description": "Array of possible level templates to use when making floors." } + }, + "levelTemplateTiers": { + "type": "array", + "items": { + "type": "integer", + "description": "Array of level template tiers spawn probabilities. Use indices of the `levelTemplates` array." + } } } -} \ No newline at end of file +}