Ghost Component Construction/Destruction

by m3henry
Allows building entities from component items. Place a ghost of an entity with a blueprint/shift-click. The building will be constructed if the player has enough items in their inventory to craft it. When mining a building, it will be disassembled back to its component form. NOTE: not currently compatible with entities whose names differ from the recipe name. Robots are unaffected for now.
12 days ago
0.16
28
Owner: m3henry
Source: N/A
Homepage: https://forums.factorio.com/viewtopic...
License: MIT
Created: 12 days ago
Latest Version: 0.1.0 (12 days ago)
Factorio version: 0.16
Downloaded: 28 times

Allows a player to construct an entity using the items which would craft the entity.

Place an entity ghost using a blueprint or by shift-clicking with the item in-hand.
If the entity is within range of the player and the player has sufficient items to craft the entity. Construct it and consume the items.

Mining an entity will yield the items used to craft it.

This is a proof of concept at the moment, to see if it worth figuring out how to fully implement it and what that might look like. Feedback is greatly appreciated.