TOUGH_SA.C
LIB3/D/HOME/CITY/MONSTERS/TOUGH_SA.C · 1.1 KB
From the archive nm4dos.zip
Download the archive « Back to the archive contents
#include "path.h"
inherit DEFMONSTER;
object ob1, ob2;
setup() {
set_name("tough sailor");
set_level(10+random(8));
set_short("tough sailor");
set_long("A common sailor, he must be from one of "+
"the ships docked in the harbour. He looks "+
"much tougher than usual.\n");
set_main_plural("tough sailors");
set_race("human");
set_class("fighter");
add_plural("sailors");
add_plural("tough sailors");
add_alias("sailor");
set_gender(1);
set_al(-15);
set_aggressive(1);
adjust_money(100+random(100), "copper");
add_move_zone("docks");
ob1 = clone_object(ARMOURS+"jerkin.arm");
ob1->move(this_object());
ob2 = clone_object(WEAPONS+"sabre.wep");
ob2->move(this_object());
init_equip();
load_chat(20, ({
1, "'I do like this fine port.\n",
1, ":sings a sea shanty to himself.\n",
1, ":looks at you warily.\n",
}));
load_a_chat(50, ({
1, "You're for it now!\n",
1, "'My mother warned me about people like you.\n",
1, "'Shiver me timbers!.\n",
}));
}