Prototype/UpgradeItem: Difference between revisions
Jump to navigation
Jump to search
(Converted to SMW format) |
(1.1: show_in_library removed) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/SelectionTool}} | {{Prototype parent|Prototype/SelectionTool}} | ||
An [[upgrade planner]]. | |||
{{Prototype TOC|upgrade-item}} | {{Prototype TOC|upgrade-item}} | ||
Line 9: | Line 9: | ||
{{Prototype property|mapper_count|[[Types/ItemStackIndex|ItemStackIndex]]|0|optional=true}} | {{Prototype property|mapper_count|[[Types/ItemStackIndex|ItemStackIndex]]|0|optional=true}} | ||
Can't be > 255. | Can't be > 255. | ||
== 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 |
Latest revision as of 16:47, 3 February 2021
Prototype definitions » PrototypeBase » Prototype/Item » Prototype/ItemWithLabel » Prototype/SelectionTool » Prototype/UpgradeItem
An upgrade planner.
Optional properties
This prototype inherits all the properties from Prototype/SelectionTool.
mapper_count
Type: ItemStackIndex
Default: 0
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