Tile deconstruction and blueprinting
Posted: Mon May 01, 2017 5:50 pm
It's currently not possible to ask for the deconstruction of specific tiles (or just tiles in an area).
It's also not possible to create a blueprint using LuaItemStack::create_blueprint with only tiles or to refuse to create the blueprint if only tiles are found
Proposal:
It's also not possible to create a blueprint using LuaItemStack::create_blueprint with only tiles or to refuse to create the blueprint if only tiles are found
Proposal:
- Add LuaTile::order_deconstruction(force)
- Add LuaTile::cancel_deconstruction(force)
- Add LuaTile::to_be_deconstructed()
- Change LuaSurface::(cancel_)deconstruct_area and LuaItemStack::create_blueprint:
- Add always_include_tiles to LuaSurface::(cancel_)deconstruct_area
- Add exclude_entities: if true, entities are not included in the blueprint/deconstruct
- Add exclude_tiles: similar to exclude_entities but for tiles, ignored if always_include_tiles is true because that would be confusing