Teleporter

The Teleporter is an advanced travel mechanism sold by the Steampunker. When two Teleporters are wired together with a triggering mechanism, they can instantaneously exchange players, NPCs, or enemies between them. Teleporting is always instantaneous, has no load time or cooldown, and costs no Mana.

Usage
The two Teleporters must be placed on a surface of solid blocks and connected by wire, along with a trigger mechanism (eg. a Switch or Pressure Plate). When the trigger is activated, an entity within the Teleporter's area-of-effect is instantly transported to the other. The activation looks similar to Magic Mirror use (but it requires no Mana).

A Teleporter will transport any player, NPC, or enemy (but not background Critters, other entities, or items) touching the 3x3 tile area above it. A player standing a maximum of three tile heights above the Teleporter can still be transported, and burying a Teleporter two tiles deep can still transport players walking on the surface.

A Pressure Plate can be placed directly on top of a Teleporter as the triggering mechanism, along with a short wire connection, which will allow activation simply by walking onto its surface.

Teleporting is always two-way: when a connection is activated, both ends will exchange all players, NPCs, and hostile mobs, that are at least partially occupying any square of 3x3 space above Teleporter pads. Players should keep this in mind when constructing Teleporter paths, as enemies could unintentionally be brought into a base, for example.

A single Teleporter can be wired to multiple destinations: With access to only a single wire color, each end of a Teleporter pad can be wired to one destination each, for a total of two possible destinations (each must have its own triggering mechanism). Using all three wire colors, each of the three can be connected simultaneously to each end of the Teleporter, for a total of six possible destinations (3+3).

Range
Travel range is limited by the maximum length of a wire line, which is approximately 4,000 feet (2,000 blocks): to travel from one end of the map to the other, several teleportations will be required, though with precise pressure plate placing they could be stacked in one continous jump. A large map is 2,400 tiles tall, so the range may not quite be enough to jump from the Underworld to a Floating Island.

3+ Teleporters on a circuit
It is not possible to activate more than two Teleporters at once on a single circuit, but 3+ Teleporters on a single circuit can be still be used in order to target a specific destination from a given origin.

When a wire network is activated with more than two Teleporters connected, only two will activate. The following algorithm determines which pair will activate:


 * Start at the trigger mechanism which caused the wire to activate and explore the network one square at a time. When there is a choice of adjacent wires to explore, move left as the first choice, then right, then up, then down.
 * The first and last Teleporters encountered in this fashion will activate, while the rest will do nothing.

A fixed wiring layout will always activate the same Teleporters. The wiring layout can be chosen to target the desired Teleporter.

Tips

 * Teleporters can be used to create entrances into sealed bases.