Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# TileBuildabilityRule - Prototype Docs

## TileBuildabilityRule :: struct

Defines restrictions on what tiles an entity can or must be built on.

Note that once the entity has been placed, placing new tiles is not always restricted by these rules for performance reasons. In particular, for most entities these rules are only checked when placing tiles within the collision box of the entity. The exception to this are thrusters and asteroid collectors, for which the rules are always checked.

## Properties

- default
- sorted

area | :: SimpleBoundingBox |
required_tiles optional | :: CollisionMaskConnector |
colliding_tiles optional | :: CollisionMaskConnector |
remove_on_collision optional | :: boolean |

area | :: SimpleBoundingBox |
colliding_tiles optional | :: CollisionMaskConnector |
remove_on_collision optional | :: boolean |
required_tiles optional | :: CollisionMaskConnector |

## Properties

### area :: SimpleBoundingBox

### required_tiles :: CollisionMaskConnector optional

Default: Any mask

### colliding_tiles :: CollisionMaskConnector optional

Default: No masks

### remove_on_collision :: boolean optional

Default: `false`

Type used in

- EntityPrototype::tile_buildability_rules