Prototype/DeconstructionItem: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Basics == Extends Prototype/SelectionTool. == Optional properties == This prototype inherits all the properties from Prototype/SelectionTool. === entity_filter_co...") |
(Ignored properties, show_in_library update/fixes) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/SelectionTool}} | |||
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}} | |||
{{Prototype property|tile_filter_count|[[Types/ItemStackIndex]]|0|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 == | |||
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 |
Revision as of 08:17, 20 April 2020
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
tile_filter_count
Type: Types/ItemStackIndex
Default: 0
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
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