Jamdog's blog

prefedit, autodoor and autokey

There have been a few new features added to TBA today, and the SVN version of the tbaMUD codebase.

They are all things I have added to a few MUDs, and have always been very popular with players.

autokey Autokey, when enabled, will automatically use a door key (if it's in your inventory) when you try to open a locked door. You do not need to use the separate unlock command.
Autokey is a player toggle. It can be turned on and off using the autokey command, the toggle autokey command, or prefedit (see below).
autodoor Autodoor, when enabled, will automatically find the next available door when using the open, close, lock, unlock or pick commands. For example, in a room with several closed doors, one door will be opened each time the player types open door until all the doors are open. The player can still specify a direction to open a particular door.
prefedit An addition to OasisOLC for players! The menu-driven interface allows players to change all of their preferences and toggles.

Here's an example with autokey AND autodoor turned on

> look
A large room
You are in a large room, surrounded by doors. The doors to the north and south are lock, and the doors east and west are closed.
Exits: (n) (e) (s) (w)
> open door
The door is locked, but you have the key.
*click*
You open the door
> open door
You open the door
> open door
The door is locked, but you have the key.
*click*
You open the door
> look
A large room
You are in a large room, surrounded by doors. The doors to the north and south are lock, and the doors east and west are closed.
Exits: n e s (w)
>
Syndicate content