1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
vcmi/config/bankconfig.json
Ivan Savenko ab475195ac Banks now use new scheme as well
- Implemented Bank Constructor object.
- Merged Pyramid object into common Bank class. Banks can now grant
spells as part of their reward.
- Move bank config code to config/objects/creatureBanks.json. Note: WoG
banks are not updated yet, should be moved to WoG mod.
- Updated AI code so it can correctly evaluate bank danger (should be
generic enough for use with other objects)
- New files JsonRandom.* that contain routines for loading random
objects from Json (still WiP but should be stable)
2014-06-22 13:39:40 +03:00

592 lines
14 KiB
JSON

//Resources: Wood, Mercury, Ore, Sulfur, Crystal, Gems, Gold
//Artifacts: Treasure, Minor, Major, Relic
//NOTE: all H3M banks were moved to objects/creatureBanks.json
//Remaining part should be moved to WoG mod
{
"banks": [
{
"name" : "Hunting Lodge",
"levels": [
{
"chance": 30,
"guards": [ { "number": 3, "id": 22 }, { "number": 4, "id": 18 }, { "number": 3, "id": 22 }, { "number": 4, "id": 18 } ],
"upgrade_chance": 0,
"combat_value": 100,
"reward_resources":
{
"wood" : 15,
"gold" : 500
},
"value": 2000,
"profitability": 20,
"easiest": 100
},
{
"chance": 30,
"guards": [ { "number": 4, "id": 22 }, { "number": 6, "id": 18 }, { "number": 4, "id": 22 }, { "number": 6, "id": 18 } ],
"upgrade_chance": 0,
"combat_value": 150,
"reward_resources":
{
"wood" : 20,
"gold" : 500
},
"value": 3000,
"profitability": 20,
"easiest": 100
},
{
"chance": 30,
"guards": [ { "number": 5, "id": 22 }, { "number": 8, "id": 18 }, { "number": 5, "id": 22 }, { "number": 8, "id": 18 } ],
"upgrade_chance": 0,
"combat_value": 200,
"reward_resources":
{
"wood" : 25,
"gold" : 500
},
"value": 4000,
"profitability": 20,
"easiest": 150
},
{
"chance": 10,
"guards": [ { "number": 6, "id": 22 }, { "number": 10, "id": 18 }, { "number": 6, "id": 22 }, { "number": 10, "id": 18 } ],
"upgrade_chance": 100,
"combat_value": 300,
"reward_resources":
{
"wood" : 40,
"gold" : 1000
},
"value": 6000,
"profitability": 20,
"easiest": 200
}
]
},
{
"name" : "Snow-covered Grotto",
"levels": [
{
"chance": 30,
"guards": [ { "number": 5, "id": 32 }, { "number": 20, "id": 29 }, { "number": 5, "id": 32 }, { "number": 20, "id": 29 } ],
"upgrade_chance": 0,
"combat_value": 100,
"reward_resources":
{
"ore" : 15,
"gold" : 500
},
"value": 2000,
"profitability": 20,
"easiest": 100
},
{
"chance": 30,
"guards": [ { "number": 6, "id": 32 }, { "number": 30, "id": 29 }, { "number": 6, "id": 32 }, { "number": 30, "id": 29 } ],
"upgrade_chance": 0,
"combat_value": 150,
"reward_resources":
{
"ore" : 20,
"gold" : 500
},
"value": 3000,
"profitability": 20,
"easiest": 100
},
{
"chance": 30,
"guards": [ { "number": 7, "id": 32 }, { "number": 40, "id": 29 }, { "number": 7, "id": 32 }, { "number": 40, "id": 29 } ],
"upgrade_chance": 0,
"combat_value": 200,
"reward_resources":
{
"ore" : 30,
"gold" : 500
},
"value": 4000,
"profitability": 20,
"easiest": 150
},
{
"chance": 10,
"guards": [ { "number": 8, "id": 32 }, { "number": 50, "id": 29 }, { "number": 8, "id": 32 }, { "number": 50, "id": 29 } ],
"upgrade_chance": 0,
"combat_value": 300,
"reward_resources":
{
"ore" : 40,
"gold" : 1000
},
"value": 6000,
"profitability": 20,
"easiest": 200
}
]
},
{
"name" : "Palace of Martial Spirit",
"levels": [
{
"chance": 30,
"guards": [ { "number": 10, "id": 160 }, { "number": 10, "id": 160 }, { "number": 10, "id": 160 }, { "number": 10, "id": 160 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 160 } ],
"value": 38000,
"profitability": 21,
"easiest": 100
},
{
"chance": 30,
"guards": [ { "number": 15, "id": 160 }, { "number": 15, "id": 160 }, { "number": 15, "id": 160 }, { "number": 15, "id": 160 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 160 } ],
"value": 57000,
"profitability": 26,
"easiest": 125
},
{
"chance": 30,
"guards": [ { "number": 20, "id": 160 }, { "number": 20, "id": 160 }, { "number": 20, "id": 160 }, { "number": 20, "id": 160 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 160 } ],
"value": 75000,
"profitability": 29,
"easiest": 145
},
{
"chance": 10,
"guards": [ { "number": 30, "id": 160 }, { "number": 30, "id": 160 }, { "number": 30, "id": 160 }, { "number": 30, "id": 160 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 160 } ],
"value": 90000,
"profitability": 27,
"easiest": 189
}
]
},
{
"name" : "Citadel of Pacification",
"levels": [
{
"chance": 30,
"guards": [ { "number": 10, "id": 161 }, { "number": 10, "id": 161 }, { "number": 10, "id": 161 }, { "number": 10, "id": 161 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 161 } ],
"value": 38000,
"profitability": 21,
"easiest": 100
},
{
"chance": 30,
"guards": [ { "number": 15, "id": 161 }, { "number": 15, "id": 161 }, { "number": 15, "id": 161 }, { "number": 15, "id": 161 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 161 } ],
"value": 57000,
"profitability": 26,
"easiest": 125
},
{
"chance": 30,
"guards": [ { "number": 20, "id": 161 }, { "number": 20, "id": 161 }, { "number": 20, "id": 161 }, { "number": 20, "id": 161 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 161 } ],
"value": 75000,
"profitability": 29,
"easiest": 145
},
{
"chance": 10,
"guards": [ { "number": 30, "id": 161 }, { "number": 30, "id": 161 }, { "number": 30, "id": 161 }, { "number": 30, "id": 161 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 161 } ],
"value": 90000,
"profitability": 27,
"easiest": 189
}
]
},
{
"name" : "Monastery of Magicians",
"levels": [
{
"chance": 30,
"guards": [ { "number": 10, "id": 162 }, { "number": 10, "id": 162 }, { "number": 10, "id": 162 }, { "number": 10, "id": 162 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 162 } ],
"value": 38000,
"profitability": 21,
"easiest": 100
},
{
"chance": 30,
"guards": [ { "number": 15, "id": 162 }, { "number": 15, "id": 162 }, { "number": 15, "id": 162 }, { "number": 15, "id": 162 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 162 } ],
"value": 57000,
"profitability": 26,
"easiest": 125
},
{
"chance": 30,
"guards": [ { "number": 20, "id": 162 }, { "number": 20, "id": 162 }, { "number": 20, "id": 162 }, { "number": 20, "id": 162 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 162 } ],
"value": 75000,
"profitability": 29,
"easiest": 145
},
{
"chance": 10,
"guards": [ { "number": 30, "id": 162 }, { "number": 30, "id": 162 }, { "number": 30, "id": 162 }, { "number": 30, "id": 162 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 162 } ],
"value": 90000,
"profitability": 27,
"easiest": 189
}
]
},
{
"name" : "Library of Legends",
"levels": [
{
"chance": 30,
"guards": [ { "number": 10, "id": 163 }, { "number": 10, "id": 163 }, { "number": 10, "id": 163 }, { "number": 10, "id": 163 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 163 } ],
"value": 38000,
"profitability": 21,
"easiest": 100
},
{
"chance": 30,
"guards": [ { "number": 15, "id": 163 }, { "number": 15, "id": 163 }, { "number": 15, "id": 163 }, { "number": 15, "id": 163 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 163 } ],
"value": 57000,
"profitability": 26,
"easiest": 125
},
{
"chance": 30,
"guards": [ { "number": 20, "id": 163 }, { "number": 20, "id": 163 }, { "number": 20, "id": 163 }, { "number": 20, "id": 163 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 163 } ],
"value": 75000,
"profitability": 29,
"easiest": 145
},
{
"chance": 10,
"guards": [ { "number": 30, "id": 163 }, { "number": 30, "id": 163 }, { "number": 30, "id": 163 }, { "number": 30, "id": 163 } ],
"upgrade_chance": 0,
"combat_value": 2000,
"reward_creatures": [ { "number": 1, "id": 163 } ],
"value": 90000,
"profitability": 27,
"easiest": 189
}
]
},
{
"name" : "Transylvanian Tavern",
"levels": [
{
"chance": 30,
"guards": [ { "number": 10, "id": 62 } ],
"upgrade_chance": 0,
"combat_value": 100,
"reward_resources":
{
"gold" : 1500
},
"reward_creatures": [ { "number": 3, "id": 63 } ],
"value": 2000,
"profitability": 10,
"easiest": 100
},
{
"chance": 30,
"guards": [ { "number": 15, "id": 62 } ],
"upgrade_chance": 0,
"combat_value": 150,
"reward_resources":
{
"gold" : 2500
},
"reward_creatures": [ { "number": 5, "id": 63 } ],
"value": 3000,
"profitability": 10,
"easiest": 125
},
{
"chance": 30,
"guards": [ { "number": 20, "id": 62 } ],
"upgrade_chance": 0,
"combat_value": 200,
"reward_resources":
{
"gold" : 3500
},
"reward_creatures": [ { "number": 7, "id": 63 } ],
"value": 4000,
"profitability": 10,
"easiest": 145
},
{
"chance": 10,
"guards": [ { "number": 30, "id": 62 } ],
"upgrade_chance": 0,
"combat_value": 250,
"reward_resources":
{
"gold" : 5000
},
"reward_creatures": [ { "number": 9, "id": 63 } ],
"value": 5000,
"profitability": 10,
"easiest": 189
}
]
},
{
"name" : "Home of the Bat",
"levels": [
{
"chance": 30,
"guards": [ { "number": 10, "id": 62 } ],
"upgrade_chance": 50,
"combat_value": 100,
"reward_resources":
{
"mercury" : 2,
"sulfur" : 2,
"crystal" : 2,
"gems" : 2
},
"reward_creatures": [ { "number": 3, "id": 63 } ],
"value": 2000,
"profitability": 10,
"easiest": 100
},
{
"chance": 30,
"guards": [ { "number": 15, "id": 62 } ],
"upgrade_chance": 70,
"combat_value": 150,
"reward_resources":
{
"mercury" : 3,
"sulfur" : 3,
"crystal" : 3,
"gems" : 3
},
"reward_creatures": [ { "number": 5, "id": 63 } ],
"value": 3000,
"profitability": 10,
"easiest": 125
},
{
"chance": 30,
"guards": [ { "number": 20, "id": 62 } ],
"upgrade_chance": 80,
"combat_value": 200,
"reward_resources":
{
"mercury" : 4,
"sulfur" : 4,
"crystal" : 4,
"gems" : 4
},
"reward_creatures": [ { "number": 7, "id": 63 } ],
"value": 4000,
"profitability": 10,
"easiest": 145
},
{
"chance": 10,
"guards": [ { "number": 30, "id": 62 } ],
"upgrade_chance": 90,
"combat_value": 250,
"reward_resources":
{
"mercury" : 5,
"sulfur" : 5,
"crystal" : 5,
"gems" : 5
},
"reward_creatures": [ { "number": 9, "id": 63 } ],
"value": 5000,
"profitability": 10,
"easiest": 189
}
]
},
{
"name" : "Lost Bottle",
"levels": [
{
"chance": 30,
"guards": [ { "number": 10, "id": 36 } ],
"upgrade_chance": 50,
"combat_value": 100,
"reward_resources":
{
"mercury" : 2,
"sulfur" : 2,
"crystal" : 2,
"gems" : 2
},
"reward_creatures": [ { "number": 3, "id": 36 } ],
"value": 2000,
"profitability": 10,
"easiest": 100
},
{
"chance": 30,
"guards": [ { "number": 15, "id": 36 } ],
"upgrade_chance": 70,
"combat_value": 150,
"reward_resources":
{
"mercury" : 3,
"sulfur" : 3,
"crystal" : 3,
"gems" : 3
},
"reward_creatures": [ { "number": 5, "id": 36 } ],
"value": 3000,
"profitability": 10,
"easiest": 125
},
{
"chance": 30,
"guards": [ { "number": 20, "id": 36 } ],
"upgrade_chance": 80,
"combat_value": 200,
"reward_resources":
{
"mercury" : 4,
"sulfur" : 4,
"crystal" : 4,
"gems" : 4
},
"reward_creatures": [ { "number": 7, "id": 36 } ],
"value": 4000,
"profitability": 10,
"easiest": 145
},
{
"chance": 10,
"guards": [ { "number": 30, "id": 36 } ],
"upgrade_chance": 90,
"combat_value": 250,
"reward_resources":
{
"mercury" : 5,
"sulfur" : 5,
"crystal" : 5,
"gems" : 5
},
"reward_creatures": [ { "number": 9, "id": 36 } ],
"value": 5000,
"profitability": 10,
"easiest": 189
}
]
},
{
"name" : "Grotto",
"levels": [
{
"chance": 30,
"guards": [ { "number": 3, "id": 72 }, { "number": 3, "id": 74 }, { "number": 3, "id": 72 }, { "number": 3, "id": 74 } ],
"upgrade_chance": 0,
"combat_value": 200,
"reward_resources":
{
"ore" : 20,
"gold" : 1000
},
"value": 2000,
"profitability": 20,
"easiest": 100
},
{
"chance": 30,
"guards": [ { "number": 4, "id": 72 }, { "number": 4, "id": 74 }, { "number": 4, "id": 72 }, { "number": 4, "id": 74 } ],
"upgrade_chance": 0,
"combat_value": 300,
"reward_resources":
{
"ore" : 25,
"gold" : 1000
},
"value": 3000,
"profitability": 20,
"easiest": 150
},
{
"chance": 30,
"guards": [ { "number": 5, "id": 72 }, { "number": 5, "id": 74 }, { "number": 5, "id": 72 }, { "number": 5, "id": 74 } ],
"upgrade_chance": 0,
"combat_value": 400,
"reward_resources":
{
"ore" : 30,
"gold" : 1500
},
"value": 4000,
"profitability": 20,
"easiest": 200
},
{
"chance": 10,
"guards": [ { "number": 6, "id": 72 }, { "number": 6, "id": 74 }, { "number": 6, "id": 72 }, { "number": 6, "id": 74 } ],
"upgrade_chance": 0,
"combat_value": 500,
"reward_resources":
{
"ore" : 35,
"gold" : 2000
},
"value": 5000,
"profitability": 20,
"easiest": 250
}
]
}
]
}