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 and other attributes defined here:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T
desc = <attribute 'desc' of 'exit.Exit' objects>
The verbose description of the exit when, e.g., it is looked at.
dest = <attribute 'dest' of 'exit.Exit' objects>
The room that this exit leads to. Can be set either by assigning a
world room key, or an actual room.
destproto = <attribute 'destproto' of 'exit.Exit' objects>
The world room key of our destination. Immutable.
enter_mssg = <attribute 'enter_mssg' of 'exit.Exit' objects>
A message for when a char enters the room via this exit.
hidden = <attribute 'hidden' of 'exit.Exit' objects>
Alias for exit.Exit.spot_diff
is_closable = <attribute 'is_closable' of 'exit.Exit' objects>
True or False if an exit can be closed. Immutable.
is_closed = <attribute 'is_closed' of 'exit.Exit' objects>
True or False if an exit is closed. Immutable.
is_locked = <attribute 'is_locked' of 'exit.Exit' objects>
True or False if an exit is locked.
key = <attribute 'key' of 'exit.Exit' objects>
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 = <attribute 'keywords' of 'exit.Exit' objects>
A comma-separated string of the door's keywords.
leave_mssg = <attribute 'leave_mssg' of 'exit.Exit' objects>
A message for when a character leaves a room via this exit.
name = <attribute 'name' of 'exit.Exit' objects>
The name of the door for this exit, if any.
opposite = <attribute 'opposite' of 'exit.Exit' objects>
if the exit is special, a dir name for the exit that leads back to
this exit's room.
pick_diff = <attribute 'pick_diff' of 'exit.Exit' objects>
Integer value representing how hard the exit's lock is to pick.
room = <attribute 'room' of 'exit.Exit' objects>
The room we this exit is attached to. Immutable.
spot_diff = <attribute 'spot_diff' of 'exit.Exit' objects>
Integer value representing how hard to see the exit is.
uid = <attribute 'uid' of 'exit.Exit' objects>
The exit's universal identification nubmer. Immutable.