Difference between revisions of "Help/Lock"

From DikuMUD Wiki
Jump to navigation Jump to search
(Lock: lock and unlock, keys, both sides of a door, pick lock and the lock/unlock spells, from basemove.zon, spells.zon and guilddef.h; covers key and unlock)
 
(conjurer guild level 16)
 
Line 20: Line 20:
 
Without the key, there are other ways:
 
Without the key, there are other ways:
 
* the skill pick lock (see {Help Pick Lock}), though some locks can't be picked;
 
* the skill pick lock (see {Help Pick Lock}), though some locks can't be picked;
−
* the spell unlock, which opens a lock with a *click*, and its twin lock, which locks one; conjurers learn them (lock at guild level 14, unlock at 27), and sorcerers and thieves learn them up to 50%. Name the direction or the thing: cast unlock north, cast unlock chest.
+
* the spell unlock, which opens a lock with a *click*, and its twin lock, which locks one; conjurers learn them (lock at guild level 16, unlock at 27), and sorcerers and thieves learn them up to 50%. Name the direction or the thing: cast unlock north, cast unlock chest.
  
  

Latest revision as of 19:58, 14 November 2026

Lock

Usage:

lock <door or thing>
unlock <door or thing>
lock <direction> <door>      (when there are several doors)

Examples:

unlock door
lock up grating
unlock chest

A locked door or chest won't open until it is unlocked. To lock or unlock one you need its key: carry it, and the command finds it by itself. A door or lid must be closed before you can lock it. Locking a door locks it from the other side too.

Not every door has a keyhole: some can only be closed.

Without the key, there are other ways:

  • the skill pick lock (see {Help Pick Lock}), though some locks can't be picked;
  • the spell unlock, which opens a lock with a *click*, and its twin lock, which locks one; conjurers learn them (lock at guild level 16, unlock at 27), and sorcerers and thieves learn them up to 50%. Name the direction or the thing: cast unlock north, cast unlock chest.


See Also:

> {Help Open}
> {Help Close}
> {Help Pick Lock}
> {Help Exits}