Spellbook of wizard lock
spellbook of + wizard lock ![]() | |
---|---|
Appearance | random |
Abundance | 3% |
Base price | 200 zm |
Weight | 50 |
Turns to read | 3 |
Ink to write | 10–19 |
Spell type | matter |
Level | 2 |
Power cost | 10 Pw |
Direction | beam |
Equivalent | wand of locking |
In NetHack, the spellbook of wizard lock can be read to learn the spell of wizard lock. It is a level 2 matter spell, and the spellbook takes roughly 3 turns to read.
Contents
Generation
Wizards may be given a spellbook of wizard lock as the secondary spellbook in their starting inventory.[1]
Spellbooks of wizard lock make up 3⁄100 (3%) of all randomly-generated spellbooks. General stores, second-hand bookstores and rare books stores can sell spellbooks of wizard lock.
Writing a spellbook of wizard lock with a magic marker uses up 10 to 19 charges.
Description
The wand of locking is a directional spell that has the same effects as a spell of wizard lock: when zapped, the wand emits a beam in the prompted direction that closes and/or locks any drawbridges, lockable containers and doors it makes contact with, as well as creating locked doors in doorways within room walls[2]—a door or doorway that has an item or trap in it will not have a locked door created on its square, and a doorway on the Rogue level will be converted to an undiscovered secret door.[3] The wand will repair any broken locks where necessary, but cannot repair destroyed drawbridges.
Zapping the spell downward while over a hole will convert it into a trap door.[4]
The following information pertains to an upcoming version (3.7.0). If this version is now released, please verify that the information below is still accurate, then update the page to incorporate it.
Per commit 149cb960, a cloaked mimic hit by the spell will uncloak.Strategy
Like the wand of locking, the spell of wizard lock is useful for closing doors at a distance when securing a room (e.g. for nurse dancing or sacrificing at an altar) or escaping from monsters that are not amorphous or phasing, and can be used with with the knock spell or wand of opening to weaponize the Castle drawbridge. Unlike the wands, using one or both spells to crush monsters requires a fair amount of energy investment, which is generally only feasible for spellcasting heroes with a means of energy regeneration or recovery (e.g. Wizards or Priests that have completed their respective Quests).
Both the wizard lock and knock spells can also be used to train up skill in matter spells in order to cast high-level spells such as polymorph.
The following information pertains to an upcoming version (3.7.0). If this version is now released, please verify that the information below is still accurate, then update the page to incorporate it.
Some monsters will rummage through unlocked containers, making it much more vital to lock them, and the wizard lock spell can suffice if you lack an unlocking tool to do so with.History
The spellbook of wizard lock first appears in NetHack 3.0.0, along with the wand of locking.
Messages
- Klunk!
- A container was locked by the wand's beam.
- The door <swings shut, and> locks!
- A door was hit by the wand's beam and locked, with the additional words printed for open doors.
- The broken door reassembles and locks!
- A door that was previously destroyed was reformed by the beam and locked.
- A cloud of dust springs up and assembles itself into a door!
- A locked door was created in a valid door way by the wand's beam.
- A cloud of dust springs up in the older, more primitive doorway.
- The doorway vanishes!
- A secret door was created from a doorway in the Rogue level.
- You hear a swoosh.
- As above, but you did not see it.
- The cloud quickly dissipates.
- The doorway was obstructed by an item.
- A cloud of dust springs up in the doorway, but quickly dissipates.
- The doorway was obstructed by a trap.
- A trapdoor appears beneath you.
- You used the spell to turn a hole into a trap door.
- Some dust swirls beneath you.
- As above, but you were blind or not aware of the trap.
- Some frost swirls beneath you.
- As above, while you were blind or not aware of the trap, and it was on an ice square.
Variants
SLASH'EM
In SLASH'EM, the Archeologist has a 1⁄5 chance of starting with a blessed spellbook of wizard lock, and the Priest has a 1⁄9 chance of starting with a blessed spellbook of wizard lock.[5][6]
Zapping the spell at the indestructible doors in Vlad's Tower will only close the doors without locking them.[7]
EvilHack
In EvilHack, the spell of wizard lock is one of the few ways to lock a cracked iron safe, and is one of a handful of methods that can lock a crystal chest.
References
- Jump up ↑ src/u_init.c in NetHack 3.6.7, line 169
- Jump up ↑ src/lock.c in NetHack 3.6.7, line 883
- Jump up ↑ src/lock.c in NetHack 3.6.7, line 957
- Jump up ↑ src/zap.c in NetHack 3.6.7, line 2908
- Jump up ↑ u_init.c in SLASH'EM 0.0.7E7F2, line 1015
- Jump up ↑ u_init.c in SLASH'EM 0.0.7E7F2, line 1135
- Jump up ↑ lock.c in SLASH'EM 0.0.7E7F2, line 1046