centaur.c

foundation2_fluffos_v1/lib/domains/Examples/npc/centaur.c · 613 B

From the archive foundation2_fluffos_v1.zip

Download the archive   « Back to the archive contents

/*    /domains/Examples/npc/centaur.c
 *    from the Foundation II LPC Library
 *    an example simple monster
 *    created by Descartes of Borg 950409
 */

#include <lib.h>

inherit LIB_NPC;

static void create() {
    npc::create();
    SetKeyName("centaur");
    SetId( ({ "centaur" }) );
    SetShort("a centaur");
    SetLong("A mystical creature, part human, part horse, which wanders "
	    "through the forests often doing malice.");
/* SetLevel() before race and class fo speed's sake */
    SetLevel(10);
    SetRace("centaur");
    SetClass("fighter");
    SetGender("male");
    SetMorality(-450);
}

Site Stats

Snippets: 1791
Codebases: 571