SAILOR.C
LIB3/D/HOME/CITY/MONSTERS/SAILOR.C · 919 B
From the archive nm4dos.zip
Download the archive « Back to the archive contents
#include "path.h"
inherit DEFMONSTER;
setup() {
set_level(5+random(5));
set_name("sailor");
set_short("sailor");
set_long("A common sailor, he must be from one of "+
"the ships docked in the harbour.\n");
set_main_plural("sailors");
set_race("human");
set_class("fighter");
set_al(-5);
set_aggressive(0);
adjust_money(50+random(50), "copper");
add_move_zone("docks");
clone_object(ARMOURS+"sark.arm")->move(this_object());
clone_object(WEAPONS+"club.wep")->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 in for it now!\n",
1, "'My mother warned me about people like you.\n",
1, "'Shiver me timbers!.\n",
}));
}