1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Added missing option to schemas and docs

This commit is contained in:
Ivan Savenko 2024-07-15 16:42:57 +00:00
parent 69379b6e1b
commit a09a0d41c3
2 changed files with 9 additions and 0 deletions

View File

@ -40,6 +40,12 @@
"$ref" : "objectTemplate.json"
}
},
"battleground" : {
"description" : "Battleground that will be used for combats in this object. Overrides terrain this object was placed on",
"type" : "string"
},
"sounds" : {
"type" : "object",
"additionalProperties" : false,

View File

@ -58,6 +58,9 @@ Full object consists from 3 parts:
// How valuable this object is to AI
"aiValue" : 1000,
// Battleground that will be used for combats in this object. Overrides terrain this object was placed on
"battleground" : "cursed_ground",
// Sounds assigned to this object
"sounds" : {
// Ambient sounds that plays when current hero is near this object