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

# Factorio Runtime Docs Version 2.0.77

# ItemPrototypeFlag - Runtime Docs

## ItemPrototypeFlag :: union

A string specifying an item prototype flag.

#### Union members

`"draw-logistic-overlay"` | Determines whether the logistics areas of roboports should be drawn when holding this item. Used by the deconstruction planner by default.
`"excluded-from-trash-unrequested"` | If this item is skipped by the trash-unrequested logic.
`"always-show"` | Always shows the item in the logistic requests and filters GUIs (among others) even when the recipe for that item is locked.
`"hide-from-bonus-gui"` | Hides the item from the bonus GUI.
`"hide-from-fuel-tooltip"` | Hides the item from the tooltip that's shown when hovering over a burner inventory.
`"not-stackable"` | Prevents the item from being stacked. It also prevents the item from stacking in assembling machine input slots, which can otherwise exceed the item stack size if required by the recipe. Additionally, the item does not show an item count when in the cursor.
`"primary-place-result"` | Makes construction bots prefer this item when building the entity specified by its `place_result`.
`"mod-openable"` | Allows the item to be opened by the player, firing the on_mod_item_opened event.
`"only-in-cursor"` | Makes it so the item is deleted when clearing the cursor, instead of being put into the player's inventory. The copy-paste tools use this by default, for example.
`"spawnable"` | Allows the item to be spawned by a quickbar shortcut or custom input.
`"spoil-result"` |
`"ignore-spoil-time-modifier"` | Controls whether the spoil time ignores the spoil time modifier in the DifficultySettings.

Concept used in

- LuaItemPrototype::has_flag()
- ItemPrototypeFilter
- ItemPrototypeFlags