filter | :: "minable" or "autoplace" or "blueprintable" or "item-to-place" or "collision-mask" or "walking-speed-modifier" or "vehicle-friction-modifier" or "decorative-removal-probability" or "absorptions-per-second" | The condition to filter on. |
The condition to filter on. | ||
mode | :: "or" or "and" ? | How to combine this with the previous filter. Defaults to |
How to combine this with the previous filter. Defaults to | ||
invert | :: boolean? | Inverts the condition. Default is |
Inverts the condition. Default is |
Other attributes may be specified depending on filter
:
collision-mask
mask | :: CollisionLayerID or CollisionMask | Name of one layer or a full collision mask. |
Name of one layer or a full collision mask. | ||
mask_mode | :: "collides" or "layers-equals" or "contains-any" or "contains-all" | How to filter. |
How to filter. |
walking-speed-modifier
comparison | :: ComparatorString | |
value | :: double | The value to compare against. |
The value to compare against. |
vehicle-friction-modifier
comparison | :: ComparatorString | |
value | :: double | The value to compare against. |
The value to compare against. |
decorative-removal-probability
comparison | :: ComparatorString | |
value | :: float | The value to compare against. |
The value to compare against. |
absorptions-per-second
pollutant | :: string | The name of a pollutant type to check. |
The name of a pollutant type to check. | ||
comparison | :: ComparatorString | |
value | :: double | The value to compare against. |
The value to compare against. |