BODY_GUA.C
LIB3/D/HOME/CITY/MONSTERS/BODY_GUA.C · 1.0 KB
From the archive nm4dos.zip
Download the archive « Back to the archive contents
#include "/d/home/city/monsters/path.h"
inherit DEFMONSTER;
setup()
{
set_name("Body guard");
set_short("body guard");
set_long("The guard has a placid look in his eye, he looks kind of dopey.\n");
set_al(40);
set_level(120+random(30));
set_gender(1);
set_str(22);
set_race("troll");
set_aggressive(0);
add_alias("guard");
add_alias("troll");
add_alias("body guard");
adjust_money(random(30),"copper");
add_move_zone("mid");
clone_object("/d/guilds/fighters/weapons/troll_club.wep")->move(this_object());
clone_object(ARMOURS+"chainmail.arm")->move(this_object());
init_equip();
load_chat(20, ({
1, ":puts himself between you and the Lady.\n",
1, ":wonders if you are a threat.\n",
1, ":ushers you past.\n",
1, "'move along please.\n",
}));
load_a_chat(50, ({
1, "'Leave the lady alone.\n",
1, "'Get out of here before I kill you.\n",
1, ":grunts loudly.\n",
1, ":snorts in your face.\n",
}));
}
init()
{
::init();
do_command("follow lady");
do_command("protect lady");
}