mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
ad01c7ffce
* obstacles content handler, entity service and VLC integration
36 lines
890 B
JSON
36 lines
890 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":{
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|