36 lines
846 B
C
36 lines
846 B
C
/* /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();
|
|
}
|
|
}
|