| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- {
- "type" : "object",
- "$schema" : "http://json-schema.org/draft-04/schema",
- "title" : "VCMI map object format",
- "description" : "Description of map object class",
- "required" : [ "message" ],
- "anyOf" : [ //NOTE: strictly speaking, not required - buidling can function without it, but won't do anythin
- {
- "required" : [ "bonuses" ]
- },
- {
- "required" : [ "dailyIncome" ]
- }
- ],
- "additionalProperties" : false,
- "properties" : {
- "bonuses" : {
- "type" : "object",
- "description" : "List of bonuses provided by this map object. See bonus format for more details",
- "additionalProperties" : { "$ref" : "bonusInstance.json" }
- },
-
- "message" : {
- "description" : "Message that will be shown to player on capturing this object",
- "anyOf" : [
- {
- "type" : "string"
- },
- {
- "type" : "number"
- }
- ]
- },
- "dailyIncome" : {
- "type" : "object",
- "additionalProperties" : {
- "type" : "number"
- },
- "description" : "Daily income that this building provides to owner, if any",
- },
- // Properties that might appear since this node is shared with object config
- "compatibilityIdentifiers" : { },
- "blockedVisitable" : { },
- "removable" : { },
- "aiValue" : { },
- "index" : { },
- "base" : { },
- "name" : { },
- "rmg" : { },
- "templates" : { },
- "battleground" : { },
- "sounds" : { }
- }
- }
|