Type

From TinyMUX
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

All objects in the database have a type.

There are four valid types:

  • Room - Rooms can contain objects. They do not have a location.
  • Thing - Things can contain objects. They have a location.
  • Exit - Exits cannot contain objects. They have a source and a destination.
  • Player - Players can contain objects. They have a location. Player objects are how players interact with the MUSH, and every object is ultimately owned by them.

There is also a fifth type, Garbage.

See also: type(), hastype()

Relevant help files: help OBJECT TYPES.