/* /domains/Examples/npc/smiley.c
* from the Foundation II LPC Library
* a smiling dwarf
* created by Descartes of Borg 950410
*/
#include <lib.h>
inherit LIB_NPC;
void eventSmile();
static void create() {
npc::create();
SetKeyName("smiley");
SetId( ({ "smiley", "dwarf" }) );
SetShort("Smiley, the smiling dwarf");
SetLong("A smiling dwarf from far away. He is short and stocky like "
"just about every other dwarf you have ever seen, but he looks "
"drunk and just smiles with that stupid smile.");
SetLevel(3);
SetRace("dwarf");
SetClass("fighter");
SetGender("male");
SetMorality(-450);
SetAction(10, (: eventSmile :));
}
void eventSmile() { command("smile"); }