2022-06-28 10:05:30 +02:00
|
|
|
{
|
|
|
|
"type":"object",
|
|
|
|
"$schema": "http://json-schema.org/draft-04/schema",
|
|
|
|
"title" : "VCMI battlefield format",
|
2022-09-15 10:06:54 +02:00
|
|
|
"description" : "Format used to define new battlefields in VCMI",
|
2022-06-28 10:05:30 +02:00
|
|
|
"required" : [ "graphics" ],
|
|
|
|
|
|
|
|
"additionalProperties" : false,
|
|
|
|
"properties":{
|
|
|
|
"bonuses": {
|
|
|
|
"type":"array",
|
|
|
|
"description": "Bonuses provided by this battleground using bonus system",
|
|
|
|
"items": { "$ref" : "bonus.json" }
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type":"string",
|
|
|
|
"description": "Name of the battleground"
|
|
|
|
},
|
|
|
|
"graphics": {
|
|
|
|
"type":"string",
|
|
|
|
"description": "BMP battleground resource"
|
|
|
|
},
|
|
|
|
"isSpecial": {
|
|
|
|
"type":"boolean",
|
|
|
|
"description": "Shows if this battleground has own obstacles"
|
|
|
|
},
|
|
|
|
"impassableHexes": {
|
|
|
|
"type":"array",
|
|
|
|
"description": "Battle hexes always impassable for this type of battlefield (ship to ship for instance)",
|
|
|
|
"items": {
|
|
|
|
"type":"number"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|