Difference between revisions of "Oil lamp"

From NetHackWiki
Jump to navigation Jump to search
(Generation: classes that may start with an oil lamp)
Line 9: Line 9:
 
}}
 
}}
  
An '''oil lamp''' is a [[light]] source that appears in ''[[NetHack]]''.
+
An '''oil lamp''' is a tool that appears in ''[[NetHack]]''. It appears as a '''[[lamp]]''' when unidentified, and is made of [[copper]]. It Oil lamps are one of many [[light source]]s available.
  
 
==Generation==
 
==Generation==
 
When you release a [[djinni]] from a [[magic lamp]], the lamp becomes an oil lamp.
 
When you release a [[djinni]] from a [[magic lamp]], the lamp becomes an oil lamp.
  
[[Archeologist]]s, [[Barbarian]]s, [[Healer]]s, [[Monk]]s, [[Priest]]s, and [[Valkyrie]]s have a chance of starting with an oil lamp.
+
The following roles have a chance of starting with an oil lamp:{{refsrc|src/u_init.c|182|version=NetHack 3.6.6}}
 +
 
 +
* [[Archeologist]] ({{frac|4}} chance) {{refsrc|src/u_init.c|671|version=NetHack 3.6.6}}
 +
* [[Barbarian]]s ({{frac|6}} chance) {{refsrc|src/u_init.c|685|version=NetHack 3.6.6}}
 +
* [[Healer]]s ({{frac|25}} chance) {{refsrc|src/u_init.c|699|version=NetHack 3.6.6}}
 +
* [[Monk]]s ({{frac|10}} chance) {{refsrc|src/u_init.c|719|version=NetHack 3.6.6}}
 +
* [[Priest]]s ({{frac|10}} chance) {{refsrc|src/u_init.c|731|version=NetHack 3.6.6}}
 +
* [[Valkyrie]]s ({{frac|6}} chance) {{refsrc|src/u_init.c|783|version=NetHack 3.6.6}}
  
 
==Effects==
 
==Effects==
Applying one will provide light to darkened areas for 1000 to 1499 turns. They can be refilled with a [[scroll of charging]], as well as a [[potion of oil]] using the #[[dip]] command. If you dip a lit oil lamp into a potion of oil, you are likely to cause a [[fireball]].
+
[[Apply]]ing a [[beatitude|noncursed]] oil lamp you carry will turn it on, lighting darkened tiles in an area around it for 1000 to 1499 turns; if an oil lamp is cursed, it has only a 50% chance of lighting each time it is applied.{{refsrc|apply.c|1088}} Oil lamps can be refilled by [[read]]ing a [[scroll of charging]] or #[[dip]]ping it into a [[potion of oil]] while unlit. If you dip a lit oil lamp into a potion of oil, you are likely to cause a [[fireball]].
 
 
If an oil lamp is cursed, it has only a 50% chance of lighting each time it is applied.{{refsrc|apply.c|1088}}
 
  
 
===Light radius===
 
===Light radius===
Line 26: Line 31:
  
 
==Strategy==
 
==Strategy==
Oil lamps can be distinguished from magic lamps by [[price identification]]; an oil lamp's base price is 10zm, while a magic lamp's is 50. Magic lamps also burn indefinitely, so any lamp that eventually flickers and goes out is an oil lamp. You can also [[rub]] the lamp a few times to see if a puff of smoke or a djinni emerges, though doing this with a non-blessed magic lamp is likely to release the djinni without granting a [[wish]]. Once a lamp is indirectly identified as an oil lamp, it can be [[Name##naming a class of items|type-named]] to differentiate oil lamps from unidentified magic lamps.
+
Oil lamps can be conserved by turning them off upon reaching a lit room or area. Cursed oil lamps are simply more tedious to turn on and provide just as much light, so they are not as urgent to bless or uncurse as other items.
 +
 
 +
Oil lamps can be distinguished from magic lamps by [[price identification]]; an oil lamp's base price is 10zm, while a magic lamp's is 50. Magic lamps also burn indefinitely, so any lamp that eventually flickers and goes out is an oil lamp. You can also #[[rub]] the lamp a few times to see if a puff of smoke or a djinni emerges, though doing this with a non-blessed magic lamp is likely to release the djinni without granting a [[wish]]. Once a lamp is indirectly identified as an oil lamp, it can be [[Name##naming a class of items|type-named]] to differentiate them from unidentified magic lamps.
  
Oil lamps can be conserved by turning them off upon reaching a lit room or area in order to conserve oil. Cursed oil lamps are simply more tedious since they may take multiple attempts to light, but are not as urgent to bless or uncurse as other items.
+
==History==
 +
The oil lamp first appears in [[NetHack 2.3e]], where it is simply called a "lamp"; it was given its current name in [[NetHack 3.1.0]].
  
 
==Messages==
 
==Messages==
Line 44: Line 52:
 
==References==
 
==References==
 
<references/>
 
<references/>
 
+
{{nethack-366}}
 
[[Category:Tools]]
 
[[Category:Tools]]
{{nethack-366}}
 

Revision as of 20:36, 21 December 2021

( Lamp.png
Name oil lamp
Appearance lamp
Base price 10 zm
Weight 20
Material copper
Monster use Will not be used by monsters.

An oil lamp is a tool that appears in NetHack. It appears as a lamp when unidentified, and is made of copper. It Oil lamps are one of many light sources available.

Generation

When you release a djinni from a magic lamp, the lamp becomes an oil lamp.

The following roles have a chance of starting with an oil lamp:[1]

Effects

Applying a noncursed oil lamp you carry will turn it on, lighting darkened tiles in an area around it for 1000 to 1499 turns; if an oil lamp is cursed, it has only a 50% chance of lighting each time it is applied.[8] Oil lamps can be refilled by reading a scroll of charging or #dipping it into a potion of oil while unlit. If you dip a lit oil lamp into a potion of oil, you are likely to cause a fireball.

Light radius

An oil lamp has a light radius of three squares around the character.

...........
...........
....xxx....
...xxxxx...
..xxxxxxx..
..xxx@xxx..
..xxxxxxx..
...xxxxx...
....xxx....
...........
...........

Strategy

Oil lamps can be conserved by turning them off upon reaching a lit room or area. Cursed oil lamps are simply more tedious to turn on and provide just as much light, so they are not as urgent to bless or uncurse as other items.

Oil lamps can be distinguished from magic lamps by price identification; an oil lamp's base price is 10zm, while a magic lamp's is 50. Magic lamps also burn indefinitely, so any lamp that eventually flickers and goes out is an oil lamp. You can also #rub the lamp a few times to see if a puff of smoke or a djinni emerges, though doing this with a non-blessed magic lamp is likely to release the djinni without granting a wish. Once a lamp is indirectly identified as an oil lamp, it can be type-named to differentiate them from unidentified magic lamps.

History

The oil lamp first appears in NetHack 2.3e, where it is simply called a "lamp"; it was given its current name in NetHack 3.1.0.

Messages

As the lamp runs out of turns, you will receive the following messages in order.

The lamp flickers for a moment, then dies.
You attempted to light a cursed oil lamp and failed.
Your lamp flickers.
The lamp has a couple hundred turns left.
Your lamp flickers considerably.
The lamp has 50 or so turns left.
Your lamp seems about to go out.
The lamp has about ten or twenty turns left.
Your lamp has gone out.
The lamp will no longer provide light unless refilled or recharged.

See also

References