countertop.c

final_realms_fluffos_v1/lib/d/newbie/duergar/items/countertop.c · 576 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

/* Hamlet wrote this.  Skie claimed to write it.  Hamlet was not impressed. */
inherit "/std/container";
#include "path.h"
 
object bowl;
object spoon;

void setup() {
  set_name("counter");
  set_long("This is the counter top.  It is littered with empty cans and "
           "mess\n");
  set_value(0);
  set_weight(10000);
  set_max_weight(10000);
  reset_get();

//  set_prevent_insert();


if (!spoon) {
    spoon = clone_object(ITEMS+"spoon");
    spoon->move(this_object());
  }

  if(!bowl) {
    bowl = clone_object(ITEMS+"bowl");
    bowl->move(this_object());
  }
}

Site Stats

Snippets: 1791
Codebases: 571