Prototype/ItemWithLabel: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.16)
(added extensions)
Line 1: Line 1:
==Basics==
==Basics==
Like a normal item but with the ability to have a colored label. Extends [[Prototype/Item]].
Like a normal item but with the ability to have a colored label. Extends [[Prototype/Item]].
== Extensions ==
* [[Prototype/ItemWithInventory]] '''item-with-inventory'''
** [[Prototype/BlueprintBook]] '''blueprint-book'''
* [[Prototype/ItemWithTags]] '''item-with-tags'''
* [[Prototype/SelectionTool]] '''selection-tool'''
** [[Prototype/BlueprintItem]] '''blueprint'''
** [[Prototype/DeconstructionItem]] '''deconstruction-item'''


== Optional properties ==
== Optional properties ==

Revision as of 15:18, 21 January 2019

Basics

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.