1
0
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:
Ivan Savenko
2024-02-19 17:50:59 +02:00
parent c90fb47c23
commit 5901bf2190
10 changed files with 16 additions and 16 deletions

View File

@@ -93,7 +93,7 @@
"map" : {
"type" : "string",
"description" : ".def file for adventure map",
"format" : "defFile"
"format" : "animationFile"
}
}
},

View File

@@ -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",

View File

@@ -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",

View File

@@ -42,12 +42,12 @@
"female" : {
"type" : "string",
"description" : "Female version",
"format" : "defFile"
"format" : "animationFile"
},
"male" : {
"type" : "string",
"description" : "Male version",
"format" : "defFile"
"format" : "animationFile"
}
}
}

View File

@@ -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",

View File

@@ -45,7 +45,7 @@
"type" : "string",
"description" : "Image resource",
"anyOf" : [
{ "format" : "defFile" },
{ "format" : "animationFile" },
{ "format" : "imageFile" }
]
},

View File

@@ -20,7 +20,7 @@
{
"type" : "string",
"description" : "Name of file with river graphics",
"format" : "defFile"
"format" : "animationFile"
},
"delta" :
{

View File

@@ -20,7 +20,7 @@
{
"type" : "string",
"description" : "Name of file with road graphics",
"format" : "defFile"
"format" : "animationFile"
},
"moveCost" :
{

View File

@@ -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

View File

@@ -35,7 +35,7 @@
{
"type" : "string",
"description" : "Name of file with graphicks",
"format" : "defFile"
"format" : "animationFile"
},
"rockTerrain" :
{