Prototype/ItemWithLabel

From Official Factorio Wiki
Revision as of 15:26, 24 July 2019 by Bilka (talk | contribs) (Set prototype parent)
Jump to navigation Jump to search

Prototype definitions » PrototypeBase » Prototype/Item » Prototype/ItemWithLabel


Basics

Prototype type: item-with-label

Like a normal item but with the ability to have a colored label. Extends Prototype/Item.

Extensions

Optional properties

This prototype inherits all the properties from Prototype/Item.

default_label_color

Type: Types/Color

Default: Default item text color

The default label color the item will use.

draw_label_for_cursor_render

Type: Types/bool

Default: false

If the item will draw its label when held in the cursor in place of the item count.