Item Broadcaster & Hyper-storage
This mod provides two new items, purchased at the Teleporter shop: the Broadcast Beacon, the Reception Beacon.
The Broadcast Beacon, when placed or interacted with, takes the first container beneath it keeps tabs on its contents. When it detects a change it reaches out to nearby Reception Beacons, which in turn check their surroundings for containers, and check their contents: if a container is found, which contains a stack of items matching one in the Broadcast chest, then the item stack in the Broadcast chest will be sent into the other chest.
There is also a secondary sorting algorithm, which you can enable by interacting with the Broadcast Beacon. It will attempt to find containers with a ‘good fit’ based on strored contents, if no exact matches are available. I won’t claim it’s too reliable or predicatble though.
Wiring up your base is easy and painless, with no alteration to your containers! To dismiss, merely break the beacons, and their influence will be dispersed.You can also wire a Broacast Beacon to particular Reception Beacons, and it will only attempt to broadcast to containers near those.
The Hyper-storage Beacon links a container below it, like the Broadcast Beacon does, to all other Hyper-storage Containers (with the same size) on the planet. They will share a single linked inventory. When a container with items in it is added to the network, those items will be merged into the shared pool (any overflow will be dropped). Destroying the beacon will sever the container and empty its contents, as long as there is another container on the network; destroying a container will drop all the shared items and empty the pool instead.
A container can be on both networks; the Broadcast network can pull from or dump into Hyper-storage chests. This works smoothly if you don’t move items really fast, remember that the two scripts are independent and on seperate internal clocks!