MechTransfer is a small mod, that adds various wire controlled devices to interact with items and move them between containers.
The mod contains the following features:
- Transferring items from one chest to another
- Dropping and picking up items
- Item sorting and detection
- Automatic crafting
Latest version: v1.6.2 for TModLoader v0.10.1.5 and Terraria v1.3.5.2
Below is a list of the added items and their functions.
Pneumatic actuator
Sold by the mechanic for 50 silver. It is used to craft all of the other devices.
Transfer extractor (1xPneumatic actuator + 1xGolden key @ Workbench)
Extracts items from adjacent containers and sends them to a receiving device.
Triggering it with a wire will extract a single item.
Stack extractor (1xTransfer extractor + 10xNanites @ Workbench)
An upgraded version of the extractor, that can move a whole stack of items at a time.
Transfer injector (1xPneumatic actuator + 1xGolden key @ Workbench)
Receives items and injects them into adjacent containers.
Sends out a wire signal when it receives something.
This picture illustrates how you can use an injector and an extractor to move items from one chest to another.
You can also inject into and extract from a variety of different different kinds of containers.
Standard chests from any other mod should also out of the box. If your mod has a custom item storage solution, you can use MechTransfer's Mod.Call() based API to set up an adapter for it. (More information available
here.)
Support for
Magic Storage is built into MechTransfer. (see Magic storage interface)
(25x)
Transfer pipe (1xPneumatic actuator + 1xAny iron bar @ Anvil)
Connects receiving devices to sending devices at a distance.
Transfer inlet (1xPneumatic actuator + 1xInlet pump @ Workbench)
Picks up items that land on top of it, and sends them away.
It can also catch critters.
Transfer outlet (1xPneumatic actuator + 1xOutlet pump @ Workbench)
Receives items and drops them on the ground.
Transfer relay (1xPneumatic actuator + 1xAny pressure plate @ Workbench)
The back of the arrow acts as a receiver, the front acts as a sender. It receives items, and sends them out again.
Outputs a wire signal when an item passes through it.
The sending device will always connect to the first receiver in line. It will also skip any injectors, that can't inject due to lack of chest space.
You can use relays to reroute items to a longer path.
Every relay will only receive once per transfer. This prevent things like this, from crashing the game.
Transfer gate (1xPneumatic actuator + 1xActuator @ Workbench)
Acts just like a pipe, but can be toggle with a wire signal.
Transfer filter (whitelist) (1xPneumatic actuator + 1xActuator + 1xItem frame @ Workbench)
Also acts like a pipe, but it will only let one kind of item through.
Right click on it with an item to set the filter.
Transfer filter (blacklist) (1xPneumatic actuator + 1xActuator + 1xItem frame @ Workbench)
A filter, that will let through any item, except for the one specified by right clicking.
Filter items
These items can be placed in filters to select a wider group of items. The base filter can be bought from the mechanic, you can use it to craft the other kinds of filter items.
Currently available filter items: Rarity (various), Equipable, Armor, Vanity, Accessory, Dye, Ammo, Bait, Money, Bag, Tool, Consumable, Material, Potion, Tile, Wall.
Magic storage interface (1xSorage component + 1xDiamond + 1xPneumatic actuator @ Workbench)
This device lets you interact with the items stored in a
Magic Storage network. It acts as a storage component. You can access it using transfer extractors and injectors.
Player interface (1xTransfer extractor tile + 1xTransfer injector tile + 1xMannequin + 10xCog @ Workbench)
This thing allows you to access the inventory of a player directly as a storage container. You can take items from it, or even change the player's equipment.
And, for the grand finally:
Transfer assembler (1xPneumatic actuator + 10xCog @ Workbench)
Crafts items automagically. Place ingredients in an adjacent chest, place required crafting station(s) at a max 5 tile distance, activate with wire. You can set the item you want to craft the same way, as with the Transfer filter. The crafted products will be placed back into the chest.
(To make things that require a snow biome, place some snow or ice nearby.)
This thing might not work all the time, I am still kinda working on it.
Some moded crafting station might not work with it, but I can't really fix that, unfortunately...
With these components, you can construct complex automatic material processing machines, such as this silt extractor:
But wait, there's more!
Omni turret (5xPneumatic actuator + 1xIllegal gun parts + 1xDart trap @ Workbench)
Super omni turret (1xOmni turret + 10xCog @ Workbench)
Matter projector (1xSuper omni turret + 5x Vortex fragment + 5xLuminite bar @ Ancient manipulator)
The turrets can shoot any standard ammo, including every type of bullet and arrow, even modded ones. They can be rotated like vanilla cannons, by right clicking or via wire. The higher tier turrets do more damage and have a faster cool-down. The Matter projector has no cool-down.
So, that's basically everything. I'll let you figure out some of the interesting side effects.
This was my first attempt at making a terraria mod, and I very much enjoyed the experience, so it certainly won't be the last. I've already got a few things planned.
Sorry about the crummy sprites, I am not very artistic.
It isn't impossible that I overlooked some major bug, so let me know how it works. It's fairly stable though and probably won't eat your items.
The source code and download are available on GitHub:
DRKV333/MechTransfer
The mod is also available through the TModLoader mod browser.
Lastly, here's an automatic smelter, for (some) normal mode ores: