Type

From TinyMUX
Jump to navigation Jump to search

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.