Factorio Prototype DocsVersion 2.0.26

ItemToPlace :: struct Example code

Item that when placed creates this entity/tile.

Properties

item :: ItemID

The item used to place this entity/tile.

The item used to place this entity/tile.

count :: ItemCountType

How many items are used to place one of this entity/tile. [...]

How many items are used to place one of this entity/tile. [...]

Properties

item :: ItemID

The item used to place this entity/tile.

count :: ItemCountType

How many items are used to place one of this entity/tile. Can't be larger than the stack size of the item.

Example

{item = "iron-chest", count = 1}

Prototypes

Types

Defines