mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
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
41 lines
1.2 KiB
JSON
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"
|
|
}
|
|
}
|
|
}
|