burning_orb.c
ds2.10/lib/obj/burning_orb.c · 846 B
From the archive ds2.10.zip
Download the archive « Back to the archive contents
/* /obj/burning_orb.c
* From Dead Souls LPMud
* Created by Descartes of Borg 961103
* Version: @(#) burning_orb.c 1.1@(#)
* Last modified: 96/11/03
*/
#include <lib.h>
#include <vendor_types.h>
inherit LIB_TORCH;
static void create() {
torch::create();
SetKeyName("burning orb");
SetVendorType(VT_MAGIC);
SetId("orb");
SetAdjectives("burning", "flaming");
SetShort("a burning orb");
SetLong("A flaming orb that does not burn you when you touch it. You "
"might be able to burn other things with it or light torches.");
SetRadiantLight(5);
SetMinHeat(10);
SetFuelRequired(1);
SetMaxFuel(50);
SetFuelAmount(50);
SetRefuelable(0);
SetMass(5);
SetValue(2);
SetBurntValue(1);
SetDestroyOnSell(1);
if( clonep() ) {
eventBurn();
}
}