mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
36 lines
983 B
JSON
36 lines
983 B
JSON
{
|
|
"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" : "Human-readable name of the battlefield"
|
|
},
|
|
"isSpecial" : {
|
|
"type" : "boolean",
|
|
"description" : "Shows if this battleground has own obstacles"
|
|
},
|
|
"bonuses": {
|
|
"type":"array",
|
|
"description": "List of bonuses that will affect all battles on this battlefield",
|
|
"items": { "$ref" : "bonus.json" }
|
|
},
|
|
"graphics" : {
|
|
"type" : "string",
|
|
"format" : "imageFile",
|
|
"description" : "Background image for this battlefield"
|
|
},
|
|
"impassableHexes" : {
|
|
"type" : "array",
|
|
"description" : "List of battle hexes that will be always blocked on this battlefield (e.g. ship to ship battles)",
|
|
"items" : {
|
|
"type" : "number"
|
|
}
|
|
}
|
|
}
|
|
}
|