#include inherit LIB_NPC; int CheckOrc(mixed val){ if(!val) return 0; if(!objectp(val)) return 0; if(val->GetRace() == "ooga") return 0; else eventForce("growl at "+val->GetKeyName()); if(playerp(val) && val->GetRace() != "ooga") return 1; else return 0; } static void create() { npc::create(); SetKeyName("ooga"); SetId(({"ooga"})); SetAdjectives(({"armored","professional"})); SetShort("an ooga booga"); SetLong("This is an ooga booga, they're ready to party. They don't like technology or civilization but they sure do like music and booze by the firelight."); SetInventory(([ "/domains/town/weap/sword" : "wield sword", "/domains/town/obj/orc_rucksack" : "wear my sack", "/domains/town/armor/leather_armor" : "wear leather armor", "/domains/town/armor/orc_boot_l" : "wear left boot", "/domains/town/armor/orc_boot_r" : "wear right boot", ])); SetLevel(1); SetRace("ooga"); SetWanderSpeed(5); SetClass("explorer"); SetGender("sparkly"); SetEncounter( (: CheckOrc :) ); } void init(){ ::init(); }