Mark objects for Deconstruction
Posted: Mon Mar 17, 2014 12:30 am
It would be highly useful to have a way for Lua to mark an object for deconstruction, similar to the Deconstruction Planner.
Use Cases:
entity.deconstruct(on=True)
True if object is waiting for deconstruction.
Use Cases:
- Automated harvesting of trees/crops (such as with a mod I am working on)
- Automated building removal (automated expansion?)
- Cancel deconstruction
entity.deconstruct(on=True)
- on: Whether the entity should set or unset deconstruction flag.
True if object is waiting for deconstruction.