mud/
mud/2.4.5/dgd/include/
mud/2.4.5/dgd/std/
mud/2.4.5/dgd/sys/
mud/2.4.5/doc/
mud/2.4.5/doc/examples/
mud/2.4.5/log/
mud/2.4.5/obj/Go/
mud/2.4.5/players/
mud/2.4.5/players/lars/
mud/2.4.5/room/death/
mud/2.4.5/room/maze1/
mud/2.4.5/room/post_dir/
mud/2.4.5/room/sub/
#include "room.h"

object troll;

#undef EXTRA_RESET
#define EXTRA_RESET\
    extra_reset();

extra_reset() {
    object money;
    if (!troll || !living(troll)) {
	troll = clone_object("obj/monster");
	call_other(troll, "set_name", "troll");
	call_other(troll, "set_level", 9);
	call_other(troll, "set_hp", 100);
	call_other(troll, "set_wc", 12);
	call_other(troll, "set_al", -60);
	call_other(troll, "set_short", "A troll");
	call_other(troll, "set_long",
		   "It is a nasty troll that look very aggressive.\n");
	call_other(troll, "set_aggressive", 1);
	call_other(troll, "set_spell_mess1",
		   "The troll says: Mumble");
	call_other(troll, "set_spell_mess2",
		   "The troll says: Your mother was a bitch!");
	call_other(troll, "set_chance", 20);
	move_object(troll, this_object());
	money = clone_object("obj/money");
        call_other(money, "set_money", random(500));
        move_object(money, troll);
    }
}

TWO_EXIT("room/clearing", "east",
	 "room/slope", "west",
        "In a forest",
        "You are in a big forest.\n", 1)