1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Update schemas with new properties

This commit is contained in:
Tomasz Zieliński
2023-07-18 19:24:45 +02:00
parent 9b649b0b79
commit f3d2a50d2e
4 changed files with 20 additions and 0 deletions

View File

@@ -120,6 +120,10 @@
"index" : { "index" : {
"type" : "number", "type" : "number",
"description" : "Private field to break things, do not use." "description" : "Private field to break things, do not use."
},
"onlyOnWaterMap" : {
"type" : "boolean",
"description" : "It true, artifact won't spawn on a map with water"
} }
} }
} }

View File

@@ -171,6 +171,14 @@
"index" : { "index" : {
"type" : "number", "type" : "number",
"description" : "Private field to break things, do not use." "description" : "Private field to break things, do not use."
},
"onlyOnWaterMap" : {
"type" : "boolean",
"description" : "It true, hero won't show up on a map with water"
},
"onlyOnMapWithoutWater" : {
"type" : "boolean",
"description" : "It true, hero will show up only if the map contains no water"
} }
} }
} }

View File

@@ -97,5 +97,9 @@
"expert" : { "expert" : {
"$ref" : "#/definitions/skillBonus" "$ref" : "#/definitions/skillBonus"
} }
},
"onlyOnWaterMap" : {
"type" : "boolean",
"description" : "It true, skill won't be available on a map without water"
} }
} }

View File

@@ -309,5 +309,9 @@
} }
} }
} }
},
"onlyOnWaterMap" : {
"type" : "boolean",
"description" : "It true, spell won't be available on a map without water"
} }
} }