| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359 |
- {
- "mageGuild1": { "id" : 0 },
- "mageGuild2": { "id" : 1, "upgrades" : "mageGuild1" },
- "mageGuild3": { "id" : 2, "upgrades" : "mageGuild2" },
- "mageGuild4": { "id" : 3, "upgrades" : "mageGuild3" },
- "mageGuild5": { "id" : 4, "upgrades" : "mageGuild4" },
- "tavern": {
- "id" : 5,
- "bonuses": [
- {
- "type": "MORALE",
- "val": 1
- },
- {
- "propagator": "PLAYER",
- "type": "THIEVES_GUILD_ACCESS",
- "val": 1
- }
- ]
- },
- "shipyard": { "id" : 6 },
- "fort": {
- "id" : 7,
- "fortifications" : {
- "wallsHealth" : 2
- }
- },
-
- "citadel": {
- "id" : 8,
- "upgrades" : "fort",
- "fortifications" : {
- "citadelHealth" : 2,
- "hasMoat" : true
- }
- },
-
- "castle": {
- "id" : 9,
- "upgrades" : "citadel",
- "fortifications" : {
- "wallsHealth" : 3,
- "upperTowerHealth" : 2,
- "lowerTowerHealth" : 2
- }
- },
-
- "villageHall": {
- "id" : 10,
- "mode" : "auto",
- "produce": { "gold": 500 }
- },
- "townHall": {
- "id" : 11,
- "upgrades" : "villageHall",
- "requires" : [ "tavern" ],
- "produce": { "gold": 1000 }
- },
- "cityHall": {
- "id" : 12,
- "upgrades" : "townHall",
- "requires" : [ "allOf", [ "mageGuild1" ], [ "marketplace" ], [ "blacksmith" ] ],
- "produce": { "gold": 2000 }
- },
- "capitol": {
- "id" : 13,
- "upgrades" : "cityHall",
- "requires" : [ "castle" ],
- "produce": { "gold": 4000 }
- },
- "marketplace": {
- "id" : 14,
- "marketModes" : ["resource-resource", "resource-player"],
- "bonuses": [
- {
- "propagator": "PLAYER",
- "type": "MARKETPLACE_ACCESS",
- "val": 1
- }
- ]
- },
- "resourceSilo": { "id" : 15, "requires" : [ "marketplace" ] },
- "blacksmith": { "id" : 16 },
- "special1": { "id" : 17 },
- "ship" : { "id" : 20, "upgrades" : "shipyard" },
- "special2": { "id" : 21 },
- "special3": { "id" : 22 },
- "special4": { "id" : 23 },
- "grail" : {
- "id" : 26,
- "mode" : "grail",
- "produce": { "gold": 5000 },
- },
-
- "extraTownHall": { "id" : 27, "requires" : [ "townHall" ], "mode" : "auto" },
- "extraCityHall": { "id" : 28, "requires" : [ "cityHall" ], "mode" : "auto" },
- "extraCapitol": { "id" : 29, "requires" : [ "capitol" ], "mode" : "auto" },
- // Previously hardcoded buildings that might be used by mods
- // Section 1 - building with bonuses during sieges
- "brotherhoodOfSword" : {
- "bonuses": [
- {
- "type": "MORALE",
- "val": 2
- }
- ]
- },
-
- "fountainOfFortune" : {
- "bonuses": [
- {
- "type": "LUCK",
- "val": 2
- }
- ]
- },
-
- "spellPowerGarrisonBonus" : {
- "bonuses": [
- {
- "type": "PRIMARY_SKILL",
- "subtype": "primarySkill.spellpower",
- "val": 2
- }
- ]
- },
-
- "attackGarrisonBonus" : {
- "bonuses": [
- {
- "type": "PRIMARY_SKILL",
- "subtype": "primarySkill.attack",
- "val": 2
- }
- ]
- },
-
- "defenseGarrisonBonus" : {
- "bonuses": [
- {
- "type": "PRIMARY_SKILL",
- "subtype": "primarySkill.defence",
- "val": 2
- }
- ]
- },
-
- "lighthouse" : {
- "bonuses": [
- {
- "propagator": "PLAYER",
- "type": "MOVEMENT",
- "subtype": "heroMovementSea",
- "val": 500
- }
- ]
- },
- // Section 2 - buildings that are visitable by hero
- "stables": {
- "configuration" : {
- "visitMode" : "bonus",
- "rewards" : [
- {
- "message" : "@core.genrltxt.580",
- "movePoints" : 400,
- "bonuses" : [ { "type" : "MOVEMENT", "subtype" : "heroMovementLand", "val" : 400, "valueType" : "ADDITIVE_VALUE", "duration" : "ONE_WEEK"} ]
- }
- ]
- }
- },
- "manaVortex": {
- "configuration" : {
- "resetParameters" : {
- "period" : 7,
- "visitors" : true
- },
- "visitMode" : "hero", // Should be 'once' to match (somewhat buggy) H3 logic
- "rewards" : [
- {
- "limiter" : {
- "noneOf" : [ { "manaPercentage" : 200 } ]
- },
- "message" : "@core.genrltxt.579",
- "manaPercentage" : 200
- }
- ]
- }
- },
- "attackVisitingBonus": {
- "configuration" : {
- "visitMode" : "hero",
- "rewards" : [
- {
- "message" : "@core.genrltxt.584",
- "primary" : { "attack" : 1 }
- }
- ]
- }
- },
-
- "defenceVisitingBonus": {
- "configuration" : {
- "visitMode" : "hero",
- "rewards" : [
- {
- "message" : "@core.genrltxt.585",
- "primary" : { "defence" : 1 }
- }
- ]
- }
- },
-
- "spellPowerVisitingBonus": {
- "configuration" : {
- "visitMode" : "hero",
- "rewards" : [
- {
- "message" : "@core.genrltxt.582",
- "primary" : { "spellpower" : 1 }
- }
- ]
- }
- },
- "knowledgeVisitingBonus": {
- "configuration" : {
- "visitMode" : "hero",
- "rewards" : [
- {
- "message" : "@core.genrltxt.581",
- "primary" : { "knowledge" : 1 }
- }
- ]
- }
- },
- "experienceVisitingBonus": {
- "configuration" : {
- "visitMode" : "hero",
- "rewards" : [
- {
- "message" : "@core.genrltxt.583",
- "heroExperience" : 1000
- }
- ]
- }
- },
-
- // Section 3 - markets
- "artifactMerchant" : {
- "requires" : [ "marketplace" ],
- "marketModes" : ["resource-artifact", "artifact-resource"]
- },
-
- "freelancersGuild" : {
- "requires" : [ "marketplace" ],
- "marketModes" : ["creature-resource"]
- },
-
- "magicUniversity" : {
- "marketModes" : ["resource-skill"]
- },
-
- "creatureTransformer" : {
- "marketModes" : ["creature-undead"]
- },
-
- // Section 4 - buildings that now have dedicated mechanics
- "ballistaYard": {
- "warMachine" : "ballista"
- },
-
- "thievesGuild" : {
- "bonuses": [
- {
- "propagator": "PLAYER",
- "type": "THIEVES_GUILD_ACCESS",
- "val": 2
- }
- ]
- },
-
- // Section 5 - H3 creature-related buildings
- "horde1" : { "id" : 18 },
- "horde1Upgr" : { "id" : 19, "mode" : "auto" },
- "horde2" : { "id" : 24 },
- "horde2Upgr" : { "id" : 25, "mode" : "auto" },
-
- "dwellingLvl1": { "id" : 30 },
- "dwellingLvl2": { "id" : 31 },
- "dwellingLvl3": { "id" : 32 },
- "dwellingLvl4": { "id" : 33 },
- "dwellingLvl5": { "id" : 34 },
- "dwellingLvl6": { "id" : 35 },
- "dwellingLvl7": { "id" : 36 },
- "dwellingUpLvl1": { "id" : 37 },
- "dwellingUpLvl2": { "id" : 38 },
- "dwellingUpLvl3": { "id" : 39 },
- "dwellingUpLvl4": { "id" : 40 },
- "dwellingUpLvl5": { "id" : 41 },
- "dwellingUpLvl6": { "id" : 42 },
- "dwellingUpLvl7": { "id" : 43 },
- // Section 6 - VCMI extended creature-related buildings
- "dwellingUp2Lvl1": { "id" : 44 },
- "dwellingUp2Lvl2": { "id" : 45 },
- "dwellingUp2Lvl3": { "id" : 46 },
- "dwellingUp2Lvl4": { "id" : 47 },
- "dwellingUp2Lvl5": { "id" : 48 },
- "dwellingUp2Lvl6": { "id" : 49 },
- "dwellingUp2Lvl7": { "id" : 50 },
- "dwellingUp3Lvl1": { "id" : 51 },
- "dwellingUp3Lvl2": { "id" : 52 },
- "dwellingUp3Lvl3": { "id" : 53 },
- "dwellingUp3Lvl4": { "id" : 54 },
- "dwellingUp3Lvl5": { "id" : 55 },
- "dwellingUp3Lvl6": { "id" : 56 },
- "dwellingUp3Lvl7": { "id" : 57 },
-
- "dwellingUp4Lvl1": { "id" : 58 },
- "dwellingUp4Lvl2": { "id" : 59 },
- "dwellingUp4Lvl3": { "id" : 60 },
- "dwellingUp4Lvl4": { "id" : 61 },
- "dwellingUp4Lvl5": { "id" : 62 },
- "dwellingUp4Lvl6": { "id" : 63 },
- "dwellingUp4Lvl7": { "id" : 64 },
-
- "dwellingUp5Lvl1": { "id" : 65 },
- "dwellingUp5Lvl2": { "id" : 66 },
- "dwellingUp5Lvl3": { "id" : 67 },
- "dwellingUp5Lvl4": { "id" : 68 },
- "dwellingUp5Lvl5": { "id" : 69 },
- "dwellingUp5Lvl6": { "id" : 70 },
- "dwellingUp5Lvl7": { "id" : 71 },
- "horde1Upgr2" : { "id" : 100, "mode" : "auto" },
- "horde1Upgr3" : { "id" : 101, "mode" : "auto" },
- "horde1Upgr4" : { "id" : 102, "mode" : "auto" },
- "horde1Upgr5" : { "id" : 103, "mode" : "auto" },
- "horde2Upgr2" : { "id" : 110, "mode" : "auto" },
- "horde2Upgr3" : { "id" : 111, "mode" : "auto" },
- "horde2Upgr4" : { "id" : 112, "mode" : "auto" },
- "horde2Upgr5" : { "id" : 113, "mode" : "auto" },
- "dwellingLvl8": { "id" : 150 },
- "dwellingUpLvl8": { "id" : 151 },
- "dwellingUp2Lvl8": { "id" : 152 },
- "dwellingUp3Lvl8": { "id" : 153 },
- "dwellingUp4Lvl8": { "id" : 154 },
- "dwellingUp5Lvl8": { "id" : 155 }
-
- }
|