mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-15 11:46:56 +02:00
Implemented TODO's in schema
This commit is contained in:
parent
dd375b682d
commit
e3e44a8ff7
@ -89,7 +89,15 @@
|
|||||||
"type" : "object",
|
"type" : "object",
|
||||||
"additionalProperties" : false,
|
"additionalProperties" : false,
|
||||||
"properties" : {
|
"properties" : {
|
||||||
"appearChance" : { "type" : "object", "additionalProperties" : true }, //TODO
|
"appearChance" : {
|
||||||
|
"type" : "object",
|
||||||
|
"additionalProperties" : false,
|
||||||
|
"properties" : {
|
||||||
|
"dice" : { "type" : "number" },
|
||||||
|
"min" : { "type" : "number", "minimum" : 0, "exclusiveMaximum" : 100 },
|
||||||
|
"max" : { "type" : "number", "exclusiveMinimum" : 0, "maximum" : 100 }
|
||||||
|
}
|
||||||
|
},
|
||||||
"limiter" : { "$ref" : "#/definitions/limiter" },
|
"limiter" : { "$ref" : "#/definitions/limiter" },
|
||||||
"message" : { "$ref" : "#/definitions/message" },
|
"message" : { "$ref" : "#/definitions/message" },
|
||||||
"description" : { "$ref" : "#/definitions/message" },
|
"description" : { "$ref" : "#/definitions/message" },
|
||||||
@ -117,9 +125,30 @@
|
|||||||
"artifacts" : { "$ref" : "#/definitions/identifierList" },
|
"artifacts" : { "$ref" : "#/definitions/identifierList" },
|
||||||
"spells" : { "$ref" : "#/definitions/identifierList" },
|
"spells" : { "$ref" : "#/definitions/identifierList" },
|
||||||
|
|
||||||
"spellCast" : { "type" : "object", "additionalProperties" : true }, //TODO
|
"spellCast" : {
|
||||||
"revealTiles" : { "type" : "object", "additionalProperties" : true }, //TODO
|
"type" : "object",
|
||||||
"changeCreatures" : { "type" : "object", "additionalProperties" : true }, //TODO
|
"additionalProperties" : false,
|
||||||
|
"properties" : {
|
||||||
|
"spell" : { "$ref" : "#/definitions/identifier" },
|
||||||
|
"schoolLevel" : { "type" : "number" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"revealTiles" : {
|
||||||
|
"type" : "object",
|
||||||
|
"additionalProperties" : false,
|
||||||
|
"properties" : {
|
||||||
|
"hide" : { "type" : "boolean" },
|
||||||
|
"radius" : { "type" : "number" },
|
||||||
|
"surface" : { "type" : "number" },
|
||||||
|
"subterra" : { "type" : "number" },
|
||||||
|
"water" : { "type" : "number" },
|
||||||
|
"rock" : { "type" : "number" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"changeCreatures" : {
|
||||||
|
"type" : "object",
|
||||||
|
"additionalProperties" : { "type" : "string" }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"limiter" : {
|
"limiter" : {
|
||||||
@ -272,8 +301,17 @@
|
|||||||
"type" : "string"
|
"type" : "string"
|
||||||
},
|
},
|
||||||
|
|
||||||
"resetParameters" : { "type" : "object", "additionalProperties" : true }, //TODO
|
"resetParameters" : {
|
||||||
|
"type" : "object",
|
||||||
|
"additionalProperties" : false,
|
||||||
|
"properties" : {
|
||||||
|
"visitors" : { "type" : "boolean" },
|
||||||
|
"rewards" : { "type" : "boolean" },
|
||||||
|
"period" : { "type" : "number" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
// Properties that might appear since this node is shared with object config
|
||||||
"compatibilityIdentifiers" : { },
|
"compatibilityIdentifiers" : { },
|
||||||
"blockedVisitable" : { },
|
"blockedVisitable" : { },
|
||||||
"removable" : { },
|
"removable" : { },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user