Factorio Prototype DocsVersion 1.1.107

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 :: uint32

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 :: uint32

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