cigar.c

ds2.9a10/lib/domains/town/obj/cigar.c · 656 B

From the archive ds2.9a10.zip

Download the archive   « Back to the archive contents

#include <lib.h>

inherit LIB_CIGAR;

static void create() {
    ::create();
    SetKeyName("cigar");
    SetId( ({ "cigar", "cylinder" }) );
    SetAdjectives( ({ "bitterleaf" }) );
    SetShort("a cigar");
    SetLong("A cylinder of tightly wrapped bitterleaf designed for "
      "combustion and inhalation its smoke.");
    SetRadiantLight(2);
    SetFuelRequired(1);
    SetMaxFuel(300);
    SetFuelAmount(30);
    SetRefuelable(0);
    SetMass(5);
    SetBaseCost("silver",30);
    SetBurntValue(0);
    SetClass(10);
}
void init(){
    ::init();
}
mixed eventBurnOut(){
    eventDarken();
    set_heart_beat(0);
    eventDestruct();
    return 1;
}

Site Stats

Snippets: 1791
Codebases: 571