1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Restore aiValue for banks - used by VCAI

This commit is contained in:
Tomasz Zieliński 2024-05-05 18:12:38 +02:00
parent d90155b57c
commit 05ced35c58
2 changed files with 16 additions and 2 deletions

View File

@ -13,6 +13,7 @@
{ {
"index" : 0, "index" : 0,
"name" : "Cyclops Stockpile", "name" : "Cyclops Stockpile",
"aiValue" : 3000,
"sounds" : { "sounds" : {
"ambient" : ["LOOPCAVE"] "ambient" : ["LOOPCAVE"]
}, },
@ -30,6 +31,7 @@
{ "amount": 4, "type": "cyclop" }, { "amount": 4, "type": "cyclop" },
{ "amount": 4, "type": "cyclop" } { "amount": 4, "type": "cyclop" }
], ],
"reward" : { "reward" : {
"value": 10000, "value": 10000,
"resources": "resources":
@ -43,6 +45,7 @@
} }
} }
}, },
{ {
"chance": 30, "chance": 30,
"guards": [ "guards": [
@ -115,6 +118,7 @@
"index" : 1, "index" : 1,
"resetDuration" : 0, "resetDuration" : 0,
"name" : "Dwarven Treasury", "name" : "Dwarven Treasury",
"aiValue" : 2000,
"sounds" : { "sounds" : {
"ambient" : ["LOOPDWAR"] "ambient" : ["LOOPDWAR"]
}, },
@ -201,6 +205,7 @@
"index" : 2, "index" : 2,
"resetDuration" : 0, "resetDuration" : 0,
"name" : "Griffin Conservatory", "name" : "Griffin Conservatory",
"aiValue" : 9000,
"sounds" : { "sounds" : {
"ambient" : ["LOOPGRIF"] "ambient" : ["LOOPGRIF"]
}, },
@ -271,6 +276,7 @@
"index" : 3, "index" : 3,
"resetDuration" : 0, "resetDuration" : 0,
"name" : "Imp Cache", "name" : "Imp Cache",
"aiValue" : 1500,
"sounds" : { "sounds" : {
"ambient" : ["LOOPFIRE"] "ambient" : ["LOOPFIRE"]
}, },
@ -356,6 +362,7 @@
"index" : 4, "index" : 4,
"resetDuration" : 0, "resetDuration" : 0,
"name" : "Medusa Stores", "name" : "Medusa Stores",
"aiValue" : 1500,
"sounds" : { "sounds" : {
"ambient" : ["LOOPMEDU"] "ambient" : ["LOOPMEDU"]
}, },
@ -442,6 +449,7 @@
"index" : 5, "index" : 5,
"resetDuration" : 0, "resetDuration" : 0,
"name" : "Naga Bank", "name" : "Naga Bank",
"aiValue" : 3000,
"sounds" : { "sounds" : {
"ambient" : ["LOOPNAGA"] "ambient" : ["LOOPNAGA"]
}, },
@ -528,6 +536,7 @@
"index" : 6, "index" : 6,
"resetDuration" : 0, "resetDuration" : 0,
"name" : "Dragon Fly Hive", "name" : "Dragon Fly Hive",
"aiValue" : 9000,
"sounds" : { "sounds" : {
"ambient" : ["LOOPLEAR"] "ambient" : ["LOOPLEAR"]
}, },
@ -611,6 +620,7 @@
"blockedVisitable" : true, "blockedVisitable" : true,
"coastVisitable" : true, "coastVisitable" : true,
"name" : "Shipwreck", "name" : "Shipwreck",
"aiValue" : 2000,
"rmg" : { "rmg" : {
"value" : 2000, "value" : 2000,
"rarity" : 100 "rarity" : 100
@ -704,6 +714,7 @@
"resetDuration" : 0, "resetDuration" : 0,
"blockedVisitable" : true, "blockedVisitable" : true,
"name" : "Derelict Ship", "name" : "Derelict Ship",
"aiValue" : 4000,
"rmg" : { "rmg" : {
"value" : 4000, "value" : 4000,
"rarity" : 20 "rarity" : 20
@ -798,6 +809,7 @@
"index" : 0, "index" : 0,
"resetDuration" : 0, "resetDuration" : 0,
"name" : "Crypt", "name" : "Crypt",
"aiValue" : 1500,
"rmg" : { "rmg" : {
"value" : 1000, "value" : 1000,
"rarity" : 100 "rarity" : 100
@ -889,6 +901,7 @@
"index" : 0, "index" : 0,
"resetDuration" : 0, "resetDuration" : 0,
"name" : "Dragon Utopia", "name" : "Dragon Utopia",
"aiValue" : 11000,
"rmg" : { "rmg" : {
"value" : 10000, "value" : 10000,
"rarity" : 100 "rarity" : 100
@ -999,6 +1012,7 @@
"index" : 0, "index" : 0,
"resetDuration" : 0, "resetDuration" : 0,
"name" : "Pyramid", "name" : "Pyramid",
"aiValue" : 8000,
"rmg" : { "rmg" : {
"value" : 5000, "value" : 5000,
"rarity" : 20 "rarity" : 20

View File

@ -34,7 +34,7 @@ class DLL_LINKAGE AObjectTypeHandler : public boost::noncopyable
SObjectSounds sounds; SObjectSounds sounds;
std::optional<si32> aiValue; [[deprecated]] std::optional<si32> aiValue;
BattleField battlefield; BattleField battlefield;
std::string modScope; std::string modScope;