1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-03 13:01:33 +02:00

Update validation schemas

This commit is contained in:
Ivan Savenko 2023-06-20 19:37:03 +03:00
parent 80f67337d8
commit d1917898a9
2 changed files with 11 additions and 5 deletions

View File

@ -144,6 +144,11 @@
"description" : ".def file with animation of this creature on adventure map",
"format" : "defFile"
},
"mapMask" : {
"type" : "array",
"items" : { "type" : "string" },
"description" : "Object mask that describes on which tiles object is visible/blocked/activatable"
},
"iconLarge" : {
"type" : "string",
"description" : "Large icon for this creature, used for example in town screen",

View File

@ -32,7 +32,7 @@
"description" : "Json format for defining new faction (aka towns) in VCMI",
"required" : [ "name", "alignment", "nativeTerrain", "creatureBackground" ],
"dependencies" : {
"town" : [ "puzzleMap" ]
"town" : [ "puzzleMap", "boat" ]
},
"additionalProperties" : false,
"properties" : {
@ -49,6 +49,11 @@
"type" : "string",
"description" : "Native terrain for creatures. Creatures fighting on native terrain receive several bonuses"
},
"boat" : {
"type" : "string",
"description" : "Identifier of boat type that is produced by shipyard in town, if any"
},
"preferUndergroundPlacement" : {
"type" : "boolean",
"description" : "Random map generator places player/cpu-owned towns underground if true is specified and on the ground otherwise. Parameter is unused for maps without underground. False by default."
@ -124,10 +129,6 @@
"type" : "string",
"description" : "Identifier of war machine produced by blacksmith in town"
},
"boat" : {
"type" : "string",
"description" : "Identifier of boat type that is produced by shipyard in town, if any"
},
"horde" : {
"type" : "array",
"maxItems" : 2,