| 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 | :: bool |
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 optional | :: NoiseExpression |
If specified, provides a noise expression that will be evaluated at every point on the map to determine probability. |
|
If specified, 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. |
||
| peaks optional | :: array[AutoplacePeak] |
|
| sharpness optional | :: double |
Parameter of the sharpness filter for post-processing probability of entity placement. |
|
Parameter of the sharpness filter for post-processing probability of entity placement. |
||
| max_probability optional | :: double |
Multiplier for output of the sharpness filter. |
|
Multiplier for output of the sharpness filter. |
||
| richness_base optional | :: double |
Base Richness. |
|
Base Richness. |
||
| richness_multiplier optional | :: double |
See |
|
See |
||
| richness_multiplier_distance_bonus optional | :: double |
Bonus to richness multiplier per tile of distance from starting point. |
|
Bonus to richness multiplier per tile of distance from starting point. |
||
| random_probability_penalty optional | :: double |
A random value between |
|
A random value between |
||
| coverage optional | :: double |
Sets a fraction of surface that should be covered by this item. |
|
Sets a fraction of surface that should be covered by this item. |
||
| starting_area_amount optional | :: uint32 |
If this value is non zero, influence of this entity will be calculated differently in starting area: For each entity with this parameter a position in starting area is selected and a blob is placed centered on this position. |
|
If this value is non zero, influence of this entity will be calculated differently in starting area: For each entity with this parameter a position in starting area is selected and a blob is placed centered on this position. |
||
| starting_area_size optional | :: double |
See |
|
See |
||
"enemy" or
"player" or
"neutral" or
string
optional
Example of sharpness filter with value 0.5.