Difference between revisions of "Map objects: Dwelling"

From VCMI Project Wiki
Jump to: navigation, search
(Created page with "This is description of fields for creature banks, part of Object Format <syntaxhighlight lang="javascript"> { /// List of creatures in this bank. Each list represents one...")
 
(Replaced content with "{{Template:MovedToWebpage|https://vcmi.eu/modders/Map_Objects/Dwelling/}}")
 
Line 1: Line 1:
This is description of fields for creature banks, part of [[Object Format]]
+
{{Template:MovedToWebpage|https://vcmi.eu/modders/Map_Objects/Dwelling/}}
<syntaxhighlight lang="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" : [
 
{ "amount" : 12, "type" : "earthElemental" }
 
]
 
}
 
</syntaxhighlight>
 

Latest revision as of 16:27, 16 July 2024

Logo256.png    Page moved to VCMI-Homepage