Factorio Prototype DocsVersion 2.0.26

LootItem :: struct

The items generated when an EntityWithHealthPrototype is killed.

Properties

item :: ItemID

The item to spawn.

The item to spawn.

probability optional :: double

0 is 0% and 1 is 100%. [...]

0 is 0% and 1 is 100%. [...]

count_min optional :: double
count_max optional :: double

Must be > 0.

Must be > 0.

Properties

item :: ItemID

The item to spawn.

probability :: double optional

Default: 1

0 is 0% and 1 is 100%. Must be > 0.

count_min :: double optional

Default: 1

count_max :: double optional

Default: 1

Must be > 0.

Prototypes

Types

Defines