

build_yard	=	{
	intersect_b		=	"build_yard_b";				-- пересечение построенного
	intersect_u		=	"build_yard_u";				-- пересечение не построенного
	construct		=	{	node = "m_b_stadium_construct"; ttime = 3000;	};	-- нода и время постройки
	shop_pos		=	{	617, 306	};			-- позиция первой кнопки покупки здания в магазине

	gra_unbuild		=	{	{"m_b_yard_u_back",0}, {"m_b_yard_u_boat",1},	};
	gra_build_1		=	{	{"m_b_yard_v1_back",0}, {"m_b_yard_v1_house",1}, {"m_b_yard_v1_heap",1}, {"m_b_yard_v1_net1",0}, {"m_b_yard_v1_net2",0}, {"m_b_yard_v1_boat1",1}, 	};
	gra_build_2		=	{	{"m_b_yard_v2_back",0}, {"m_b_yard_v2_house",1}, {"m_b_yard_v2_heap",1}, {"m_b_yard_v2_net1",0}, {"m_b_yard_v2_net2",0}, {"m_b_yard_v2_boat1",1}, 	};
	gra_build_3		=	{	{"m_b_yard_v3_back",0}, {"m_b_yard_v3_heap",1}, {"m_b_yard_v3_house",1}, {"m_b_yard_v3_net1",0}, {"m_b_yard_v3_net2",0}, {"m_b_yard_v3_boat1",1}, {"m_b_yard_v3_shadow",0},	};
	
	-- события не построенного
	buevent_table	=	{	{"free",50}, {"bue_seeplace1",0}, {"bue_seeplace2",0}, {"bue_seeplace3",0}, {"bue_seeplace4",0}, {"bue_seeplace5",0}	};

	-- события построенного
	bbevent_table	=	{	{"free",50}, {"bbe_trade_1",50}, {"bbe_trade_2",50}, {"bbe_trade_3",50},	};
	
	-- кликособытия не построенного
	cuevent_table	=	{
		{	intersect	=	"build_yard_u_house";	table	=	{{"cue_seefish",10},{"cue_repair",10},};	},
		{	intersect	=	"build_yard_u_boat";	table	=	{{"cue_boat",10},};		},
	};
	
	-- кликособытия построенного
	cbevent_table	=	{
		{	intersect	=	"build_yard_b_main";	table	=	{{"cbe_shine",10},};	},
		{	intersect	=	"build_yard_b_boat";	table	=	{{"cbe_jumpfish",10},{"cbe_fall",10},};	},
	};

	-- кликособытия построенного ------------------------------------
	cbe_jumpfish	=	{ -- прыгает рыба
		man			=	{	{"man_yard_m_sim_boat_1","q_yard_m_cbe_jumpfish_1"},	};
		time		=	3400;		forbidden	=	2;
	};
	cbe_fall	=	{ -- чел падает с лодки
		man			=	{	{"man_yard_m_sim_boat_1","q_yard_m_cbe_fall_1"},	};
		time		=	8000;		forbidden	=	2;
	};
	cbe_shine	=	{
		man			=	{ {"man_yard_bue_shine_1","q_yard_bue_shine_1"}, {"man_yard_bue_shine_2","q_yard_bue_shine_2"}, {"man_yard_bue_shine_3","q_yard_bue_shine_3"}, {"man_yard_bue_shine_4","q_yard_bue_shine_4"}, {"man_yard_bue_shine_5","q_yard_bue_shine_5"}, {"man_yard_bue_shine_6","q_yard_bue_shine_6"}, {"man_yard_bue_shine_7","q_yard_bue_shine_7"}, {"man_yard_bue_shine_8","q_yard_bue_shine_8"}, {"man_yard_bue_shine_9","q_yard_bue_shine_9"}, {"man_yard_bue_shine_10","q_yard_bue_shine_10"}, };
		time		=	25000;		forbidden	=	2;
	};
	-----------------------------------------------------------------

	-- кликособытия не построенного ---------------------------------
	cue_seefish	=	{ -- играет рыба
		man			=	{	{"man_yard_m_cue_seefish_1","q_yard_m_cue_seefish_1"}, {"man_yard_m_cue_seefish_2","q_yard_m_cue_seefish_2"},	};
		time		=	25000;		forbidden	=	2;
	};
	cue_repair	=	{ -- починка
		man			=	{	{"man_yard_m_cue_repair_1","q_yard_m_cue_repair_1"}, {"man_yard_m_cue_repair_2","q_yard_m_cue_repair_2"}, {"man_yard_m_cue_repair_3","q_yard_m_cue_repair_3"}, {"man_yard_m_cue_repair_4","q_yard_m_cue_repair_4"},	};
		time		=	23000;		forbidden	=	2;
	};

	cue_boat	=	{ -- лодка тонет
		man			=	{};
		time		=	7800;		forbidden	=	2;
	};
	-----------------------------------------------------------------

	-- события не построенного --------------------------------------
	bue_seeplace1	=	{ -- челы осматривают место
		man			=	{	{"man_yard_m_bue_seeplace_1","q_yard_m_bue_seeplace_1"}, {"man_yard_m_bue_seeplace_2","q_yard_m_bue_seeplace_2"}, {"man_yard_m_bue_seeplace_3","q_yard_m_bue_seeplace_3"},	};
		time		=	60000;		forbidden	=	1;
	};
	bue_seeplace2	=	{ -- чел осматривает место
		man			=	{	{"man_yard_m_bue_seeplace_1","q_yard_m_bue_seeplace_1"},	};
		time		=	60000;		forbidden	=	1;
	};
	bue_seeplace3	=	{ -- чел осматривает место
		man			=	{	{"man_yard_m_bue_seeplace_1","q_yard_m_bue_seeplace_1"},	};
		time		=	60000;		forbidden	=	1;
	};
	bue_seeplace4	=	{ -- чел осматривает место
		man			=	{	{"man_yard_m_bue_seeplace_2","q_yard_m_bue_seeplace_2"},	};
		time		=	60000;		forbidden	=	1;
	};
	bue_seeplace5	=	{ -- чел осматривает место
		man			=	{	{"man_yard_m_bue_seeplace_3","q_yard_m_bue_seeplace_3"},	};
		time		=	60000;		forbidden	=	1;
	};
	-----------------------------------------------------------------

	-- события построенного -----------------------------------------
	bbe_trade_1	=	{ -- рыбак идет торговать рыбой
		man			=	{	{"man_yard_m_bbe_trade1_1","q_yard_m_bbe_trade1_1"}, {"man_yard_m_bbe_trade1_2","q_yard_m_bbe_trade1_2"},	};
		time		=	60000;		forbidden	=	1;
	};
	bbe_trade_2	=	{ -- рыбак идет торговать рыбой
		man			=	{	{"man_yard_m_bbe_trade2_1","q_yard_m_bbe_trade2_1"}, {"man_yard_m_bbe_trade2_2","q_yard_m_bbe_trade2_2"},	};
		time		=	60000;		forbidden	=	1;
	};
	bbe_trade_3	=	{ -- рыбак идет торговать рыбой
		man			=	{	{"man_yard_m_bbe_trade3_1","q_yard_m_bbe_trade3_1"}, {"man_yard_m_bbe_trade3_2","q_yard_m_bbe_trade3_2"},	};
		time		=	60000;		forbidden	=	1;
	};
	-----------------------------------------------------------------

	
};









