###############################
###############################
###############################
namespace = WL_lv_options

# MAIN MENU
country_event = {
	id = WL_lv_options.1
	title = WL_lv_options.1.name
	desc = WL_lv_options.1.desc
	picture = GFX_evt_WL_lv_options_1
	hide_window = no
	is_triggered_only = yes

# Planetary Decisions
	option = {
		name = "WL_lv_options.1.a"
		country_event = { id = WL_lv_options.2 }
	}
	
# Events
	option = {
		name = "WL_lv_options.1.b"
		country_event = { id = WL_lv_options.3 }
	}
	
# Motherly Hive
	option = {
		name = "WL_lv_options.1.c"
		country_event = { id = WL_lv_options.12 }
		trigger = {
			OR = {	
				has_civic = civic_WL_lv_motherly_hive	
				has_origin = origin_WL_lv_motherly_hive
			}
		}	
	}

# AI EMPIRES
	option = {
		name = "WL_lv_options.1.d"
		country_event = { id = WL_lv_options.10 }
		trigger = {
			ANY_COUNTRY = {
				OR = {	
					has_civic = civic_WL_lv_motherly_hive	
					has_origin = origin_WL_lv_motherly_hive
				}
			}
		}
	}
# Exit

	option = {
		name = "WL_lv_options.1.l"
	}
}


# FEATURES 1
country_event = {
	id = WL_lv_options.2
	title = WL_lv_options.2.name
	desc = WL_lv_options.2.desc
	picture = GFX_evt_WL_lv_options_1
	
	hide_window = no
	is_triggered_only = yes

# Hidden Exotic Fauna Decisions
	option = {
		name = "WL_lv_options.2.a"
		trigger = {
			NOT = { has_country_flag = SYSTEM_wl_hidden_exotic_fauna_decisions }
		}
		set_country_flag = SYSTEM_wl_hidden_exotic_fauna_decisions
		
		country_event = { id = WL_lv_options.2 }
	}
	
	option = {
		name = "WL_lv_options.2.b"
		trigger = {
			has_country_flag = SYSTEM_wl_hidden_exotic_fauna_decisions
		}
		remove_country_flag = SYSTEM_wl_hidden_exotic_fauna_decisions
		
		country_event = { id = WL_lv_options.2 }
	}
	
# Hidden Zoo Decisions
	option = {
		name = "WL_lv_options.2.c"
		trigger = {
			NOT = { has_country_flag = SYSTEM_wl_hidden_zoo_decisions }
		}
		set_country_flag = SYSTEM_wl_hidden_zoo_decisions
		
		country_event = { id = WL_lv_options.2 }
	}
	
	option = {
		name = "WL_lv_options.2.d"
		trigger = {
			has_country_flag = SYSTEM_wl_hidden_zoo_decisions
		}
		remove_country_flag = SYSTEM_wl_hidden_zoo_decisions
		
		country_event = { id = WL_lv_options.2 }
	}
	
# Go Back
	option = {
		name = "WL_lv_options.2.k"
		country_event = { id = WL_lv_options.1 }
	}
	
# Exit
	option = {
		name = "WL_lv_options.2.l"
	}
}


# EVENTS
country_event = {
	id = WL_lv_options.3
	title = WL_lv_options.3.name
	desc = WL_lv_options.3.desc
	picture = GFX_evt_WL_lv_options_1
	hide_window = no
	is_triggered_only = yes

# Hidden

# Go Back
	option = {
		name = "WL_lv_options.3.k"
		country_event = { id = WL_lv_options.1 }
	}
	
# Exit
	option = {
		name = "WL_lv_options.3.l"
	}
}


# AI EMPIRES
country_event = {
	id = WL_lv_options.10
	title = WL_lv_options.10.name
	desc = WL_lv_options.10.desc
	picture = GFX_evt_WL_lv_options_1
	hide_window = no
	is_triggered_only = yes

# Hidden

# No Events for MH AI Pops
	option = {
		name = "WL_lv_options.10.a"
		trigger = {
			NOT = { 
				has_global_flag = SYSTEM_GLOBAL_WL_lv_m_no_special_interactions_for_AI
			}	
		}	
		set_global_flag = SYSTEM_GLOBAL_WL_lv_m_no_special_interactions_for_AI
		
		country_event = { id = WL_lv_options.10 }
	}
	
	option = {
		name = "WL_lv_options.10.b"
		trigger = {
			has_global_flag = SYSTEM_GLOBAL_WL_lv_m_no_special_interactions_for_AI
		}
		remove_global_flag = SYSTEM_GLOBAL_WL_lv_m_no_special_interactions_for_AI
		
		country_event = { id = WL_lv_options.10 }
	}
	
	
# Go Back
	option = {
		name = "WL_lv_options.10.k"
		country_event = { id = WL_lv_options.1 }
	}
	
# Exit
	option = {
		name = "WL_lv_options.10.l"
	}
}
	

# MOTHERLY HIVE
country_event = {
	id = WL_lv_options.12
	title = WL_lv_options.12.name
	desc = WL_lv_options.12.desc
	picture = GFX_evt_WL_lv_options_1
	hide_window = no
	is_triggered_only = yes

# Hidden Notifications
	option = {
		name = "WL_lv_options.12.a"
		trigger = {
			NOT = { has_country_flag = SYSTEM_n_h_m_hidden_pop_limit_events }	
			NOT = { has_country_flag = SYSTEM_n_h_m_hidden_interactions_events }
		}	
		set_country_flag = SYSTEM_n_h_m_hidden_pop_limit_events	
		set_country_flag = SYSTEM_n_h_m_hidden_interactions_events 
		
		country_event = { id = WL_lv_options.12 }
	}
	
	option = {
		name = "WL_lv_options.12.b"
		trigger = {
			has_country_flag = SYSTEM_n_h_m_hidden_pop_limit_events 
			has_country_flag = SYSTEM_n_h_m_hidden_interactions_events 
		}
		remove_country_flag = SYSTEM_n_h_m_hidden_pop_limit_events 
		remove_country_flag = SYSTEM_n_h_m_hidden_interactions_events 
		
		country_event = { id = WL_lv_options.12 }
	}
	
# No Death
	option = {
		name = "WL_lv_options.12.c"
		trigger = {
			NOT = { has_country_flag = SYSTEM_WL_lv_m_NO_death }	
		}	
		set_country_flag = SYSTEM_WL_lv_m_NO_death
		
		country_event = { id = WL_lv_options.12 }
	}
	
	option = {
		name = "WL_lv_options.12.d"
		trigger = {
			has_country_flag = SYSTEM_WL_lv_m_NO_death
		}
		remove_country_flag = SYSTEM_WL_lv_m_NO_death
		
		country_event = { id = WL_lv_options.12 }
	}
	
# No Hybrids
	option = {
		name = "WL_lv_options.12.e"
		trigger = {
			NOT = { has_country_flag = SYSTEM_WL_lv_m_NO_hybrid }	
		}	
		set_country_flag = SYSTEM_WL_lv_m_NO_hybrid 
		
		country_event = { id = WL_lv_options.12 }
	}
	
	option = {
		name = "WL_lv_options.12.f"
		trigger = {
			has_country_flag = SYSTEM_WL_lv_m_NO_hybrid 
		}
		remove_country_flag = SYSTEM_WL_lv_m_NO_hybrid 
		
		country_event = { id = WL_lv_options.12 }
	}
	
# Go Back
	option = {
		name = "WL_lv_options.12.k"
		country_event = { id = WL_lv_options.1 }
	}
	
# Exit
	option = {
		name = "WL_lv_options.12.l"
	}
}