class 1 normal_doorkeeper : citizen
{
parameter:
	string	DoorName1 = "border_door_01";
	string	fnHi = "normal_doorman001.htm";

handler:
	EventHandler TALKED(talker)
	{
		myself::ShowPage(talker,fnHi);
	}

	EventHandler MENU_SELECTED(talker,ask,reply,fhtml0)
	{
		if( ask == -201 )
		{
			switch(reply)
			{
				case 1:
				{
					myself::Castle_GateOpenClose2(DoorName1,0);
					break;
				}
				case 2:
				{
					myself::Castle_GateOpenClose2(DoorName1,1);
					break;
				}
			}
		}
	}

}
