mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Replace old 'defFile' format with animationFile
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
"map" : {
|
||||
"type" : "string",
|
||||
"description" : ".def file for adventure map",
|
||||
"format" : "defFile"
|
||||
"format" : "animationFile"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -133,12 +133,12 @@
|
||||
"animation" : {
|
||||
"type" : "string",
|
||||
"description" : "File with animation of this creature in battles",
|
||||
"format" : "defFile"
|
||||
"format" : "animationFile"
|
||||
},
|
||||
"map" : {
|
||||
"type" : "string",
|
||||
"description" : "File with animation of this creature on adventure map",
|
||||
"format" : "defFile"
|
||||
"format" : "animationFile"
|
||||
},
|
||||
"mapMask" : {
|
||||
"type" : "array",
|
||||
@@ -184,7 +184,7 @@
|
||||
"projectile" : {
|
||||
"type" : "string",
|
||||
"description" : "Path to projectile animation",
|
||||
"format" : "defFile"
|
||||
"format" : "animationFile"
|
||||
},
|
||||
"ray" : {
|
||||
"type" : "array",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"battleImage" : {
|
||||
"type" : "string",
|
||||
"description" : "Custom animation to be used on battle, overrides hero class property",
|
||||
"format" : "defFile"
|
||||
"format" : "animationFile"
|
||||
},
|
||||
"images" : {
|
||||
"type" : "object",
|
||||
|
||||
@@ -42,12 +42,12 @@
|
||||
"female" : {
|
||||
"type" : "string",
|
||||
"description" : "Female version",
|
||||
"format" : "defFile"
|
||||
"format" : "animationFile"
|
||||
},
|
||||
"male" : {
|
||||
"type" : "string",
|
||||
"description" : "Male version",
|
||||
"format" : "defFile"
|
||||
"format" : "animationFile"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
"animation" : {
|
||||
"type" : "string",
|
||||
"description" : "Path to def file with animation of this object",
|
||||
"format" : "defFile"
|
||||
"format" : "animationFile"
|
||||
},
|
||||
"editorAnimation" : {
|
||||
"type" : "string",
|
||||
"description" : "Optional path to def file with animation of this object to use in map editor",
|
||||
"format" : "defFile"
|
||||
"format" : "animationFile"
|
||||
},
|
||||
"visitableFrom" : {
|
||||
"type" : "array",
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
"type" : "string",
|
||||
"description" : "Image resource",
|
||||
"anyOf" : [
|
||||
{ "format" : "defFile" },
|
||||
{ "format" : "animationFile" },
|
||||
{ "format" : "imageFile" }
|
||||
]
|
||||
},
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
{
|
||||
"type" : "string",
|
||||
"description" : "Name of file with river graphics",
|
||||
"format" : "defFile"
|
||||
"format" : "animationFile"
|
||||
},
|
||||
"delta" :
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
{
|
||||
"type" : "string",
|
||||
"description" : "Name of file with road graphics",
|
||||
"format" : "defFile"
|
||||
"format" : "animationFile"
|
||||
},
|
||||
"moveCost" :
|
||||
{
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
{
|
||||
//assumed verticalPosition: top
|
||||
"type" : "string",
|
||||
"format" : "defFile"
|
||||
"format" : "animationFile"
|
||||
},
|
||||
{
|
||||
"type" : "object",
|
||||
"properties" : {
|
||||
"verticalPosition" : {"type" : "string", "enum" :["top","bottom"]},
|
||||
"defName" : {"type" : "string", "format" : "defFile"},
|
||||
"defName" : {"type" : "string", "format" : "animationFile"},
|
||||
"effectName" : { "type" : "string" }
|
||||
},
|
||||
"additionalProperties" : false
|
||||
@@ -41,7 +41,7 @@
|
||||
"items" : {
|
||||
"type" : "object",
|
||||
"properties" : {
|
||||
"defName" : {"type" : "string", "format" : "defFile"},
|
||||
"defName" : {"type" : "string", "format" : "animationFile"},
|
||||
"minimumAngle" : {"type" : "number", "minimum" : 0}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
{
|
||||
"type" : "string",
|
||||
"description" : "Name of file with graphicks",
|
||||
"format" : "defFile"
|
||||
"format" : "animationFile"
|
||||
},
|
||||
"rockTerrain" :
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user