1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-04 09:42:40 +02:00
vcmi/config/schemas/battlefield.json

36 lines
940 B
JSON
Raw Normal View History

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