.__init__(names) | initialize; e.g. rock = Thing("rock,stone") |
.GetName(article=0) | return name with article; e.g.,
rock.GetName(The) returns "The rock" |
.(article=0) | alternate for GetName(); e.g.,
rock(a) returns "a rock" |
.NameMatch(str) | returns TRUE if this could be called str |
.GetNote() | return string for room contents list |
.GetDesc() | return description of the Thing |
.GetRoom() | return first Room which contains this Thing |
.CanSee(obj) | return TRUE if this can "see" obj,
assuming it's present |
.Tell(str,cmd=None) | tell this object the string,
after substituting object names etc. from command cmd |
.PreObj(cmd) | check validity of cmd; return OK or CANCEL |
.PostObj(cmd) | post-process cmd; return OK for normal output |
.PreMove(dest) | OK to move this to dest? return OK or CANCEL |
.PostMove(dest) | called after the object is moved |
.MoveTo(dest) | attempt to move this to dest |