Factorio Prototype DocsVersion 2.0.59

CustomTooltipField :: struct

Allows to add extra description items to the tooltip.

Properties

name :: LocalisedString
value :: LocalisedString
quality_header optional :: string
quality_values optional :: dictionary[QualityID → LocalisedString]

Custom values per quality level. [...]

Custom values per quality level. [...]

order optional :: uint8

Ordering within all description items (modded and unmodded). [...]

Ordering within all description items (modded and unmodded). [...]

show_in_factoriopedia optional :: boolean
show_in_tooltip optional :: boolean

Properties

value :: LocalisedString

quality_header :: string optional

Default: "quality-tooltip.increases"

quality_values :: dictionary[QualityID → LocalisedString] optional

Custom values per quality level. If a value is not provided for a specific quality, CustomTooltipField::value will be used instead.

order :: uint8 optional

Default: 100

Ordering within all description items (modded and unmodded). Items with smaller order values are shown above items with larger values.

show_in_factoriopedia :: boolean optional

Default: true

show_in_tooltip :: boolean optional

Default: true

Prototypes

Types

Defines