diff --git a/Mods/vcmi/mod.json b/Mods/vcmi/mod.json index 5c07c3150..4a4b58ba8 100644 --- a/Mods/vcmi/mod.json +++ b/Mods/vcmi/mod.json @@ -2,13 +2,20 @@ "name" : "VCMI essential files", "description" : "Essential files required for VCMI to run correctly", - "version" : "1.0", + "version" : "1.1", "author" : "VCMI Team", "contact" : "http://forum.vcmi.eu/index.php", "modType" : "Graphical", + + "factions" : [ "config/vcmi/towerFactions" ], + "creatures" : [ "config/vcmi/towerCreature" ], "filesystem": { + "CONFIG/" : + [ + {"type" : "dir", "path" : "/Config"} + ], "DATA/" : [ {"type" : "dir", "path" : "/Data"} diff --git a/config/creatures/special.json b/config/creatures/special.json index 58ce4ab86..8b724bcc6 100644 --- a/config/creatures/special.json +++ b/config/creatures/special.json @@ -123,8 +123,6 @@ }, "graphics" : { - "iconSmall" : "vcmi/creatureIcons/towerSmall", - "iconLarge" : "vcmi/creatureIcons/towerLarge", "animation": "CLCBOW.DEF" // needed to pass validation, never used }, "sound": {} diff --git a/config/factions/castle.json b/config/factions/castle.json index 53a5c80a6..33a0006d8 100644 --- a/config/factions/castle.json +++ b/config/factions/castle.json @@ -203,8 +203,6 @@ "siege" : { "shooter" : "archer", - "towerIconSmall" : "vcmi/creatureIcons/towerSmall", - "towerIconLarge" : "vcmi/creatureIcons/towerLarge", "imagePrefix" : "SGCS", "gate" : { diff --git a/config/factions/conflux.json b/config/factions/conflux.json index 26ca39a6c..e63a770ad 100644 --- a/config/factions/conflux.json +++ b/config/factions/conflux.json @@ -210,8 +210,6 @@ "siege" : { "shooter" : "stormElemental", - "towerIconSmall" : "vcmi/creatureIcons/towerSmall", - "towerIconLarge" : "vcmi/creatureIcons/towerLarge", "imagePrefix" : "SGEL", "gate" : { diff --git a/config/factions/dungeon.json b/config/factions/dungeon.json index a47bf73f8..d03e436e6 100644 --- a/config/factions/dungeon.json +++ b/config/factions/dungeon.json @@ -204,8 +204,6 @@ "siege" : { "shooter" : "medusa", - "towerIconSmall" : "vcmi/creatureIcons/towerSmall", - "towerIconLarge" : "vcmi/creatureIcons/towerLarge", "imagePrefix" : "SGDN", "gate" : { diff --git a/config/factions/fortress.json b/config/factions/fortress.json index 5b89a7bcf..cdfd9fb8f 100644 --- a/config/factions/fortress.json +++ b/config/factions/fortress.json @@ -209,8 +209,6 @@ "siege" : { "shooter" : "lizardman", - "towerIconSmall" : "vcmi/creatureIcons/towerSmall", - "towerIconLarge" : "vcmi/creatureIcons/towerLarge", "imagePrefix" : "SGFR", "gate" : { diff --git a/config/factions/inferno.json b/config/factions/inferno.json index 8177bb212..bacb77cfa 100644 --- a/config/factions/inferno.json +++ b/config/factions/inferno.json @@ -204,8 +204,6 @@ "siege" : { "shooter" : "gog", - "towerIconSmall" : "vcmi/creatureIcons/towerSmall", - "towerIconLarge" : "vcmi/creatureIcons/towerLarge", "imagePrefix" : "SGIN", "gate" : { diff --git a/config/factions/necropolis.json b/config/factions/necropolis.json index 268de5d5b..e7fe155d9 100644 --- a/config/factions/necropolis.json +++ b/config/factions/necropolis.json @@ -214,8 +214,6 @@ "siege" : { "shooter" : "lich", - "towerIconSmall" : "vcmi/creatureIcons/towerSmall", - "towerIconLarge" : "vcmi/creatureIcons/towerLarge", "imagePrefix" : "SGNC", "gate" : { diff --git a/config/factions/neutral.json b/config/factions/neutral.json index 6a6abac52..8d8a7d2a2 100644 --- a/config/factions/neutral.json +++ b/config/factions/neutral.json @@ -2,7 +2,6 @@ "neutral" : { "name" : "Neutral", - "index" : 9, "alignment" : "neutral", "creatureBackground" : { diff --git a/config/factions/rampart.json b/config/factions/rampart.json index 5da41b08e..c25deaec6 100644 --- a/config/factions/rampart.json +++ b/config/factions/rampart.json @@ -211,8 +211,6 @@ "siege" : { "shooter" : "woodElf", - "towerIconSmall" : "vcmi/creatureIcons/towerSmall", - "towerIconLarge" : "vcmi/creatureIcons/towerLarge", "imagePrefix" : "SGRM", "gate" : { diff --git a/config/factions/stronghold.json b/config/factions/stronghold.json index a66490551..d4c7fba71 100644 --- a/config/factions/stronghold.json +++ b/config/factions/stronghold.json @@ -203,8 +203,6 @@ { "shooter" : "orc", "imagePrefix" : "SGST", - "towerIconSmall" : "vcmi/creatureIcons/towerSmall", - "towerIconLarge" : "vcmi/creatureIcons/towerLarge", "gate" : { "arch" : { "x" : 478, "y" : 235 }, diff --git a/config/factions/tower.json b/config/factions/tower.json index fca3dc149..89e93b34a 100644 --- a/config/factions/tower.json +++ b/config/factions/tower.json @@ -202,8 +202,6 @@ "siege" : { "shooter" : "mage", - "towerIconSmall" : "vcmi/creatureIcons/towerSmall", - "towerIconLarge" : "vcmi/creatureIcons/towerLarge", "imagePrefix" : "SGTW", "gate" : { diff --git a/config/schemas/mod.json b/config/schemas/mod.json index 34aed68c3..b7cfab92b 100644 --- a/config/schemas/mod.json +++ b/config/schemas/mod.json @@ -56,6 +56,13 @@ "description": "List of mods that can't be enabled in the same time as this one", "items": { "type":"string" } }, + "compatibility" : { + "type":"object", + "description": "List of supported version of vcmi engine", + "additionalProperties" : { + "type" : "string" + } + }, "keepDisabled" : { "type":"boolean", @@ -118,6 +125,12 @@ "description": "List of configuration files for battlefields", "items": { "type":"string", "format" : "textFile" } + }, + "obstacles":{ + "type":"array", + "description": "List of configuration files for obstacles", + "items": { "type":"string", "format" : "textFile" } + }, "changelog" : {