Type

From TinyMUX
Revision as of 18:30, 17 January 2006 by Brazil (talk | contribs) (Generalize to MUSH, add that all objects are ultimately owned by player objects.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.