###############################
###############################
###############################
namespace = WL_LV_motherly_hive_planet_decision_events

planet_event = {
	id = WL_LV_motherly_hive_planet_decision_events.1
	title = WL_LV_motherly_hive_planet_decision_events.1.name
	desc = WL_LV_motherly_hive_planet_decision_events.1.desc
	picture = GFX_evt_alien_propaganda
	hide_window = no
	is_triggered_only = yes
	
	option = {
		name = "WL_LV_motherly_hive_planet_decision_events.1.a"
		trigger = {
			NOT = { has_planet_flag = SYSTEM_PLANET_WL_lv_m_no_special_interactions }
		}
		set_planet_flag = SYSTEM_PLANET_WL_lv_m_no_special_interactions
	}
	
	option = {
		name = "WL_LV_motherly_hive_planet_decision_events.1.b"
		trigger = {
			has_planet_flag = SYSTEM_PLANET_WL_lv_m_no_special_interactions
		}
		remove_planet_flag = SYSTEM_PLANET_WL_lv_m_no_special_interactions
	}
	
	option = {
		name = "WL_LV_motherly_hive_planet_decision_events.1.c"
		trigger = {
			NOT = { has_planet_flag = SYSTEM_PLANET_motherly_limit_population_protection }
		}
		set_planet_flag = SYSTEM_PLANET_motherly_limit_population_protection
	}
	
	option = {
		name = "WL_LV_motherly_hive_planet_decision_events.1.d"
		trigger = {
			has_planet_flag = SYSTEM_PLANET_motherly_limit_population_protection
		}
		remove_planet_flag = SYSTEM_PLANET_motherly_limit_population_protection
	}
	
	option = {
		name = "WL_LV_motherly_hive_planet_decision_events.1.e"
		trigger = {
			owner = {	
				NOR = { 
					has_country_flag = SYSTEM_n_h_m_hidden_pop_limit_events
					has_country_flag = SYSTEM_n_h_m_hidden_interactions_events
				}
			}
		}
		owner = {	
			set_country_flag = SYSTEM_n_h_m_hidden_pop_limit_events	
			set_country_flag = SYSTEM_n_h_m_hidden_interactions_events 
		}
	}
	
	option = {
		name = "WL_LV_motherly_hive_planet_decision_events.1.f"
		trigger = {
			owner = {
				has_country_flag = SYSTEM_n_h_m_hidden_pop_limit_events 
				has_country_flag = SYSTEM_n_h_m_hidden_interactions_events 
			}
		}
		owner = {	
			remove_country_flag = SYSTEM_n_h_m_hidden_pop_limit_events 
			remove_country_flag = SYSTEM_n_h_m_hidden_interactions_events 
		}
	}
	
	option = {
		name = "WL_LV_motherly_hive_planet_decision_events.1.l"
	}
}