And the summoning worked. :P
In any event what kinds of new blocks would we need if any to make this work?
We'd need a way to either manually or automatically map areas as rooms, houses, buildings in general. Say a control block is spawned and we could tell it to map out the area itself or we could manually specify areas or even edit areas generated.
We already have water all we need is something to act as food. What kinds of food blocks do we have? Are they plants, other creatures, just inventory items, etc.
Other questions could be:
Do these NPCs have inventories of their own?
Are they able to build totally new designs or pull from the catalog only?
Does Stealing their ships for resources make them mad and want to take it back?
How do more resources get mined or generated?
Here's a few ideas of resource generation and mining in the NPC's case but also if players wanted to setup shop somewhere but not strip-mine a planet or asteroid belt dry.
Area Miner Array: This is a special effect module and computer meant to be used with the salvagers. While both are part of the same entity they slowly mine all Minerals, Ores, and Shards from a planet or asteroid. They can also mine ships and stations of their blocks as well. In the case of planets (and Asteroids with a Resource Generator Array) if all minerals, ores, and shards have been totally dried up by this it will still pull very small amounts of the resources that were present on the plate of the planet or the asteroid. This means even if the planet is totally stripped of any ores, shards, or minerals it will still produce them as long as the planet remains intact (AKA not blown up). Also planets are natural resource generators meaning they'll regenerate lost blocks and raws over time if you leave them alone. Asteroids on the other hand need a Resource Generator to replace what they've lost since this takes out the blocks like normal salvaging does but it is only grabbing blocks with minerals, ores, and shards in them also asteroids don't regenerate resources on their own.
Resource Generator Array: Another effect specifically for the salvagers but both the salvagers and the effect have to be on a rotating entity to function. This rotating entity cannot have anything else docked to it and has to be docked directly to a resource barring entity like a planet plate or asteroid. The faster the rotation of it the more resources per hour ( can be changed in the config ) it causes to be generated. On planets it just makes the resources and lost blocks due to mining come back faster, if the blocks are removed any other way than with a salvager they are not regenerated by this effect. In the case of asteroids it is a tricky balance because if all blocks of the asteroid are mined other than the docking point before the Resource Generator effect can kick in they will not be regenerated.
In both cases they have passives effects just like any other effect, mainly it is just a super super slow version of the existing effect. Also in both cases they do better if on a rotating entity that is docked to what is being mined or restored. This cuts down the issue of blocks appearing out of nowhere quite a bit while they are still being made out of nothing at least it is at a slower rate.
Also why not make it so the NPCs can use things like shipyards, factories, warpgates, etc; those kinds of useful things. This means they could drop off or pick up things from other storage areas as well. Also this brings up an issue of needing to set permissions for what they can use and what they can't so they don't take and use what you happen to need.
So many ideas that could go along with this.