Difference between revisions of "Oil lamp"

From NetHackWiki
Jump to navigation Jump to search
m (Undo revision 149767 by MrSurvivor1997 (talk) you're overstating it. any mines strategies should be mentioned on the gnomish mines page)
(Tag: Undo)
(edit pass - unkludge lede, proper formatting, update refsrc, add potion of oil note)
Line 9: Line 9:
 
}}
 
}}
  
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.
+
An '''oil lamp''' is a kind of [[tool]] that appears in ''[[NetHack]]''. It appears as a '''[[lamp]]''' when unidentified, and is made of [[copper]]. 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.
  
The following roles have a chance of starting with an oil lamp:{{refsrc|src/u_init.c|182|version=NetHack 3.6.6}}
+
The following roles have a chance of starting with an oil lamp:{{refsrc|src/u_init.c|182|version=NetHack 3.6.7}}
  
* [[Archeologist]] ({{frac|4}} chance) {{refsrc|src/u_init.c|671|version=NetHack 3.6.6}}
+
* [[Archeologist]] ({{frac|4}} chance){{refsrc|src/u_init.c|671|version=NetHack 3.6.7}}
* [[Barbarian]]s ({{frac|6}} chance) {{refsrc|src/u_init.c|685|version=NetHack 3.6.6}}
+
* [[Barbarian]]s ({{frac|6}} chance){{refsrc|src/u_init.c|685|version=NetHack 3.6.7}}
* [[Healer]]s ({{frac|25}} chance) {{refsrc|src/u_init.c|699|version=NetHack 3.6.6}}
+
* [[Healer]]s ({{frac|25}} chance){{refsrc|src/u_init.c|699|version=NetHack 3.6.7}}
* [[Monk]]s ({{frac|10}} chance) {{refsrc|src/u_init.c|719|version=NetHack 3.6.6}}
+
* [[Monk]]s ({{frac|10}} chance){{refsrc|src/u_init.c|719|version=NetHack 3.6.7}}
* [[Priest]]s ({{frac|10}} chance) {{refsrc|src/u_init.c|731|version=NetHack 3.6.6}}
+
* [[Priest]]s ({{frac|10}} chance){{refsrc|src/u_init.c|731|version=NetHack 3.6.7}}
* [[Valkyrie]]s ({{frac|6}} chance) {{refsrc|src/u_init.c|783|version=NetHack 3.6.6}}
+
* [[Valkyrie]]s ({{frac|6}} chance){{refsrc|src/u_init.c|783|version=NetHack 3.6.7}}
  
==Effects==
+
Characters that start the game with an oil lamp will possess knowledge of the [[potion of oil]].{{refsrc|src/u_init.c|1111|version=NetHack 3.6.7}}
[[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]].
 
  
===Light radius===
+
==Description==
An oil lamp has a light radius of three squares around the character.
+
[[Apply]]ing a [[beatitude|noncursed]] oil lamp in your inventory will turn it on; a cursed oil only has a {{frac|2}} chance of lighting each time it is applied.{{refsrc|apply.c|1088}}
 +
 
 +
While on, an oil lamp will light darkened tiles in a radius of three squares around it:
 
{{lightradius|r=3}}
 
{{lightradius|r=3}}
 +
 +
Oil lamps will remain on for for 1000 to 1499 turns; they can be refilled by [[read]]ing a [[scroll of charging]] or #[[dip]]ping the unlit lamp into a [[potion of oil]]. If you dip a lit oil lamp into a potion of oil, you are likely to cause a [[fireball]].
  
 
==Strategy==
 
==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 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 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-name]]d to differentiate them from unidentified magic lamps.
  
 
==History==
 
==History==
Line 39: Line 42:
  
 
==Messages==
 
==Messages==
As the lamp runs out of turns, you will receive the following messages in order.
+
{{message|The lamp flickers for a moment, then dies.|You attempted to light a cursed oil lamp and failed.}}
 +
 
 +
As the lamp runs out of turns, you will receive the following messages in order:
  
{{message|The lamp flickers for a moment, then dies.|You attempted to light a cursed oil lamp and failed.}}
 
 
{{message|Your lamp flickers.|The lamp has a couple hundred turns left.}}
 
{{message|Your lamp flickers.|The lamp has a couple hundred turns left.}}
 
{{message|Your lamp flickers considerably.|The lamp has 50 or so turns left.}}
 
{{message|Your lamp flickers considerably.|The lamp has 50 or so turns left.}}

Revision as of 08:28, 3 April 2023

( 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 kind of tool that appears in NetHack. It appears as a lamp when unidentified, and is made of copper. 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]

Characters that start the game with an oil lamp will possess knowledge of the potion of oil.[8]

Description

Applying a noncursed oil lamp in your inventory will turn it on; a cursed oil only has a 12 chance of lighting each time it is applied.[9]

While on, an oil lamp will light darkened tiles in a radius of three squares around it:

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

Oil lamps will remain on for for 1000 to 1499 turns; they can be refilled by reading a scroll of charging or #dipping the unlit lamp into a potion of oil. If you dip a lit oil lamp into a potion of oil, you are likely to cause a fireball.

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

The lamp flickers for a moment, then dies.
You attempted to light a cursed oil lamp and failed.

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

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