1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/config/objects/rewardableOncePerHero.json

363 lines
6.3 KiB
JSON
Raw Normal View History

{
/// These are objects that covered by concept of "configurable object" and have their entire configuration in this config
"arena" : {
"index" : 4,
"handler": "configurable",
"base" : {
"sounds" : {
"ambient" : ["LOOPAREN"],
"visit" : ["NOMAD"]
}
},
"types" : {
"object" : {
"index" : 0,
"aiValue" : 3000,
"rmg" : {
"value" : 3000,
"rarity" : 50
},
"onSelectMessage" : 0,
"onVisitedMessage" : 1,
"visitMode" : "hero",
"selectMode" : "selectPlayer",
"rewards" : [
{
"primary" : { "attack" : 2 }
},
{
"primary" : { "defence" : 2 }
}
]
}
}
},
"marlettoTower" : {
"index" : 23,
"handler": "configurable",
"base" : {
"sounds" : {
"ambient" : ["LOOPSWAR"],
"visit" : ["NOMAD"]
}
},
"types" : {
"object" : {
"index" : 0,
"aiValue" : 1500,
"rmg" : {
"value" : 1500,
"rarity" : 100
},
"onVisitedMessage" : 40,
"visitMode" : "hero",
"selectMode" : "selectPlayer",
"rewards" : [
{
"message" : 39,
"primary" : { "defence" : 1 }
}
]
}
}
},
"gardenOfRevelation" : {
"index" : 32,
"handler": "configurable",
"base" : {
"sounds" : {
"ambient" : ["LOOPGARD"],
"visit" : ["GETPROTECTION"]
}
},
"types" : {
"object" : {
"index" : 0,
"aiValue" : 1500,
"rmg" : {
"value" : 1500,
"rarity" : 100
},
"onVisitedMessage" : 60,
"visitMode" : "hero",
"selectMode" : "selectPlayer",
"rewards" : [
{
"message" : 59,
"primary" : { "knowledge" : 1 }
}
]
}
}
},
"libraryOfEnlightenment" : {
"index" : 41,
"handler": "configurable",
"base" : {
"sounds" : {
"visit" : ["GAZEBO"]
}
},
"types" : {
"object" : {
"index" : 0,
"aiValue" : 12000,
"rmg" : {
"value" : 12000,
"rarity" : 20
},
"onVisitedMessage" : 67,
"onEmptyMessage" : 68,
"visitMode" : "hero",
"selectMode" : "selectFirst",
"rewards" : [
{
"limiter" : {
"minLevel" : 10
},
"message" : 59,
"primary" : {
"attack" : 2,
"defence" : 2,
"spellpower" : 2,
"knowledge" : 2
}
},
{
"limiter" : {
"minLevel" : 8,
"secondary" : { "diplomacy" : 1 }
},
"message" : 59,
"primary" : {
"attack" : 2,
"defence" : 2,
"spellpower" : 2,
"knowledge" : 2
}
},
{
"limiter" : {
"minLevel" : 6,
"secondary" : { "diplomacy" : 2 }
},
"message" : 59,
"primary" : {
"attack" : 2,
"defence" : 2,
"spellpower" : 2,
"knowledge" : 2
}
},
{
"limiter" : {
"minLevel" : 4,
"secondary" : { "diplomacy" : 3 }
},
"message" : 59,
"primary" : {
"attack" : 2,
"defence" : 2,
"spellpower" : 2,
"knowledge" : 2
}
}
]
}
}
},
"mercenaryCamp" : {
"index" : 51,
"handler": "configurable",
"base" : {
"sounds" : {
"ambient" : ["LOOPMERC"],
"visit" : ["NOMAD"]
}
},
"types" : {
"object" : {
"index" : 0,
"aiValue" : 1500,
"rmg" : {
"value" : 1500,
"rarity" : 100
},
"onVisitedMessage" : 81,
"visitMode" : "hero",
"selectMode" : "selectPlayer",
"rewards" : [
{
"message" : 80,
"primary" : { "attack" : 1 }
}
]
}
}
},
"starAxis" :{
"index" : 61,
"handler": "configurable",
"base" : {
"sounds" : {
"ambient" : ["LOOPSTAR"],
"visit" : ["GAZEBO"]
}
},
"types" : {
"object" : {
"index" : 0,
"aiValue" : 1500,
"rmg" : {
"value" : 1500,
"rarity" : 100
},
"onVisitedMessage" : 101,
"visitMode" : "hero",
"selectMode" : "selectPlayer",
"rewards" : [
{
"message" : 100,
"primary" : { "spellpower" : 1 }
}
]
}
}
},
"treeOfKnowledge" : {
"index" : 102,
"handler": "oncePerHero", //TODO: configurable
"base" : {
"sounds" : {
"visit" : ["GAZEBO"]
}
},
"types" : {
"object" : {
"index" : 0,
"aiValue" : 2500,
"rmg" : {
"mapLimit" : 100,
"value" : 2500,
"rarity" : 50
}
}
}
},
"schoolOfMagic" : {
"index" : 47,
"handler": "configurable",
"base" : {
"sounds" : {
"ambient" : ["LOOPMAGI"],
"visit" : ["FAERIE"]
}
},
"types" : {
"object" : {
"index" : 0,
"aiValue" : 1000,
"rmg" : {
"value" : 1000,
"rarity" : 50
},
"onSelectMessage" : 71,
"onVisitedMessage" : 72,
"onEmptyMessage" : 73,
"visitMode" : "hero",
"selectMode" : "selectPlayer",
"canRefuse" : true,
"rewards" : [
{
"limiter" : { "resources" : { "gold" : 1000 } },
"resources" : { "gold" : -1000 },
"primary" : { "spellpower" : 2 }
},
{
"limiter" : { "resources" : { "gold" : 1000 } },
"resources" : { "gold" : -1000 },
"primary" : { "knowledge" : 2 }
}
]
}
}
},
"schoolOfWar" : {
"index" : 107,
"handler": "configurable",
"base" : {
"sounds" : {
"ambient" : ["LOOPSWAR"],
"visit" : ["MILITARY"]
}
},
"types" : {
"object" : {
"index" : 0,
"aiValue" : 1000,
"rmg" : {
"value" : 1000,
"rarity" : 50
},
"onSelectMessage" : 158,
"onVisitedMessage" : 159,
"onEmptyMessage" : 160,
"visitMode" : "hero",
"selectMode" : "selectPlayer",
"canRefuse" : true,
"rewards" : [
{
"limiter" : { "resources" : { "gold" : 1000 } },
"resources" : { "gold" : -1000 },
"primary" : { "attack" : 1 }
},
{
"limiter" : { "resources" : { "gold" : 1000 } },
"resources" : { "gold" : -1000 },
"primary" : { "defence" : 1 }
}
]
}
}
},
"learningStone" : {
"index" : 100,
"handler": "configurable",
"base" : {
"sounds" : {
"ambient" : ["LOOPLEAR"],
"visit" : ["GAZEBO"]
}
},
"types" : {
"object" : {
"index" : 0,
"aiValue" : 1500,
"rmg" : {
"value" : 1500,
"rarity" : 200
},
"onVisitedMessage" : 144,
"visitMode" : "hero",
"selectMode" : "selectFirst",
"rewards" : [
{
"message" : 143,
"gainedExp" : 1000
}
]
}
}
},
}