1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
vcmi/config/schemas/townStructure.json
Ivan Savenko 0cf969d508 - console logger by default uses same format as previously (no extra data)
- a lot of changes in configs;
- - update to creature format - abilities are now json structure
- - multiple bugfixes revealed by validation
- made schemas a bit more strict
- creatures data can be replaced via mods
- it is possible to validate vcmi configs using schemas (disabled)
2013-04-11 19:24:14 +00:00

47 lines
1.2 KiB
JSON

{
"type":"object",
"$schema": "http://json-schema.org/draft-04/schema",
"title" : "VCMI town structures format",
"description" : "Format used to define structures visible on town screen in VCMI",
"required": [ "animation", "x", "y"],
"additionalProperties" : false,
"properties":{
"animation": {
"type":"string",
"description" : "Main animation file for this building"
},
"area": {
"type":"string",
"description" : "Area that indicate when building is selected. Must be 8-bit image"
},
"border": {
"type":"string",
"description" : "Golden border around building, displayed when building is selected"
},
"builds": {
"type":"number",
"description" : ""
},
"hidden": {
"type":"boolean",
"description" : "If upgrade, this building will replace parent animation but will not alter its behaviour"
},
"id": {
"type":"number",
"description" : "Numeric identifier of building"
},
"x": {
"type":"number",
"description" : "Position on screen"
},
"y": {
"type":"number",
"description" : "Position on screen"
},
"z": {
"type":"number",
"description" : "Position on screen. Buildings with higher value will be drawn on top of other buildings"
}
}
}