Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# ItemPrototypeFlags - Prototype Docs

## ItemPrototypeFlags :: array[union]

An array containing the following values.

#### Union members

`"draw-logistic-overlay"` | Whether the logistics areas of roboports should be drawn when holding this item. Used for example by the deconstruction planner.
`"excluded-from-trash-unrequested"` | Whether the trash-unrequested feature skips this item.
`"always-show"` | Always show the item in selection lists (item filter, logistic request etc.) even when locked recipe for that item is present.
`"hide-from-bonus-gui"` | Item will not appear in the bonus gui.
`"hide-from-fuel-tooltip"` | Item will not appear in the tooltips shown when hovering over a burner inventory with the fuel category the item is in.
`"not-stackable"` | The item can never be stacked. Additionally, the item does not show an item count when in the cursor. This also prevents the item from stacking in assembling machine input slots, which otherwise can exceed the item stack size if required by the recipe.
`"primary-place-result"` | Item will be preferred by construction bots when building the entity specified by the item's place_result.
`"mod-openable"` | Allows the item to be opened by the player, firing the on_mod_item_opened event.
`"only-in-cursor"` | Item is deleted when removed from the cursor by pressing `Q` ("clear cursor"). Used for example by the copy/paste tools.
`"spawnable"` | Item is able to be spawned by a ShortcutPrototype or CustomInputPrototype.
`"spoil-result"` |
`"ignore-spoil-time-modifier"` | Controls whether the spoil time ignores the spoil time modifier in the DifficultySettings.

Type used in

- ItemPrototype::flags