/doc/lfun/InvShort


LFUN

string InvShort ()

DESCRIPTION

Returns the short description of this object suitable for an inventory listing.

Result
A string with the capitalized short description of this object, or "" if the object is invisible.

The result is normally just the capitalized Short() of this object. Actual objects may redefine InvShort() as they please to. The returned string is contains no linebreaks.

EXAMPLE

  string sh;
  if ("" != (sh = obj->Short()))
    write(sh+"\n");

IMPLEMENTED

/std/thing/description

SEE ALSO

Short
perception

| Home | Applied | Concepts | Efuns | Help | Intro | Lfuns | Lib | LPC | Prop | Obj | Sefuns | Std | W |

Nightfall@quest.tat.physik.uni-tuebingen.de
Automatically generated on Mon, Jul 22, 1996