MERCENAR.C
LIB3/D/HOME/CITY/MONSTERS/MERCENAR.C · 1.1 KB
From the archive nm4dos.zip
Download the archive « Back to the archive contents
#include "path.h"
inherit DEFMONSTER;
setup() {
set_level(10+random(10));
set_name("mercenary");
set_short("mercenary");
set_long("He is a tough fighter who will "+
"marmalise anybody for a few coins.\n");
set_race("human");
set_main_plural("mercenarys");
set_class("fighter");
set_al(-10);
set_gender(1);
set_aggressive(0);
adjust_money(50+random(100), "copper");
add_move_zone("mid");
add_move_zone("docks");
clone_object(WEAPONS+"broadsword.wep")->move(this_object());
clone_object(ARMOURS+"linkmail.arm")->move(this_object());
init_equip();
load_chat(20, ({
1, "'Out of my way!.\n",
1, ":sharpens his broadsword.\n",
1, ":threatens a passer-by.\n",
}));
load_a_chat(100, ({
4, ":swings his broadsword about his head.\n",
4, ":thrusts violently at you with his broadsword.\n",
4, ":slashes at you, barely missing.\n",
4, ":chops into you with his sword.\n",
1, ":You're dead meat!.\n",
1, "'Ouch!\n",
}));
}