#include <lib.h>

inherit LIB_NPC;

int CheckOrc(mixed val){
    if(!val) return 0;
    if(!objectp(val)) return 0;
    if(val->GetRace() == "orc") return 0;
    else eventForce("growl at "+val->GetKeyName());
    return 1;
}
static void create() {
    npc::create();
    SetKeyName("orc");
    SetId(({"orc"}));
    SetAdjectives(({"dirty"}));
    SetShort("a dirty orc");
    SetLong("This orc is typical of its breed: nasty, brutish, and short. It appears "
      "to be a juvenile or adolescent, making it somewhat less "
      "dangerous but more hostile. ");
    SetLevel(1);
    SetRace("orc");
    //SetClass("fighter");
    SetGender("male");
    SetMaxHealthPoints(100);
    SetEncounter(  (: CheckOrc :) );
    SetInventory(([
	"/domains/town/weap/dagger":"wield dagger",
      ]) );

}
void init(){
    ::init();
}
