[0.17.49] cut-paste-tool ignores minable and not-deconstructable flag
Posted: Fri Jun 14, 2019 6:02 am
Background:
Using the cut-paste-tool should be identical to creating a blueprint of the area, and then selecting the same area for deconstruction with a deconstruction-planner with empty filter settings
Observed:
Setting an entity as not minable (entity.minable = false) or putting the 'not-deconstructable' flag in the entity prototype causes the entity to be ignored by deconstruction planners, and also prevents order_deconstruction from changing the state of the entity.
Using the cut-paste-tool on an entity that is not minable or has the not-deconstructable flag still marks the entity for deconstruction, which is incorrect. Since deconstruction planners ignore such entities, it is also not possible to un-mark them by the standard alt-drag-select method.
Expected:
The cut-paste-tool should ignore entities that are not-deconstructable or with minable=false, just as a deconstruction planner does.
Using the cut-paste-tool should be identical to creating a blueprint of the area, and then selecting the same area for deconstruction with a deconstruction-planner with empty filter settings
Observed:
Setting an entity as not minable (entity.minable = false) or putting the 'not-deconstructable' flag in the entity prototype causes the entity to be ignored by deconstruction planners, and also prevents order_deconstruction from changing the state of the entity.
Using the cut-paste-tool on an entity that is not minable or has the not-deconstructable flag still marks the entity for deconstruction, which is incorrect. Since deconstruction planners ignore such entities, it is also not possible to un-mark them by the standard alt-drag-select method.
Expected:
The cut-paste-tool should ignore entities that are not-deconstructable or with minable=false, just as a deconstruction planner does.