dcell_std.c

ds2.1.1/lib/domains/town/obj/dcell_std.c · 528 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

#include <lib.h>
#include <vendor_types.h>
inherit "/lib/battery";
void create(){
    ::create();
    SetKeyName("d-cell");
    SetId( ({"cell","battery"}) );
    SetAdjectives( ({"d","generic","D","D-cell"}) );
    SetShort("a D cell battery");
    SetLong("This is a typical D-cell battery, of a generic brand.");
    SetMass(2);
    SetBaseCost("silver",2);
    SetVendorType(VT_TREASURE);
    SetPowerType("DC");
    SetCellType("D");
    SetCharge(1000);
    SetRechargeable(0);
    SetDrainable(1);
    SetDrainRate(1);
}

Site Stats

Snippets: 1791
Codebases: 571