picture.c

lima-1.0b5/lib/domains/std/camera/picture.c · 343 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents

/* Do not remove the headers from this file! see /USAGE for more info. */

inherit OBJ;
inherit M_GETTABLE;

void setup()
{
  object ob;

  set_adj("polaroid");
  set_id("picture");
  if ( (ob = this_body()) && (ob = environment(ob)) )
  {
    set_long("Looking at the picture, you see:\n\n" + ob->long());
    add_save( ({ "long" }) );
  }
}

Site Stats

Snippets: 1791
Codebases: 571