Skip to content

Commit

Permalink
Updating section definition json schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Siebeneicker committed Oct 15, 2020
1 parent 414fcd9 commit bd0ed31
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,21 @@
},
"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",
"items": {
"$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."
}
}
}
}
}

0 comments on commit bd0ed31

Please sign in to comment.