Prototype/DeconstructionItem: Difference between revisions
Jump to navigation
Jump to search
m (link to base-game item) |
(→Optional properties: added numerical limits to entity_filter_count + tile_filter_count) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/SelectionTool}} | |||
A [[deconstruction planner]]. | A [[deconstruction planner]]. | ||
{{Prototype TOC|deconstruction-item}} | |||
== Optional properties == | == Optional properties == | ||
This prototype inherits all the properties from [[Prototype/SelectionTool]]. | This prototype inherits all the properties from [[Prototype/SelectionTool]]. | ||
{{Prototype property|entity_filter_count|[[Types/ItemStackIndex]]|0|optional=true}} | |||
Can't be > 255. | |||
' | {{Prototype property|tile_filter_count|[[Types/ItemStackIndex]]|0|optional=true}} | ||
Can't be > 255. | |||
== | == Mandatory values == | ||
Deconstruction planners must have a stack size of 1. | |||
''' | == Ignored properties == | ||
'''Prototype/DeconstructionItem''' ignores the following properties that it inherits from [[Prototype/SelectionTool]]: | |||
* selection_mode (forced to be "deconstruct") | |||
* alt_selection_mode (forced to be "cancel-deconstruct") | |||
* 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 13:30, 12 April 2021
Prototype definitions » PrototypeBase » Prototype/Item » Prototype/ItemWithLabel » Prototype/SelectionTool » Prototype/DeconstructionItem
Optional properties
This prototype inherits all the properties from Prototype/SelectionTool.
entity_filter_count
Type: Types/ItemStackIndex
Default: 0
Can't be > 255.
tile_filter_count
Type: Types/ItemStackIndex
Default: 0
Can't be > 255.
Mandatory values
Deconstruction planners must have a stack size of 1.
Ignored properties
Prototype/DeconstructionItem ignores the following properties that it inherits from Prototype/SelectionTool:
- selection_mode (forced to be "deconstruct")
- alt_selection_mode (forced to be "cancel-deconstruct")
- 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