Difference between revisions of "Yellow light"

From NetHackWiki
Jump to navigation Jump to search
(fix frequency)
m (Strategy: restore missing word)
 
(15 intermediate revisions by 10 users not shown)
Line 2: Line 2:
 
  |difficulty=5
 
  |difficulty=5
 
  |level=3
 
  |level=3
  |experience=43
+
  |experience=44
 
  |speed=15
 
  |speed=15
 
  |AC=0
 
  |AC=0
Line 9: Line 9:
 
  |frequency=4
 
  |frequency=4
 
  |genocidable=Yes
 
  |genocidable=Yes
  |attacks=Explode [[blindness|blind]]
+
  |attacks=Explode 10d20 [[blindness|blind]]
 
  |weight=0
 
  |weight=0
 
  |nutr=0
 
  |nutr=0
 
  |size=Small
 
  |size=Small
  |resistances=Fire, Cold, Shock, Disintegration, Sleep, Poison, Acid, Stoning
+
  |resistances=fire, cold, shock, disintegration, sleep, poison, acid, stoning
 
  |resistances conveyed=None
 
  |resistances conveyed=None
  |attributes={{attributes|A yellow light|=
+
  |attributes={{attributes|A yellow light|nocorpse=1|fly=1|breathless=1|amorphous=1|noeyes=1|nolimbs=1|nohead=1|mindless=1|unsolid=1|notake=1|hostile=1|neuter=1|infravisible=1|light=1}}
|nocorpse=1|fly=1|breathless=1|amorphous=1|noeyes=1|nolimbs=1|nohead=1|=
+
  |reference=[[monst.c#line956]]
|mindless=1|unsolid=1|notake=1|hostile=1|neuter=1|infravisible=1}}
 
  |reference=[[monst.c#line1037]]
 
 
}}
 
}}
  
A '''yellow light''' will explode (permanently destroying the light) and [[blindness|blind]] you when adjacent, but cause no other damage. The blindness will last for 10d20 turns.
+
A '''yellow light''', {{monsym|yellow light}}, is a type of monster that appears in ''[[NetHack]]''. The yellow light is the only other member of the [[Light (monster class)|light]] [[monster class]] along with the [[black light]]. It is [[amorphous]], can [[fly]] and flow under [[door]]s, and act as a 3x3 [[light]] source.
  
As yellow lights can't [[see invisible]], if you are [[invisibility|invisible]] or [[displacement|displaced]] they may explode at an empty square with no blinding effect.
+
A yellow light has an [[explosion]] attack directed at a target monster's square that destroys the yellow light, wakes nearby [[sleeping]] monsters and [[blind]]s any monster hit for 10d20 turns. The attack is ineffective on targets that cannot see, and if the yellow light is invisible and a character cannot [[see invisible]], there is an [[experience level]]-based chance that its explosion will have no effect.{{refsrc|src/mhitu.c|2100|version=NetHack 3.6.7}} A yellow light possesses every resistance [[property]] minus [[magic resistance]].
  
The explosion of a yellow light will wake nearby sleeping monsters.
+
==Generation==
 +
Randomly-generated yellow lights are always hostile.
  
== Strategy ==
+
In addition to normal random generation, [[read]]ing a non-[[cursed]] [[scroll of light]] while confused has a {{frac|5}} chance of generating a yellow light unless they are [[genocide]]d.
The best course of action is to put on a [[blindfold]] or [[towel]] and wait for it to explode, or to have a [[Blindness#Curing_blindness|blindness cure]] ready. If it is invisible and you do not [[see invisible]], then it won't blind you, and you get the message "Something explodes, but you get the feeling it wasn't too bright".
 
  
== Encyclopedia entry ==
+
The second variant of [[Medusa's Island]] has a yellow light in the back room of the hall [[Medusa]] inhabits, and three yellow lights are generated on the [[Plane of Air]].
  
 +
Yellow lights [[Corpseless|never leave a corpse]] upon death.
 +
 +
{{upcoming|NetHack 3.7.0|Per {{commit|1ba1422eba147c875ea90c1d0456511a8519cecf}} (partly adapted from [[UnNetHack]]), reading a non-cursed scroll of light while confused will instead summon multiple [[tame]] [[cancelled]] yellow lights if they are not genocided. An uncursed scroll will summon 3–4 yellow lights, while a blessed scroll will summon 5–6 yellow lights.}}
 +
 +
==Strategy==
 +
While it is possible to kill yellow lights normally for characters that can deal with their 0 [[AC]] and fast, erratic movement, it is usually preferable to let them explode while the character is already blinded: a [[blindfold]] or [[towel]] is one of the most straightforward methods of making yellow lights harmless, and a [[unicorn horn]] or curative spell (e.g., {{spell of|extra healing}} and {{spell of|cure blindness}}) also make them trivial to deal with. Yellow lights also cannot see invisible - if their target is [[invisible]] or has [[displacement]], they may harmlessly explode at the square that the light perceives them to be at.
 +
 +
Be careful of dealing with yellow lights in or around rooms such as [[treasure zoo]]s or [[throne room]]s - a light that explodes close to the room will wake many (if not all) of the inhabitants.
 +
 +
==History==
 +
Yellow lights have been present since Hack121, a variant of [[Jay Fenlason's Hack]].
 +
 +
==Messages==
 +
{{message|You get the impression it was not terribly bright.|An invisible yellow light exploded, and you were unaffected by it.}}
 +
{{message|You have a melancholy feeling for a moment, then it passes.|A [[tame]] yellow light exploded.}}
 +
 +
==Variants==
 +
===UnNetHack===
 +
In [[UnNetHack]], reading a non-cursed scroll of light while confused will instead summon multiple [[tame]] [[cancelled]] yellow lights if they are not genocided. An uncursed scroll will summon 3–4 yellow lights, while a blessed scroll will summon 5–6 yellow lights.
 +
 +
===xNetHack===
 +
In [[xNetHack]], yellow lights emit a 2-square radius of light around themselves, and their explosion attack affects all monsters adjacent to it.
 +
 +
==Encyclopedia entry==
 
{{encyclopedia|
 
{{encyclopedia|
 
Strange creatures formed from energy rather than matter,
 
Strange creatures formed from energy rather than matter,
Line 37: Line 59:
 
foes.
 
foes.
 
}}
 
}}
 +
 +
==References==
 +
<references/>
 +
{{nethack-367}}
 
[[Category:Monsters]]
 
[[Category:Monsters]]

Latest revision as of 17:44, 29 May 2024

A yellow light, y, is a type of monster that appears in NetHack. The yellow light is the only other member of the light monster class along with the black light. It is amorphous, can fly and flow under doors, and act as a 3x3 light source.

A yellow light has an explosion attack directed at a target monster's square that destroys the yellow light, wakes nearby sleeping monsters and blinds any monster hit for 10d20 turns. The attack is ineffective on targets that cannot see, and if the yellow light is invisible and a character cannot see invisible, there is an experience level-based chance that its explosion will have no effect.[1] A yellow light possesses every resistance property minus magic resistance.

Generation

Randomly-generated yellow lights are always hostile.

In addition to normal random generation, reading a non-cursed scroll of light while confused has a 15 chance of generating a yellow light unless they are genocided.

The second variant of Medusa's Island has a yellow light in the back room of the hall Medusa inhabits, and three yellow lights are generated on the Plane of Air.

Yellow lights never leave a corpse upon death.

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.

Per commit 1ba1422e (partly adapted from UnNetHack), reading a non-cursed scroll of light while confused will instead summon multiple tame cancelled yellow lights if they are not genocided. An uncursed scroll will summon 3–4 yellow lights, while a blessed scroll will summon 5–6 yellow lights.

Strategy

While it is possible to kill yellow lights normally for characters that can deal with their 0 AC and fast, erratic movement, it is usually preferable to let them explode while the character is already blinded: a blindfold or towel is one of the most straightforward methods of making yellow lights harmless, and a unicorn horn or curative spell (e.g., extra healing and cure blindness) also make them trivial to deal with. Yellow lights also cannot see invisible - if their target is invisible or has displacement, they may harmlessly explode at the square that the light perceives them to be at.

Be careful of dealing with yellow lights in or around rooms such as treasure zoos or throne rooms - a light that explodes close to the room will wake many (if not all) of the inhabitants.

History

Yellow lights have been present since Hack121, a variant of Jay Fenlason's Hack.

Messages

You get the impression it was not terribly bright.
An invisible yellow light exploded, and you were unaffected by it.
You have a melancholy feeling for a moment, then it passes.
A tame yellow light exploded.

Variants

UnNetHack

In UnNetHack, reading a non-cursed scroll of light while confused will instead summon multiple tame cancelled yellow lights if they are not genocided. An uncursed scroll will summon 3–4 yellow lights, while a blessed scroll will summon 5–6 yellow lights.

xNetHack

In xNetHack, yellow lights emit a 2-square radius of light around themselves, and their explosion attack affects all monsters adjacent to it.

Encyclopedia entry

Strange creatures formed from energy rather than matter,
lights are given to self-destructive behavior when battling
foes.

References