1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-10 22:31:40 +02:00

Update schemas

This commit is contained in:
Ivan Savenko
2025-05-09 17:31:25 +03:00
parent cf69440e9a
commit ed6725db0f
2 changed files with 32 additions and 1 deletions

View File

@@ -111,6 +111,13 @@
"blackMarketRestockPeriod" : { "type" : "number" } "blackMarketRestockPeriod" : { "type" : "number" }
} }
}, },
"mapObjects": {
"type" : "object",
"additionalProperties" : false,
"properties" : {
"h3BugQuestTakesEntireArmy" : { "type" : "boolean" }
}
},
"banks": { "banks": {
"type" : "object", "type" : "object",
"additionalProperties" : false, "additionalProperties" : false,

View File

@@ -119,13 +119,28 @@
"description": "List of bonuses that will be granted to visiting hero", "description": "List of bonuses that will be granted to visiting hero",
"items": { "$ref" : "bonusInstance.json" } "items": { "$ref" : "bonusInstance.json" }
}, },
"commanderBonuses" : {
"type":"array",
"description": "List of bonuses that will be granted to commander of a visiting hero",
"items": { "$ref" : "bonusInstance.json" }
},
"playerBonuses" : {
"type":"array",
"description": "List of bonuses that will be granted to player that owns visiting hero",
"items": { "$ref" : "bonusInstance.json" }
},
"resources" : { "$ref" : "#/definitions/identifierWithValueList" }, "resources" : { "$ref" : "#/definitions/identifierWithValueList" },
"secondary" : { "$ref" : "#/definitions/identifierWithValueList" }, "secondary" : { "$ref" : "#/definitions/identifierWithValueList" },
"creatures" : { "$ref" : "#/definitions/identifierWithValueList" }, "creatures" : { "$ref" : "#/definitions/identifierWithValueList" },
"takenCreatures" : { "$ref" : "#/definitions/identifierWithValueList" },
"primary" : { "$ref" : "#/definitions/identifierWithValueList" }, "primary" : { "$ref" : "#/definitions/identifierWithValueList" },
"artifacts" : { "$ref" : "#/definitions/identifierList" }, "artifacts" : { "$ref" : "#/definitions/identifierList" },
"takenArtifacts" : { "$ref" : "#/definitions/identifierList" },
"takenArtifactSlots" : { "$ref" : "#/definitions/identifierList" },
"scrolls" : { "$ref" : "#/definitions/identifierList" },
"takenScrolls" : { "$ref" : "#/definitions/identifierList" },
"spells" : { "$ref" : "#/definitions/identifierList" }, "spells" : { "$ref" : "#/definitions/identifierList" },
"spellCast" : { "spellCast" : {
@@ -166,18 +181,23 @@
"manaPoints" : { "$ref" : "#/definitions/value" }, "manaPoints" : { "$ref" : "#/definitions/value" },
"canLearnSkills" : { "type" : "boolean" }, "canLearnSkills" : { "type" : "boolean" },
"commanderAlive" : { "type" : "boolean" },
"hasExtraCreatures" : { "type" : "boolean" },
"resources" : { "$ref" : "#/definitions/identifierWithValueList" }, "resources" : { "$ref" : "#/definitions/identifierWithValueList" },
"secondary" : { "$ref" : "#/definitions/identifierWithValueList" }, "secondary" : { "$ref" : "#/definitions/identifierWithValueList" },
"creatures" : { "$ref" : "#/definitions/identifierWithValueList" }, "creatures" : { "$ref" : "#/definitions/identifierWithValueList" },
"canReceiveCreatures" : { "$ref" : "#/definitions/identifierWithValueList" },
"primary" : { "$ref" : "#/definitions/identifierWithValueList" }, "primary" : { "$ref" : "#/definitions/identifierWithValueList" },
"canLearnSpells" : { "$ref" : "#/definitions/identifierList" }, "canLearnSpells" : { "$ref" : "#/definitions/identifierList" },
"heroClasses" : { "$ref" : "#/definitions/identifierList" }, "heroClasses" : { "$ref" : "#/definitions/identifierList" },
"artifacts" : { "$ref" : "#/definitions/identifierList" }, "artifacts" : { "$ref" : "#/definitions/identifierList" },
"scrolls" : { "$ref" : "#/definitions/identifierList" },
"spells" : { "$ref" : "#/definitions/identifierList" }, "spells" : { "$ref" : "#/definitions/identifierList" },
"colors" : { "$ref" : "#/definitions/identifierList" }, "colors" : { "$ref" : "#/definitions/identifierList" },
"heroes" : { "$ref" : "#/definitions/identifierList" }, "heroes" : { "$ref" : "#/definitions/identifierList" },
"availableSlots" : { "$ref" : "#/definitions/identifierList" },
"anyOf" : { "anyOf" : {
"type" : "array", "type" : "array",
@@ -285,6 +305,10 @@
"type" : "boolean" "type" : "boolean"
}, },
"forceCombat": {
"type" : "boolean"
},
"showScoutedPreview": { "showScoutedPreview": {
"type" : "boolean" "type" : "boolean"
}, },
@@ -298,7 +322,7 @@
}, },
"visitMode": { "visitMode": {
"enum" : [ "unlimited", "once", "hero", "bonus", "limiter", "player" ], "enum" : [ "unlimited", "once", "hero", "bonus", "limiter", "player", "playerGlobal" ],
"type" : "string" "type" : "string"
}, },