exit
index
(built-in)

The exit module, for all MUD exit-related stuff.

 
Classes
       
__builtin__.object
Exit

 
class Exit(__builtin__.object)
    Python Exit object
 
  Methods defined here:
__cmp__(...)
x.__cmp__(y) <==> cmp(x,y)
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
close(...)
close()
 
Close the exit's door if it exists.
filldoor(...)
filldoor()
 
Erase a door that was on the exit.
lock(...)
lock()
 
Locks the exit's door if it exists. Also closes.
makedoor(...)
makedoor(name=None, keywords=None, opposite=None, closed=False, locked=False)
 
Create a door for the exit.
open(...)
open()
 
Opens the exit's door if it exists. Also unlocks.
unlock(...)
unlock()
 
Unlocks the exit's door if it exists.

Data descriptors defined here:
desc
The verbose description of the exit when, e.g., it is looked at.
dest
The room that this exit leads to. Can be set either by assigning a
world room key, or an actual room.
destproto
The world room key of our destination. Immutable.
enter_mssg
A message for when a char enters the room via this exit.
hidden
Alias for exit.Exit.spot_diff
is_closable
True or False if an exit can be closed. Immutable.
is_closed
True or False if an exit is closed. Immutable.
is_locked
True or False if an exit is locked.
key
An object prototype name that can be used to unlock this exit. Can be
set either by assigning a prototype name, or an actual object.
keywords
A comma-separated string of the door's keywords.
leave_mssg
A message for when a character leaves a room via this exit.
name
The name of the door for this exit, if any.
opposite
if the exit is special, a dir name for the exit that leads back to
this exit's room.
pick_diff
Integer value representing how hard the exit's lock is to pick.
room
The room we this exit is attached to. Immutable.
spot_diff
Integer value representing how hard to see the exit is.
uid
The exit's universal identification nubmer. Immutable.

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x6d700>
T.__new__(S, ...) -> a new object with type S, a subtype of T