1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Rename bonus instance schema to prevent name clash

This commit is contained in:
Ivan Savenko
2025-03-05 13:05:44 +00:00
parent 0536c55b9d
commit 6a828e09b9
10 changed files with 12 additions and 12 deletions

View File

@@ -14,7 +14,7 @@
"level" : {
"type" : "number"
},
"bonus" : { "$ref" : "bonus.json" }
"bonus" : { "$ref" : "bonusInstance.json" }
}
}
}
@@ -68,7 +68,7 @@
"bonuses" : {
"type" : "array",
"description" : "Bonuses provided by this artifact using bonus system",
"items" : { "$ref" : "bonus.json" }
"items" : { "$ref" : "bonusInstance.json" }
},
"growing" : {
"type" : "object",

View File

@@ -17,7 +17,7 @@
"bonuses": {
"type":"array",
"description": "List of bonuses that will affect all battles on this battlefield",
"items": { "$ref" : "bonus.json" }
"items": { "$ref" : "bonusInstance.json" }
},
"graphics" : {
"type" : "string",

View File

@@ -127,7 +127,7 @@
"description" : "Creature abilities described using Bonus system",
"type" : "object",
"additionalProperties" : {
"$ref" : "bonus.json"
"$ref" : "bonusInstance.json"
}
},
"graphics" : {
@@ -285,7 +285,7 @@
"required" : [ "bonus", "values" ],
"description" : "0",
"properties" : {
"bonus" : {"$ref" : "bonus.json" },
"bonus" : {"$ref" : "bonusInstance.json" },
"values" : {
"type" : "array",
"minItems" : 10,

View File

@@ -18,7 +18,7 @@
"bonuses" : {
"type" : "object",
"description" : "List of bonuses provided by this map object. See bonus format for more details",
"additionalProperties" : { "$ref" : "bonus.json" }
"additionalProperties" : { "$ref" : "bonusInstance.json" }
},
"message" : {

View File

@@ -127,7 +127,7 @@
"bonuses" : {
"type" : "object",
"description" : "List of bonuses added by this specialty. See bonus format for more details",
"additionalProperties" : { "$ref" : "bonus.json" }
"additionalProperties" : { "$ref" : "bonusInstance.json" }
},
"creature" : {
"type" : "string",

View File

@@ -117,7 +117,7 @@
"bonuses" : {
"type":"array",
"description": "List of bonuses that will be granted to visiting hero",
"items": { "$ref" : "bonus.json" }
"items": { "$ref" : "bonusInstance.json" }
},
"resources" : { "$ref" : "#/definitions/identifierWithValueList" },

View File

@@ -37,7 +37,7 @@
"effects" : {
"type" : "object",
"additionalProperties" : {
"$ref" : "bonus.json"
"$ref" : "bonusInstance.json"
}
}
}

View File

@@ -84,14 +84,14 @@
"type" : "object",
"description" : "Timed effects (updated by prolongation)",
"additionalProperties" : {
"$ref" : "bonus.json"
"$ref" : "bonusInstance.json"
}
},
"cumulativeEffects" : {
"type" : "object",
"description" : "Timed effects (updated by unique bonus)",
"additionalProperties" : {
"$ref" : "bonus.json"
"$ref" : "bonusInstance.json"
}
},
"battleEffects" : {

View File

@@ -124,7 +124,7 @@
"bonuses" : {
"type" : "array",
"description" : "Bonuses that are provided by this building in any town where this building has been built. Only affects town itself (including siege), to propagate effect to player or team please use bonus propagators",
"items" : { "$ref" : "bonus.json" }
"items" : { "$ref" : "bonusInstance.json" }
},
"marketModes" : {
"type" : "array",