Prototype of a tile.
name :: string [R] | Name of this prototype. |
order :: string [R] | Order string of this prototype. |
localised_name :: LocalisedString [R] | |
localised_description :: LocalisedString [R] | |
collision_mask :: CollisionMask [R] | The collision mask this tile uses |
collision_mask_with_flags :: CollisionMaskWithFlags [R] | |
layer :: uint [R] | |
autoplace_specification :: AutoplaceSpecification [R] | Autoplace specification for this prototype. |
walking_speed_modifier :: float [R] | |
vehicle_friction_modifier :: float [R] | |
map_color :: Color [R] | |
decorative_removal_probability :: float [R] | The probability that decorative entities will be removed from on top of this tile when this tile is generated. |
automatic_neighbors :: boolean [R] | |
allowed_neighbors :: dictionary[string → LuaTilePrototype] [R] | |
needs_correction :: boolean [R] | If this tile needs correction logic applied when it's generated in the world. |
mineable_properties :: table [R] | |
next_direction :: LuaTilePrototype [R] | The next direction of this tile or nil - used when a tile has multiple directions (such as hazard concrete)
|
items_to_place_this :: array[SimpleItemStack] [R] | Items that when placed will produce this tile. |
can_be_part_of_blueprint :: boolean [R] | False if this tile is not allowed in blueprints regardless of the ability to build it. |
emissions_per_second :: double [R] | Amount of pollution emissions per second this tile will absorb. |
valid :: boolean [R] | Is this object valid? |
object_name :: string [R] | The class name of this object. |
help() → string | All methods and properties that this object supports. |
Name of this prototype.
Order string of this prototype.
The collision mask this tile uses
Autoplace specification for this prototype. nil
if none.
The probability that decorative entities will be removed from on top of this tile when this tile is generated.
If this tile needs correction logic applied when it's generated in the world..
Table with the following fields:
The next direction of this tile or nil
- used when a tile has multiple directions (such as hazard concrete)
Items that when placed will produce this tile. It is a dictionary indexed by the item prototype name.
False if this tile is not allowed in blueprints regardless of the ability to build it.
Amount of pollution emissions per second this tile will absorb.