Light sources

Light sources are generated to stay lit for the number of turns noted below. They are generated in the quantity and BUC state shown. Cursed light sources will sometimes not light.

Candles can also be applied to the Candelabrum of Invocation. Brass lanterns and oil lamps can be refilled by a scroll of charging; a blessed scroll will refill them to 1500 turns, an uncursed scroll will add 750 turns to a maximum of 1500. Oil lamps with 1000 or fewer turns left can also be refilled with potions of oil, getting twice the remaining turns in the potion of oil. (Attempting to refill an oil lamp with a lit potion of oil, or while the lamp is lit, will cause an explosion dealing 6 to 36 points of damage). No lamp can be filled beyond 1500 turns.

The artifact weapon Sunsword will act as a light source whenever wielded, either by you or by a monster.

Magic lamps
If you wish for a magic lamp, you will instead get an ordinary oil lamp.

Magic lamps never run out of power, and may summon a djinni and lead to a wish when #rubbed. Each time you rub the lamp, there is a 1/3 chance that "You see a puff of smoke" and another 1/3 chance that "Nothing happens"; in either case, just try again.

The remaining 1/3 of the time a djinni appears, the lamp is identified and turned into an oil lamp, and one of five outcomes can occur. The relative chance of these outcomes depends on whether the lamp was blessed, uncursed, or cursed:

Note: There is no way to get a wish from the djinni other than the first outcome above.

There is a limit of 120 djinn per game. Beyond this limit, they are extinct and no more can be created. This includes djinni summoned from smoky potions and any placed on the Plane of Air.