Difference between revisions of "Level teleport"

From NetHackWiki
Jump to navigation Jump to search
(Clean up)
m (pothole)
 
(11 intermediate revisions by 8 users not shown)
Line 9: Line 9:
 
* #[[invoke|invoking]] the [[Orb of Fate]]
 
* #[[invoke|invoking]] the [[Orb of Fate]]
  
[[teleport control|Uncontrolled]] level teleportation will deposit you on any level between 1 and your current level plus 3, except that you will not go below your current dungeon branch.<ref>{{function|teleport.c|random_teleport_level}}</ref> There is a 20% chance you will stay in place; otherwise, all other eligible levels are equally likely. <ref>Barring some corner cases where you hit the edges of the dungeon branch or you would go into the Sanctum before the Invocation. Read the source for those.</ref> This is helpful when you need to travel up.  
+
[[teleport control|Uncontrolled]] level teleportation will deposit you on any level between 1 and your current level plus 3, except that you will not go below your current dungeon branch.<ref>{{function|teleport.c|random_teleport_level}}</ref> There is a 20% chance you will stay in place; otherwise, all other eligible levels are equally likely.<ref>Barring some corner cases where you hit the edges of the dungeon branch or you would go into the Sanctum before the Invocation. Read the source for those.</ref> This is helpful when you need to travel up.  
  
Level teleport for monsters works the same way and is always uncontrolled.{{refsrc|teleport.c|1140}} If your pet steps onto a [[levelporter]], you may have a hard time finding it again. [[Telepathy]], a [[magic whistle]], or a [[potion of monster detection|monster detection]] can help in locating it, but they only work on the current level.
+
Level teleport for monsters works the same way and is always uncontrolled.{{refsrc|teleport.c|1140}} If your pet steps onto a [[levelporter]], you may have a hard time finding it again. [[Telepathy]], a [[magic whistle]], or a form of [[monster detection]] can help in locating it, but they only work on the current level.
  
Assuming you have teleport control, if you attempt to teleport to a level below [[Moloch's Sanctum]] while in Gehennom, you will instead be teleported to the [[vibrating square]] level (or the sanctum, if you performed the [[invocation]] already), which can be useful if you choose to explore Gehennom bottom-up. You can attempt to teleport to levels above 1 as well, although they generally lead to death, and [[escaping the dungeon]] if you have an [[amulet of life saving]] (or some form of levitation/flying if -1 to -9) if -1 or lower, so they're only good for a few [[YAFM]]s.
+
Assuming you have teleport control, if you attempt to teleport to a level below [[Moloch's Sanctum]] while in Gehennom, you will instead be teleported to the [[vibrating square]] level (or the sanctum, if you performed the [[invocation]] already), which can be useful if you choose to explore Gehennom bottom-up. You can attempt to teleport to levels above 1 as well, although they generally end the game, so they're only good for a few [[YAFM]]s.
  
== Restrictions on level teleporting ==
+
Monsters which [[follower|follow you on stairs]] will also follow you when you levelport.
 +
 
 +
==Restrictions==
 
* You cannot levelport from above the [[Valley of the Dead]] to below it; you will end up in the Valley instead. You can levelport from below the Valley to above it, and may levelport into the Valley from any level, or to any level from the Valley.
 
* You cannot levelport from above the [[Valley of the Dead]] to below it; you will end up in the Valley instead. You can levelport from below the Valley to above it, and may levelport into the Valley from any level, or to any level from the Valley.
* You can levelport up out of your current dungeon [[branch]], but not down.
+
* You can levelport out of your current dungeon [[branch]] if you are going upwards (e.g. from the [[Gnomish Mines]] to the level where they branch off the [[Dungeons of Doom]] or any shallower level), but not down (e.g. from [[Vlad's Tower]] to [[Gehennom]]).
* The [[player]] cannot levelport in [[Sokoban]].
+
* You cannot levelport in [[Sokoban]].
* You cannot level teleport from or into [[Fort Ludios]].
+
* You cannot levelport from or into [[Fort Ludios]].
 
* The [[Quest]] branch has its own separate level numbers. You cannot levelport into or out of the Quest branch, and any controlled levelport inside the branch uses the Quest level numbers (so "1" is the Home level and "3" is the Locate level, even if the Quest portal is on level 14). You cannot levelport below level 1 until you have permission to begin the Quest.
 
* The [[Quest]] branch has its own separate level numbers. You cannot levelport into or out of the Quest branch, and any controlled levelport inside the branch uses the Quest level numbers (so "1" is the Home level and "3" is the Locate level, even if the Quest portal is on level 14). You cannot levelport below level 1 until you have permission to begin the Quest.
 
* You cannot levelport into [[Moloch's Sanctum]] until you perform the [[Invocation]]. However, once you have performed the invocation ritual, you can levelport in without having visited the Sanctum; this will place you near the upstairs.
 
* You cannot levelport into [[Moloch's Sanctum]] until you perform the [[Invocation]]. However, once you have performed the invocation ritual, you can levelport in without having visited the Sanctum; this will place you near the upstairs.
* You cannot levelport while carrying the [[Amulet of Yendor]] (though you may still quaff cursed potions of gain level).
+
* You cannot levelport while carrying the real [[Amulet of Yendor]] (though you may still quaff cursed potions of gain level).
* You cannot levelport in the [[Endgame]], except in [[Wizard mode]]. Even in Wizard mode, you can only levelport to the next or further Planes.
+
* You cannot levelport in the [[End Game]], except in [[wizard mode]]. Even in wizard mode, you can only levelport between the Elemental and Astral Planes; you cannot return to the main dungeon (which is erased from the game state when you enter the End Game).
* Controlled levelporting to a negative level will irretrievably end the game: If you have none of [[levitation]], [[flight]], or [[life saving]], you die, while if you have one of those properties, you merely [[escaping the dungeon|escape]]. The game will '''not''' ask for confirmation before you do this.
+
* Controlled levelporting to level 0 will kill you, but an amulet of life saving can save your life. The game will ask for confirmation before you do this.
* Controlled levelporting to level 0 will normally kill you, but an amulet of life saving will save your life and your game.  Note that the game will ask for confirmation before you do this.
+
* Controlled levelporting to a negative level will irretrievably end the game: If you have any of [[levitation]], [[flight]], or [[life saving]], you [[Escaping the dungeon|escape]]; otherwise, you die. In either case, the game will ''not'' ask for confirmation before you do this.
* However, that in Wizard mode, with the Amulet, levelporting to -1 through -5 takes you to the appropriate Plane, while without the Amulet but with [[flying|flight]] (e.g. polymorphed into a winged gargoyle; levitation is not enough), levelporting to any negative level deposits you on the [[Plane of Earth]] with the Amulet.
+
* You cannot enter the [[Wizard's Tower]] by levelporting. However, if you are already inside and your target level is one of the three tower levels, you will stay inside. This is useful if you wish to bypass the zoo. You can also teleport from inside the Tower to non-Tower levels above or below it.
* You cannot enter the [[Wizard's tower]] area in [[Gehennom]] by levelporting. However, if you are already inside and your target level is one of the three tower levels, you will stay inside. This is useful if you wish to bypass the zoo.
+
* There are various squares that you cannot land on by levelporting. On most levels, only rooms and air are legal arrival locations; on maze levels, corridors are also legal arrival locations.{{refsrc|mkmaze.c|231}} Additionally, you cannot land on a trap.
* There are various squares that you cannot land on by levelporting. On most levels, only rooms and air are legal arrival locations; on maze levels, corridors are also legal arrival locations.{{refsrc|mkmaze.c|231}} Additionally, you cannot land on a trap, nor on the [[vibrating square]]'s location.{{refsrc|mklev.c|1170}}
+
 
 +
Gaining a "dungeon level" from a [[cursed]] [[potion of gain level]] has similar restrictions, except that the [[Amulet of Yendor]] does not block it, and it does not let you leave the Wizard's Tower.{{refsrc|src/dungeon.c|1324|nethack=3.6.6}} Quaffing it on dungeon level 1 on the [[ascension run]] is therefore a safe way to enter the Planes if you are not sure if your Amulet of Yendor is a fake.
  
Gaining a dungeon level from a [[cursed]] [[potion of gain level]] has similar restrictions. However, the [[Amulet of Yendor]] does not block it, you cannot leave a dungeon branch or the Wizard's tower this way,<ref>{{function|Dungeon.c|Can_rise_up}}</ref> and you don't run the risk of escaping the dungeon if your Amulet of Yendor was a fake. If you do have the real Amulet and quaff the potion on dungeon level 1, you will immediately enter the [[Plane of Earth]].  
+
Monsters are subject to the same restrictions, except they can levelport in Sokoban and the Quest, and they cannot successfully use a cursed potion of gain level when in Sokoban or carrying the Amulet.
  
Monsters are subject to the same restrictions, except they can levelport in Sokoban and the quest, and they cannot successfully use a cursed potion of gain level when in Sokoban or carrying the Amulet.
+
== Messages ==
 +
{{upcoming|NetHack 3.7.0|The following message is new in 3.7.0.}}
 +
{{message|You materialize on a different level!|You levelported.}}
 +
{{message|Go to Nowhere.  Are you sure? [ynq]|You are attempting a controlled level teleport to level 0.}}
 +
{{message|You scream in agony as your body begins to warp...|}}
 +
{{message|You cease to exist.  Your possessions land on the floor with a thud.|You confirmed you wanted to teleport to level 0. Your death is recorded as "committed suicide".}}
 +
{{message|An energized cloud of dust begins to coalesce.|}}
 +
{{message|Your body rematerializes, and you gather up all your possessions.|As above, but you were wearing an [[amulet of life saving]].}}
 +
{{message|You are now high above the clouds...|You performed a controlled levelport to levels −1 through −8.}}
 +
{{message|You feel deliriously happy.  (In fact, you're on Cloud 9!)|As above, but the controlled levelport was to level −9.}}
 +
{{message|Unfortunately, you don't know how to fly.|}}
 +
{{message|You plummet a few thousand feet to your death.|As above, and you did not have [[levitation]] or [[flying]].}}
 +
{{message|You float gently down to earth.|You teleported out of the dungeon but had levitation. You then escape the dungeon.}}
 +
{{message|You fly down to the ground.|You teleported out of the dungeon but had flying. You then escape the dungeon.}}
 +
{{message|You arrive in heaven.  "Thou art early, but we'll admit thee."|You performed a controlled levelport to level −10 or higher.}}
 +
{{message|You find yourself back on the surface.|You performed a controlled levelport to a negative level and were life-saved. You then escape the dungeon.}}
 +
{{message|You can't get there from here.|You tried to levelport out of the End Game in wizard mode.}}
  
== See also ==
+
==See also==
* [[The Eye of the Aethiopica]] allows a related technique known as [[branchporting]].
+
* [[The Eye of the Aethiopica]] allows a related technique known as [[The Eye of the Aethiopica#Branchporting|branchporting]].
  
 
==References==
 
==References==
Line 41: Line 60:
 
[[Category:Actions]]
 
[[Category:Actions]]
 
[[Category:Strategy]]
 
[[Category:Strategy]]
{{nethack-343}}
+
{{nethack-366}}

Latest revision as of 21:30, 26 October 2023

To level teleport (or levelport) is to teleport to another level (as opposed to somewhere else on the current level). This is dangerous without teleport control, as it can deposit you just about anywhere, including below the point you are equipped to handle safely, but with teleport control it is an incredibly useful tool.

When arriving at a level by means of levelporting, you are placed randomly on the level, unless the teleport region is restricted in the special level file.

Level teleportation can be achieved by:

Uncontrolled level teleportation will deposit you on any level between 1 and your current level plus 3, except that you will not go below your current dungeon branch.[1] There is a 20% chance you will stay in place; otherwise, all other eligible levels are equally likely.[2] This is helpful when you need to travel up.

Level teleport for monsters works the same way and is always uncontrolled.[3] If your pet steps onto a levelporter, you may have a hard time finding it again. Telepathy, a magic whistle, or a form of monster detection can help in locating it, but they only work on the current level.

Assuming you have teleport control, if you attempt to teleport to a level below Moloch's Sanctum while in Gehennom, you will instead be teleported to the vibrating square level (or the sanctum, if you performed the invocation already), which can be useful if you choose to explore Gehennom bottom-up. You can attempt to teleport to levels above 1 as well, although they generally end the game, so they're only good for a few YAFMs.

Monsters which follow you on stairs will also follow you when you levelport.

Restrictions

  • You cannot levelport from above the Valley of the Dead to below it; you will end up in the Valley instead. You can levelport from below the Valley to above it, and may levelport into the Valley from any level, or to any level from the Valley.
  • You can levelport out of your current dungeon branch if you are going upwards (e.g. from the Gnomish Mines to the level where they branch off the Dungeons of Doom or any shallower level), but not down (e.g. from Vlad's Tower to Gehennom).
  • You cannot levelport in Sokoban.
  • You cannot levelport from or into Fort Ludios.
  • The Quest branch has its own separate level numbers. You cannot levelport into or out of the Quest branch, and any controlled levelport inside the branch uses the Quest level numbers (so "1" is the Home level and "3" is the Locate level, even if the Quest portal is on level 14). You cannot levelport below level 1 until you have permission to begin the Quest.
  • You cannot levelport into Moloch's Sanctum until you perform the Invocation. However, once you have performed the invocation ritual, you can levelport in without having visited the Sanctum; this will place you near the upstairs.
  • You cannot levelport while carrying the real Amulet of Yendor (though you may still quaff cursed potions of gain level).
  • You cannot levelport in the End Game, except in wizard mode. Even in wizard mode, you can only levelport between the Elemental and Astral Planes; you cannot return to the main dungeon (which is erased from the game state when you enter the End Game).
  • Controlled levelporting to level 0 will kill you, but an amulet of life saving can save your life. The game will ask for confirmation before you do this.
  • Controlled levelporting to a negative level will irretrievably end the game: If you have any of levitation, flight, or life saving, you escape; otherwise, you die. In either case, the game will not ask for confirmation before you do this.
  • You cannot enter the Wizard's Tower by levelporting. However, if you are already inside and your target level is one of the three tower levels, you will stay inside. This is useful if you wish to bypass the zoo. You can also teleport from inside the Tower to non-Tower levels above or below it.
  • There are various squares that you cannot land on by levelporting. On most levels, only rooms and air are legal arrival locations; on maze levels, corridors are also legal arrival locations.[4] Additionally, you cannot land on a trap.

Gaining a "dungeon level" from a cursed potion of gain level has similar restrictions, except that the Amulet of Yendor does not block it, and it does not let you leave the Wizard's Tower.[5] Quaffing it on dungeon level 1 on the ascension run is therefore a safe way to enter the Planes if you are not sure if your Amulet of Yendor is a fake.

Monsters are subject to the same restrictions, except they can levelport in Sokoban and the Quest, and they cannot successfully use a cursed potion of gain level when in Sokoban or carrying the Amulet.

Messages

The following information pertains to an upcoming version (NetHack 3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.

The following message is new in 3.7.0.
You materialize on a different level!
You levelported.
Go to Nowhere. Are you sure? [ynq]
You are attempting a controlled level teleport to level 0.
You scream in agony as your body begins to warp...
You cease to exist. Your possessions land on the floor with a thud.
You confirmed you wanted to teleport to level 0. Your death is recorded as "committed suicide".
An energized cloud of dust begins to coalesce.
Your body rematerializes, and you gather up all your possessions.
As above, but you were wearing an amulet of life saving.
You are now high above the clouds...
You performed a controlled levelport to levels −1 through −8.
You feel deliriously happy. (In fact, you're on Cloud 9!)
As above, but the controlled levelport was to level −9.
Unfortunately, you don't know how to fly.
You plummet a few thousand feet to your death.
As above, and you did not have levitation or flying.
You float gently down to earth.
You teleported out of the dungeon but had levitation. You then escape the dungeon.
You fly down to the ground.
You teleported out of the dungeon but had flying. You then escape the dungeon.
You arrive in heaven. "Thou art early, but we'll admit thee."
You performed a controlled levelport to level −10 or higher.
You find yourself back on the surface.
You performed a controlled levelport to a negative level and were life-saved. You then escape the dungeon.
You can't get there from here.
You tried to levelport out of the End Game in wizard mode.

See also

References

  1. random_teleport_level in teleport.c
  2. Barring some corner cases where you hit the edges of the dungeon branch or you would go into the Sanctum before the Invocation. Read the source for those.
  3. teleport.c in NetHack 3.4.3, line 1140
  4. mkmaze.c in NetHack 3.4.3, line 231
  5. src/dungeon.c in NetHack 3.6.6, line 1324