prev| toc| next
 

Overview: Things

Things are objects created with the @create command and having no type flag. Both rooms and things can contain other objects.

The syntax for @create is:

    @create <object> [=<cost> [=<regname>]]

The standard start-up database includes the user-created commands put and fetch. Put allows you to put an item you are carrying inside another item (syntax put <object> in <object>). Fetch allows you to retrieve an item from inside another (syntax fetch <object> from <object>). Partial names may be used for <object>.

====================================
> put kitty snacks in backpack
  Putting Kitty Snacks in Backpack.
> fetch kitty from back
  Fetching Kitty Snacks from Backpack.
====================================

Things can also be set up as vehicles, by setting their Vehicle flag and creating an exit that is both attached and linked to the thing. For vehicles, and occassionally for other objects, you would want to describe the interior of the thing. The interior of a thing can be given a description with the @idescribe command, syntax @idesc <object> = <interior description>.

====================================
> @create tRanSMogriFIER
  tRanSMogriFIER created with number 5489.

> @desc trans = A large cardboard box with tRanSMogriFIER
  written on the side in marker, and an arrow that says ----> IN
  Description set.
> @idesc tRanSMogriFIER = An enthusiastic artist has made lots of
  buttons and monsters with a marker on the sides.
  Description set.

> l trans
  A large cardboard box with tRanSMogriFIER written on the side in
  marker, and an arrow that says ----> IN

> @act get in;in;enter = trans
  Action created with number #2543 and attached to tRanSMogriFIER(#5489)
> @link get in = trans
  Linked to gen-nothing.muf(#363FLM2)
> get in
  tRanSMogriFIER(#5489)
  An enthusiastic artist has made lots of buttons and monsters with
  a marker on the sides.
====================================

See Section 4.4 for more information on making vehicles.

prev| toc| top| next