mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
- updated wog/vcmi mod.json files
- found situation where JsonNode parser won't report warning: comma after last element in arrays or objects. Fixed this in our config files but parser change is disabled for now due to huge number of warnings from mods.
This commit is contained in:
parent
db1dc1dcc6
commit
cf4b3c91cb
@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
"version" : "3.58.0",
|
"version" : "3.58.0",
|
||||||
"author" : "WoG Team",
|
"author" : "WoG Team",
|
||||||
|
"contact" : "http://forum.vcmi.eu/index.php",
|
||||||
|
"modType" : "Expansion",
|
||||||
|
|
||||||
"artifacts" :
|
"artifacts" :
|
||||||
[
|
[
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
"version" : "0.0",
|
"version" : "0.0",
|
||||||
"author" : "VCMI Team",
|
"author" : "VCMI Team",
|
||||||
|
"contact" : "http://forum.vcmi.eu/index.php",
|
||||||
|
"modType" : "Graphical",
|
||||||
|
|
||||||
"filesystem":
|
"filesystem":
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"spellBook":
|
"spellBook":
|
||||||
{
|
{
|
||||||
"index" : 0,
|
"index" : 0,
|
||||||
"type" : ["HERO"],
|
"type" : ["HERO"]
|
||||||
},
|
},
|
||||||
"spellScroll":
|
"spellScroll":
|
||||||
{
|
{
|
||||||
|
@ -494,7 +494,7 @@
|
|||||||
{
|
{
|
||||||
"type" : "FIRE_IMMUNITY",
|
"type" : "FIRE_IMMUNITY",
|
||||||
"subtype" : 0 //this IS important
|
"subtype" : 0 //this IS important
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
"graphics" :
|
"graphics" :
|
||||||
{
|
{
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
{
|
{
|
||||||
"index": 100,
|
"index": 100,
|
||||||
"level": 2,
|
"level": 2,
|
||||||
"extraNames": [ "primitiveLizardman", ],
|
"extraNames": [ "primitiveLizardman" ],
|
||||||
"faction": "fortress",
|
"faction": "fortress",
|
||||||
"upgrades": ["lizardWarrior"],
|
"upgrades": ["lizardWarrior"],
|
||||||
"hasDoubleWeek": true,
|
"hasDoubleWeek": true,
|
||||||
|
@ -354,7 +354,7 @@
|
|||||||
{
|
{
|
||||||
"dragon" :
|
"dragon" :
|
||||||
{
|
{
|
||||||
"type" : "DRAGON_NATURE",
|
"type" : "DRAGON_NATURE"
|
||||||
},
|
},
|
||||||
"age" :
|
"age" :
|
||||||
{
|
{
|
||||||
|
@ -142,7 +142,7 @@
|
|||||||
{
|
{
|
||||||
"dragon" :
|
"dragon" :
|
||||||
{
|
{
|
||||||
"type" : "DRAGON_NATURE",
|
"type" : "DRAGON_NATURE"
|
||||||
},
|
},
|
||||||
"mirror" :
|
"mirror" :
|
||||||
{
|
{
|
||||||
|
@ -75,7 +75,7 @@
|
|||||||
},
|
},
|
||||||
"structures" :
|
"structures" :
|
||||||
{
|
{
|
||||||
"extraAnimation2":{ "animation" : "TBELEXT5.def", "x" : 682, "y" : 183, "z" : -1, },
|
"extraAnimation2":{ "animation" : "TBELEXT5.def", "x" : 682, "y" : 183, "z" : -1 },
|
||||||
"extraAnimation": { "animation" : "TBELEXT1.def", "x" : 23, "y" : 218 },
|
"extraAnimation": { "animation" : "TBELEXT1.def", "x" : 23, "y" : 218 },
|
||||||
"mageGuild1": { "id" : 0, "animation" : "TBELMAGE.def", "x" : 206, "y" : 58, "z" : 4, "border" : "TOELMAGE.bmp", "area" : "TZELMAGE.bmp" },
|
"mageGuild1": { "id" : 0, "animation" : "TBELMAGE.def", "x" : 206, "y" : 58, "z" : 4, "border" : "TOELMAGE.bmp", "area" : "TZELMAGE.bmp" },
|
||||||
"mageGuild2": { "id" : 1, "animation" : "TBELMAG2.def", "x" : 206, "y" : 58, "z" : 4, "border" : "TOELMAG2.bmp", "area" : "TZELMAG2.bmp" },
|
"mageGuild2": { "id" : 1, "animation" : "TBELMAG2.def", "x" : 206, "y" : 58, "z" : 4, "border" : "TOELMAG2.bmp", "area" : "TZELMAG2.bmp" },
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
],
|
],
|
||||||
"CONFIG/":
|
"CONFIG/":
|
||||||
[
|
[
|
||||||
{"type" : "dir", "path" : "config",}
|
{"type" : "dir", "path" : "config"}
|
||||||
],
|
],
|
||||||
"MAPS/":
|
"MAPS/":
|
||||||
[
|
[
|
||||||
|
@ -921,7 +921,7 @@
|
|||||||
"blockedTiles" : [0, 1, -14, -15],
|
"blockedTiles" : [0, 1, -14, -15],
|
||||||
"defname" : "ObMCs02.def",
|
"defname" : "ObMCs02.def",
|
||||||
"unknown" : 1
|
"unknown" : 1
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
"absoluteObstacles" : [
|
"absoluteObstacles" : [
|
||||||
{
|
{
|
||||||
@ -931,7 +931,7 @@
|
|||||||
"width" : 124,
|
"width" : 124,
|
||||||
"height" : 254,
|
"height" : 254,
|
||||||
"blockedTiles" : [80, 94, 95, 96, 97, 105, 106, 107, 108, 109, 110],
|
"blockedTiles" : [80, 94, 95, 96, 97, 105, 106, 107, 108, 109, 110],
|
||||||
"defname" : "ObDtL04.pcx",
|
"defname" : "ObDtL04.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 1,
|
"id" : 1,
|
||||||
@ -940,7 +940,7 @@
|
|||||||
"width" : 256,
|
"width" : 256,
|
||||||
"height" : 254,
|
"height" : 254,
|
||||||
"blockedTiles" : [73, 91, 108, 109, 110, 111, 112, 113],
|
"blockedTiles" : [73, 91, 108, 109, 110, 111, 112, 113],
|
||||||
"defname" : "ObDtL06.pcx",
|
"defname" : "ObDtL06.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 2,
|
"id" : 2,
|
||||||
@ -949,7 +949,7 @@
|
|||||||
"width" : 168,
|
"width" : 168,
|
||||||
"height" : 212,
|
"height" : 212,
|
||||||
"blockedTiles" : [60, 61, 62, 63, 64, 72, 73, 74, 75, 76, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149],
|
"blockedTiles" : [60, 61, 62, 63, 64, 72, 73, 74, 75, 76, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149],
|
||||||
"defname" : "ObDtL10.pcx",
|
"defname" : "ObDtL10.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 3,
|
"id" : 3,
|
||||||
@ -958,7 +958,7 @@
|
|||||||
"width" : 124,
|
"width" : 124,
|
||||||
"height" : 254,
|
"height" : 254,
|
||||||
"blockedTiles" : [88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98],
|
"blockedTiles" : [88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98],
|
||||||
"defname" : "ObDtL02.pcx",
|
"defname" : "ObDtL02.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 4,
|
"id" : 4,
|
||||||
@ -967,7 +967,7 @@
|
|||||||
"width" : 146,
|
"width" : 146,
|
||||||
"height" : 254,
|
"height" : 254,
|
||||||
"blockedTiles" : [76, 77, 78, 79, 80, 89, 90, 91, 92, 93],
|
"blockedTiles" : [76, 77, 78, 79, 80, 89, 90, 91, 92, 93],
|
||||||
"defname" : "ObDtL03.pcx",
|
"defname" : "ObDtL03.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 5,
|
"id" : 5,
|
||||||
@ -976,7 +976,7 @@
|
|||||||
"width" : 173,
|
"width" : 173,
|
||||||
"height" : 221,
|
"height" : 221,
|
||||||
"blockedTiles" : [55, 56, 57, 58, 75, 76, 77, 95, 112, 113, 131],
|
"blockedTiles" : [55, 56, 57, 58, 75, 76, 77, 95, 112, 113, 131],
|
||||||
"defname" : "ObGrL01.pcx",
|
"defname" : "ObGrL01.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 6,
|
"id" : 6,
|
||||||
@ -985,7 +985,7 @@
|
|||||||
"width" : 180,
|
"width" : 180,
|
||||||
"height" : 264,
|
"height" : 264,
|
||||||
"blockedTiles" : [81, 91, 92, 93, 94, 95, 96, 97, 98, 106, 107, 123],
|
"blockedTiles" : [81, 91, 92, 93, 94, 95, 96, 97, 98, 106, 107, 123],
|
||||||
"defname" : "ObGrL02.pcx",
|
"defname" : "ObGrL02.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 7,
|
"id" : 7,
|
||||||
@ -994,7 +994,7 @@
|
|||||||
"width" : 166,
|
"width" : 166,
|
||||||
"height" : 255,
|
"height" : 255,
|
||||||
"blockedTiles" : [76, 77, 78, 79, 91, 92, 93, 97, 98, 106, 107, 108],
|
"blockedTiles" : [76, 77, 78, 79, 91, 92, 93, 97, 98, 106, 107, 108],
|
||||||
"defname" : "ObSnL01.pcx",
|
"defname" : "ObSnL01.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 8,
|
"id" : 8,
|
||||||
@ -1003,7 +1003,7 @@
|
|||||||
"width" : 302,
|
"width" : 302,
|
||||||
"height" : 172,
|
"height" : 172,
|
||||||
"blockedTiles" : [41, 42, 43, 58, 75, 92, 108, 126, 143],
|
"blockedTiles" : [41, 42, 43, 58, 75, 92, 108, 126, 143],
|
||||||
"defname" : "ObSnL14.pcx",
|
"defname" : "ObSnL14.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 9,
|
"id" : 9,
|
||||||
@ -1012,7 +1012,7 @@
|
|||||||
"width" : 300,
|
"width" : 300,
|
||||||
"height" : 170,
|
"height" : 170,
|
||||||
"blockedTiles" : [40, 41, 58, 59, 74, 75, 92, 93, 109, 110, 111, 127, 128, 129, 130],
|
"blockedTiles" : [40, 41, 58, 59, 74, 75, 92, 93, 109, 110, 111, 127, 128, 129, 130],
|
||||||
"defname" : "ObSwL15.pcx",
|
"defname" : "ObSwL15.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 10,
|
"id" : 10,
|
||||||
@ -1021,7 +1021,7 @@
|
|||||||
"width" : 278,
|
"width" : 278,
|
||||||
"height" : 171,
|
"height" : 171,
|
||||||
"blockedTiles" : [43, 60, 61, 77, 93, 94, 95, 109, 110, 126, 127],
|
"blockedTiles" : [43, 60, 61, 77, 93, 94, 95, 109, 110, 126, 127],
|
||||||
"defname" : "ObSwL14.pcx",
|
"defname" : "ObSwL14.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 11,
|
"id" : 11,
|
||||||
@ -1030,7 +1030,7 @@
|
|||||||
"width" : 256,
|
"width" : 256,
|
||||||
"height" : 254,
|
"height" : 254,
|
||||||
"blockedTiles" : [74, 75, 76, 77, 91, 92, 93, 94, 95, 109, 110, 111, 112],
|
"blockedTiles" : [74, 75, 76, 77, 91, 92, 93, 94, 95, 109, 110, 111, 112],
|
||||||
"defname" : "ObSwL22.pcx",
|
"defname" : "ObSwL22.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 12,
|
"id" : 12,
|
||||||
@ -1039,7 +1039,7 @@
|
|||||||
"width" : 124,
|
"width" : 124,
|
||||||
"height" : 254,
|
"height" : 254,
|
||||||
"blockedTiles" : [77, 78, 79, 80, 81, 91, 92, 93, 94, 105, 106, 107],
|
"blockedTiles" : [77, 78, 79, 80, 81, 91, 92, 93, 94, 105, 106, 107],
|
||||||
"defname" : "ObLvL01.pcx",
|
"defname" : "ObLvL01.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 13,
|
"id" : 13,
|
||||||
@ -1048,7 +1048,7 @@
|
|||||||
"width" : 256,
|
"width" : 256,
|
||||||
"height" : 128,
|
"height" : 128,
|
||||||
"blockedTiles" : [43, 60, 61, 76, 77, 93, 109, 126, 127, 142, 143],
|
"blockedTiles" : [43, 60, 61, 76, 77, 93, 109, 126, 127, 142, 143],
|
||||||
"defname" : "OBLvL02.pcx",
|
"defname" : "OBLvL02.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 14,
|
"id" : 14,
|
||||||
@ -1057,7 +1057,7 @@
|
|||||||
"width" : 186,
|
"width" : 186,
|
||||||
"height" : 212,
|
"height" : 212,
|
||||||
"blockedTiles" : [55, 72, 90, 107, 125, 126, 127, 128, 129, 130, 131, 132],
|
"blockedTiles" : [55, 72, 90, 107, 125, 126, 127, 128, 129, 130, 131, 132],
|
||||||
"defname" : "ObRgL01.pcx",
|
"defname" : "ObRgL01.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 15,
|
"id" : 15,
|
||||||
@ -1066,7 +1066,7 @@
|
|||||||
"width" : 347,
|
"width" : 347,
|
||||||
"height" : 174,
|
"height" : 174,
|
||||||
"blockedTiles" : [41, 59, 76, 94, 111, 129, 143, 144, 145],
|
"blockedTiles" : [41, 59, 76, 94, 111, 129, 143, 144, 145],
|
||||||
"defname" : "ObRgL02.pcx",
|
"defname" : "ObRgL02.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 16,
|
"id" : 16,
|
||||||
@ -1075,7 +1075,7 @@
|
|||||||
"width" : 294,
|
"width" : 294,
|
||||||
"height" : 169,
|
"height" : 169,
|
||||||
"blockedTiles" : [40, 41, 42, 43, 58, 75, 93, 110, 128, 145],
|
"blockedTiles" : [40, 41, 42, 43, 58, 75, 93, 110, 128, 145],
|
||||||
"defname" : "ObRgL03.pcx",
|
"defname" : "ObRgL03.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 17,
|
"id" : 17,
|
||||||
@ -1084,7 +1084,7 @@
|
|||||||
"width" : 165,
|
"width" : 165,
|
||||||
"height" : 257,
|
"height" : 257,
|
||||||
"blockedTiles" : [72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 89, 105],
|
"blockedTiles" : [72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 89, 105],
|
||||||
"defname" : "ObRgL04.pcx",
|
"defname" : "ObRgL04.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 18,
|
"id" : 18,
|
||||||
@ -1093,7 +1093,7 @@
|
|||||||
"width" : 208,
|
"width" : 208,
|
||||||
"height" : 268,
|
"height" : 268,
|
||||||
"blockedTiles" : [72, 73, 74, 75, 76, 77, 78, 79, 80, 90, 91, 92, 93, 94, 95, 96, 97],
|
"blockedTiles" : [72, 73, 74, 75, 76, 77, 78, 79, 80, 90, 91, 92, 93, 94, 95, 96, 97],
|
||||||
"defname" : "ObRgL05.pcx",
|
"defname" : "ObRgL05.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 19,
|
"id" : 19,
|
||||||
@ -1102,7 +1102,7 @@
|
|||||||
"width" : 252,
|
"width" : 252,
|
||||||
"height" : 254,
|
"height" : 254,
|
||||||
"blockedTiles" : [73, 74, 75, 76, 77, 78, 91, 92, 93, 94],
|
"blockedTiles" : [73, 74, 75, 76, 77, 78, 91, 92, 93, 94],
|
||||||
"defname" : "ObRgL06.pcx",
|
"defname" : "ObRgL06.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 20,
|
"id" : 20,
|
||||||
@ -1111,7 +1111,7 @@
|
|||||||
"width" : 278,
|
"width" : 278,
|
||||||
"height" : 128,
|
"height" : 128,
|
||||||
"blockedTiles" : [23, 40, 58, 75, 93, 110, 128, 145, 163],
|
"blockedTiles" : [23, 40, 58, 75, 93, 110, 128, 145, 163],
|
||||||
"defname" : "ObRgL15.pcx",
|
"defname" : "ObRgL15.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 21,
|
"id" : 21,
|
||||||
@ -1120,7 +1120,7 @@
|
|||||||
"width" : 208,
|
"width" : 208,
|
||||||
"height" : 268,
|
"height" : 268,
|
||||||
"blockedTiles" : [72, 73, 74, 75, 76, 77, 78, 79, 80, 90, 91, 92, 93, 94, 95, 96, 97],
|
"blockedTiles" : [72, 73, 74, 75, 76, 77, 78, 79, 80, 90, 91, 92, 93, 94, 95, 96, 97],
|
||||||
"defname" : "ObRgL05.pcx",
|
"defname" : "ObRgL05.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 22,
|
"id" : 22,
|
||||||
@ -1129,7 +1129,7 @@
|
|||||||
"width" : 168,
|
"width" : 168,
|
||||||
"height" : 212,
|
"height" : 212,
|
||||||
"blockedTiles" : [73, 74, 75, 76, 77, 78, 79, 90, 91, 92, 93, 94, 95, 96, 97, 106, 107, 108, 109, 110, 111, 112],
|
"blockedTiles" : [73, 74, 75, 76, 77, 78, 79, 90, 91, 92, 93, 94, 95, 96, 97, 106, 107, 108, 109, 110, 111, 112],
|
||||||
"defname" : "ObRgL22.pcx",
|
"defname" : "ObRgL22.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 23,
|
"id" : 23,
|
||||||
@ -1138,7 +1138,7 @@
|
|||||||
"width" : 147,
|
"width" : 147,
|
||||||
"height" : 264,
|
"height" : 264,
|
||||||
"blockedTiles" : [72, 73, 74, 75, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98],
|
"blockedTiles" : [72, 73, 74, 75, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98],
|
||||||
"defname" : "ObBhL02.pcx",
|
"defname" : "ObBhL02.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 24,
|
"id" : 24,
|
||||||
@ -1147,7 +1147,7 @@
|
|||||||
"width" : 178,
|
"width" : 178,
|
||||||
"height" : 262,
|
"height" : 262,
|
||||||
"blockedTiles" : [71, 72, 73, 74, 75, 76, 77, 78, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98],
|
"blockedTiles" : [71, 72, 73, 74, 75, 76, 77, 78, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98],
|
||||||
"defname" : "ObBhL03.pcx",
|
"defname" : "ObBhL03.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 25,
|
"id" : 25,
|
||||||
@ -1156,7 +1156,7 @@
|
|||||||
"width" : 173,
|
"width" : 173,
|
||||||
"height" : 257,
|
"height" : 257,
|
||||||
"blockedTiles" : [72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 89, 90, 105, 106],
|
"blockedTiles" : [72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 89, 90, 105, 106],
|
||||||
"defname" : "ObBhL05.pcx",
|
"defname" : "ObBhL05.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 26,
|
"id" : 26,
|
||||||
@ -1165,7 +1165,7 @@
|
|||||||
"width" : 241,
|
"width" : 241,
|
||||||
"height" : 272,
|
"height" : 272,
|
||||||
"blockedTiles" : [73, 91, 108, 109, 110, 111, 112, 113],
|
"blockedTiles" : [73, 91, 108, 109, 110, 111, 112, 113],
|
||||||
"defname" : "ObBhL06.pcx",
|
"defname" : "ObBhL06.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 27,
|
"id" : 27,
|
||||||
@ -1174,7 +1174,7 @@
|
|||||||
"width" : 261,
|
"width" : 261,
|
||||||
"height" : 129,
|
"height" : 129,
|
||||||
"blockedTiles" : [27, 28, 43, 44, 60, 61, 76, 77, 93, 94, 109, 110, 126, 127, 142, 143, 159],
|
"blockedTiles" : [27, 28, 43, 44, 60, 61, 76, 77, 93, 94, 109, 110, 126, 127, 142, 143, 159],
|
||||||
"defname" : "ObBhL14.pcx",
|
"defname" : "ObBhL14.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 28,
|
"id" : 28,
|
||||||
@ -1183,7 +1183,7 @@
|
|||||||
"width" : 180,
|
"width" : 180,
|
||||||
"height" : 154,
|
"height" : 154,
|
||||||
"blockedTiles" : [22, 38, 39, 40, 44, 45, 46, 55, 56, 57, 62, 63, 123, 124, 125, 130, 131, 140, 141, 146, 147, 148],
|
"blockedTiles" : [22, 38, 39, 40, 44, 45, 46, 55, 56, 57, 62, 63, 123, 124, 125, 130, 131, 140, 141, 146, 147, 148],
|
||||||
"defname" : "ObBhL16.pcx",
|
"defname" : "ObBhL16.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 29,
|
"id" : 29,
|
||||||
@ -1192,7 +1192,7 @@
|
|||||||
"width" : 304,
|
"width" : 304,
|
||||||
"height" : 264,
|
"height" : 264,
|
||||||
"blockedTiles" : [76, 77, 92, 93, 94, 95, 109, 110, 111],
|
"blockedTiles" : [76, 77, 92, 93, 94, 95, 109, 110, 111],
|
||||||
"defname" : "ObCFL00.pcx",
|
"defname" : "ObCFL00.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 30,
|
"id" : 30,
|
||||||
@ -1201,7 +1201,7 @@
|
|||||||
"width" : 256,
|
"width" : 256,
|
||||||
"height" : 257,
|
"height" : 257,
|
||||||
"blockedTiles" : [76, 77, 78, 92, 93, 94, 107, 108, 109],
|
"blockedTiles" : [76, 77, 78, 92, 93, 94, 107, 108, 109],
|
||||||
"defname" : "ObLPL00.pcx",
|
"defname" : "ObLPL00.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 31,
|
"id" : 31,
|
||||||
@ -1210,7 +1210,7 @@
|
|||||||
"width" : 257,
|
"width" : 257,
|
||||||
"height" : 255,
|
"height" : 255,
|
||||||
"blockedTiles" : [76, 77, 91, 92, 93, 94, 95, 108, 109, 110, 111],
|
"blockedTiles" : [76, 77, 91, 92, 93, 94, 95, 108, 109, 110, 111],
|
||||||
"defname" : "ObFFL00.pcx",
|
"defname" : "ObFFL00.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 32,
|
"id" : 32,
|
||||||
@ -1219,7 +1219,7 @@
|
|||||||
"width" : 277,
|
"width" : 277,
|
||||||
"height" : 218,
|
"height" : 218,
|
||||||
"blockedTiles" : [60, 61, 75, 76, 77, 91, 92, 93, 94, 95],
|
"blockedTiles" : [60, 61, 75, 76, 77, 91, 92, 93, 94, 95],
|
||||||
"defname" : "ObRLL00.pcx",
|
"defname" : "ObRLL00.pcx"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : 33,
|
"id" : 33,
|
||||||
@ -1228,8 +1228,8 @@
|
|||||||
"width" : 300,
|
"width" : 300,
|
||||||
"height" : 214,
|
"height" : 214,
|
||||||
"blockedTiles" : [59, 60, 74, 75, 76, 93, 94, 95, 111, 112],
|
"blockedTiles" : [59, 60, 74, 75, 76, 93, 94, 95, 111, 112],
|
||||||
"defname" : "ObMCL00.pcx",
|
"defname" : "ObMCL00.pcx"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -12,19 +12,19 @@
|
|||||||
{ "type" : "string" },
|
{ "type" : "string" },
|
||||||
{ "type" : "number" }
|
{ "type" : "number" }
|
||||||
],
|
],
|
||||||
"description": "addInfo",
|
"description": "addInfo"
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"description": "description",
|
"description": "description"
|
||||||
},
|
},
|
||||||
"duration": {
|
"duration": {
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"description": "duration",
|
"description": "duration"
|
||||||
},
|
},
|
||||||
"effectRange": {
|
"effectRange": {
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"description": "effectRange",
|
"description": "effectRange"
|
||||||
},
|
},
|
||||||
"limiters": {
|
"limiters": {
|
||||||
"type":"array",
|
"type":"array",
|
||||||
@ -42,7 +42,7 @@
|
|||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"description": "type",
|
"description": "type"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -62,41 +62,41 @@
|
|||||||
"type":"array",
|
"type":"array",
|
||||||
"items": {
|
"items": {
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"description": "0",
|
"description": "0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
},
|
},
|
||||||
"sourceID": {
|
"sourceID": {
|
||||||
"type":"number",
|
"type":"number",
|
||||||
"description": "sourceID",
|
"description": "sourceID"
|
||||||
},
|
},
|
||||||
"sourceType": {
|
"sourceType": {
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"description": "sourceType",
|
"description": "sourceType"
|
||||||
},
|
},
|
||||||
"subtype": {
|
"subtype": {
|
||||||
"anyOf" : [
|
"anyOf" : [
|
||||||
{ "type" : "string" },
|
{ "type" : "string" },
|
||||||
{ "type" : "number" }
|
{ "type" : "number" }
|
||||||
],
|
],
|
||||||
"description": "subtype",
|
"description": "subtype"
|
||||||
},
|
},
|
||||||
"turns": {
|
"turns": {
|
||||||
"type":"number",
|
"type":"number",
|
||||||
"description": "turns",
|
"description": "turns"
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"description": "type",
|
"description": "type"
|
||||||
},
|
},
|
||||||
"val": {
|
"val": {
|
||||||
"type":"number",
|
"type":"number",
|
||||||
"description": "val",
|
"description": "val"
|
||||||
},
|
},
|
||||||
"valueType": {
|
"valueType": {
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"description": "valueType",
|
"description": "valueType"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -73,7 +73,7 @@
|
|||||||
},
|
},
|
||||||
"nativeTerrain": {
|
"nativeTerrain": {
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"description": "Native terrain for creatures. Creatures fighting on native terrain receive several bonuses",
|
"description": "Native terrain for creatures. Creatures fighting on native terrain receive several bonuses"
|
||||||
},
|
},
|
||||||
"puzzleMap": {
|
"puzzleMap": {
|
||||||
"type":"object",
|
"type":"object",
|
||||||
|
@ -28,15 +28,15 @@
|
|||||||
"properties":{
|
"properties":{
|
||||||
"creature": {
|
"creature": {
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"description": "creature",
|
"description": "creature"
|
||||||
},
|
},
|
||||||
"max": {
|
"max": {
|
||||||
"type":"number",
|
"type":"number",
|
||||||
"description": "max",
|
"description": "max"
|
||||||
},
|
},
|
||||||
"min": {
|
"min": {
|
||||||
"type":"number",
|
"type":"number",
|
||||||
"description": "min",
|
"description": "min"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"$schema": "http://json-schema.org/draft-04/schema",
|
"$schema": "http://json-schema.org/draft-04/schema",
|
||||||
"title" : "VCMI mod file format",
|
"title" : "VCMI mod file format",
|
||||||
"description" : "Format used to define main mod file (mod.json) in VCMI",
|
"description" : "Format used to define main mod file (mod.json) in VCMI",
|
||||||
"required" : [ "name", "description", "version", "author", "contact" ],
|
"required" : [ "name", "description", "version", "author", "contact", "modType" ],
|
||||||
|
|
||||||
"additionalProperties" : false,
|
"additionalProperties" : false,
|
||||||
"properties":{
|
"properties":{
|
||||||
|
@ -168,7 +168,7 @@
|
|||||||
},
|
},
|
||||||
"threshold" : {
|
"threshold" : {
|
||||||
"$ref" : "#/definitions/logLevelEnum",
|
"$ref" : "#/definitions/logLevelEnum",
|
||||||
"default" : "info",
|
"default" : "info"
|
||||||
},
|
},
|
||||||
"coloredOutputEnabled" : {
|
"coloredOutputEnabled" : {
|
||||||
"type" : "boolean",
|
"type" : "boolean",
|
||||||
|
@ -177,7 +177,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 34,
|
"id": 34,
|
||||||
"soundfile": "ANIMDEAD.wav",
|
"soundfile": "ANIMDEAD.wav"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 35,
|
"id": 35,
|
||||||
@ -201,7 +201,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 39,
|
"id": 39,
|
||||||
"soundfile": "ANIMDEAD.wav",
|
"soundfile": "ANIMDEAD.wav"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 40 ,
|
"id": 40 ,
|
||||||
@ -315,7 +315,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 62,
|
"id": 62,
|
||||||
"soundfile": "BLIND.wav",
|
"soundfile": "BLIND.wav"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 63 ,
|
"id": 63 ,
|
||||||
|
@ -283,6 +283,6 @@
|
|||||||
"T-1,N", "N", "N"
|
"T-1,N", "N", "N"
|
||||||
],
|
],
|
||||||
"minPoints" : 1
|
"minPoints" : 1
|
||||||
},
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -635,6 +635,7 @@ void CCreatureHandler::loadCreatureJson(CCreature * creature, const JsonNode & c
|
|||||||
creature->level = config["level"].Float();
|
creature->level = config["level"].Float();
|
||||||
creature->animDefName = config["graphics"]["animation"].String();
|
creature->animDefName = config["graphics"]["animation"].String();
|
||||||
|
|
||||||
|
//FIXME: MOD COMPATIBILITY
|
||||||
if (config["abilities"].getType() == JsonNode::DATA_STRUCT)
|
if (config["abilities"].getType() == JsonNode::DATA_STRUCT)
|
||||||
{
|
{
|
||||||
for(auto &ability : config["abilities"].Struct())
|
for(auto &ability : config["abilities"].Struct())
|
||||||
|
@ -699,7 +699,12 @@ bool JsonParser::extractElement(JsonNode &node, char terminator)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (input[pos] == terminator)
|
if (input[pos] == terminator)
|
||||||
|
{
|
||||||
|
//FIXME: MOD COMPATIBILITY: Too many of these right now, re-enable later
|
||||||
|
//if (comma)
|
||||||
|
//error("Extra comma found!", true);
|
||||||
return true;
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (!comma)
|
if (!comma)
|
||||||
error("Comma expected!", true);
|
error("Comma expected!", true);
|
||||||
|
Loading…
Reference in New Issue
Block a user