Factorio Prototype DocsVersion 1.1.107

GiveItemModifier :: struct

Inherits from BaseModifier

Properties

type :: "give-item"
use_icon_overlay_constant optional :: bool

If false, do not draw the small "constant" icon over the technology effect icon.

If false, do not draw the small "constant" icon over the technology effect icon.

item :: ItemID
count optional :: ItemCountType

Must be > 0.

Must be > 0.

Inherited from BaseModifier
icons optional :: array[IconData]

Can't be an empty array.

Can't be an empty array.

icon optional :: FileName

Path to the icon file. [...]

Path to the icon file. [...]

icon_size optional :: SpriteSizeType

The size of the square icon, in pixels. [...]

The size of the square icon, in pixels. [...]

icon_mipmaps optional :: IconMipMapType

Icons of reduced size will be used at decreased scale.

Icons of reduced size will be used at decreased scale.

Properties

type :: "give-item"

use_icon_overlay_constant :: bool optional

Default: false

If false, do not draw the small "constant" icon over the technology effect icon.

item :: ItemID

count :: ItemCountType optional

Default: 1

Must be > 0.


Type used in

Prototypes

Types