1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-26 08:41:13 +02:00
vcmi/config/factions/castle.json
Ivan Savenko 8273f323b1 - it is possible to edit data of another mod or H3 data via mods
- mods can access only ID's from dependenies, virtual "core" mod and itself (optional for some mods compatibility)
- metadata field for JsonNode, used to track source mod
- moved wog creatures into wog mod
- (linux) convertMP3 option for vcmibuilder for systems where SDL_Mixer can't play mp3's
2013-04-25 14:03:35 +00:00

246 lines
12 KiB
JSON

{
"castle" :
{
"index" : 0,
"nativeTerrain": "grass",
"alignment" : "good",
"commander" : "zealot",
"creatureBackground" :
{
"120px" : "TPCASCAS",
"130px" : "CRBKGCAS"
},
"puzzleMap" :
{
"prefix" : "PUZCAS",
"pieces" :
[
{ "x": 7, "y": 8, "index": 39 },
{ "x": 7, "y": 30, "index": 41 },
{ "x": 7, "y": 102, "index": 1 },
{ "x": 7, "y": 156, "index": 23 },
{ "x": 7, "y": 202, "index": 6 },
{ "x": 7, "y": 320, "index": 13 },
{ "x": 16, "y": 8, "index": 39 },
{ "x": 22, "y": 406, "index": 2 },
{ "x": 70, "y": 301, "index": 22 },
{ "x": 72, "y": 194, "index": 11 },
{ "x": 101, "y": 332, "index": 8 },
{ "x": 106, "y": 8, "index": 9 },
{ "x": 106, "y": 31, "index": 29 },
{ "x": 114, "y": 60, "index": 7 },
{ "x": 126, "y": 329, "index": 17 },
{ "x": 128, "y": 191, "index": 21 },
{ "x": 152, "y": 347, "index": 27 },
{ "x": 154, "y": 239, "index": 31 },
{ "x": 157, "y": 429, "index": 34 },
{ "x": 166, "y": 470, "index": 4 },
{ "x": 185, "y": 127, "index": 30 },
{ "x": 212, "y": 335, "index": 36 },
{ "x": 214, "y": 191, "index": 48 },
{ "x": 217, "y": 226, "index": 43 },
{ "x": 235, "y": 147, "index": 35 },
{ "x": 245, "y": 77, "index": 16 },
{ "x": 266, "y": 384, "index": 42 },
{ "x": 288, "y": 288, "index": 45 },
{ "x": 298, "y": 8, "index": 26 },
{ "x": 321, "y": 177, "index": 46 },
{ "x": 346, "y": 67, "index": 38 },
{ "x": 354, "y": 459, "index": 20 },
{ "x": 355, "y": 397, "index": 25 },
{ "x": 375, "y": 162, "index": 28 },
{ "x": 382, "y": 255, "index": 32 },
{ "x": 408, "y": 32, "index": 37 },
{ "x": 408, "y": 111, "index": 14 },
{ "x": 421, "y": 147, "index": 19 },
{ "x": 422, "y": 466, "index": 12 },
{ "x": 426, "y": 8, "index": 15 },
{ "x": 436, "y": 238, "index": 24 },
{ "x": 458, "y": 336, "index": 44 },
{ "x": 486, "y": 8, "index": 40 },
{ "x": 487, "y": 144, "index": 33 },
{ "x": 517, "y": 145, "index": 18 },
{ "x": 520, "y": 68, "index": 5 },
{ "x": 524, "y": 234, "index": 10 },
{ "x": 525, "y": 327, "index": 3 }
]
},
"town" :
{
"adventureMap" :
{
"castle" : "AVCcasx0.def",
"village" : "AVCCAST0.DEF",
"capitol" : "AVCCASZ0.DEF"
},
"structures" :
{
"extraAnimation": { "animation" : "TBCSEXT2.def", "x" : 46, "y" : 119 },
"mageGuild1": { "id" : 0, "animation" : "TBCSMAGE.def", "x" : 707, "y" : 166, "z" : 1, "border" : "TOCSMAG1.bmp", "area" : "TZCSMAG1.bmp" },
"mageGuild2": { "id" : 1, "animation" : "TBCSMAG2.def", "x" : 706, "y" : 135, "z" : 1, "border" : "TOCSMAG2.bmp", "area" : "TZCSMAG2.bmp" },
"mageGuild3": { "id" : 2, "animation" : "TBCSMAG3.def", "x" : 704, "y" : 107, "z" : 1, "border" : "TOCSM301.bmp", "area" : "TZCSM301.bmp" },
"mageGuild4": { "id" : 3, "animation" : "TBCSMAG4.def", "x" : 704, "y" : 76, "z" : 1, "border" : "TOCSM401.bmp", "area" : "TZCSM401.bmp" },
"tavern": { "id" : 5, "animation" : "TBCSTVRN.def", "x" : 0, "y" : 230, "z" : 1, "border" : "TOCSTAV1.bmp", "area" : "TZCSTAV1.bmp" },
"shipyard": { "id" : 6, "animation" : "TBCSDOCK.def", "x" : 478, "y" : 134, "border" : "TOCSDKMS.bmp", "area" : "TZCSDKMS.bmp" },
"fort": { "id" : 7, "animation" : "TBCSCSTL.def", "x" : 595, "y" : 66, "border" : "TOCSCAS1.bmp", "area" : "TZCSCAS1.bmp" },
"citadel": { "id" : 8, "animation" : "TBCSCAS2.def", "x" : 478, "y" : 66, "border" : "TOCSCAS2.bmp", "area" : "TZCSCAS2.bmp" },
"castle": { "id" : 9, "animation" : "TBCSCAS3.def", "x" : 478, "y" : 37, "border" : "TOCSCAS3.bmp", "area" : "TZCSCAS3.bmp" },
"villageHall": { "id" : 10, "animation" : "TBCSHALL.def", "x" : 0, "y" : 209, "border" : "TOCSH101.bmp", "area" : "TZCSH101.bmp" },
"townHall": { "id" : 11, "animation" : "TBCSHAL2.def", "x" : 0, "y" : 176, "border" : "TOCSH201.bmp", "area" : "TZCSH201.bmp" },
"cityHall": { "id" : 12, "animation" : "TBCSHAL3.def", "x" : 0, "y" : 164, "border" : "TOCSH301.bmp", "area" : "TZCSH301.bmp" },
"capitol": { "id" : 13, "animation" : "TBCSHAL4.def", "x" : 0, "y" : 154, "border" : "TOCSH401.bmp", "area" : "TZCSH401.bmp" },
"marketplace": { "id" : 14, "animation" : "TBCSMARK.def", "x" : 413, "y" : 264, "border" : "TOCSMRK1.bmp", "area" : "TZCSMRK1.bmp" },
"resourceSilo": { "id" : 15, "animation" : "TBCSSILO.def", "x" : 488, "y" : 228, "border" : "TOCSMRK2.bmp", "area" : "TZCSMRK2.bmp" },
"blacksmith": { "id" : 16, "animation" : "TBCSBLAK.def", "x" : 213, "y" : 251, "border" : "TOCSBLAK.bmp", "area" : "TZCSBLAK.bmp" },
"special1": { "id" : 17, "animation" : "TBCSSPEC.def", "x" : 533, "y" : 71, "border" : "TOCSLT01.bmp", "area" : "TZCSLT01.bmp" },
"horde1": { "id" : 18, "animation" : "TBCSHRD1.def", "x" : 76, "y" : 53, "border" : "TOCSGR1H.bmp", "area" : "TZCSGR1H.bmp", "hidden" : true },
"horde1Upgr": { "id" : 19, "animation" : "TBCSHRD2.def", "x" : 76, "y" : 35, "border" : "TOCSGR2H.bmp", "area" : "TZCSGR2H.bmp", "hidden" : true, "builds" : 18 },
"ship": { "id" : 20, "animation" : "TBCSBOAT.def", "x" : 478, "y" : 134, "border" : "TOCSDKMN.bmp", "area" : "TZCSDKMN.bmp", "hidden" : true },
"special2": { "id" : 21, "animation" : "TBCSEXT0.def", "x" : 384, "y" : 193, "z" : -2, "border" : "TOCSCAVM.bmp", "area" : "TZCSCAVM.bmp" },
"special3": { "id" : 22, "animation" : "TBCSEXT1.def", "x" : 0, "y" : 198, "z" : 1, "border" : "TOCSTAV2.bmp", "area" : "TZCSTAV2.bmp" },
"grail": { "id" : 26, "animation" : "TBCSHOLY.def", "x" : 456, "y" : 109, "z" : -1, "border" : "TOCSHOLY.bmp", "area" : "TZCSHOLY.bmp" },
"dwellingLvl1": { "id" : 30, "animation" : "TBCSDW_0.def", "x" : 304, "y" : 92, "border" : "TOCSPIK1.bmp", "area" : "TZCSPIK1.bmp" },
"dwellingLvl2": { "id" : 31, "animation" : "TBCSDW_1.def", "x" : 360, "y" : 130, "border" : "TOCSCRS1.bmp", "area" : "TZCSCRS1.bmp" },
"dwellingLvl3": { "id" : 32, "animation" : "TBCSDW_2.def", "x" : 76, "y" : 57, "border" : "TOCSGR1N.bmp", "area" : "TZCSGR1N.bmp" },
"dwellingLvl4": { "id" : 33, "animation" : "TBCSDW_3.def", "x" : 176, "y" : 101, "border" : "TOCSSWD1.bmp", "area" : "TZCSSWD1.bmp" },
"dwellingLvl5": { "id" : 34, "animation" : "TBCSDW_4.def", "x" : 563, "y" : 211, "z" : 1, "border" : "TOCSMON1.bmp", "area" : "TZCSMON1.bmp" },
"dwellingLvl6": { "id" : 35, "animation" : "TBCSDW_5.def", "x" : 174, "y" : 190, "z" : -1, "border" : "TOCSC101.bmp", "area" : "TZCSCAV1.bmp" },
"dwellingLvl7": { "id" : 36, "animation" : "TBCSDW_6.def", "x" : 303, "y" : 0, "z" : -1, "border" : "TOCSANG1.bmp", "area" : "TZCSANG1.bmp" },
"dwellingUpLvl1": { "id" : 37, "animation" : "TBCSUP_0.def", "x" : 304, "y" : 65, "border" : "TOCSPIK2.bmp", "area" : "TZCSPIK2.bmp" },
"dwellingUpLvl2": { "id" : 38, "animation" : "TBCSUP_1.def", "x" : 360, "y" : 115, "border" : "TOCSCRS2.bmp", "area" : "TZCSCRS2.bmp" },
"dwellingUpLvl3": { "id" : 39, "animation" : "TBCSUP_2.def", "x" : 76, "y" : 35, "border" : "TOCSGR2N.bmp", "area" : "TZCSGR2N.bmp" },
"dwellingUpLvl4": { "id" : 40, "animation" : "TBCSUP_3.def", "x" : 176, "y" : 85, "border" : "TOCSSWD2.bmp", "area" : "TZCSSWD2.bmp" },
"dwellingUpLvl5": { "id" : 41, "animation" : "TBCSUP_4.def", "x" : 563, "y" : 173, "z" : 1, "border" : "TOCSMON2.bmp", "area" : "TZCSMON2.bmp" },
"dwellingUpLvl6": { "id" : 42, "animation" : "TBCSUP_5.def", "x" : 160, "y" : 190, "z" : -1, "border" : "TOCSCAV2.bmp", "area" : "TZCSCAV2.bmp" },
"dwellingUpLvl7": { "id" : 43, "animation" : "TBCSUP_6.def", "x" : 303, "y" : 0, "z" : -1, "border" : "TOCSANG2.bmp", "area" : "TZCSANG2.bmp" }
},
"musicTheme" : "music/CstleTown",
"townBackground": "TBCSBACK.bmp",
"guildWindow": "TPMAGECS.bmp",
"buildingsIcons": "HALLCSTL.DEF",
"hallBackground": "TPTHBKCS.BMP",
"hallSlots":
[
[ [ 10, 11, 12, 13 ], [ 7, 8, 9 ], [ 5, 22 ], [ 16 ] ],
[ [ 14, 15 ], [ 0, 1, 2, 3 ], [ 6, 17 ] ],
[ [ 21 ], [ 18, 19 ] ],
[ [ 30, 37 ], [ 31, 38 ], [ 32, 39 ], [ 33, 40 ] ],
[ [ 34, 41 ], [ 35, 42 ], [ 36, 43 ] ]
],
"creatures" :
[
["pikeman", "halberdier"],
["archer", "marksman"],
["griffin", "royalGriffin"],
["swordsman", "crusader"],
["monk", "zealot"],
["cavalier", "champion"],
["angel", "archangel"]
],
"horde" : [ 2, -1 ],
"mageGuild" : 4,
"warMachine" : "ballista",
"moatDamage" : 70,
"buildings" :
{
"mageGuild1": { "id" : 0 },
"mageGuild2": { "id" : 1, "upgrades" : 0 },
"mageGuild3": { "id" : 2, "upgrades" : 1 },
"mageGuild4": { "id" : 3, "upgrades" : 2 },
"tavern": { "id" : 5 },
"shipyard": { "id" : 6 },
"fort": { "id" : 7 },
"citadel": { "id" : 8, "upgrades" : 7 },
"castle": { "id" : 9, "upgrades" : 8 },
"villageHall": { "id" : 10, "mode" : "auto" },
"townHall": { "id" : 11, "upgrades" : 10, "requires" : [ 5 ] },
"cityHall": { "id" : 12, "upgrades" : 11, "requires" : [ 0, 14, 16 ] },
"capitol": { "id" : 13, "upgrades" : 12, "requires" : [ 9 ] },
"marketplace": { "id" : 14 },
"resourceSilo": { "id" : 15, "requires" : [ 14 ] },
"blacksmith": { "id" : 16 },
"special1": { "id" : 17, "requires" : [ 6 ] },
"horde1": { "id" : 18, "upgrades" : 32 },
"horde1Upgr": { "id" : 19, "upgrades" : 39, "requires" : [ 18 ], "mode" : "auto" },
"ship": { "id" : 20, "upgrades" : 6 },
"special2": { "id" : 21, "requires" : [ 33 ] },
"special3": { "id" : 22, "upgrades" : 5 },
"grail": { "id" : 26, "mode" : "grail"},
"dwellingLvl1": { "id" : 30, "requires" : [ 7 ] },
"dwellingLvl2": { "id" : 31, "requires" : [ 30 ] },
"dwellingLvl3": { "id" : 32, "requires" : [ 33 ] },
"dwellingLvl4": { "id" : 33, "requires" : [ 16, 30 ] },
"dwellingLvl5": { "id" : 34, "requires" : [ 0, 33 ] },
"dwellingLvl6": { "id" : 35, "requires" : [ 21 ] },
"dwellingLvl7": { "id" : 36, "requires" : [ 34 ] },
"dwellingUpLvl1": { "id" : 37, "upgrades" : 30 },
"dwellingUpLvl2": { "id" : 38, "upgrades" : 31 },
"dwellingUpLvl3": { "id" : 39, "upgrades" : 32 },
"dwellingUpLvl4": { "id" : 40, "upgrades" : 33 },
"dwellingUpLvl5": { "id" : 41, "upgrades" : 34 },
"dwellingUpLvl6": { "id" : 42, "upgrades" : 35 },
"dwellingUpLvl7": { "id" : 43, "upgrades" : 36 },
"horde2" : null,
"horde2Upgr" : null,
"mageGuild5" : null,
"special4" : null
},
"siege" :
{
"shooter" : "archer",
"imagePrefix" : "SGCS",
"gate" :
{
"arch" : { "x" : 477, "y" : 238 },
"gate" : { "x" : 399, "y" : 274 }
},
"moat" :
{
"bank" : { "x" : 403, "y" : 80 },
"moat" : { "x" : 410, "y" : 90 }
},
"shooterHeight" : 231,
"static" :
{
"background" : { "x" : 600, "y" : 49 },
"bottom" : { "x" : 512, "y" : 347 },
"top" : { "x" : 489, "y" : 79 }
},
"towers" :
{
"bottom" :
{
"battlement" : { "x" : 602, "y" : 500 },
"creature" : { "x" : 394, "y" : 299 },
"tower" : { "x" : 602, "y" : 500 }
},
"keep" :
{
"battlement" : { "x" : 720, "y" : 158 },
"creature" : { "x" : 526, "y" : -29 },
"tower" : { "x" : 720, "y" : 158 }
},
"top" :
{
"battlement" : { "x" : 557, "y" : 24 },
"creature" : { "x" : 342, "y" : -187 },
"tower" : { "x" : 569, "y" : 35 }
}
},
"walls" :
{
"bottom" : { "x" : 528, "y" : 350 },
"bottomMid" : { "x" : 469, "y" : 291 },
"upper" : { "x" : 524, "y" : 32 },
"upperMid" : { "x" : 470, "y" : 127 }
}
}
}
}
}