Prototype/UpgradeItem: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Migrated prototype doc to separate website)
(Removed old prototype docs)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''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 https://lua-api.factorio.com/latest/prototypes/UpgradeItemPrototype.html]
<div class="stub"><p>'''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 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 [https://forums.factorio.com/viewforum.php?f=233 on the forums].
</p><p>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 [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
 
 
 
{{Prototype parent|Prototype/SelectionTool}}
An [[upgrade planner]].
 
{{Prototype TOC|upgrade-item}}
 
== Optional properties ==
This prototype inherits all the properties from [[Prototype/SelectionTool]].
 
{{Prototype property|mapper_count|[[Types/ItemStackIndex|ItemStackIndex]]|0|optional=true}}
Can't be > 255.
 
== Mandatory values ==
Upgrade items must have a stack size of 1.
 
== Ignored properties ==
'''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)
* entity_filters
* entity_type_filters
* tile_filters
* entity_filter_mode
* tile_filter_mode
* alt_entity_filters
* alt_entity_type_filters
* alt_tile_filters
* alt_entity_filter_mode
* alt_tile_filter_mode

Latest revision as of 14:33, 25 October 2024

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.