The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/UpgradeItemPrototype.html
This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.
An upgrade planner.
This prototype inherits all the properties from Prototype/SelectionTool.
Can't be > 255.
Upgrade items must have a stack size of 1.
Prototype/UpgradeItem ignores the following properties that it inherits from Prototype/SelectionTool:
- selection_mode (forced to be "upgrade")
- alt_selection_mode (forced to be "cancel-upgrade")
- always_include_tiles (forced to be false)