Returns a string that contains a list of the names of all the objects in the object's contents list.
Removes the given object from the current contents list.
This is called by other objects who desire to get one of the objects from our contents list. See get on Location. origRecord is a minimal object reference to the object that newLocation wants.
This is called by other objects who desire to give us one of the objects from their contents list. See give on Location. result is set to true if we accept the object, false otherwise.
Returns the object in our contents best matching the given name, else returns a standard result in
result
.except
is used to exclude the calling object from the searching, as this will cause a hang.
This is called by other objects who desire to have a string presented to the tell methods of all objects in this location (at least, those _with_ tell methods).
The
except
argument takes an object reference and causes the string to not be presented to that object. This is very important, because if you call announce and the object making the announce call has a tell method, the announce will hand trying to re-enter that object. So, always put the object calling announce in theexcept
argument!
Gets an object from another object, which must be a descendant of location.
First we call getFrom on the from location, then put the object that that call returns into our contents list.
Note that objectRef is limited reference to the object we want to get.
Gives an object to another object, which must be a descendant of location.
First we call wantToGive on the from location, then remove the object that we give to that call from our contents list if the call returns true. See wantToGive on Location.