/
LIB3/
LIB3/D/ADMIN/
LIB3/D/ADMIN/OBJ/
LIB3/D/ADMIN/ROOM/W/
LIB3/D/HOME/
LIB3/D/HOME/CITY/ARENA/
LIB3/D/HOME/CITY/ITEMS/
LIB3/D/HOME/CITY/POSTOFFI/
LIB3/DOC/
LIB3/GLOBAL/SPECIAL/
LIB3/GLOBAL/VIRTUAL/
LIB3/NET/
LIB3/NET/CONFIG/
LIB3/NET/DAEMON/CHARS/
LIB3/NET/GOPHER/
LIB3/NET/INHERIT/
LIB3/NET/OBJ/
LIB3/NET/SAVE/
LIB3/NET/VIRTUAL/
LIB3/OBJ/B_DAY/
LIB3/OBJ/HANDLERS/TERM_TYP/
LIB3/PLAYERS/B/
LIB3/PLAYERS/N/
LIB3/ROOM/
LIB3/SAVE/
LIB3/SAVE/BOARDS/
LIB3/SAVE/ENVIRON/
LIB3/SAVE/POST/
LIB3/STD/COMMANDS/SHADOWS/
LIB3/STD/CREATOR/
LIB3/STD/DOM/
LIB3/STD/EFFECTS/
LIB3/STD/EFFECTS/HEALING/
LIB3/STD/EFFECTS/OTHER/
LIB3/STD/EFFECTS/POISONS/
LIB3/STD/ENVIRON/
LIB3/STD/GUILDS/
LIB3/STD/LIQUIDS/
LIB3/STD/ROOM/
LIB3/STD/TRIGGER/SHADOW/
LIB3/W/
LIB3/W/BANNOR/
LIB3/W/NEWSTYLE/
 
#include "/d/home/city/monsters/path.h"
inherit DEFMONSTER;
prison()
{
if((this_player()->query_al()<-1000)&&(present(this_player(),environment(this_object()))))
{
this_player()->move("/d/home/city/policestation/cell1.c");
tell_object(this_player(),"Fred has decided you are a badie, "+
"you are quickly dragged off to the cells. Fred throws you in, "+
"as you hear the lock click into place there is a faint chuckling "+
"from behind the door, you wonder when you will get out.\n");
tell_room(environment(this_object()),"Fred drags "+this_player()->query_cap_name()+" to the city guard cells, maybe "+this_player()->query_pronoun()+" has done something wrong.\n",this_player());
}
}
init()
{
::init();
call_out("prison",30);
}
 
setup() {
set_level(60+random(10));
set_name("Fred");
set_short("Fred the prison officer");
set_long("Be careful of Fred, he will throw you in jail if you are a "+
"nasty.\n");
        set_race("human");
set_main_plural("Freds");
        set_class("fighter");
add_alias("fred");
add_plural("freds");
set_al(150);
        set_gender(1);
        set_aggressive(0);
adjust_money(random(4), "silver");
        add_move_zone("mid");
add_move_zone("park");
add_move_zone("beach");
add_move_zone("docks");
add_move_zone("yaigo");
        add_move_zone("trader");
        add_move_zone("newbie");
clone_object(ARMOURS+"chainmail.arm")->move(this_object());
clone_object(WEAPONS+"broadsword.wep")->move(this_object());
init_equip();
load_chat(20, ({
     1, ":eyes you over, working out if you are evil.\n",
     1, "'What are you up to?\n",
     1, "'I hope you are not up to no good.\n",
      }));
load_a_chat(50, ({
     1, ":tries to get a hold on you.\n",
        1, "'I am here to keep the peace!\n",
      }));
}