1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/config/objects/rewardableOnceVisitable.json

189 lines
4.0 KiB
JSON
Raw Normal View History

2023-01-22 20:26:19 +02:00
{
/// These are objects that covered by concept of "configurable object" and have their entire configuration in this config
"leanTo" :{
"index" : 39,
"handler": "configurable",
"base" : {
"sounds" : {
"visit" : ["GENIE"]
}
},
"types" : {
"leanTo" : {
"index" : 0,
"aiValue" : 500,
"rmg" : {
"value" : 500,
"rarity" : 100
},
"compatibilityIdentifiers" : [ "object" ],
"onVisitedMessage" : 65,
2023-01-22 20:26:19 +02:00
"visitMode" : "once",
"selectMode" : "selectFirst",
"rewards" : [
{
"message" : 64,
"resources" : [
{
"anyOf" : [ "wood", "ore", "mercury", "gems", "sulfur", "crystal" ],
2023-01-22 20:26:19 +02:00
"min" : 1,
"max" : 5
}
]
}
]
2023-01-22 20:26:19 +02:00
}
}
},
"corpse" :{
"index" : 22,
"handler": "configurable",
"base" : {
2023-12-07 15:54:05 +02:00
"blockedVisitable" : true,
2023-01-22 20:26:19 +02:00
"sounds" : {
"visit" : ["MYSTERY"]
}
},
"types" : {
"corpse" : {
"index" : 0,
"aiValue" : 500,
"rmg" : {
"value" : 500,
"rarity" : 100
},
"compatibilityIdentifiers" : [ "object" ],
"onVisitedMessage" : 38,
2023-01-22 20:26:19 +02:00
"visitMode" : "once",
"selectMode" : "selectFirst",
"rewards" : [
{
"appearChance" : { "max" : 10 },
"message" : 37,
"artifacts" : [ { "class" : "TREASURE" } ]
},
{
"appearChance" : { "min" : 10, "max" : 20 },
"message" : 37,
"artifacts" : [ { "class" : "MINOR" } ]
2023-01-25 00:38:50 +02:00
},
{
"appearChance" : { "min" : 20, "max" : 100 },
"message" : 38,
2023-01-22 20:26:19 +02:00
}
]
}
}
},
"wagon" :{
"index" : 105,
"handler": "configurable",
"base" : {
"sounds" : {
"visit" : ["GENIE"]
}
},
"types" : {
"wagon" : {
"index" : 0,
"aiValue" : 500,
"rmg" : {
"value" : 500,
"rarity" : 50
},
"compatibilityIdentifiers" : [ "object" ],
"onVisitedMessage" : 156,
2023-01-22 20:26:19 +02:00
"visitMode" : "once",
"selectMode" : "selectFirst",
"rewards" : [
{
"appearChance" : { "max" : 20 },
"message" : 155,
"artifacts" : [ { "class" : "TREASURE" } ]
},
{
"appearChance" : { "min" : 20, "max" : 40 },
"message" : 155,
"artifacts" : [ { "class" : "MINOR" } ]
},
{
"message" : 154,
"appearChance" : { "min" : 40, "max" : 90 },
"resources" : [
{
"anyOf" : [ "wood", "ore", "mercury", "gems", "sulfur", "crystal" ],
2023-01-22 20:26:19 +02:00
"min" : 2,
"max" : 5
},
]
2023-01-25 00:38:50 +02:00
},
{
"appearChance" : { "min" : 90, "max" : 100 },
"message" : 156,
2023-01-22 20:26:19 +02:00
}
]
}
}
},
"warriorTomb" : {
"index" : 108,
"handler": "configurable",
"base" : {
"sounds" : {
"visit" : ["GRAVEYARD"]
}
},
"types" : {
"warriorTomb" : {
"index" : 0,
"aiValue" : 6000,
"rmg" : {
"value" : 6000,
"rarity" : 20
},
"compatibilityIdentifiers" : [ "object" ],
2023-01-22 20:26:19 +02:00
"onSelectMessage" : 161,
"visitMode" : "once",
"selectMode" : "selectFirst",
"onVisited" : [
{
"message" : 163,
"bonuses" : [ { "type" : "MORALE", "val" : -3, "duration" : "ONE_BATTLE", "description" : 104 } ]
}
],
2023-01-22 20:26:19 +02:00
"rewards" : [
{
"appearChance" : { "max" : 30 },
"message" : 162,
"artifacts" : [ { "class" : "TREASURE" } ],
"bonuses" : [ { "type" : "MORALE", "val" : -3, "duration" : "ONE_BATTLE", "description" : 104 } ]
2023-01-22 20:26:19 +02:00
},
{
"appearChance" : { "min" : 30, "max" : 80 },
"message" : 162,
"artifacts" : [ { "class" : "MINOR" } ],
"bonuses" : [ { "type" : "MORALE", "val" : -3, "duration" : "ONE_BATTLE", "description" : 104 } ]
2023-01-22 20:26:19 +02:00
},
{
"appearChance" : { "min" : 80, "max" : 95 },
"message" : 162,
"artifacts" : [ { "class" : "MAJOR" } ],
"bonuses" : [ { "type" : "MORALE", "val" : -3, "duration" : "ONE_BATTLE", "description" : 104 } ]
2023-01-22 20:26:19 +02:00
},
{
"appearChance" : { "min" : 95 },
"message" : 162,
"artifacts" : [ { "class" : "RELIC" } ],
"bonuses" : [ { "type" : "MORALE", "val" : -3, "duration" : "ONE_BATTLE", "description" : 104 } ]
2023-01-22 20:26:19 +02:00
}
]
}
}
}
}