Factorio Runtime DocsVersion 2.0.20

ItemStackDefinition :: table

Table fields

name :: string

Prototype name of the item the stack holds.

Prototype name of the item the stack holds.

count :: ItemCountType?

Number of items the stack holds. Defaults to 1.

Number of items the stack holds. Defaults to 1.

quality :: string?

Quality of the item the stack holds. Defaults to "normal".

Quality of the item the stack holds. Defaults to "normal".

health :: float?

Health of the items in the stack. Defaults to 1.0.

Health of the items in the stack. Defaults to 1.0.

durability :: double?

Durability of the tool items in the stack.

Durability of the tool items in the stack.

ammo :: float?

Amount of ammo in the ammo items in the stack.

Amount of ammo in the ammo items in the stack.

tags :: array[string]?

Tags of the items with tags in the stack.

Tags of the items with tags in the stack.

custom_description :: LocalisedString?

Description of the items with tags in the stack.

Description of the items with tags in the stack.

spoil_percent :: double?

The spoil percent for this item if the item can spoil. Defaults to 0.

The spoil percent for this item if the item can spoil. Defaults to 0.

Classes

Concepts

Events

Defines