浏览代码

Replace old 'defFile' format with animationFile

Ivan Savenko 1 年之前
父节点
当前提交
5901bf2190

+ 1 - 1
config/schemas/artifact.json

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

+ 3 - 3
config/schemas/creature.json

@@ -133,12 +133,12 @@
 				"animation" : {
 				"animation" : {
 					"type" : "string",
 					"type" : "string",
 					"description" : "File with animation of this creature in battles",
 					"description" : "File with animation of this creature in battles",
-					"format" : "defFile"
+					"format" : "animationFile"
 				},
 				},
 				"map" : {
 				"map" : {
 					"type" : "string",
 					"type" : "string",
 					"description" : "File with animation of this creature on adventure map",
 					"description" : "File with animation of this creature on adventure map",
-					"format" : "defFile"
+					"format" : "animationFile"
 				},
 				},
 				"mapMask" : {
 				"mapMask" : {
 					"type" : "array",
 					"type" : "array",
@@ -184,7 +184,7 @@
 						"projectile" : {
 						"projectile" : {
 							"type" : "string",
 							"type" : "string",
 							"description" : "Path to projectile animation",
 							"description" : "Path to projectile animation",
-							"format" : "defFile"
+							"format" : "animationFile"
 						},
 						},
 						"ray" : {
 						"ray" : {
 							"type" : "array",
 							"type" : "array",

+ 1 - 1
config/schemas/hero.json

@@ -29,7 +29,7 @@
 		"battleImage" : {
 		"battleImage" : {
 			"type" : "string",
 			"type" : "string",
 			"description" : "Custom animation to be used on battle, overrides hero class property",
 			"description" : "Custom animation to be used on battle, overrides hero class property",
-			"format" : "defFile"
+			"format" : "animationFile"
 		},
 		},
 		"images" : {
 		"images" : {
 			"type" : "object",
 			"type" : "object",

+ 2 - 2
config/schemas/heroClass.json

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

+ 2 - 2
config/schemas/objectTemplate.json

@@ -9,12 +9,12 @@
 		"animation" : {
 		"animation" : {
 			"type" : "string",
 			"type" : "string",
 			"description" : "Path to def file with animation of this object",
 			"description" : "Path to def file with animation of this object",
-			"format" : "defFile"
+			"format" : "animationFile"
 		},
 		},
 		"editorAnimation" : {
 		"editorAnimation" : {
 			"type" : "string",
 			"type" : "string",
 			"description" : "Optional path to def file with animation of this object to use in map editor",
 			"description" : "Optional path to def file with animation of this object to use in map editor",
-			"format" : "defFile"
+			"format" : "animationFile"
 		},
 		},
 		"visitableFrom" : {
 		"visitableFrom" : {
 			"type" : "array",
 			"type" : "array",

+ 1 - 1
config/schemas/obstacle.json

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

+ 1 - 1
config/schemas/river.json

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

+ 1 - 1
config/schemas/road.json

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

+ 3 - 3
config/schemas/spell.json

@@ -15,13 +15,13 @@
 					{
 					{
 						//assumed verticalPosition: top
 						//assumed verticalPosition: top
 						"type" : "string",
 						"type" : "string",
-						"format" : "defFile"
+						"format" : "animationFile"
 					},
 					},
 					{
 					{
 						"type" : "object",
 						"type" : "object",
 						"properties" : {
 						"properties" : {
 							"verticalPosition" : {"type" : "string", "enum" :["top","bottom"]},
 							"verticalPosition" : {"type" : "string", "enum" :["top","bottom"]},
-							"defName" : {"type" : "string", "format" : "defFile"},
+							"defName" : {"type" : "string", "format" : "animationFile"},
 							"effectName" : { "type" : "string" }
 							"effectName" : { "type" : "string" }
 						},
 						},
 						"additionalProperties" : false
 						"additionalProperties" : false
@@ -41,7 +41,7 @@
 					"items" : {
 					"items" : {
 						"type" : "object",
 						"type" : "object",
 						"properties" : {
 						"properties" : {
-							"defName" : {"type" : "string", "format" : "defFile"},
+							"defName" : {"type" : "string", "format" : "animationFile"},
 							"minimumAngle" : {"type" : "number", "minimum" : 0}
 							"minimumAngle" : {"type" : "number", "minimum" : 0}
 						},
 						},
 						"additionalProperties" : false
 						"additionalProperties" : false

+ 1 - 1
config/schemas/terrain.json

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