FIGHTER.C

LIB3/D/HOME/CITY/MONSTERS/FIGHTER.C · 1.0 KB

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

#include "path.h"
inherit DEFMONSTER;

setup() {
        set_name("fighter");
        set_short("fighter");
        set_long("He is a member of the fighters guild."+
                " Better leave him alone.\n");
        set_race("human");
        set_main_plural("fighters");
        set_class("fighter");
        set_al(0);
        set_gender(1);
        set_aggressive(0);
     set_level(5+random(5));
        adjust_money(random(100), "copper");
        add_move_zone("mid");
        add_move_zone("trader");
        add_move_zone("docks");
clone_object(WEAPONS+"broadsword.wep")->move(this_object());
clone_object(ARMOURS+"chainmail.arm")->move(this_object());
init_equip();
load_chat(20, ({
        1, "'Uuggghh!\n",
        1, ":grunts unintelligently.\n",
        1, ":sharpens his weapon.\n",
      }));
load_a_chat(80, ({
        3, "'Fighters, help me!",
        3, ":slashes at you violently.\n",
        3, ":hacks at you viciously.\n",
        3, ":batters you about the head.\n",
        1, ":kicks you in the groin.\n",
        1, "'Aaaargh!\n",
      }));
}

Site Stats

Snippets: 1791
Codebases: 571