[Home] [Downloads] [Search] [Help/forum]

Building - an introduction to the database

Before we start talking about building rooms or creating things in the MUSH, it is worthwhile to discuss how the MUSH works internally, at least in broad terms.

Because the game is extensible (ie. you can add new rooms at any time) the program stores a "database" of rooms descriptions, links and so on in memory. The database consists of "objects" which can be one of:

Players are the people who log into the MUSH and play the game. Each player is represented internally by his or her database object (containing the player description, sex and so on).

Rooms are the places where players visit. Players are always in a room of some sort.

Exits are the way that rooms are linked. An exit named "south" for example links a room to the room to the south of it.

Things are things that players can pick up and take around, or look at (eg. keys, wands, chickens, notice boards and so on).


Every object has some fundamental characteristics:


Examining an object

You can usually see most of the above characteristics by "examining" an object. For example:


examine me
examine here

Unless you are a wizard, you can only examine object you own (unless the object has the "visual" flag set). Objects other people own will only tell you the name of the owner. This is to stop you examining objects and possibly finding out secrets about them (for example, you might examine a room and find its secret exits).

For example:


examine here
The Town Square(#9RnAJ) is owned by Gandalf


[Previous] [Next] [Back] [Home]
Written by Nick Gammon - 5K

Comments to Gammon Software support

[Best viewed with any browser - 2K]    Internet Contents Rating Association (ICRA) - 2K    [Hosted at HostDash]

Page updated on Wednesday, 15 December 2004