mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-16 10:19:47 +02:00
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"type" : "object",
|
|
"$schema" : "http://json-schema.org/draft-04/schema",
|
|
"title" : "VCMI river format",
|
|
"description" : "Format used to define new rivers in VCMI",
|
|
"required" : [ "shortIdentifier", "text", "tilesFilename", "delta" ],
|
|
"additionalProperties" : false,
|
|
"properties" : {
|
|
"shortIdentifier" :
|
|
{
|
|
"type" : "string",
|
|
"description" : "Two-letters unique indentifier for this river. Used in map format"
|
|
},
|
|
"text" :
|
|
{
|
|
"type" : "string",
|
|
"description" : "Human-readable name of the river"
|
|
},
|
|
"tilesFilename" :
|
|
{
|
|
"type" : "string",
|
|
"description" : "Name of file with river graphics",
|
|
"format" : "defFile"
|
|
},
|
|
"delta" :
|
|
{
|
|
"type" : "string",
|
|
"description" : "Name of file with river delta graphics"
|
|
},
|
|
"paletteAnimation" : {
|
|
"type" : "array",
|
|
"description" : "If defined, river will be animated using palette color cycling effect",
|
|
"items" :
|
|
{
|
|
"type" : "object",
|
|
"additionalProperties" : false,
|
|
"properties" : {
|
|
"start" : {
|
|
"type" : "number"
|
|
},
|
|
"length" : {
|
|
"type" : "number"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"index" :
|
|
{
|
|
"type" : "number",
|
|
"description" : "Internal, do not use"
|
|
}
|
|
}
|
|
}
|