1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-04 09:42:40 +02:00
vcmi/config/schemas/river.json

54 lines
1.2 KiB
JSON
Raw Normal View History

{
2023-05-19 20:14:01 +02:00
"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,
2023-05-19 20:14:01 +02:00
"properties" : {
"shortIdentifier" :
{
2023-05-19 20:14:01 +02:00
"type" : "string",
"description" : "Two-letters unique indentifier for this river. Used in map format"
},
2023-05-19 20:14:01 +02:00
"text" :
{
2023-05-19 20:14:01 +02:00
"type" : "string",
"description" : "Human-readable name of the river"
},
2023-05-19 20:14:01 +02:00
"tilesFilename" :
{
2023-05-19 20:14:01 +02:00
"type" : "string",
"description" : "Name of file with river graphics",
"format" : "defFile"
},
2023-05-19 20:14:01 +02:00
"delta" :
{
2023-05-19 20:14:01 +02:00
"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" :
{
2023-05-19 20:14:01 +02:00
"type" : "number",
"description" : "Internal, do not use"
}
}
}