Portal Gun

From Terraria Wiki
Jump to navigation Jump to search
Desktop versionConsole versionMobile version
Desktop/Console/Mobile-Only Content: This information applies only to the Desktop, Console, and Mobile versions of Terraria.
Portal Gun
  • Portal Gun item sprite
Auto-use
1
Statistics
Type
Knockback2 (Very weak)
Use time20 (Very fast)
Velocity24
TooltipCreates a pair of portals that can be traveled through.
Use Left click & Right click to place portals.
Increases momentum and falling speed.
'Speedy thing goes in, speedy thing comes out.'
RarityYellow (Rarity level: 8)
Sell10 GC
Research1 required
Projectiles created
  • Portal Gun
    Portal Gun
  • Portal Bolt
    Portal Bolt
  • Portal Gate
    Portal Gate
Sounds
Use
Teleport
Obtained from Obtained from Obtained from
Classic Mode.png Classic
Expert Mode.png Expert
Master Mode.png Master
EntityQty.Rate
Moon Lord(Desktop, Console and Mobile versions)Moon Lord's Head.gifMoon Lord(Desktop, Console and Mobile versions)1100%
EntitySpecial dropRate
Treasure Bag(Desktop, Console and Mobile versions)
(Moon Lord)
Treasure Bag (Moon Lord)Treasure Bag
(Moon Lord)
(Desktop, Console and Mobile versions)
Portal GunPortal Gun(when no Portal Gun in inventory)100%
A player teleporting from one portal to another.

The Portal Gun is a Hardmode tool that is always dropped from the Moon Lord. It launches projectiles that create up to two different portals upon contact with blocks: one fired using Use / Attack, the other using Open / Activate. Any player or NPC that touches one portal will be instantly transported to the other one, without losing momentum. Enemies, critters, projectiles, items, or liquids cannot be teleported.

While selected, the Portal Gun will also alter the player's physics: their maximum fall speed is multiplied by 3.5 (from 51 mph to 179 mph) and horizontal momentum/inertia is kept while in the air. This effect is also applied if the last entity that affected the player's fall was a portal.

The Cyborg sells the Portal Gun Station if the player has a Portal Gun in their inventory when speaking to him.

Notes

  • In Expert Mode, the Moon Lord Treasure Bag will not drop a Portal Gun if the player already has one in their inventory.
  • Portals can face up or down, left or right, or diagonally in any direction, and need to have at least three blocks present consecutively in any direction to be applied.
    • Thus, portals cannot be made in places they would overlap; the older portal will be replaced.
    • Actuating or breaking any tile of the surface a portal is placed on removes the portal.
    • Portals can be placed on blocks created by the Ice Rod. They are removed as soon as the supporting blocks shatter.
    • Portals can be placed within liquids.
    • Portals cannot be placed on Anti-Portal Blocks.
  • Portals cannot be created while the player has the Creative Shock debuff, inflicted by an active Old One's Army event.
  • It is possible for the player to have two upward-facing portals be placed and stand on one portal to be teleported instantly back and forth between the two portals.
  • The Portal Gun has a maximum range of 675 tiles (1350 feet). It takes about two seconds for the projectile to travel this distance.
  • Despite being a tool, the Portal Gun cannot be placed on a Weapon Rack.
  • In multiplayer, all players will have different portal colors so players can differentiate between their portals:[1]
Portal colors
Player index Primary Secondary
n/a (singleplayer) #FFB800 #33E7FF
0 #00FFFF #0088FF
1 #000DFF #6F00FF
2 #EA00FF #FF0099
3 #FF0022 #FF5900
4 #FFD500 #AEFF00
5 #33FF00 #00FF44
6 #00FFBF #00C4FF
7 #0048FF #3300FF
8 #AA00FF #FF00D9
9 #FF005E #FF1E00
  • Traveling through a portal will reset fall damage.
    • However, this does not reset the flight timer, and as such cannot be used for infinite flight, like with the Soaring Insignia.
  • All hooks are released upon teleporting.
  • Teleporting will quickly shift the viewpoint instead of instantly setting it to the destination point if the two portals are within viewable distance of each other.
  • Portals despawn if the player gets around 800 tiles away from them, dies, or leaves the world.
  • A mounted player cannot travel through a portal.
    • This applies to railed and derailed players in Minecarts.
  • The increased fall speed does not work while riding a mount.
  • The effects of touching a block will occur before the player enters a portal. A portal placed on damaging blocks will harm the player, and one placed on Pink Slime Blocks will cause a player to bounce and can prevent them from entering the portal temporarily. These effects do not apply to the player after they exit a portal placed on said blocks.

Trivia

  • The Portal Gun is a direct reference to the 2007 puzzle-platform video game Portal. In Portal, the gun is the primary game mechanic, shooting portals that allow the player to travel great distances in a short amount of time. Additionally, the Portal Gun shoots orange and blue portals, the same colors as in the original game.
    • The flavor text for the Portal Gun is a direct quote from Portal's overarching antagonist, GLaDOS, when she is explaining to the player that momentum is conserved between portals: "In layman's terms, speedy thing goes in, speedy thing comes out."
    • The Portal Gun being dropped by the Moon Lord is a reference to the ending of Portal 2, where the player must fire a portal onto the moon to defeat the main antagonist, Wheatley, with the Portal Gun being subsequently sucked into space.
    • The maximum speed a player can obtain through the use of the Portal Gun is the same maximum speed as in Portal.
  • Despite being dropped by the Moon Lord, it still only has a rarity of Yellow (Rarity level: 8).
  • Players having different portal colors in multiplayer references the multiplayer mode in Portal 2, where each player has different colored portals.
  • The increased fall speed can be converted into horizontal movement speed by placing the exit portal on a horizontal surface. Falling into a portal at 179 mph results in the extraordinarily high horizontal movement speed of 179 mph (this maneuver is known as "flinging" in Portal). This can be utilized by equipping high-tier wings and placing the exit portal in a high, open area.
    • It is possible to apply this conversion of vertical to horizontal velocity to the great speeds obtained with the Inner Tube. With an ideal setup (that being a water chute with two portals inside at the top, stacked right on top of one another, and entering the water chute at the maximum possible distance without destroying the portals then aligning to the side the portals are on), the player can reach horizontal speeds of at least 514 mph, and with accessories such as the Celestial Starboard and Soaring Insignia, they can maintain the speed and navigate around obstacles (to a degree).

History

  • Desktop 1.3.0.5: Portal Gun bolt speed quadrupled to prevent the player traveling faster than the bolt.
  • Desktop 1.3.0.4:
    • Fixed Portal Gun right-click working in Camera Mode.
    • Teleportation should no longer black out the screen if the end point is located on the same screen area.
    • In accordance with the numerous fixes to teleportation and velocity, Portal Gun maximum falling speed has been tripled.
  • Switch 1.4.4: Added flavor text and info text for Portal Gun.
  • Mobile 1.4.4: Added flavor text and info text for Portal Gun.

References

  1. Information taken from the Desktop version Desktop 1.4.4.9 source code, method GetPortalColor() in Terraria.GameContent.PortalHelper.cs.