add_namespace = remove_idea_group_ideas_events

country_event = {
	id = remove_idea_group_ideas_events.1
	title = remove_idea_group_ideas_events.EVTNAME1
	desc = remove_idea_group_ideas_events.EVTDESC1
	
	hidden = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			meta_effect = {
				text = {
					if = {
						limit = {
							has_idea = idea_group_[GROUP]_1
						}
						remove_ideas = idea_group_[GROUP]_1
					}
					if = {
						limit = {
							has_idea = idea_group_[GROUP]_2
						}
						remove_ideas = idea_group_[GROUP]_2
					}
					if = {
						limit = {
							has_idea = idea_group_[GROUP]_3
						}
						remove_ideas = idea_group_[GROUP]_3
					}
					if = {
						limit = {
							has_idea = idea_group_[GROUP]_4
						}
						remove_ideas = idea_group_[GROUP]_4
					}
					if = {
						limit = {
							has_idea = idea_group_[GROUP]_5
						}
						remove_ideas = idea_group_[GROUP]_5
					}
					if = {
						limit = {
							has_idea = idea_group_[GROUP]_6
						}
						remove_ideas = idea_group_[GROUP]_6
					}
					if = {
						limit = {
							has_idea = idea_group_[GROUP]_7
						}
						remove_ideas = idea_group_[GROUP]_7
					}
					if = {
						limit = {
							has_idea = idea_group_[GROUP]_8
						}
						remove_ideas = idea_group_[GROUP]_8
					}
				}
				GROUP = "[?v]"
			}
		}
	}
	
	option = {
		name = remove_idea_group_ideas_events1.EVTOPT1
		
		ai_chance = { factor = 100 }
	}
}

country_event = {
	id = remove_idea_group_ideas_events.2
	title = remove_idea_group_ideas_events.EVTNAME2
	desc = remove_idea_group_ideas_events.EVTDESC2
	
	hidden = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			remove_national_idea_0 = yes
			remove_national_idea_1 = yes
			remove_national_idea_2 = yes
			remove_national_idea_3 = yes
			remove_national_idea_4 = yes
			remove_national_idea_5 = yes
			remove_national_idea_6 = yes
			remove_national_idea_7 = yes
		}
	}
	
	option = {
		name = remove_idea_group_ideas_events2.EVTOPT1
		
		ai_chance = { factor = 100 }
	}
}

country_event = {
	id = remove_idea_group_ideas_events.3
	title = remove_idea_group_ideas_events.EVTNAME3
	desc = remove_idea_group_ideas_events.EVTDESC3
	
	hidden = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			complete_national_idea_0 = yes
			complete_national_idea_1 = yes
			complete_national_idea_2 = yes
			complete_national_idea_3 = yes
			complete_national_idea_4 = yes
			complete_national_idea_5 = yes
			complete_national_idea_6 = yes
			complete_national_idea_7 = yes
		}
	}
	
	option = {
		name = remove_idea_group_ideas_events3.EVTOPT1
		
		ai_chance = { factor = 100 }
	}
}