

-- установка общих статусов
-- запуск идет отдельно от m_event_main
-- общий статус берется по номеру эпизода и номеру уровня в эпизоде.
-- есть три варианта, хорошо, плохо, надо здание. Процентность между вариантами определяется по к-ву непостроенных зданий, которые должны быть построены
-- Здания которые должны  быть построены перечислены в табице builds_done. Если вариант 'надо здание', то какое именно здание надо
-- определяем рандомом между непостроенными
-- тексты статуса для варианта 'плохо' и 'хорошо', берутся для типа жителя из нескольких вариантов
-- тексты статуса для варианта 'надо здание', берется для здания из нескольких вариантов

-- точки только для названий уровней генерируемых A0_GenerateLevelNameForCity


default	=	{	-- дебажная
	icons		=	{	maxi = 2; veri = 50; per_bad = -1;	}; -- макс. иконок в городе одновременно, вероятность установки иконки жителю (GetStable), какой процент плохих статусов должен быть, если = -1, то игнорируется
	builds_done	=	{};	-- здания, которые должны быть построены на этот момент
};


ch_01_level_01			=	{	icons = { maxi = 3; veri = 150; per_bad = 100; };	builds_done = { "build_house1", };	};
ch_01_level_02			=	{	icons = { maxi = 3; veri = 150; per_bad = 0; };		builds_done = { "build_house1", };	};
ch_01_level_03			=	{	icons = { maxi = 5; veri = 150; per_bad = -1; };		builds_done = { "build_house1","build_yard", };	};
ch_01_level_04			=	{	icons = { maxi = 5; veri = 150; per_bad = -1; };		builds_done = { "build_house1","build_yard", };	};
ch_01_level_05			=	{	icons = { maxi = 5; veri = 150; per_bad = -1; };		builds_done = { "build_house1","build_yard", };	};
ch_01_level_06			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house1","build_yard","build_sheep", };	};
ch_01_level_07			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house1","build_yard","build_sheep", };	};
ch_01_level_08			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house1","build_yard","build_sheep", };	};
ch_01_level_09			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house1","build_yard","build_sheep", };	};
ch_01_level_reserve_01	=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house1","build_yard","build_sheep","build_paladium", };	};
ch_01_level_reserve		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house1","build_yard","build_sheep","build_paladium", };	};
ch_01_level_final		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house1", };	};
ch_01_level_finish		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = {};	};

ch_02_level_02			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_hospital", };	};
ch_02_level_03			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_hospital", };	};
ch_02_level_04			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_hospital", };	};
ch_02_level_05			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_hospital","build_bridge", };	};
ch_02_level_06			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_hospital","build_bridge", };	};
ch_02_level_07			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_hospital","build_bridge", };	};
ch_02_level_08			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_hospital","build_bridge","build_forum", };	};
ch_02_level_09			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_hospital","build_bridge","build_forum", };	};
ch_02_level_10			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_hospital","build_bridge","build_forum", };	};
ch_02_level_11			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_hospital","build_bridge","build_forum", };	};
ch_02_level_reserve_01	=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_hospital","build_bridge","build_forum","build_academy", };	};
ch_02_level_reserve		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_hospital","build_bridge","build_forum","build_academy", };	};
ch_02_level_final		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_hospital", };	};
ch_02_level_finish		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = {};	};

ch_03_level_02			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden", };	};
ch_03_level_03			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden", };	};
ch_03_level_04			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden", };	};
ch_03_level_05			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden", };	};
ch_03_level_06			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden","build_sathene", };	};
ch_03_level_07			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden","build_sathene", };	};
ch_03_level_08			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden","build_sathene", };	};
ch_03_level_09			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden","build_sathene","build_road", };	};
ch_03_level_10			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden","build_sathene","build_road", };	};
ch_03_level_11			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden","build_sathene","build_road", };	};
ch_03_level_12			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden","build_sathene","build_road", };	};
ch_03_level_13			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden","build_sathene","build_road", };	};
ch_03_level_14			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden","build_sathene","build_road", };	};
ch_03_level_reserve_01	=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden","build_sathene","build_road","build_house2", };	};
ch_03_level_reserve		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden","build_sathene","build_road","build_house2", };	};
ch_03_level_final		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_garden", };	};
ch_03_level_finish		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = {};	};

ch_04_level_02			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = {};	};
ch_04_level_03			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_port", };	};
ch_04_level_04			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_port", };	};
ch_04_level_05			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_port", };	};
ch_04_level_06			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_port","build_wall", };	};
ch_04_level_07			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_port","build_wall", };	};
ch_04_level_08			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_port","build_wall", };	};
ch_04_level_09			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_port","build_wall","build_stadium", };	};
ch_04_level_10			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_port","build_wall","build_stadium", };	};
ch_04_level_11			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_port","build_wall","build_stadium", };	};
ch_04_level_12			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_port","build_wall","build_stadium", };	};
ch_04_level_13			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_port","build_wall","build_stadium", };	};
ch_04_level_14			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_port","build_wall","build_stadium", };	};
ch_04_level_reserve_01	=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_port","build_wall","build_stadium","build_wind", };	};
ch_04_level_reserve		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_port","build_wall","build_stadium","build_wind", };	};
ch_04_level_final		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_port", };	};
ch_04_level_finish		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = {};	};

ch_05_level_02			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = {};	};
ch_05_level_03			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse", };	};
ch_05_level_04			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse", };	};
ch_05_level_05			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse", };	};
ch_05_level_06			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse", };	};
ch_05_level_07			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse","build_mill", };	};
ch_05_level_08			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse","build_mill", };	};
ch_05_level_09			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse","build_mill", };	};
ch_05_level_10			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse","build_mill", };	};
ch_05_level_11			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse","build_mill", };	};
ch_05_level_12			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse","build_mill", };	};
ch_05_level_13			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse","build_mill","build_ztemple", };	};
ch_05_level_14			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse","build_mill","build_ztemple", };	};
ch_05_level_15			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse","build_mill","build_ztemple", };	};
ch_05_level_reserve_01	=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse","build_mill","build_ztemple","build_theatre", };	};
ch_05_level_reserve		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse","build_mill","build_ztemple","build_theatre", };	};
ch_05_level_final		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_lighthouse", };	};
ch_05_level_finish		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = {};	};

ch_06_level_02			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = {};	};
ch_06_level_03			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3", };	};
ch_06_level_04			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3", };	};
ch_06_level_05			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3", };	};
ch_06_level_06			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3", };	};
ch_06_level_07			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3","build_well", };	};
ch_06_level_08			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3","build_well", };	};
ch_06_level_09			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3","build_well", };	};
ch_06_level_10			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3","build_well", };	};
ch_06_level_11			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3","build_well", };	};
ch_06_level_12			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3","build_well", };	};
ch_06_level_13			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3","build_well","build_szeus", };	};
ch_06_level_14			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3","build_well","build_szeus", };	};
ch_06_level_15			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3","build_well","build_szeus", };	};
ch_06_level_reserve_01	=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3","build_well","build_szeus","build_stable", };	};
ch_06_level_reserve		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3","build_well","build_szeus","build_stable", };	};
ch_06_level_final		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_house3", };	};
ch_06_level_finish		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = {};	};

ch_07_level_02			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = {};	};
ch_07_level_03			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower", };	};
ch_07_level_04			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower", };	};
ch_07_level_05			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower", };	};
ch_07_level_06			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower", };	};
ch_07_level_07			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy", };	};
ch_07_level_08			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy", };	};
ch_07_level_09			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy", };	};
ch_07_level_10			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy", };	};
ch_07_level_11			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery", };	};
ch_07_level_12			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery", };	};
ch_07_level_13			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery", };	};
ch_07_level_14			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery", };	};
ch_07_level_15			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery", };	};
ch_07_level_reserve_01	=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};
ch_07_level_reserve		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};
ch_07_level_final		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower", };	};
ch_07_level_finish		=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = {};	};

ch_08_level_02			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};
ch_08_level_03			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};
ch_08_level_04			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};
ch_08_level_05			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};
ch_08_level_06			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};
ch_08_level_07			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};
ch_08_level_08			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};
ch_08_level_09			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};
ch_08_level_10			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};
ch_08_level_11			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};
ch_08_level_12			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};
ch_08_level_13			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};
ch_08_level_14			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};
ch_08_level_15			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower","build_philosofy","build_pottery","build_parfenon", };	};



game_final			=	{	icons = { maxi = 6; veri = 150; per_bad = -1; };		builds_done = { "build_tower", };	};















