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

# Factorio Prototype Docs Version 2.0.77

# ItemToPlace - Prototype Docs

## ItemToPlace :: struct Example code

Item that when placed creates this entity/tile.

## Properties

- default
- sorted

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. [...]

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. [...]
item | :: ItemID | The item used to place this entity/tile.
The item used to place 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}

Type used in

- EntityPrototype::placeable_by
- TilePrototype::placeable_by