Type: Difference between revisions

From TinyMUX
Jump to navigation Jump to search
Generalize to MUSH, add that all objects are ultimately owned by player objects.
 
(No difference)

Latest revision as of 18:30, 17 January 2006

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.