PRIEST.C

LIB3/D/HOME/CITY/MONSTERS/PRIEST.C · 1012 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("priest");
        set_short("priest");
        set_long("A member of the priests guild. Be nice to him "+
     "lest you are stuck down by a bolt of lightning.\n");
set_main_plural("priests");
        set_race("human");
        set_class("priest");
        set_gender(1);
        set_al(20);
        adjust_money(random(50), "copper");
        set_aggressive(0);
        add_move_zone("mid");
        add_move_zone("trader");
clone_object(ITEMS+"cross")->move(this_object());
clone_object(ARMOURS+"robe.arm")->move(this_object());
init_equip();
load_chat(30, ({
        1, ":mumbles a prayer.\n",
        1, ":runs round with a collection box.\n",
        1, "'Money for the dome fund?.\n",
        1, ":asks you to contribute to the dome fund.\n",
      }));
load_a_chat(60, ({
        1, "A lighting bolt barely misses you.\n",
        3, "'Help, save me lord!.\n",
        3, ":tries to flee.\n",
      }));
}

Site Stats

Snippets: 1791
Codebases: 571