#include "szturmix.h"
inherit LOK+"std_midd.c";
#include "cloner.h"
object PATROL;
create_midd()
{
    set_short("Slepa uliczka");
    set_long("Znajdujesz sie u konca slepej uliczki, aby sie stad "
	+"wydostac trzeba isc na polnoc, a tedy dojdzie sie do "
	+"dlugiej Ulicy Wodnej.\n");
    add_exit(LOK+"wodna4", "polnoc"); 
    ludzie(0+random(2));
}

int
wejdz(string s)
{
     notify_fail("Gdzie chcesz wejsc!?\n");
    if (!s) return 0;



    if(s =="do karczmy")
    {
	write("Wchodzisz do starej karczmy 'Pod Obronca'.\n");
	saybb(QCIMIE(this_player(), PL_MIA) + " znika za murem.\n");

        this_player()->move_living("M", OBRLOK+"ob1.c");


	return 1;
    }
}

void
init()
{

    ::init();
    add_action(wejdz, "wejdz");

}

