/* /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); }