MAN.C

LIB3/D/HOME/CITY/MONSTERS/MAN.C · 891 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

#include "path.h"
inherit DEFMONSTER;

setup() {
        set_level(4+random(4));
        set_name("man");
        set_short("man");
        set_long("A citizen of "+CITYNAME+", this man is "+
                "out for a stroll.\n");
        set_race("human");
        set_class("fighter");
add_alias("citizen");
add_plural("men");
set_main_plural("men");
        set_al(5);
        set_gender(1);
        set_aggressive(0);
        adjust_money(random(50), "copper");
        add_move_zone("mid");
        add_move_zone("trader");
        add_move_zone("newbie");
clone_object(ARMOURS+"tunic.arm")->move(this_object());
init_equip();
load_chat(20, ({
        1, "'Nice weather.\n",
        1, ":stops to tie his shoelace.\n",
        1, ":strolls along.\n",
      }));
load_a_chat(50, ({
     1, "'Help! Officer!\n",
        1, ":Tries to run away.\n",
        1, "'Aaaargh!\n",
      }));
}

Site Stats

Snippets: 1791
Codebases: 571