trashcan.c

ds2.9a10/lib/domains/campus/obj/trashcan.c · 532 B

From the archive ds2.9a10.zip

Download the archive   « Back to the archive contents

#include <lib.h>

inherit LIB_BASE_DUMMY;
inherit LIB_STORAGE;

static void create() {
    base_dummy::create();
    storage::create();
    SetKeyName("trashcan");
    SetId(({"can","container"}));
    SetAdjectives("trash");
    SetShort("a trashcan");
    SetLong("A container for discarding waste.");
    SetMass(1500);
    SetDollarCost(15);
    SetMaxCarry(900);
    SetInventory( ([ 
        "/domains/campus/obj/key1" : 1,
      ]) );
    SetPreventGet("It is firmly attached to the ground.");
}
void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571