AutoplaceSpecification :: struct
| control optional | :: AutoplaceControlID | Name of the AutoplaceControl (row in the map generator GUI) that applies to this entity. |
Name of the AutoplaceControl (row in the map generator GUI) that applies to this entity. | ||
| default_enabled optional | :: boolean | Indicates whether the thing should be placed even if MapGenSettings do not provide frequency/size/richness for it. [...] |
Indicates whether the thing should be placed even if MapGenSettings do not provide frequency/size/richness for it. [...] | ||
| force optional | :: "enemy" or "player" or "neutral" or string | Force of the placed entity. [...] |
Force of the placed entity. [...] | ||
| order optional | :: Order | Order for placing the entity (has no effect when placing tiles). [...] |
Order for placing the entity (has no effect when placing tiles). [...] | ||
| placement_density optional | :: uint32 | For entities and decoratives, how many times to attempt to place on each tile. [...] |
For entities and decoratives, how many times to attempt to place on each tile. [...] | ||
| tile_restriction optional | :: array[TileIDRestriction] | Restricts tiles or tile transitions the entity can appear on. |
Restricts tiles or tile transitions the entity can appear on. | ||
| probability_expression | :: NoiseExpression | Provides a noise expression that will be evaluated at every point on the map to determine probability. |
Provides a noise expression that will be evaluated at every point on the map to determine probability. | ||
| richness_expression optional | :: NoiseExpression | If specified, provides a noise expression that will be evaluated to determine richness. [...] |
If specified, provides a noise expression that will be evaluated to determine richness. [...] | ||
| local_expressions optional | :: dictionary[string → NoiseExpression] | A map of expression name to expression. [...] |
A map of expression name to expression. [...] | ||
| local_functions optional | :: dictionary[string → NoiseFunction] | A map of function name to function. [...] |
A map of function name to function. [...] | ||


