1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-16 10:19:47 +02:00
vcmi/docs/modders/Map_Objects/Dwelling.md
2023-09-13 21:55:36 +03:00

22 lines
872 B
Markdown

< [Documentation](../../Readme.md) / [Modding](../Readme.md) / [Map Object Format](../Map_Object_Format.md) / Dwelling
``` javascript
{
/// List of creatures in this bank. Each list represents one "level" of bank
/// Creatures on the same level will have shared growth and available number (similar to towns)
/// Note that due to GUI limitation it is not recommended to have more than 4 creatures at once
"creatures" : [
[ "airElemental", "stormElemental" ],
[ "waterElemental" ]
],
/// List of guards for this dwelling. Can have two possible values:
/// Boolean true/false - If set to "true", guards will be generated using H3 formula:
/// 3 week growth of first available creatures
/// List of objects - custom guards, each entry represent one stack in defender army
"guards" : true,
"guards" : [
{ "amount" : 12, "type" : "earthElemental" }
]
}
```