Files
vcmi/config/schemas/spellSchool.json
T
Ivan Savenko 8e71d54c63 Allow mods to provide save and map compatibilty
Now `compatibilityIdentifers` field is supported for all game entities.
As result it is now possible for mods to provide compatibility support
for loading mods and saves made with older version of the mod.

Also, added docs to specify what exactly breaks saves with mods updates
and ways to avoid that
2026-02-01 12:27:00 +02:00

41 lines
1.2 KiB
JSON

{
"type" : "object",
"$schema" : "http://json-schema.org/draft-04/schema",
"title" : "VCMI spell school format",
"description" : "Format used to define new spell schools in VCMI",
"required" : [ "schoolBorders", "name" ],
"additionalProperties" : false,
"properties" : {
"compatibilityIdentifiers" : {
"type" : "array",
"items" : {
"type" : "string"
},
"description" : "Additional identifiers that may refer to this object, to provide compatibility after object has been renamed"
},
"index" : {
"type" : "number",
"description" : "numeric id of h3 spell school, prohibited for new schools"
},
"name" : {
"type" : "string",
"description" : "Localizable name of this school"
},
"schoolBorders" : {
"type" : "string",
"description" : "File with frame borders of mastery levels for spells of this spell school in spellbook",
"format" : "animationFile"
},
"schoolBookmark" : {
"type" : "string",
"description" : "File with bookmark symbol (first frame unselected, second is selected)",
"format" : "animationFile"
},
"schoolHeader" : {
"type" : "string",
"description" : "Header of scool for spellbook",
"format" : "imageFile"
}
}
}