maglite.c

ds2.10/lib/domains/town/obj/maglite.c · 663 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

#include <lib.h>
#include <vendor_types.h>
inherit "/lib/flashlight";

void create(){
    ::create();
    SetKeyName("maglite");
    SetId( ({"fl","flashlight","light","flashlite","Maglite"}) );
    SetAdjectives( ({"powerful","heavy","large","Maglite"}) );
    SetShort( "a large flashlight" );
    SetLong("This is a powerful, heavy, Maglite brand flashlight.");
    SetMass(30);
    SetBaseCost("silver",40);
    SetLightLevel(20);
    SetMinCells(4);
    SetMaxCells(4);
    SetCellType("D");
    Lit=0;
    SetVendorType(VT_TREASURE);
    SetInventory(([
                "/domains/town/obj/dcell_good":4
                ]));

}

void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571