Mirror
| ( | |
|---|---|
| Name | mirror |
| Appearance | looking glass |
| Base price | 10 zm |
| Weight | 13 |
| Material | glass |
| Monster use | Will not be used by monsters. |
A mirror is a type of tool that appears in NetHack. It is made of glass, and appears as a looking glass when unidentified.
The mirror is the base item for The Magic Mirror of Merlin, the Knight quest artifact.
Generation
Mirrors make up 2⁄25 (8%) of all tools that are randomly generated on the ground, in general shops or as death drops, and are always generated uncursed outside of bones levels and trap "bones". Hardware stores can also stock mirrors.
Nymphs have a 1⁄2 chance (50%) of being generated with a mirror.
Description
Applying a mirror will prompt the player for a direction to display it in, and selecting a direction uses up a turn and has various effects (including simply printing messages) depending on what monster or object the mirror is applied towards, where the hero is located, and whether or not the hero is hallucinating.[1][2] A cursed mirror will fog up and fail to reflect anything half of the time, resulting in no effect occurring.[3] A hero applying a mirror while they are currently engulfed by a monster or else are underwater will have no effect, printing a message that only occurs if they can see themselves holding the mirror.[4][5]
If a hero applies a mirror towards a monster that is not a humanoid, a unicorn, or a major demon that is not an amorous demon, and that monster is close enough that it can see the hero, there is a 4⁄5 chance of scaring that monster for 2-8 turns, assuming it is not paralyzed and does not fall into one of the special cases listed below.[6] The mirror will have no effect on that monster if they are asleep, blind, eyeless, or else they cannot properly perceive the mirror or their reflection within it[7][8]—if the hero is invisible when applying the mirror at a monster, that monster must have see invisible to be affected by the mirror, while an invisible monster being reflected must have see invisible to be affected by their reflection.
The following reactions occur when the hero applies a mirror towards specific monsters that can see them, including a hero that applies the mirror at themselves while in the form of those monsters (noted where appropriate):[9][10]
- A ghost or vampire monster in any of their forms will not have a reflection, nor will a hero in the form of one.[11][12]
- Medusa will have her stoning gaze reflected upon herself, breaking pacifist conduct and turning her to stone unless she possesses reflection.[13]
- A floating eye that is not cancelled will be paralyzed by its own passive gaze for several turns depending on its monster level, with a 1⁄4 chance of being paralyzed for exactly 120 turns.[8][14] A hero in the form of a floating eye that does not have free action will be paralyzed for several turns, which only occurs 1⁄4 of the time if they are hallucinating.[15]
- An umber hulk will become confused by its own gaze.[16] A hero in the form of an umber hulk will become confused for 3-12 (more) turns.[17]
- A nymph or amorous demon will admire themselves in the mirror and steal it, then attempt to teleport away unless they are on a no-teleport level or the current level is affected by a zapped wand of stasis.[18]
A hero applying a mirror at themselves will usually print YAFM dependent on their charisma score, unless they are polymorphed into any of the monsters listed above—see the "vanity" subsection of messages for further details. Monsters will not use mirrors, whether to apply the item at the hero or at themselves.
As a glass item, a mirror is fragile and may shatter when thrown, kicked or dropped from a height (e.g., while levitating or on a down stair) unless it is an artifact or is inside a magical container[19][20][21][22]—a force bolt spell or a zapped wand of striking will destroy any mirrors on the ground in the path of the beam. A hero that actively breaks a mirror by any means takes a -2 luck penalty.[23][24][21] A hero that hits a monster with a wielded mirror will break that mirror (taking the aforementioned luck penalty) and deal one point of damage to the monster[25]—this damage also applies to shades, due to the mirror containing silver in the reflective surface, though it will still break despite them being noncorporeal.[26]
Strategy
Common uses of a mirror include applying it to monsters like floating eyes, umber hulks and Medusa, in order to reflect them. However, it will not reflect the gaze of Archons, pyrolisks or Baalzebub. Mirrors can also be used against nymphs and foocubi to prevent the theft of more desirable (and possibly dangerous) items, as well as the unwanted removal of any worn armor.
As nymphs are often generated with mirrors, it is a bad idea to attack them with force bolt spells or a wand of striking and risk tanking your hero's luck. However, there are some situations where the loss of luck is preferable to the loss of one or more items, including any that the nymph can then use against you. The luck penalty from breaking a mirror can also be used to intentionally avoid being crowned while praying and/or altar farming.
History
The mirror first appears in NetHack 2.2a. From this version to NetHack 5.0.0, including variants based on these versions, mirrors are subject to the following bug fixes and related code adjustments:
- In versions up to NetHack 3.1.3:
- Since NetHack 3.1.0, applying a cursed bell can be used to summon nymphs indefinitely with their usual starting inventory, and there is no risk of extinction, paralysis or generating a fast nymph.[27] This is commonly used in farming large numbers of mirrors for polypiling, among other strategies[28]—NetHack 3.2.0 fixes this by ensuring that the summoned nymph has no starting inventory.
- In versions up to NetHack 3.3.1:
- Mirrors work inconsistently against invisible monsters with gaze attacks, particularly still affecting umber hulks and Medusa despite their inability to see invisible monsters (including themselves). This is partly fixed for NetHack 3.4.0 via commit 14a6d907 so that invisible monsters are handled more consistently when a mirror is applied at them.
- In versions up to NetHack 3.4.0:
- Attacks using a wielded mirror were mistakenly treated as unarmed attacks, which among other effects allows them to gain the stun effect of staggering blows. This is fixed for NetHack 3.4.1 as part of commit b57bc61a.
- Shades can be hit by mirrors and several other wielded and thrown items despite being noncorporeal. This is fixed for NetHack 3.4.1 via commit 98414a82 and establishes code to checks for items that can affect shades, including those handled by other routines—attacks with wielded mirrors still affect shades, with the silver backing of the mirror cited in the added comments as a justification.
- In versions up to NetHack 3.4.3:
- Since NetHack 3.0.0, only succubi are tempted into stealing a mirror that the hero applies at them.[29] Additionally, some messages use "mirror" where they should use "looking glass" (i.e., when that mirror is unidentified). The latter bug is bug C343-118, and both bugs are fixed for NetHack 3.6.0 via commit 7ec0d054 so that messages for unidentified mirrors are printed properly, and incubi will also steal mirrors that are applied at them as succubi do. A similar bug to C343-118 that was overloooked during the initial fix is accounted for via commit 8a288949.
- Attacking a cockatrice or chickatrice with a fragile item that immediately breaks, such as a mirror or cream pie, will result in stoning. This is bug C343-31, and is fixed for NetHack 3.6.0 via commit 3ad4bf5b and commit 3283bcdb.
- If a player is given a direction prompt from performing an action such as applying a a mirror and they abort from that prompt, the prompt text remains on the screen until it is redrawn. This is, and is fixed for NetHack 3.6.0 via commit bb190167 and commit 3b4ca7f6.
- The visibility of the hero and monsters is still treated somewhat inconsistently when the hero applies a mirror at monsters while one or both parties are invisible. This is bug UNL343-063, and is fixed for NetHack 3.6.0 via commit 5ca566f0 so that invisibility is properly accounted for when a mirror is applied.
- In versions up to NetHack 3.6.1:
- Sleeping and paralyzed monsters can still react to having a mirror applied at them, due to monster sleeping and paralysis using the same code. This is bug C343-331, and is fixed for NetHack 3.6.2 via commit 8e4ce066 so that neither a sleeping nor a paralyzed monster will react to their reflection, with specific phrasing used for each instance.
- In versions up to NetHack 3.6.7:
- Major demons other than succubi and incubi can be scared by their own reflections as most other monsters can. NetHack 5.0.0 makes monsters that are major demons immune to being scared in this manner via commit c2802dba while retaining the same effects for amorous demons (the neutral term for both succubui and incubi).
- In NetHack 5.0.0:
- More detailed messages are added for a hero applying a mirror at themselves via commit 2f0676c1.
Messages
The messages below replace "mirror" with "looking glass" depending on if the item is identified.
- You reflect the ceiling.
- You applied the mirror up.
- You reflect the floor.
- You applied the mirror down.
- You reflect the murky water.
- You applied the mirror in any direction other than at yourself while underwater.
- You give the fish a chance to fix their makeup.
- As above while hallucinating.
- <The mirror> fogs up and doesn't reflect!
- The mirror was cursed and did not reflect what it was pointed towards.
- <The monster> is frightened by <its> reflection.
- You applied the mirror at a monster and frightened it.
- <The monster> doesn't seem to notice <its> reflection.
- You are invisible and the monster cannot see you.
- <The monster> ignores <its> reflection.
- You applied the mirror at a monster that cannot be frightened by it, or else you failed to frighten it.
- <The monster> doesn't have a reflection.
- You applied the mirror to a vampire or ghost.
- <The monster> admires <him/her>self in your <mirror>.
- <The monster> takes it!
- You applied the mirror at a nymph or foocubus.
- It steals your <mirror>!
- As above, but you could not see the nymph or foocubus in question.
- <The monster> is too tired to look at your <mirror>.
- The monster is asleep.
- You discern no obvious reaction from <the monster>.
- The monster is paralyzed.
- You feel a bit silly gesturing the <mirror> in that direction.
- As above, but you cannot see the monster.
- <The monster> can't see anything right now.
- The monster is blinded.
- You reflect <the monster>'s <stomach/interior>.
- You applied the mirror at the inside of a monster that is currently engulfing you.
Vanity
Applying a mirror at yourself will often produce YAFM depending on your current status:
- You look <color>.
- You are hallucinating, which produces one of the following "colors" at random: ultraviolet, infrared, bluish-orange, reddish-green, dark white, light black, sky blue-pink, salty, sweet, sour, bitter, striped, spiral, swirly, plaid, checkered, argyle, paisley, blotchy, guernsey-spotted, polka-dotted, square, round, triangular, cabernet, sangria, fuchsia, wisteria, lemon-lime, strawberry-banana, peppermint, romantic, or incandescent.
- You look peaked.
- You are sick.
- You look undernourished.
- You are weak or worse from hunger.
Otherwise, if you are not hallucinating, sick or weak from hunger, you are given a message with a corresponding to the hero's charisma and gender (with gendered terms paired in order of female/male): "sublime" (charisma ≥ 25), "splendorous", (charisma ≥ 19), "beautiful"/"handsome" (charisma ≥ 16), "winsome"/"amiable" (charisma ≥ 14), "cute" (charisma ≥ 11), "plain" (charisma ≥ 9), "homely" (charisma ≥ 6), "ugly" (charisma ≥ 4), or (if none of the previous conditions apply) "hideous".
- You look as <plain> as ever.
- You applied a mirror to yourself, and you are not polymorphed into a monster that causes a specific reaction.
- You can't see your <plain> face.
- As above, but you are blind, or you are invisible and cannot see invisible.
Polymorph
The following messages apply instead of the above if you are polymorphed into a particular monster:
- Yikes! You've frozen yourself!
- You are a floating eye without free action, and become paralyzed.
- Yow! The mirror stares back!
- As above, while you are also hallucinating—paralysis will only occur 1⁄4 of the time under this condition.
- You stiffen momentarily under your gaze.
- As above, but you have free action.
- You don't have a reflection.
- You are a vampire.
- Huh? That doesn't look like you!
- You are an umber hulk, and become confused.
Variants
dNetHack
In dNetHack, notdNetHack and notnotdNetHack, the mirror has various additional applications:
- A hero applying a mirror at themselves with more than 20 insight will learn the location of a "silver light", which can be used to become a follower of The Silver Flame. Upon The Silver Flame taking up residence in an appropriate weapon or pair of gloves, a mirror in the open inventory will be converted to a purified mirror, which appears as a silver disk when unidentified and can be used to consult The Silver Flame.
- Andromalius is a spirit whose binding ritual can use a mirror as one of the two items placed in his seal, and using two non-mirror items in the binding ritual may generate a mirror as the third item that the hero receives if they successfully bind him.
- Iris is a spirit whose taboo prevents a hero that binds her from looking at their reflection in a mirror or any other reflective surface. This may prove annoying for a Binder who wishes to check for spirit signs that are not visible on the normal base attributes screen, which is normally done by applying a mirror at themselves.
- Nudzirath is a spirit whose binding ritual requires its seal to be drawn on a square containing a non-artifact mirror, which is destroyed as part of the binding ritual—several of his powers also revolve around mirrors in some form.
Spa shops in Elshava can stock mirrors.
Kamerel can counteract the increases in spell failure rates induced by the Outlands and Outlands Rings by carrying mirrors: each type of spellcasting Kamerel is always generated with a mirror of varying object materials depending on that Kamerel's type.
The Hand-Mirror of Cthylla is an unaligned artifact mirror exclusive to Binders that is generated in the same circumstances as The Silver Key for other heroes.
The "argent sheen" madness obtained from seeing Graz'zt directly causes a hero to intermittently lose turns by stopping to admire themselves in a mirror, among other detrimental effects—a hero with the madness that applies a mirror at themselves can trigger this effect.
EvilHack
In EvilHack, mirrors have additional special and general interactions:
- A racial shopkeeper that is a nymph will not be tempted into stealing a mirror applied at her like other nymphs.
- A monster with ultravision can see their reflection in a mirror that is applied at them in the dark.
- Applying a mirror at a magical eye can scare and cancel it.
- Medusa will avert her gaze from a mirror applied in her direction 24⁄25 (96%) of the time. This makes it harder to kill her with in comparison to passive reflection, but also means that a hero can still potentially kill her without being subjected to stoning bites from her hair's snakes in melee.
Hack'EM
In Hack'EM, upgrading a mirror can produce an expensive camera and vice versa.
Silver dragon-scaled armor can scare monsters adjacent to the wearer as an applied mirror.
A user has suggested improving this page or section as follows:
"Cross reference Hack'EM with Evil above to see what does and doesn't still apply."
Encyclopedia entry
But as Snow White grew, she became more and more beautiful,
and by the time she was seven years old she was as beautiful
as the day and more beautiful than the queen herself. One
day when the queen said to her mirror:
"Mirror, Mirror, here I stand.
Who is the fairest in the land?" -
the mirror replied:
"You, O Queen, are the fairest here,
But Snow White is a thousand times more fair."
References
- ↑ src/apply.c in NetHack 5.0.0, line 1017-L1199: use_mirror() function
- ↑ src/apply.c in NetHack 5.0.0, line 4330-L4332: call for use_mirror() in doapply()
- ↑ src/apply.c in NetHack 5.0.0, line 1032-L1038
- ↑ src/apply.c in NetHack 5.0.0, line 1077-L1082
- ↑ src/apply.c in NetHack 5.0.0, line 1083-L1089
- ↑ src/apply.c in NetHack 5.0.0, line 1168-L1185
- ↑ src/apply.c in NetHack 5.0.0, line 1102-L1127
- ↑ 8.0 8.1 src/apply.c in NetHack 5.0.0, line 1110: monable boolean
- ↑ src/apply.c in NetHack 5.0.0, line 1043-L1062
- ↑ src/apply.c in NetHack 5.0.0, line 1128-L1167
- ↑ src/apply.c in NetHack 5.0.0, line 1057-L1059: ghosts are excluded since both are nopoly
- ↑ src/apply.c in NetHack 5.0.0, line 1129-L1131
- ↑ src/apply.c in NetHack 5.0.0, line 1132-L1138
- ↑ src/apply.c in NetHack 5.0.0, line 1139-L1147
- ↑ src/apply.c in NetHack 5.0.0, line 1043-L1056
- ↑ src/apply.c in NetHack 5.0.0, line 1148-L1151
- ↑ src/apply.c in NetHack 5.0.0, line 1060-L1062
- ↑ src/apply.c in NetHack 5.0.0, line 1152-L1167
- ↑ src/dokick.c in NetHack 5.0.0, line 437-L439
- ↑ src/dokick.c in NetHack 5.0.0, line 1718-L1725
- ↑ 21.0 21.1 src/dothrow.c in NetHack 5.0.0, line 2494-L2497
- ↑ src/dothrow.c in NetHack 5.0.0, line 2594-L2596
- ↑ src/dokick.c in NetHack 5.0.0, line 443-L445
- ↑ src/dokick.c in NetHack 5.0.0, line 1723-L1724
- ↑ src/uhitm.c in NetHack 5.0.0, line 1130-L1141
- ↑ src/uhitm.c in NetHack 5.0.0, line 2006: mirror case in shade_aware()
- ↑ apply.c in NetHack 3.1.0, line 1315
- ↑ The NetHack Code 1.1, a resource used by players to communicate their precise playstyle for NetHack 3.1.3 and variants of the time
- ↑ apply.c in NetHack 3.4.3, line 715