shovel.c

nightmare4_fluffos_v1/lib/domains/Ylsrim/etc/shovel.c · 507 B

From the archive nightmare4_fluffos_v1.zip

Download the archive   « Back to the archive contents

/*    /domains/Ylsrim/etc/shovel.c
 *    From the Nightmare V Object Library
 *    An example of how to code a digging tool
 *    Created by Descartes of Borg 961231
 */

#include <lib.h>

inherit LIB_ITEM;
inherit LIB_DIG_WITH;

static void create() {
    item::create();
    SetKeyName("shovel");
    SetId("shovel", "spade");
    SetAdjectives("wooden");
    SetShort("a shovel");
    SetLong("A plain, wooden shovel.  You probably can dig things with "
	    "it.");
    SetMass(87);
    SetValue(50);
}

Site Stats

Snippets: 1791
Codebases: 571