mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
a85b4cf2a5
* Hero portrait serialization * Fix town spells serialization * Added support for float exponential part in Json * Added support for int64 in Json * Added basic Hero definitions serialization * Added rumors serialization * Advanced player info serialization. * Added Disposed heroes serialization, (!) not covered with tests yet * Added Local event serialization * Added Pandoras box serialization * Added Seer hut reward serialization * Added CQuest serialization * Added API for map object instance names serialization. * Added random dwelling options serialization * Advanced town options serialization * Advanced hero options serialization * More map format tests * A lot of fixes, cleanup and refactoring
368 lines
5.4 KiB
JSON
368 lines
5.4 KiB
JSON
{
|
|
"allowedAbilities" : {
|
|
"anyOf" : [
|
|
"airMagic",
|
|
"archery",
|
|
"armorer",
|
|
"artillery",
|
|
"ballistics",
|
|
"diplomacy",
|
|
"earthMagic",
|
|
"estates",
|
|
"fireMagic",
|
|
"firstAid",
|
|
"intelligence",
|
|
"leadership",
|
|
"learning",
|
|
"logistics",
|
|
"luck",
|
|
"mysticism",
|
|
"navigation",
|
|
"necromancy",
|
|
"offence",
|
|
"pathfinding",
|
|
"resistance",
|
|
"scholar",
|
|
"scouting",
|
|
"sorcery",
|
|
"tactics",
|
|
"waterMagic",
|
|
"wisdom"
|
|
]
|
|
},
|
|
"allowedArtifacts" : {
|
|
"anyOf" : [
|
|
"admiralsHat",
|
|
"angelicAlliance",
|
|
"armageddonsBlade",
|
|
"armorOfTheDamned",
|
|
"bowOfTheSharpshooter",
|
|
"cloakOfTheUndeadKing",
|
|
"cornucopia",
|
|
"elixirOfLife",
|
|
"powerOfTheDragonFather",
|
|
"ringOfTheMagi",
|
|
"statueOfLegion",
|
|
"titansThunder",
|
|
"vialOfDragonBlood",
|
|
"wizardsWell"
|
|
]
|
|
},
|
|
"allowedHeroes" : {
|
|
"anyOf" : [
|
|
"adela",
|
|
"adelaide",
|
|
"aenain",
|
|
"aeris",
|
|
"aine",
|
|
"aislinn",
|
|
"ajit",
|
|
"alagar",
|
|
"alamar",
|
|
"alkin",
|
|
"andra",
|
|
"arlach",
|
|
"ash",
|
|
"astral",
|
|
"axsis",
|
|
"ayden",
|
|
"brissa",
|
|
"broghild",
|
|
"bron",
|
|
"caitlin",
|
|
"calh",
|
|
"calid",
|
|
"charna",
|
|
"christian",
|
|
"ciele",
|
|
"clancy",
|
|
"clavius",
|
|
"coronius",
|
|
"cragHack",
|
|
"cuthbert",
|
|
"cyra",
|
|
"dace",
|
|
"damacon",
|
|
"daremyth",
|
|
"darkstorn",
|
|
"deemer",
|
|
"dessa",
|
|
"drakon",
|
|
"elleshar",
|
|
"erdamon",
|
|
"fafner",
|
|
"fiona",
|
|
"fiur",
|
|
"galthran",
|
|
"gelare",
|
|
"gem",
|
|
"geon",
|
|
"gerwulf",
|
|
"gird",
|
|
"gretchin",
|
|
"grindan",
|
|
"gundula",
|
|
"gunnar",
|
|
"gurnisson",
|
|
"halon",
|
|
"ignatius",
|
|
"ignissa",
|
|
"inteus",
|
|
"iona",
|
|
"isra",
|
|
"ivor",
|
|
"jabarkas",
|
|
"jaegar",
|
|
"jeddite",
|
|
"jenova",
|
|
"josephine",
|
|
"kalt",
|
|
"korbac",
|
|
"krellion",
|
|
"kyrre",
|
|
"labetha",
|
|
"lacus",
|
|
"lorelei",
|
|
"loynis",
|
|
"malcom",
|
|
"malekith",
|
|
"marius",
|
|
"melodia",
|
|
"mephala",
|
|
"merist",
|
|
"mirlanda",
|
|
"moandor",
|
|
"monere",
|
|
"nagash",
|
|
"neela",
|
|
"nimbus",
|
|
"nymus",
|
|
"octavia",
|
|
"olema",
|
|
"oris",
|
|
"pasis",
|
|
"piquedram",
|
|
"pyre",
|
|
"rashka",
|
|
"rion",
|
|
"rissa",
|
|
"rosic",
|
|
"ryland",
|
|
"sandro",
|
|
"sanya",
|
|
"saurug",
|
|
"sephinroth",
|
|
"septienna",
|
|
"serena",
|
|
"shakti",
|
|
"shiva",
|
|
"sirMullich",
|
|
"solmyr",
|
|
"straker",
|
|
"styg",
|
|
"sylvia",
|
|
"synca",
|
|
"tamika",
|
|
"tazar",
|
|
"terek",
|
|
"thane",
|
|
"thant",
|
|
"theodorus",
|
|
"thorgrim",
|
|
"thunar",
|
|
"tiva",
|
|
"torosar ",
|
|
"tyraxor",
|
|
"tyris",
|
|
"ufretin",
|
|
"uland",
|
|
"verdish",
|
|
"vey",
|
|
"vidomina",
|
|
"vokial",
|
|
"voy",
|
|
"wystan",
|
|
"xarfax",
|
|
"xsi",
|
|
"xyron",
|
|
"yog",
|
|
"zubin",
|
|
"zydar"
|
|
]
|
|
},
|
|
"allowedSpells" : {
|
|
"anyOf" : [
|
|
"airElemental",
|
|
"airShield",
|
|
"animateDead",
|
|
"antiMagic",
|
|
"armageddon",
|
|
"berserk",
|
|
"bless",
|
|
"blind",
|
|
"bloodlust",
|
|
"chainLightning",
|
|
"clone",
|
|
"counterstrike",
|
|
"cure",
|
|
"curse",
|
|
"deathRipple",
|
|
"destroyUndead",
|
|
"dimensionDoor",
|
|
"disguise",
|
|
"dispel",
|
|
"disruptingRay",
|
|
"earthElemental",
|
|
"earthquake",
|
|
"fireElemental",
|
|
"fireShield",
|
|
"fireWall",
|
|
"fireball",
|
|
"fly",
|
|
"forceField",
|
|
"forgetfulness",
|
|
"fortune",
|
|
"frenzy",
|
|
"frostRing",
|
|
"haste",
|
|
"hypnotize",
|
|
"iceBolt",
|
|
"implosion",
|
|
"inferno",
|
|
"landMine",
|
|
"lightningBolt",
|
|
"magicArrow",
|
|
"magicMirror",
|
|
"meteorShower",
|
|
"mirth",
|
|
"misfortune",
|
|
"prayer",
|
|
"precision",
|
|
"protectAir",
|
|
"protectEarth",
|
|
"protectFire",
|
|
"protectWater",
|
|
"quicksand",
|
|
"removeObstacle",
|
|
"resurrection",
|
|
"sacrifice",
|
|
"scuttleBoat",
|
|
"shield",
|
|
"slayer",
|
|
"slow",
|
|
"sorrow",
|
|
"stoneSkin",
|
|
"summonBoat",
|
|
"teleport",
|
|
"titanBolt",
|
|
"townPortal",
|
|
"viewAir",
|
|
"viewEarth",
|
|
"visions",
|
|
"waterElemental",
|
|
"waterWalk",
|
|
"weakness"
|
|
]
|
|
},
|
|
"defeatIconIndex" : 3,
|
|
"defeatString" : "Test defeatString",
|
|
"difficulty" : "NORMAL",
|
|
"mapLevels" : {
|
|
"surface" : {
|
|
"height" : 144,
|
|
"index" : 0,
|
|
"width" : 144
|
|
},
|
|
"underground" : {
|
|
"height" : 144,
|
|
"index" : 1,
|
|
"width" : 144
|
|
}
|
|
},
|
|
"mods" : {},
|
|
"name" : "ObjectPropertyTest v1",
|
|
"players" : {
|
|
"blue" : {
|
|
"canPlay" : "AIOnly",
|
|
"heroes" : {
|
|
"randomHero_104" : {}
|
|
}
|
|
},
|
|
"green" : {
|
|
"canPlay" : "AIOnly",
|
|
"heroes" : {
|
|
"randomHero_105" : {}
|
|
}
|
|
},
|
|
"orange" : {
|
|
"canPlay" : "AIOnly",
|
|
"heroes" : {
|
|
"randomHero_106" : {}
|
|
}
|
|
},
|
|
"pink" : {
|
|
"canPlay" : "AIOnly",
|
|
"heroes" : {
|
|
"randomHero_109" : {}
|
|
}
|
|
},
|
|
"purple" : {
|
|
"canPlay" : "AIOnly",
|
|
"heroes" : {
|
|
"randomHero_107" : {}
|
|
}
|
|
},
|
|
"red" : {
|
|
"canPlay" : "PlayerOrAI",
|
|
"mainHero" : "hero_101",
|
|
"heroes" : {
|
|
"hero_101" : {
|
|
"type" : "ingham"
|
|
}
|
|
}
|
|
},
|
|
"tan" : {
|
|
"canPlay" : "AIOnly",
|
|
"heroes" : {
|
|
"randomHero_103" : {}
|
|
}
|
|
},
|
|
"teal" : {
|
|
"canPlay" : "AIOnly",
|
|
"heroes" : {
|
|
"randomHero_108" : {}
|
|
}
|
|
}
|
|
},
|
|
"triggeredEvents" : {
|
|
"standardVictory" : {
|
|
"condition" : [
|
|
"standardWin"
|
|
|
|
],
|
|
"effect" : {
|
|
"messageToSend" : "%s standardVictory effect test message",
|
|
"type" : "victory"
|
|
},
|
|
"message" : "Test standardVictory message"
|
|
},
|
|
"standardDefeat" : {
|
|
"condition" : [
|
|
"daysWithoutTown",
|
|
{
|
|
"value" : 7
|
|
}
|
|
],
|
|
"effect" : {
|
|
"messageToSend" : "%s standardDefeat effect test message",
|
|
"type" : "defeat"
|
|
},
|
|
"message" : "%s, standardDefeat"
|
|
}
|
|
},
|
|
"victoryIconIndex" : 11,
|
|
"victoryString" : "Test victoryString",
|
|
"versionMajor" : 1,
|
|
"versionMinor" : 0
|
|
}
|