| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- {
- "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" : {
- "builds" : {
- "type" : "string",
- "description" : ""
- },
- "hidden" : {
- "type" : "boolean",
- "description" : "If upgrade, this building will replace parent animation but will not alter its behaviour"
- },
- "animation" : {
- "type" : "string",
- "description" : "Main animation file for this building",
- "format" : "animationFile"
- },
- "area" : {
- "type" : "string",
- "description" : "Area that indicate when building is selected.",
- "format" : "imageFile"
- },
- "border" : {
- "type" : "string",
- "description" : "Golden border around building, displayed when building is selected",
- "format" : "imageFile"
- },
- "campaignBonus" : {
- "type" : "string",
- "description" : "Town building icon for campaigns",
- "format" : "imageFile"
- },
- "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"
- }
- }
- }
|