mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-02 09:02:03 +02:00
37 lines
864 B
JSON
37 lines
864 B
JSON
{
|
|
"type" : "object",
|
|
"$schema" : "http://json-schema.org/draft-04/schema",
|
|
"title" : "VCMI road format",
|
|
"description" : "Format used to define new roads in VCMI",
|
|
"required" : [ "shortIdentifier", "text", "tilesFilename", "moveCost" ],
|
|
"additionalProperties" : false,
|
|
"properties" : {
|
|
"shortIdentifier" :
|
|
{
|
|
"type" : "string",
|
|
"description" : "Two-letters unique indentifier for this road. Used in map format"
|
|
},
|
|
"text" :
|
|
{
|
|
"type" : "string",
|
|
"description" : "Human-readable name of the road"
|
|
},
|
|
"tilesFilename" :
|
|
{
|
|
"type" : "string",
|
|
"description" : "Name of file with road graphics",
|
|
"format" : "animationFile"
|
|
},
|
|
"moveCost" :
|
|
{
|
|
"type" : "number",
|
|
"description" : "How many movement points needed to move hero"
|
|
},
|
|
"index" :
|
|
{
|
|
"type" : "number",
|
|
"description" : "Internal, do not use"
|
|
}
|
|
}
|
|
}
|