Contents
Jump to navigation
Jump to search
Contents is a property of an object. Only things, players, and rooms may have contents.
An object with contents is called a container. The contents of a container are all those other objects that have the container as their location.
The contents of a player object are also referred to as the player's inventory.
See also: lcon(), con(), @conformat.
Server Differences
To fully model the real world, one would expect that you should not be allowed to enter something you are ultimately carrying. This would create a circular locational reference with no outermost containing object.
PennMUSH attempts to prevent circular location references.
TinyMUX does not attempt to prevent circular location references.