bench.c

ds2.10/lib/domains/campus/obj/bench.c · 638 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

/*    /domains/campus/etc/stool.c
 *    From the Dead Souls Object Library
 *    An example of a chair object
 *    Created by Descartes of Borg 961221
 */

#include <lib.h>

inherit LIB_CHAIR;


static void create() {
    chair::create();
    SetKeyName("bench");
    SetId("bench");
    SetAdjectives("wooden");
    SetShort("a wooden bench");
    SetLong("This is a typical wooden bench, the sort you might "+
            "see in a park. It appears designed for sitting on.");
    SetMass(1500);
    SetDollarCost(15);
    SetMaxSitters(3);
}
mixed CanGet(object ob) { return "The bench does not budge.";}
void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571