moth.c

ds2.1.1/lib/domains/default/npc/moth.c · 541 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

#include <position.h>
#include <lib.h>

inherit LIB_SENTIENT;

static void create() {
    sentient::create();
    SetKeyName("moth");
    SetId(({"npc","mob","character","mobile"}));
    SetAdjectives(({"non-player", "non player"}));
    SetShort("a tiny moth");
    SetLong("An ordinary flying insect which has a particular taste for old clothes.");
    SetWimpy(80);
    SetPosition(POSITION_FLYING);
    SetLevel(1);
    SetMelee(1);
    SetRace("insect");
    SetMaxHealthPoints(2);
    SetGender("male");
}
void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571