1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Merge pull request #4483 from vcmi/custom_objects_per_zone

Customizable objects in RMG zones
This commit is contained in:
DjWarmonger
2024-10-01 14:58:35 +02:00
committed by GitHub
21 changed files with 1144 additions and 199 deletions

View File

@@ -526,6 +526,11 @@ bool Rewardable::Info::givesBonuses() const
return testForKey(parameters, "bonuses");
}
bool Rewardable::Info::hasGuards() const
{
return testForKey(parameters, "guards");
}
const JsonNode & Rewardable::Info::getParameters() const
{
return parameters;