Prototype/UpgradeItem: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Converted to SMW format)
(Ignored properties, show_in_library update/fixes)
Line 10: Line 10:
Can't be > 255.
Can't be > 255.


{{Prototype property|show_in_library|[[Types/bool|bool]]|true|optional=true}}
== Differing defaults ==
<code>show_in_library</code> defaults to true instead of false. <code>show_in_library</code> is unused as of 0.18.13 as the ability to show any selection tools in the blueprint library was removed.


== Mandatory values ==
== Mandatory values ==
Upgrade items must have a stack size of 1.
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

Revision as of 08:17, 20 April 2020

Template:Prototype parent A upgrade planner.

Template:Prototype TOC

Optional properties

This prototype inherits all the properties from Prototype/SelectionTool.

Template:Prototype property Can't be > 255.

Differing defaults

show_in_library defaults to true instead of false. show_in_library is unused as of 0.18.13 as the ability to show any selection tools in the blueprint library was removed.

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