mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
kingdom overview dwellings for mods
This commit is contained in:
@@ -55,6 +55,7 @@ void DwellingInstanceConstructor::initTypeData(const JsonNode & input)
|
||||
}
|
||||
guards = input["guards"];
|
||||
bannedForRandomDwelling = input["bannedForRandomDwelling"].Bool();
|
||||
kingdomOverviewImage = AnimationPath::fromJson(input["kingdomOverviewImage"]);
|
||||
|
||||
for (const auto & mapTemplate : getTemplates())
|
||||
onTemplateAdded(mapTemplate);
|
||||
@@ -179,4 +180,9 @@ std::vector<const CCreature *> DwellingInstanceConstructor::getProducedCreatures
|
||||
return creatures;
|
||||
}
|
||||
|
||||
AnimationPath DwellingInstanceConstructor::getKingdomOverviewImage() const
|
||||
{
|
||||
return kingdomOverviewImage;
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
||||
Reference in New Issue
Block a user