30 lines
659 B
C
30 lines
659 B
C
#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(20);
|
|
SetDollarCost(40);
|
|
SetLightLevel(20);
|
|
SetMinCells(4);
|
|
SetMaxCells(4);
|
|
SetCellType("D");
|
|
Lit=0;
|
|
SetVendorType(VT_TREASURE);
|
|
|
|
SetInventory(([
|
|
"/domains/campus/obj/dcell_good":4
|
|
]));
|
|
|
|
}
|
|
void init(){
|
|
::init();
|
|
}
|