Factorio Prototype DocsVersion 1.1.107

DecorativePrototype - 'optimized-decorative'

Simple decorative purpose objects on the map, they have no health and some of them are removed when the player builds over. Usually used for grass patches, roots, small plants etc.

Prototype limited to 255 total instances.

Inherits from PrototypeBase

Properties

pictures :: SpriteVariations

Must contain at least 1 picture.

Must contain at least 1 picture.

collision_box optional :: BoundingBox

Must contain the [0,0] point. [...]

Must contain the [0,0] point. [...]

render_layer optional :: RenderLayer
grows_through_rail_path optional :: bool
tile_layer optional :: int16

Mandatory if render_layer = "decals". [...]

Mandatory if render_layer = "decals". [...]

decal_overdraw_priority optional :: uint16

Loaded only if render_layer = "decals".

Loaded only if render_layer = "decals".

walking_sound optional :: Sound
trigger_effect optional :: TriggerEffect
autoplace optional :: AutoplaceSpecification
collision_mask optional :: CollisionMask

Inherited from PrototypeBase
type :: string

Specifies the kind of prototype this is. [...]

Specifies the kind of prototype this is. [...]

name :: string

Unique textual identification of the prototype. [...]

Unique textual identification of the prototype. [...]

order optional :: Order

Used to order prototypes in inventory, recipes and GUIs. [...]

Used to order prototypes in inventory, recipes and GUIs. [...]

localised_name optional :: LocalisedString

Overwrites the name set in the locale file. [...]

Overwrites the name set in the locale file. [...]

localised_description optional :: LocalisedString

Overwrites the description set in the locale file. [...]

Overwrites the description set in the locale file. [...]

Properties

pictures :: SpriteVariations

Must contain at least 1 picture.

collision_box :: BoundingBox optional

Must contain the [0,0] point. Max radius of the collision box is 8.

render_layer :: RenderLayer optional

Default: "decorative"

grows_through_rail_path :: bool optional

Default: false

tile_layer :: int16 optional

Default: 0

Mandatory if render_layer = "decals". This int16 is converted to a RenderLayer internally.

decal_overdraw_priority :: uint16 optional

Default: 0

Loaded only if render_layer = "decals".

walking_sound :: Sound optional

trigger_effect :: TriggerEffect optional

autoplace :: AutoplaceSpecification optional

collision_mask :: CollisionMask optional

Default: "doodad-layer"

Prototypes

Types