mud/lib/domains/cave/obj/tall_lamp.c
2020-09-06 05:43:07 -07:00

26 lines
652 B
C

#include <lib.h>
#include <vendor_types.h>
inherit LIB_TORCH;
void create(){
::create();
SetKeyName("lamp");
SetId( ({"thing","item","thang","dingus"}) );
SetAdjectives( ({"generic","sample","template"}) );
SetShort("a tall lamp");
SetLong("This is a tall lamp embedded into the floor, designed to provide light.");
SetPreventGet("The lamp is embedded into the floor.");
SetMass(20);
SetBaseCost("silver",10);
SetVendorType(VT_TREASURE);
SetRadiantLight(25);
SetFuelAmount(200);
}
void init(){
::init();
if(!GetLit() && CanBurn(this_object())){
this_object()->eventBurn(0,0,1);
}
}