GUARD.C

LIB3/D/HOME/CITY/MONSTERS/GUARD.C · 1005 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

#include "path.h"
inherit DEFMONSTER;

setup() {
        set_level(5+random(10));
        set_name("guard");
        set_short("guard");
set_long("A city guard, dilligently guarding the city. "+
       "You never know, somebody may want to steal it you see.\n");
         set_main_plural("guards");
        set_race("human");
        set_class("fighter");
        set_al(15);
        set_gender(1);
        set_aggressive(0);
        adjust_money(50+random(100), "copper");
clone_object(WEAPONS+"sabre.wep")->move(this_object());
clone_object(ARMOURS+"linkmail.arm")->move(this_object());
clone_object(ARMOURS+"pot_helm.arm")->move(this_object());
init_equip();
load_chat(20, ({
     1, "@snore",
     1, "'Halt! Who goes there?\n",
     1, "'Gotta light?\n",
     1, ":wakes up with a start.\n",
     1, ":drifts off to sleep\n",
      }));
load_a_chat(100, ({
     1, "'Hey, leave me alone!\n",
     1, "'Right you, you're for it now!\n",
     1, ":shouts for help.\n",
     1, "'Ouch!\n",
      }));
}

Site Stats

Snippets: 1791
Codebases: 571