namespace = ideagroups

#######################################
# Aristocracy Ideas
#######################################

# Loss of Stability
country_event = {
	id = ideagroups.100
	title = "EVTNAME803"
	desc = "EVTDESC803"
	picture = ANGRY_MOB_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = aristocracy_ideas
		stability = 0
	}	

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA803"
		add_stability = -1
	}
}

# The Burghers Rise!
country_event = {
	id = ideagroups.101
	title = "EVTNAME804"
	desc = "EVTDESC804"
	picture = ANGRY_MOB_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = aristocracy_ideas	
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB804A"
		random_owned_province = {
			revolutionary_rebels = 1
		}
	}
}

# More Nobility in the Army
country_event = {
	id = ideagroups.102
	title = "EVTNAME805"
	desc = "EVTDESC805"
	picture = LAND_MILITARY_eventPicture
	
	is_triggered_only = yes

	trigger = {
		has_idea_group = aristocracy_ideas	
	}
	
	mean_time_to_happen = {
		days = 1
	}	
	
	option = {
		name = "EVTOPTB805A"
		add_army_tradition = 5
	}
}

# Peasant Revolt
country_event = {
	id = ideagroups.103
	title = "EVTNAME812"
	desc = "EVTDESC812"
	picture = ANGRY_MOB_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = aristocracy_ideas	
	}		
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTB812A"
		random_owned_province = {
			anti_tax_rebels = 1
		}		
	}
}

# Attracting the right people
country_event = {
	id = ideagroups.104
	title = "EVTNAME813"
	desc = "EVTDESC813"
	picture = DEBATE_REPUBLICAN_eventPicture
	
	is_triggered_only = yes

	trigger = {
		has_idea_group = aristocracy_ideas	
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB813A"
		random_list = {
			10 = { create_advisor = natural_scientist }
			10 = { create_advisor = artist }
		}		
	}
}

# Major Revolt
country_event = {
	id = ideagroups.105
	title = "EVTNAME814"
	desc = "EVTDESC814"
	picture = ANGRY_MOB_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = aristocracy_ideas	
	}		

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB814A"
		random_owned_province = {
			anti_tax_rebels = 1
		}
		random_owned_province = {
			anti_tax_rebels = 1
		}				
	}
}

# Serfs Properly Exploited
country_event = {
	id = ideagroups.106
	title = "EVTNAME6300"
	desc = "EVTDESC6300"
	picture = ANGRY_MOB_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = aristocracy_ideas	
		NOT = {	has_country_modifier =  "serf_exploitation" }
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6300"
		add_country_modifier = {
			name = "serf_exploitation"
			duration = 1825
		}
	}
}

# Serfs Upset
country_event = {
	id = ideagroups.107
	title = "EVTNAME6301"
	desc = "EVTDESC6301" 
	picture = ANGRY_MOB_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = aristocracy_ideas	
		NOT = {	has_country_modifier =  "freesubjects_modifier" }
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6301"
		random_owned_province = {
			anti_tax_rebels = 1
		 }
	}

	option = {
		name = "EVTOPTB6301"
		add_country_modifier = {
			name = freesubjects_modifier
			duration = 1825
		}
	}
} 

# Aristocrats grateful for our favor
country_event = {
	id = ideagroups.108
	title = "EVTNAME6338"
	desc = "EVTDESC6338"
	picture = COURT_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = aristocracy_ideas	
	}

	mean_time_to_happen = {
		days = 1
	}

	
	option = {
		name = "EVTOPTA6338"
		add_years_of_income = 0.75
	}
}

# Merchants complain
country_event = {
	id = ideagroups.109
	title = "EVTNAME6339"
	desc = "EVTDESC6339"
	picture = MERCHANTS_TALKING_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = aristocracy_ideas	
		NOT = {	has_country_modifier =  "unhappy_merchants" }
		NOT = {	has_country_modifier =  "plutocracy_modifier" }
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6339"
		add_country_modifier = {
			name = "unhappy_merchants"
			duration = 1825
		}
		add_prestige = 10
	}

	option = {
		name = "EVTOPTB6339"
		add_country_modifier = {
			name = "plutocracy_modifier"
			duration = 3650
		}
	}
} 

# Nobles support the State
country_event = {
	id = ideagroups.110
	title = ideagroups.110.t
	desc = ideagroups.110.d
	picture = COURT_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = aristocracy_ideas	
		war_exhaustion = 5
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.110.a
		add_war_exhaustion = -2
	}
}

# Military Treatise
country_event = {
	id = ideagroups.111
	title = ideagroups.111.t
	desc = ideagroups.111.d
	picture = LAND_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = aristocracy_ideas	
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.111.a
		add_mil_power = 50
	}
}

# Increased Recruitment
country_event = {
	id = ideagroups.112
	title = ideagroups.112.t
	desc = ideagroups.112.d
	picture = LAND_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = aristocracy_ideas
		NOT = { manpower_percentage = 0.9 }
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.112.a
		add_manpower = 0.1
	}
}

#######################################
# Plutocracy Ideas
#######################################

# Noble Uprising
country_event = {
	id = ideagroups.200
	title = "EVTNAME800"
	desc = "EVTDESC800"
	picture = ANGRY_MOB_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB800A"
		random_owned_province = {
			noble_rebels = 1
		}
	}
}

# Loss of Prestige
country_event = {
	id = ideagroups.201
	title = "EVTNAME801"
	desc = "EVTDESC801"
	picture = COURT_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas
	}	

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTB801A"
		add_prestige = -5
	}
}

# Merchants Benefit
country_event = {
	id = ideagroups.202
	title = "EVTNAME802"
	desc = "EVTDESC802"
	picture = ADVISOR_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas
	}	

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB802A"
		random_list = {
			10 = { define_advisor = { type = treasurer skill = 2 }  }
			10 = { define_advisor = { type = trader skill = 2 }  }
			10 = { define_advisor = { type = master_of_mint skill = 2 }  }
		}
	}
}

# Minority Prospers
country_event = {
	id = ideagroups.203
	title = "EVTNAME6156"
	desc = "EVTDESC6156"
	picture = REFORM_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas
		any_owned_province = {
			NOT = { culture = ROOT }			
		}
		
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6156"
		random_owned_province = {
			limit = {
				NOT = { culture = ROOT }			
			}
			add_province_modifier = {
				name = "minority_prospers"
				duration = 1825
			}
		}
	}
}

# Backlash
country_event = {
	id = ideagroups.204
	title = "EVTNAME6157"
	desc = "EVTDESC6157"
	picture = ANGRY_MOB_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas
		any_owned_province = {
			culture = ROOT
			NOT = { religion = ROOT }
		}		
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6157"
		random_owned_province = {
			limit = {
				culture = ROOT
				NOT = { religion = ROOT }
			}
			noble_rebels = 1
		}
	}
}

# People are disappearing
country_event = {
	id = ideagroups.205
	title = "EVTNAME815"
	desc = "EVTDESC815"
	picture = LAND_MILITARY_eventPicture
	
	is_triggered_only = yes

	trigger = {
		has_idea_group = plutocracy_ideas	
	}		

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA815"
		random_owned_province = {
			limit = {
				is_overseas = no
				manpower = 2
			}
			add_province_manpower = -1
		}		
	}
}

# Losing control
country_event = {
	id = ideagroups.206
	title = "EVTNAME816"
	desc = "EVTDESC816"
	picture = CITY_DEVELOPMENT_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas	
	}		

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB816A"
		add_stability = -1
	}
}

# Better Administration
country_event = {
	id = ideagroups.207
	title = "EVTNAME817"
	desc = "EVTDESC817"
	picture = CITY_DEVELOPMENT_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas	
	}		
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB817A"
		add_inflation = -2
	}
}

# Our People Revel in Freedom
country_event = {
	id = ideagroups.208
	title = "EVTNAME6302"
	desc = "EVTDESC6302"
	picture = COLONIZATION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas	
		NOT = {	has_country_modifier =  "happy_people" }

	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA6302"
			add_country_modifier = {
			name = "happy_people"
			duration = 1825
		}
	}
}	
	
# Nobles Concerned
country_event = {
	id = ideagroups.209
	title = "EVTNAME6303"
	desc = "EVTDESC6303"
	picture = COURT_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas
		NOT = {	has_country_modifier =  "serfdom_modifier" }
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6303"
		add_stability = -1
	}

	option = {
		name = "EVTOPTB6303"
		add_country_modifier = {
			name = serfdom_modifier
			duration = 1825
		}
	}
}

# Merchants pleased
country_event = {
	id = ideagroups.210
	title = "EVTNAME6340"
	desc = "EVTDESC6340"
	picture = MERCHANTS_TALKING_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas	
	}

	mean_time_to_happen = {
		days = 1
		modifier = {
			factor = 1.05
			plutocracy_ideas = 4
		}
		modifier = {
			factor = 1.05
			plutocracy_ideas = 5
		}
		modifier = {
			factor = 1.05
			plutocracy_ideas = 6
		}
		modifier = {
			factor = 1.05
			plutocracy_ideas = 7
		}
	}

	option = {
		name = "EVTOPTA6340"
		add_years_of_income = 0.25
	}
}	

# Aristocrats concerned
country_event = {
	id = ideagroups.211
	title = "EVTNAME6341"
	desc = "EVTDESC6341"
	picture = COURT_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas
		NOT = {	has_country_modifier =  "aristocracy_modifier" }
	}

	option = {
		name = "EVTOPTA6341"
		add_prestige = -25
	}

	option = {
		name = "EVTOPTB6341"
		add_country_modifier = {
			name = "aristocracy_modifier"
			duration = 1825
		}
	}
}

# Mercenaries flock to the Standard
country_event = {
	id = ideagroups.212
	title = ideagroups.212.t
	desc = ideagroups.212.d
	picture = MILITARY_CAMP_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas	
		NOT = {	has_country_modifier =  "mercenaries_to_the_standard" }
	}

	option = {
		name = ideagroups.212.a
		add_country_modifier = {
			name = "mercenaries_to_the_standard"
			duration = 1825
		}
	}
}

# For Freedom!
country_event = {
	id = ideagroups.213
	title = ideagroups.213.t
	desc = ideagroups.213.d
	picture = ANGRY_MOB_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas
		is_at_war = yes	
		NOT = {	has_country_modifier =  "for_freedom" }
	}

	option = {
		name = ideagroups.213.a
		add_country_modifier = {
			name = "for_freedom"
			duration = 1825
		}
	}
}

# Our Rights
country_event = {
	id = ideagroups.214
	title = ideagroups.214.t
	desc = ideagroups.214.d
	picture = REFORM_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas
		NOT = {	has_country_modifier =  "our_rights" }
	}

	option = {
		name = ideagroups.214.a
		add_country_modifier = {
			name = "our_rights"
			duration = 1825
		}
	}
}

# In Defense of the Mercantile Interest
country_event = {
	id = ideagroups.215
	title = ideagroups.215.t
	desc = ideagroups.215.d
	picture = MERCHANTS_TALKING_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas
		NOT = { mercantilism = 0.95 }

	}

	option = {
		name = ideagroups.215.a
		add_mercantilism = 0.01
	}
}

# Agricultural Boom
country_event = {
	id = ideagroups.216
	title = ideagroups.216.t
	desc = ideagroups.216.d
	picture = FARMING_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas
		NOT = {	has_country_modifier =  "agricultural_boom" }
	}

	option = {
		name = ideagroups.216.a
		add_country_modifier = {
			name = "agricultural_boom"
			duration = 1825
		}
	}
}

# Tolerance for all
country_event = {
	id = ideagroups.217
	title = ideagroups.217.t
	desc = ideagroups.217.d
	picture = MERCHANTS_TALKING_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas
		NOT = { religious_unity = 1.0 }
		NOT = {	has_country_modifier =  "tolerance_for_all" }
	}

	option = {
		name = ideagroups.217.a
		add_country_modifier = {
			name = "tolerance_for_all"
			duration = 1825
		}
	}
}

# To the Colors
country_event = {
	id = ideagroups.218
	title = ideagroups.218.t
	desc = ideagroups.218.d
	picture = MILITARY_CAMP_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = plutocracy_ideas
		is_at_war = yes
		NOT = {	has_country_modifier =  "to_the_colours" }
	}

	option = {
		name = ideagroups.218.a
		add_country_modifier = {
			name = "to_the_colours"
			duration = 1825
		}
	}
}

#######################################
# Innovativeness Ideas
#######################################
# Dangerous ideas are spreading!
country_event = {
	id = ideagroups.300
	title = "EVTNAME818"
	desc = "EVTDESC818"
	picture = DEBATE_REPUBLICAN_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = innovativeness_ideas	
	}		
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB818A"
		add_stability = -1
	}
}

# We look weak
country_event = {
	id = ideagroups.301
	title = "EVTNAME819"
	desc = "EVTDESC819"
	picture = DEBATE_REPUBLICAN_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = innovativeness_ideas	
	}		
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB819A"
		add_prestige = -5
	}
}

# New thinkers arise
country_event = {
	id = ideagroups.302
	title = "EVTNAME820"
	desc = "EVTDESC820"
	picture = INVENTION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = innovativeness_ideas	
	}		
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB820A"
		random_list = {
			10 = { create_advisor = natural_scientist }
			10 = { create_advisor = statesman }
			10 = { create_advisor = treasurer }
			10 = { create_advisor = naval_reformer }
			10 = { create_advisor = army_reformer }
		}		
	}
}

# Epic Art Produced
country_event = {
	id = ideagroups.303
	title = "EVTNAME6193"
	desc = "EVTDESC6193"
	picture = IMPORTANT_STATUE_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = innovativeness_ideas	
	}	

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6193"
		add_prestige = 10
	}
}

# No Art worth Patronizing
country_event = {
	id = ideagroups.304
	title = "EVTNAME6194"
	desc = "EVTDESC6194"
	picture = IMPORTANT_STATUE_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = innovativeness_ideas	
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6194"
		add_prestige = -10
	}
}

# The Scientific Revolution Continues
country_event = {
	id = ideagroups.305
	title = "EVTNAME6191"
	desc = "EVTDESC6191"
	picture = INVENTION_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = innovativeness_ideas	
		NOT = {	has_country_modifier =  "mil_boost" }
		NOT = {	has_country_modifier =  "adm_boost" }
		NOT = {	has_country_modifier =  "dip_boost" }

	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6191"
		add_country_modifier = {
			name = "mil_boost"
			duration = 1825
		}
	}

	option = {
		name = "EVTOPTD6191"
		add_country_modifier = {
			name = "adm_boost"
			duration = 1825
		}
	}
	
	option = {
		name = "EVTOPTE6191"
		add_country_modifier = {
			name = "dip_boost"
			duration = 1825
		}
	}
}

# Scientific Revolution Halts
country_event = {
	id = ideagroups.306
	title = "EVTNAME6192"
	desc = "EVTDESC6192"
	picture = INVENTION_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = innovativeness_ideas
		is_year = 1700	
		NOT = {	has_country_modifier =  "revolution_suffers" }
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA6192"
		add_country_modifier = {
			name = "revolution_suffers"
			duration = 1825
		}
	}
}

# Innovation Wave
country_event = {
	id = ideagroups.307
	title = "EVTNAME6330"
	desc = "EVTDESC6330"
	picture = INVENTION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = innovativeness_ideas
		NOT = {	has_country_modifier =  "innovation_wave" }
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA6330"
		add_country_modifier = {
			name = "innovation_wave"
			duration = 1825
		}
	}
}

# Burst of Administrative Thought
country_event = {
	id = ideagroups.308
	title = ideagroups.308.t
	desc = ideagroups.308.d
	picture = DEBATE_REPUBLICAN_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = innovativeness_ideas
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.308.a
		add_adm_power = 50
	}
}

# A Look Outward
country_event = {
	id = ideagroups.309
	title = ideagroups.309.t
	desc = ideagroups.309.d
	picture = DIPLOMACY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = innovativeness_ideas
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.309.a
		add_dip_power = 50
	}
}

# Military Theory
country_event = {
	id = ideagroups.310
	title = ideagroups.310.t
	desc = ideagroups.310.d
	picture = LAND_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = innovativeness_ideas
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.310.a
		add_mil_power = 50
	}
}

#######################################
# Religious Ideas
#######################################

# Heresy
country_event = {
	id = ideagroups.400
	title = "EVTNAME821"
	desc = "EVTDESC821"
	picture = RELIGION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas
		NOT = { government = papal_government }
		NOT = { government = theocratic_government }
		OR = {
			NOT = { religion = catholic }
			AND = {
				religion = catholic
				OR = {
					is_religion_enabled = protestant
					is_religion_enabled = reformed
				}
			}
		}
		any_owned_province = {
			has_owner_religion = yes
			NOT = { has_province_modifier = heresy }
		}
	}		
	
	mean_time_to_happen = {
		days = 1
	}
	
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					religion = catholic
					is_religion_enabled = protestant
					is_religion_enabled = reformed
				}
				random_list = {
					70 = { set_country_flag = protestant_heresy }
					30 = { set_country_flag = reformed_heresy }
				}
			}
			if = {
				limit = {
					religion = catholic
					is_religion_enabled = protestant
					NOT = { is_religion_enabled = reformed }
				}
				set_country_flag = protestant_heresy
			}
			if = {
				limit = {
					OR = {
						religion = protestant
						religion = reformed
					}
				}
				set_country_flag = catholic_heresy
			}
		}
	}
	
	option = {
		name = "EVTOPTB821A"
		# Christian
		if = {
			limit = {
				has_country_flag = protestant_heresy
			}
			random_owned_province = {
				limit = {
					has_owner_religion = yes
					NOT = { has_province_modifier = heresy }
				}
				change_religion = protestant
			}
			clr_country_flag = protestant_heresy
		}
		if = {
			limit = {
				has_country_flag = reformed_heresy
			}
			random_owned_province = {
				limit = {
					has_owner_religion = yes
					NOT = { has_province_modifier = heresy }
				}
				change_religion = reformed
			}
			clr_country_flag = reformed_heresy
		}
		if = {
			limit = {
				has_country_flag = catholic_heresy
			}
			random_owned_province = {
				limit = {
					has_owner_religion = yes
					NOT = { has_province_modifier = heresy }
				}
				change_religion = catholic
			}
			clr_country_flag = catholic_heresy
		}
		# Muslim
		if = {
			limit = {
				religion_group = muslim
			}
			random_owned_province = {
				limit = {
					has_owner_religion = yes
					NOT = { has_province_modifier = heresy }
				}
				change_religion = heretic
			}
		}
		# Others
		if = {
			limit = {
				NOT = { religion_group = christian }
				NOT = { religion_group = muslim }
			}
			random_owned_province = {
				limit = {
					has_owner_religion = yes
					NOT = { has_province_modifier = heresy }
				}
				add_province_modifier = {
					name = "heresy"
					duration = 730
				}
			}
		}
	}
}

# Disorder
country_event = {
	id = ideagroups.401
	title = "EVTNAME822"
	desc = "EVTDESC822"
	picture = DEBATE_REPUBLICAN_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas	
	}		
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB822A"
		add_stability = -1
	}
}

# A holy man has arrived
country_event = {
	id = ideagroups.402
	title = "EVTNAME823"
	desc = "EVTDESC823"
	picture = POPE_PREACHING_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas	
	}		
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB823A"
		create_advisor = theologian
	}
}

# Support for the war
country_event = {
	id = ideagroups.403
	title = "EVTNAME6195"
	desc = "EVTDESC6195"
	picture = MILITARY_CAMP_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas
		at_war_with_religious_enemy = yes
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6195"
		add_war_exhaustion = -2
	}
}

# People Angered by our failure to wage war
country_event = {
	id = ideagroups.404
	title = "EVTNAME6196"
	desc = "EVTDESC6196"
	picture = ANGRY_MOB_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas
		is_at_war = no
		has_border_with_religious_enemy = yes
	}	

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6196"
		add_stability = -1
	}
	option = {
		name = "EVTOPTB6196"
		random_owned_province = {
			limit = {
				religion = ROOT 
			}
			spawn_rebels = {
				type = religious_rebels
				size = 1
			}
		 } 
	}
}

# Church Mobilises Population
country_event = {
	id = ideagroups.405
	title = "EVTNAME6158"
	desc = "EVTDESC6158"
	picture = RELIGION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas
		NOT = { stability = 3 }
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6158"
		add_stability = 1
	}
}

# Liberal Backlash
country_event = {
	id = ideagroups.406
	title = "EVTNAME6159"
	desc = "EVTDESC6159"
	picture = DEBATE_REPUBLICAN_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6159"
		add_stability = -1
	}

	option = {
		name = "EVTOPTB6159"
		random_owned_province = {
			revolutionary_rebels = 1
		}
	} 
}

# Religious Zeal
country_event = {
	id = ideagroups.407
	title = "EVTNAME6160"
	desc = "EVTDESC6160"
	picture = RELIGION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas
		NOT = {	has_country_modifier =  "missionary_zeal" }
		
	}	
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6160"
		add_country_modifier = {
			name = "missionary_zeal"
			duration = 1825
		}
	}
}

# Conservative Backlash
country_event = {
	id = ideagroups.408
	title = "EVTNAME6161"
	desc = "EVTDESC6161"
	picture = DEBATE_REPUBLICAN_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea = divine_supremacy
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA6161"
		add_stability = -1
	}

	option = {
		name = "EVTOPTB6161"
		random_owned_province = {
			limit = {
				religion = ROOT
			}
			spawn_rebels = {
				type = religious_rebels
				size = 1
			}
		}
	} 
}

# People feel safe
country_event = {
	id = ideagroups.409
	title = "EVTNAME6332"
	desc = "EVTDESC6332"
	picture = ELECTION_REPUBLICAN_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas
		NOT = { stability = 3 }
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6332"
		add_stability = 1
	}
}	

# Liberals Angry
country_event = {
	id = ideagroups.410
	title = "EVTNAME6333"
	desc = "EVTDESC6333"
	picture = DEBATE_REPUBLICAN_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas
		is_year = 1700
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA6333"
		random_owned_province = {
			revolutionary_rebels = 1
		} 
	}

	option = {
		name = "EVTOPTB6333"
		add_stability = -1
	}
}

# Evangelists
country_event = {
	id = ideagroups.411
	title = ideagroups.411.t
	desc = ideagroups.411.d
	picture = RELIGION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas
		NOT = { religious_unity = 1.0 }
		NOT = { stability = 3 }
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.411.a
		add_stability = 1
	}
}

# Holy War
country_event = {
	id = ideagroups.412
	title = ideagroups.412.t
	desc = ideagroups.412.d
	picture = POPE_PREACHING_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas
		at_war_with_religious_enemy = yes
		war_exhaustion = 5
 	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.412.a
		add_war_exhaustion = -2
	}
}

# Welcome Home
country_event = {
	id = ideagroups.413
	title = ideagroups.413.t
	desc = ideagroups.413.d
	picture = RELIGION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas
		any_owned_province = {
			has_owner_religion = no
			religion_group = root
			has_missionary = no
		}
 	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.413.a
		random_owned_province = {
			limit = {
				has_owner_religion = no
				religion_group = root
				has_missionary = no
			}
			change_religion = root
		}		
	}
}

# They See the Light
country_event = {
	id = ideagroups.414
	title = ideagroups.414.t
	desc = ideagroups.414.d
	picture = RELIGION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas
		any_owned_province = {
			has_owner_religion = no
			NOT = { religion_group = root }
			has_missionary = no
		}
 	}

	mean_time_to_happen = {
		days = 1
	}


	option = {
		name = ideagroups.414.a
		random_owned_province = {
			limit = {
				has_owner_religion = no
				NOT = { religion_group = root }
				has_missionary = no
			}
			change_religion = root
		}		
	}
}

# Religious Leaders Show the Way
country_event = {
	id = ideagroups.415
	title = ideagroups.415.t
	desc = ideagroups.415.d
	picture = POPE_PREACHING_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas
		NOT = { stability = 2 }
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.415.a
		add_stability = 1
	}
}

# The Strength of Faith
country_event = {
	id = ideagroups.416
	title = ideagroups.416.t
	desc = ideagroups.416.d
	picture = RELIGION_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas
		NOT = { prestige = 90 }
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.416.a
		add_prestige = 10
	}
}
 
# The Love of the Devoted
country_event = {
	id = ideagroups.417
	title = ideagroups.417.t
	desc = ideagroups.417.d
	picture = RELIGION_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = religious_ideas
		NOT = {	has_country_modifier =  "love_of_devoted" }

	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.417.a
		add_country_modifier = {
			name = "love_of_devoted"
			duration = 1825
		}
	}
}

#######################################
# Spy Ideas
#######################################

# New Spy techniques
country_event = {
	id = ideagroups.500
	title = "EVTNAME6152"
	desc = "EVTDESC6152"
	picture = SPY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = spy_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6152"
		add_country_modifier = {
			name = "enhanced_spies"
			duration = 1825
		}
	}
}

# Spy Defections
country_event = {
	id = ideagroups.501
	title = "EVTNAME6153"
	desc = "EVTDESC6153"
	picture = SPY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = spy_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6153"
		add_country_modifier = {
			name = "spy_defections"
			duration = 1825
		}
	}

	option = {
		name = "EVTOPTB6153"
		add_years_of_income = -0.25
	}
}

# A well-placed man
country_event = {
	id = ideagroups.502
	title = ideagroups.502.t
	desc = ideagroups.502.d
	picture = SPY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = spy_ideas
		is_at_war = yes
		any_rival_country = {
			war_with = root
		}
		ai = no #no use for it anyway.
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.502.a
		random_rival_country = {
			limit = {
				war_with = root
			}
			remove_fow = 3
		}
	}

}

# Hidden Activities
country_event = {
	id = ideagroups.503
	title = ideagroups.503.t
	desc = ideagroups.503.d
	picture = SPY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = spy_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.503.a
		add_country_modifier = {
			name = "hidden_agents"
			duration = 1825
		}
	}
}

# Rebel Supporting
country_event = {
	id = ideagroups.504
	title = ideagroups.504.t
	desc = ideagroups.504.d
	picture = ANGRY_MOB_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = spy_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.504.a
		add_country_modifier = {
			name = "better_rebel_support"
			duration = 1825
		}
	}
}

# Diplomats Exposed
country_event = {
	id = ideagroups.505
	title = ideagroups.505.t
	desc = ideagroups.505.d
	picture = DIPLOMACY_eventPicture
	
	trigger = {
		has_idea_group = spy_ideas
	}

	is_triggered_only = yes
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.505.a
		add_prestige = -25
	}
}

# Spies get you better heirs....
country_event = {
	id = ideagroups.506
	title = ideagroups.506.t
	desc = ideagroups.506.d
	picture = SPY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = spy_ideas
		government = monarchy
		has_heir = no
		has_regency = no
		is_female = no
		religion_group = christian
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.506.a
		add_ruler_modifier = {
			name = "extra_heir"
			duration = -1
		}
	}
	option = {
		name = ideagroups.506.b
		define_heir = {
			dynasty = ROOT
			claim = 10
			adm = 3
			dip = 3
			mil = 3
		}
	}
}

# Reduced Upkeep
country_event = {
	id = ideagroups.507
	title = ideagroups.507.t
	desc = ideagroups.507.d
	picture = SPY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = spy_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.507.a
		add_country_modifier = {
			name = "focus_on_covert_actions"
			duration = 1825
		}
	}
}

# Spy Ideas give you power
country_event = {
	id = ideagroups.508
	title = ideagroups.508.t
	desc = ideagroups.508.d
	picture = SPY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = spy_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.508.a
		add_adm_power = 25
	}
	option = {
		name = ideagroups.508.b
		add_dip_power = 25
	}
	option = {
		name = ideagroups.508.c
		add_mil_power = 25
	}
}

#######################################
# Diplomatic Ideas
#####################################

# Cabinet Dynamism
country_event = {
	id = ideagroups.600
	title = "EVTNAME6154"
	desc = "EVTDESC6154"
	picture = ECONOMY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = diplomatic_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6154"
		add_country_modifier = {
			name = "cabinet_dynamism"
			duration = 1825
		}
	}
}

# Government Corruption
country_event = {
	id = ideagroups.601
	title = "EVTNAME6155"
	desc = "EVTDESC6155"
	picture = DEBATE_REPUBLICAN_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = diplomatic_ideas
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA6155"
		add_country_modifier = {
			name = "government_corruption"
			duration = 1825
		}
	}
	option = {
		name = "EVTOPTB6155"
		add_inflation = 1
	}		
}

# Succesful Embassy
country_event = {
	id = ideagroups.602
	title = ideagroups.602.t
	desc = ideagroups.602.d
	picture = DIPLOMACY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = diplomatic_ideas
		is_at_war = no
		any_neighbor_country = {
			is_at_war = no
		}
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.602.a
		add_prestige = 5
		random_neighbor_country = {
			limit = {
				is_at_war = no
			}
			add_opinion = { who = ROOT modifier = succesful_embassy }
		}		
	}
}

# Incompetent Diplomats
country_event = {
	id = ideagroups.603
	title = ideagroups.603.t
	desc = ideagroups.603.d
	picture = DIPLOMACY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = diplomatic_ideas
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.603.a
		add_prestige = -10
		add_country_modifier = {
			name = "incompetent_fabrication"
			duration = 1825
		}
	}
	option = {
		name = ideagroups.603.b
		add_dip_power = -50
	}
}

# Brilliant Diplomat
country_event = {
	id = ideagroups.604
	title = ideagroups.604.t
	desc = ideagroups.604.d
	picture = DIPLOMACY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = diplomatic_ideas
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.604.a
		add_country_modifier = {
			name = "brilliant_diplomat"
			duration = 1825
		}
	}
	option = {
		name = ideagroups.604.b
		trigger = {
			religion = catholic
		}
		add_papal_influence = 50
	}
	option = {
		name = ideagroups.604.b
		trigger = {
			religion = orthodox
		}
		add_patriarch_authority = 0.05
	}
	option = {
		name = ideagroups.604.b
		trigger = {
			religion_group = muslim
		}
		add_piety = 0.5
	}
	option = {
		name = ideagroups.604.c
		trigger = {
			is_emperor = yes
		}
		add_imperial_influence = 5
	}
}

# Government Differences
country_event = {
	id = ideagroups.605
	title = ideagroups.605.t
	desc = ideagroups.605.d
	picture = DIPLOMACY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = diplomatic_ideas
		any_neighbor_country = {
			religion = root
			NOT = {
				government  = root
			}
		}
	}
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.605.a
		random_neighbor_country = {
			limit = {
				religion = root
				NOT = {
					government  = root
				}
			}
			add_opinion = { who = ROOT modifier = reconciling_differences }
		}
	}
}

# Improved Reputation
country_event = {
	id = ideagroups.606
	title = ideagroups.606.t
	desc = ideagroups.606.d
	picture = DIPLOMACY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = diplomatic_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.606.a
		add_country_modifier = {
			name = "improved_dip_reputation"
			duration = 1825
		}
	}
}

# Bad Reputation
country_event = {
	id = ideagroups.607
	title = ideagroups.607.t
	desc = ideagroups.607.d
	picture = DIPLOMACY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = diplomatic_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.607.a
		add_country_modifier = {
			name = "reduced_dip_reputation"
			duration = 1825
		}
	}
}

# Justify my demands
country_event = {
	id = ideagroups.608
	title = ideagroups.608.t
	desc = ideagroups.608.d
	picture = DIPLOMACY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = diplomatic_ideas
	}
	
	mean_time_to_happen = {
		days = 1
		modifier = {
			factor = 3
			is_at_war = yes
		}
	}

	option = {
		name = ideagroups.608.a
		add_country_modifier = {
			name = "dip_jusitified_demands"
			duration = 1825
		}
	}
}

#######################################
# Offensive Ideas
#######################################
# Nobles are worried
country_event = {
	id = ideagroups.700
	title = "EVTNAME830"
	desc = "EVTDESC830"
	picture = COURT_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = offensive_ideas	
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTB830A"
		add_stability = -1
	}
}

# Too many cowards
country_event = {
	id = ideagroups.701
	title = "EVTNAME831"
	desc = "EVTDESC831"
	picture = MILITARY_CAMP_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = offensive_ideas	
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTB831A"
		add_manpower = -0.1
	}
}

# Glory to us
country_event = {
	id = ideagroups.702
	title = "EVTNAME832"
	desc = "EVTDESC832"
	picture = LAND_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = offensive_ideas	
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB832A"
		add_prestige = 5
	}
}

# Recruits flock to the standards
country_event = {
	id = ideagroups.703
	title = "EVTNAME6112"
	desc = "EVTDESC6112"
	picture = LAND_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = offensive_ideas	
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6112"
		add_country_modifier = {
			name = "recruits_flock"
			duration = 1825
		}
	}
	option = {
		name = "EVTOPTB6112"
		random_core_province = {
			add_province_manpower = 1
		}
	}
}

# Nations don't want to be conscripted
country_event = {
	id = ideagroups.704
	title = "EVTNAME6113"
	desc = "EVTDESC6113"
	picture = MILITARY_CAMP_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = offensive_ideas	
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6113"
		add_country_modifier = {
			name = "resist_conscription"
			duration = 1825
		}
	}
	option = {
		name = "EVTOPTB6113"
		add_stability = -1 
	}
}

# Isn't our Army Grand?
country_event = {
	id = ideagroups.705
	title = "EVTNAME6114"
	desc = "EVTDESC6114"
	picture = MILITARY_CAMP_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = offensive_ideas	
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6114"
		add_country_modifier = {
			name = "grander_army"
			duration = 1825
		}
	}
}

# "Our Army isn't so grand
country_event = {
	id = ideagroups.706
	title = "EVTNAME6115"
	desc = "EVTDESC6115"
	picture = LAND_MILITARY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = offensive_ideas	
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6115"
		add_country_modifier = {
			name = "less_grand_army"
			duration = 1826
		}
	}
	option = {
		name = "EVTOPTB6115"
		add_stability = -1
	}
}

# Our Army's Élan strikes fear into the enemy
country_event = {
	id = ideagroups.707
	title = "EVTNAME6312"
	desc = "EVTDESC6312"
	picture = MILITARY_CAMP_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = offensive_ideas	
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6312"
		add_prestige = 25
	}
}

# Fortification neglected
country_event = {
	id = ideagroups.708
	title = "EVTNAME6313"
	desc = "EVTDESC6313"
	picture = FORT_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = offensive_ideas	
		any_owned_province = {
			has_building = fort1
			NOT = { has_province_modifier = local_fortress }
			NOT = { has_province_modifier = fort_in_disrepair }
		}
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6313"
		random_owned_province = {
			limit = {
				has_building = fort1
				NOT = { has_province_modifier = local_fortress }
				NOT = { has_province_modifier = fort_in_disrepair }
			}
			add_province_modifier = {
				name = "fort_in_disrepair"
				duration = 1825
			}
		}
	}
	option = {
		name = "EVTOPTB6313"
		add_army_tradition = -10
	}	
}

# Army is the way to Glory
country_event = {
	id = ideagroups.709
	title = "EVTNAME6308"
	desc = "EVTDESC6308"
	picture = MILITARY_CAMP_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = offensive_ideas	
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6308"
		add_prestige = 5
	}
}

# Admirals Concerned
country_event = {
	id = ideagroups.710
	title = "EVTNAME6309"
	desc = "EVTDESC6309" 
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = offensive_ideas	
		num_of_ports = 1
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6309"
		add_country_modifier = {
			name = "land_focus"
			duration = 1825
		}
	}
	option = {
		name = "EVTOPTB6309"
		add_country_modifier = {
			name = naval_modifier
			duration = 1825
		}
	}
} 

# Show Elan
country_event = {
	id = ideagroups.711
	title = ideagroups.711.t
	desc = ideagroups.711.d
	picture = BATTLE_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = offensive_ideas	
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.711.a
		add_country_modifier = {
			name = "full_elan"
			duration = 1825
		}
	}
} 

# Send in the Infantry
country_event = {
	id = ideagroups.712
	title = ideagroups.712.t
	desc = ideagroups.712.d
	picture = BATTLE_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = offensive_ideas	
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.712.a
		add_country_modifier = {
			name = "finest_infantry"
			duration = 1825
		}
	}
} 

# Send in the Cavalry
country_event = {
	id = ideagroups.713
	title = ideagroups.713.t
	desc = ideagroups.713.d
	picture = HORDE_ON_HORSEBACK_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = offensive_ideas	
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.713.a
		add_country_modifier = {
			name = "cavalry_companions"
			duration = 1825
		}
	}
} 

#######################################
# Defensive Ideas
#######################################

# Aristocrats don’t want to serve
country_event = {
	id = ideagroups.800   
	title = "EVTNAME833"
	desc = "EVTDESC833"
	picture = DEBATE_REPUBLICAN_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB833A"
		add_army_tradition = -10
	}
}

# Peasants upset
country_event = {
	id = ideagroups.801
	title = "EVTNAME834"
	desc = "EVTDESC834"
	picture = ANGRY_MOB_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB834A"
		random_owned_province = {
			anti_tax_rebels = 1
		}
	}
}

# Fortification Expert
country_event = {
	id = ideagroups.802
	title = "EVTNAME835"
	desc = "EVTDESC835"
	picture = FORT_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB835A"
		create_advisor = fortification_expert
	}
}

# Promising General
country_event = {
	id = ideagroups.803
	title = "EVTNAME6130"
	desc = "EVTDESC6130"
	picture = BATTLE_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA6130"
		create_general = 50
	}
}

# Nobility concerned at loss of privileges
country_event = {
	id = ideagroups.804
	title = "EVTNAME6131"
	desc = "EVTDESC6131"
	picture = COURT_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA6131"
		add_stability = -1 
	}
	option = {
		name = "EVTOPTB6131"
		add_army_tradition = -5
	}
}

# Military Improvements
country_event = {
	id = ideagroups.805
	title = "EVTNAME6116"
	desc = "EVTDESC6116"
	picture = MILITARY_CAMP_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6116"
		add_country_modifier = {
			name = "military_improvements"
			duration = 1825
		}
	}
}

# Military Complacency
country_event = {
	id = ideagroups.806
	title = "EVTNAME6117"
	desc = "EVTDESC6117"
	picture = LAND_MILITARY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6117"
		add_country_modifier = {
			name = "military_complacency"
			duration = 1825
		}
	}
	option = {
		name = "EVTOPTB6117"
		add_stability = -1 
	}
}

# Glory of the Army
country_event = {
	id = ideagroups.807
	title = "EVTNAME6132"
	desc = "EVTDESC6132"
	picture = MILITARY_CAMP_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
	}
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6132"
		add_prestige = 5
	}
}

# Our Army has seen better days
country_event = {
	id = ideagroups.808
	title = "EVTNAME6133"
	desc = "EVTDESC6133"
	picture = LAND_MILITARY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6133"
		add_stability = -1 
	}
	option = {
		name = "EVTOPTB6133"
		add_prestige = -5 
	}
}

# Fortification Effort
country_event = {
	id = ideagroups.809
	title = "EVTNAME6319"
	desc = "EVTDESC6319"
	picture = FORT_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
		mil_tech = 2
		any_owned_province = {
			has_building = fort1
			NOT = { has_province_modifier = local_fortress }
			NOT = {has_province_modifier = fort_in_disrepair }
			is_colony = no
			is_core = ROOT
		}
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6319"
		random_owned_province = {
			limit = {
				has_building = fort1
				NOT = { has_province_modifier = local_fortress }
				NOT = { has_province_modifier = fort_in_disrepair }
				is_colony = no
				is_core = ROOT				
			}
			add_province_modifier = {
				name = "local_fortress"
				duration = 1825
			}
		}
	}
}

# Generals Concerned by our unmanly tactics
country_event = {
	id = ideagroups.810
	title = "EVTNAME6325"
	desc = "EVTDESC6325"
	picture = MILITARY_CAMP_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6325"
		add_prestige = -50
	}

	option = {
		name = "EVTOPTB6325"
		add_army_tradition = -25
	}
}

# Relentless Drill
country_event = {
	id = ideagroups.811
	title = ideagroups.811.t
	desc = ideagroups.811.d
	picture = LAND_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.811.a
		add_country_modifier = {
			name = "relentless_drill"
			duration = 1825
		}
	}
}

# Regimental Pride
country_event = {
	id = ideagroups.812
	title = ideagroups.812.t
	desc = ideagroups.812.d
	picture = LAND_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.812.a
		add_country_modifier = {
			name = "regimental_pride"
			duration = 1825
		}
	}
}

# Prepared Defense
country_event = {
	id = ideagroups.813
	title = ideagroups.813.t
	desc = ideagroups.813.d
	picture = MILITARY_CAMP_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
		is_at_war = yes
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.813.a
		add_country_modifier = {
			name = "prepared_defence"
			duration = 1825
		}
	}
}

# To the Last Man
country_event = {
	id = ideagroups.814
	title = ideagroups.814.t
	desc = ideagroups.814.d
	picture = LAND_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
		is_at_war = yes
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.814.a
		add_country_modifier = {
			name = "to_the_last_man"
			duration = 1825
		}
	}
}

# Regimental Spirit
country_event = {
	id = ideagroups.815
	title = ideagroups.815.t
	desc = ideagroups.815.d
	picture = LAND_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = defensive_ideas	
		is_at_war = yes
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.815.a
		add_country_modifier = {
			name = "regimental_spirit"
			duration = 1825
		}
	}
}

#######################################
# Trade Ideas
#######################################

# Business is Booming
country_event = {
	id = ideagroups.900
	title = "EVTNAME6140"
	desc = "EVTDESC6140"
	picture = MERCHANTS_TALKING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = trade_ideas
		NOT = { has_country_modifier = business_booming }
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA6140"
		add_country_modifier = {
			name = "business_booming"
			duration = 1825
		}		
	}
}

# Trade Complacency
country_event = {
	id = ideagroups.901
	title = "EVTNAME6141"
	desc = "EVTDESC6141"
	picture = MERCHANTS_TALKING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = trade_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA6141"
		add_country_modifier = {
			name = "out_of_date_commerce"
			duration = 1825
		}
	}
	option = { 
		name = "EVTOPTB6141"
		add_inflation = 1
	}
}

# Our Merchants are adventuring
country_event = {
	id = ideagroups.902
	title = "EVTNAME6134"
	desc = "EVTDESC6134"
	picture = MERCHANTS_TALKING_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = trade_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6134"
		add_country_modifier = {
			name = "adventuring_merchants"
			duration = 1825
		}
	}
}

# Our Merchants are doing poorly
country_event = {
	id = ideagroups.903
	title = "EVTNAME6135"
	desc = "EVTDESC6135"
	picture = MERCHANTS_TALKING_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = trade_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6135"
		add_country_modifier = {
			name = "poor_merchants"
			duration = 1825
		}
	}

	option = {
		name = "EVTOPTB6135"
		add_stability = -1 
	}
}

# Trade Policy Success
country_event = {
	id = ideagroups.904
	title = "EVTNAME6150"
	desc = "EVTDESC6150"
	picture = MERCHANTS_TALKING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = trade_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6150"
		add_country_modifier = {
			name = "trade_policy_working"
			duration = 1825
		}
	}
}

# Trade Policy is failing
country_event = {
	id = ideagroups.905
	title = "EVTNAME6151"
	desc = "EVTDESC6151"
	picture = MERCHANTS_TALKING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = trade_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6151"
		add_country_modifier = {
			name = "trade_policy_failing"
			duration = 1825
		}
	}
	option = { 
		name = "EVTOPTB6151"
		add_inflation = 3
	}
}

# Income Bonanza
country_event = {
	id = ideagroups.906
	title = ideagroups.906.t
	desc = ideagroups.906.d
	picture = MERCHANTS_TALKING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = trade_ideas
		any_active_trade_node = {
			#empty trigger means its true, if we got any placed trader.
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.906.a
		random_active_trade_node = {
			add_trade_modifier = {
				who = root
				duration = 1825
				power = 25
				key = income_bonanza
			}
		}		
	}
}

# Competitive Advantage
country_event = {
	id = ideagroups.907
	title = ideagroups.907.t
	desc = ideagroups.907.d
	picture = MERCHANTS_TALKING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = trade_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.907.a
		add_country_modifier = {
			name = competitive_advantage
			duration = 1825
		}		
	}
}

# Cooperation with the Merchant class
country_event = {
	id = ideagroups.908
	title = ideagroups.908.t
	desc = ideagroups.908.d
	picture = MERCHANTS_TALKING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = trade_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.908.a
		add_country_modifier = {
			name = cooperation_with_merchant_class
			duration = 1825
		}		
	}
}

# Support for Mercantilist Policies
country_event = {
	id = ideagroups.909
	title = ideagroups.909.t
	desc = ideagroups.909.d
	picture = MERCHANTS_TALKING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = trade_ideas
		NOT = { mercantilism = 0.95 }
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.909.a
		add_mercantilism = 0.01
	}
}

# Trade Collapse
country_event = {
	id = ideagroups.910
	title = ideagroups.910.t
	desc = ideagroups.910.d
	picture = MERCHANTS_TALKING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = trade_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.910.a
		add_country_modifier = {
			name = trade_collapse
			duration = 1825
		}		
	}
	option = {
		name = ideagroups.910.b
		add_dip_power = -100
	}
}

#######################################
# Naval Ideas
#####################################

# Popular Support for our Grand navy
country_event = {
	id = ideagroups.1000
	title = "EVTNAME6100"
	desc = "EVTDESC6100"
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6100"
		add_country_modifier = {
			name = "faster_ships"
			duration = 1825
		}
	}
}

# Popular Enthusiasm for our Navy diminishes
country_event = {
	id = ideagroups.1001
	title = "EVTNAME6101"
	desc = "EVTDESC6101"
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6101"
		add_country_modifier = {
			name = "slower_ships"
			duration = 1825
		}
	}
	option = {
		name = "EVTOPTB6101"
		add_years_of_income = -0.2
	}
}

# Promising Admiral Appears
country_event = {
	id = ideagroups.1002
	title = "EVTNAME6102"
	desc = "EVTDESC6102"
	picture = NAVAL_MILITARY_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = naval_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6102"
		create_admiral = 50
	}
}

# Aristocrats concerned
country_event = {
	id = ideagroups.1003
	title = "EVTNAME6103"
	desc = "EVTDESC6103"
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6103"
		add_stability = -1 
	}
	option = {
		name = "EVTOPTB6103"
		add_navy_tradition = -15
	}
}

# Naval Developments
country_event = {
	id = ideagroups.1004
	title = "EVTNAME6104"
	desc = "EVTDESC6104"
	picture = NAVAL_MILITARY_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = naval_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6104"
		add_country_modifier = {
			name = "naval_developments"
			duration = 1825
		}
	}
}

# Naval Hubris
country_event = {
	id = ideagroups.1005
	title = "EVTNAME6105"
	desc = "EVTDESC6105"
	picture = NAVAL_MILITARY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6105"
		add_country_modifier = {
			name = "naval_hubris"
			duration = 1825
		}
	}
	option = {
		name = "EVTOPTB6105"
		add_stability = -1 
	}
}

# Improved Blockade Tactics
country_event = {
	id = ideagroups.1006
	title = "EVTNAME6106"
	desc = "EVTDESC6106"
	picture = NAVAL_MILITARY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6106"
		add_country_modifier = {
			name = "blockade_tactics"
			duration = 1825
		}
	}
}

# Slipping Standards
country_event = {
	id = ideagroups.1007
	title = "EVTNAME6107"
	desc = "EVTDESC6107"
	picture = NAVAL_MILITARY_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = naval_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6107"
		add_country_modifier = {
			name = "slipping_standards"
			duration = 1825
		}
	}
	option = {
		name = "EVTOPTB6107"
		add_stability = -1 
	}
}

# Naval Technical Developments
country_event = {
	id = ideagroups.1008
	title = "EVTNAME6108"
	desc = "EVTDESC6108"
	picture = NAVAL_MILITARY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6108"
		add_country_modifier = {
			name = "naval_technical_developments"
			duration = 1825
		}
	}
}

# Concerned Shipwrights
country_event = {
	id = ideagroups.1009
	title = "EVTNAME6109"
	desc = "EVTDESC6109"
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6109"
		add_country_modifier = {
			name = "concerned_shipwrights"
			duration = 1825
		}
	}
	option = {
		name = "EVTOPTB6109"
		add_stability = -1 
	}
}

# We Rule the Waves
country_event = {
	id = ideagroups.1010
	title = "EVTNAME6110"
	desc = "EVTDESC6110"
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6110"
		add_prestige = 10
	}
}

# The Fleet has declined
country_event = {
	id = ideagroups.1011
	title = "EVTNAME6111"
	desc = "EVTDESC6111"
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6111"
		add_prestige = -10
	}
	option = {
		name = "EVTOPTB6111"
		add_years_of_income = -0.2
	}
}

# Arsenals are being deserted
country_event = {
	id = ideagroups.1012
	title = "EVTNAME839"
	desc = "EVTDESC839"
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB839A"
		add_mil_power = -30
	}
}

# General retires
country_event = {
	id = ideagroups.1013
	title = "EVTNAME840"
	desc = "EVTDESC840"
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB840A"
		add_army_tradition = -10
	}
}

# A naval reformer
country_event = {
	id = ideagroups.1014
	title = "EVTNAME841"
	desc = "EVTDESC841"
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB841A"
		create_advisor = naval_reformer
	}
}

# Our Fleet is the pride of the Nation
country_event = {
	id = ideagroups.1015
	title = "EVTNAME6310"
	desc = "EVTDESC6310"
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
		num_of_heavy_ship = 1
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6310"
		add_navy_tradition = 10
	}
}	

# Generals Bothered
country_event = {
	id = ideagroups.1016
	title = "EVTNAME6311"
	desc = "EVTDESC6311"
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}

	mean_time_to_happen = {
		days = 1

	}

	option = {
		name = "EVTOPTA6311"
		add_country_modifier = {
			name = "naval_focus"
			duration = 1825
		}
	}

	option = {
		name = "EVTOPTB6311"
		add_country_modifier = {
			name = land_modifier
			duration = 1825
		}
	}
}

# Naval Construction!
country_event = {
	id = ideagroups.1017
	title = ideagroups.1017.t
	desc = ideagroups.1017.d
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
		num_of_ports = 1
		NOT = { navy_size_percentage = 1.1 }
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1017.a
		random_owned_province = {
			limit = {
				has_port = yes
			}
			add_unit_construction = {
				amount = 2
				type = heavy_ship
				speed = 0.5
				cost = 0
			}
		}
	}
	option = {
		name = ideagroups.1017.b
		random_owned_province = {
			limit = {
				has_port = yes
			}
			add_unit_construction = {
				type = light_ship
				amount = 3
				speed = 0.5
				cost = 0
			}
		}
	}
}

# Abundance of Sailors
country_event = {
	id = ideagroups.1018
	title = ideagroups.1018.t
	desc = ideagroups.1018.d
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}

	mean_time_to_happen = {
		days = 1

	}
	
	option = {
		name = ideagroups.1018.a
		add_navy_tradition = 10
	}
}

# Naval Benefits
country_event = {
	id = ideagroups.1019
	title = ideagroups.1019.t
	desc = ideagroups.1019.d
	picture = NAVAL_MILITARY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1019.a
		add_years_of_income = 0.5
	}
}

# Pride of the Fleet
country_event = {
	id = ideagroups.1020
	title = ideagroups.1020.t
	desc = ideagroups.1020.d
	picture = SHIP_SAILING_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
		num_of_heavy_ship = 1
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1020.a
		add_prestige = 15
	}
}

# Efficiency in the Navy
country_event = {
	id = ideagroups.1021
	title = ideagroups.1021.t
	desc = ideagroups.1021.d
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = naval_ideas
	}

	mean_time_to_happen = {
		days = 1

	}
	
	option = {
		name = ideagroups.1021.a
		add_dip_power = 50
	}
}

#######################################
# Economic Ideas
#######################################

# Production Improvements
country_event = {
	id = ideagroups.1100
	title = "EVTNAME6144"
	desc = "EVTDESC6144"
	picture = ECONOMY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea = smithian_economics
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6144"
		add_country_modifier = {
			name = "production_improvements"
			duration = 1825
		}
	}
}

# Production Stifled
country_event = {
	id = ideagroups.1101
	title = "EVTNAME6145"
	desc = "EVTDESC6145"
	picture = ECONOMY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = economic_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6145"
		add_country_modifier = {
			name = "production_stifled"
			duration = 1825
		}
	}
	option = {
		name = "EVTOPTB6145"
		add_inflation = 1
	}		
}

# Successful Bureaucracy
country_event = {
	id = ideagroups.1102
	title = "EVTNAME6146"
	desc = "EVTDESC6146"
	picture = ECONOMY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = economic_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6146"
		add_country_modifier = {
			name = "successful_bureaucracy"
			duration = 1825
		}
	}
}

# Corrupt Bureaucracy
country_event = {
	id = ideagroups.1103
	title = "EVTNAME6147"
	desc = "EVTDESC6147"
	picture = ECONOMY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = economic_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6147"
		add_country_modifier = {
			name = "corrupt_bureaucracy"
			duration = 1825
		}
	}
}

# Successful Bureaucracy
country_event = {
	id = ideagroups.1104
	title = "EVTNAME6146"
	desc = "EVTDESC6197"
	picture = ECONOMY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = economic_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6197"
		add_adm_power = 100
	}
}

# Successful Bureaucracy
country_event = {
	id = ideagroups.1105
	title = "EVTNAME6146"
	desc = "EVTDESC6198"
	picture = ECONOMY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = economic_ideas
		num_of_cities = 15
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6198"
		add_years_of_income = -0.5
		add_adm_power = 50
	}
	option = {
		name = "EVTOPTB6198"
		add_adm_power = -10
	}
}

# National Bank pays dividends
country_event = {
	id = ideagroups.1106
	title = "EVTNAME6148"
	desc = "EVTDESC6148"
	picture = ECONOMY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = economic_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6148"
		add_years_of_income = 0.25
	}
}

# National Bank in trouble
country_event = {
	id = ideagroups.1107
	title = "EVTNAME6149"
	desc = "EVTDESC6149"
	picture = ECONOMY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = economic_ideas
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA6149"
		add_years_of_income = -1.0
	}
	option = { 
		name = "EVTOPTB6149" 
		add_inflation = 3
	}
}

# Local Tax Increase
country_event = {
	id = ideagroups.1108
	title = "EVTNAME809"
	desc = "EVTDESC809"
	picture = ECONOMY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = economic_ideas	
	}	

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB809A"
		random_owned_province = {
			limit = {
				is_overseas = no
			}
			add_base_tax = 1
		}		
	}
}

# More Local Recruiting
country_event = {
	id = ideagroups.1109
	title = "EVTNAME810"
	desc = "EVTDESC810"
	picture = LAND_MILITARY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = economic_ideas	
	}	

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB810A"
		random_owned_province = {
			limit = {
				is_overseas = no
			}
			add_province_manpower = 2
		}		
	}
}

# Stability Increase
country_event = {
	id = ideagroups.1110
	title = "EVTNAME811"
	desc = "EVTDESC811"
	picture = ELECTION_REPUBLICAN_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = economic_ideas	
		NOT = { stability = 3 }
	}	

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB811A"
		add_stability = 1
	}
}


#######################################
# Exploration Ideas
#######################################

# Colonist Rush
country_event = {
	id = ideagroups.1200
	title = "EVTNAME6136"
	desc = "EVTDESC6136"
	picture = COLONIZATION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea = quest_for_the_new_world
		num_of_colonies = 1
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6136"
		add_country_modifier = {
			name = "colonial_enthusiasm"
			duration = 1825
		}
	}
}

# People Flee to the Colonies
country_event = {
	id = ideagroups.1201
	title = "EVTNAME6137"
	desc = "EVTDESC6137"
	picture = COLONIZATION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = exploration_ideas
		is_at_war = yes
		num_of_colonies = 1
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6137"
		random_owned_province = {
			limit = { 
				is_colony = yes 
			}
			add_colonysize = 300
		}	
		add_dip_power = -25
	}
	option = {
		name = "EVTOPTB6137"
		add_prestige = 5
	}
}

# Colonial Company goes bankrupt
country_event = {
	id = ideagroups.1202
	title = "EVTNAME6139"
	desc = "EVTDESC6139"
	picture = COLONIZATION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = exploration_ideas
		num_of_colonies = 1
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6139"
		random_owned_province = {
			limit = { 
				is_colony = yes 
			}
			multiply_colonysize = 0.5
		}			
	}

	option = {
		name = "EVTOPTB6139"
		add_treasury = -50
	}
}

# Excellent Viceroys
country_event = {
	id = ideagroups.1203
	title = "EVTNAME6142"
	desc = "EVTDESC6142"
	picture = COLONIZATION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = exploration_ideas
		any_country = {
			is_colonial_nation_of = ROOT
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6142"
		add_country_modifier = {
			name = "excellent_administration"
			duration = 1825
		}
	}
}

# Corrupt Viceroys
country_event = {
	id = ideagroups.1204
	title = "EVTNAME6143"
	desc = "EVTDESC6143"
	picture = COLONIZATION_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = exploration_ideas
		any_country = {
			is_colonial_nation_of = ROOT
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6143"
		add_country_modifier = {
			name = "corrupt_viceroys"
			duration = 1825
		}
	}
	option = {
		name = "EVTOPTB6143"
		add_inflation = 2
	}		
}


# Friendshp with natives
country_event = {
	id = ideagroups.1205
	title = ideagroups.1205.t
	desc = ideagroups.1205.d
	picture = NATIVES_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = exploration_ideas
		num_of_colonies = 1
		has_country_flag = NF_peacenik
		any_owned_province = {
			is_colony = yes 
			native_size = 1
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1205.a
		random_owned_province = {
			limit = { 
				is_colony = yes 
				native_size = 1
			}
			change_native_ferocity = -1
			change_native_hostileness = -1
		}	
	}
}

# Women needed
country_event = {
	id = ideagroups.1206
	title = ideagroups.1206.t
	desc = ideagroups.1206.d
	picture = COLONIZATION_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = exploration_ideas
		num_of_colonies = 1
		any_owned_province = {
			is_colony = yes 
			colonysize = 200
			has_colonist = yes
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1206.a
		random_owned_province = {
			limit = {
				is_colony = yes 
				colonysize = 200
				has_colonist = yes			
			}
			add_colonysize = 200
			add_province_manpower = 1
		}
	}
}

# Encomienda System
country_event = {
	id = ideagroups.1207
	title = ideagroups.1207.t
	desc = ideagroups.1207.d
	picture = COLONIZATION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = exploration_ideas
		num_of_colonies = 1
		any_owned_province = {
			is_colony = yes 
			native_size = 1
			NOT = { trade_goods = unknown }
		}
	}

	mean_time_to_happen = {
		days = 1
	}

		
	option = {
		name = ideagroups.1207.a
		random_owned_province = {
			limit = { 
				is_colony = yes 
				native_size = 1
				NOT = { trade_goods = unknown }
			}
			change_native_hostileness = -5
			add_province_modifier = {
				name = encomienda_system
				duration = 1825
			}
		}	
	}
}

# Evangelical Mission
country_event = {
	id = ideagroups.1208
	title = ideagroups.1208.t
	desc = ideagroups.1208.d
	picture = RELIGION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = exploration_ideas
		overseas_provinces_percentage = 0.05
		religion_group = christian
		any_owned_province = {
			is_overseas = yes
			religion_group = pagan
		}
	}

	mean_time_to_happen = {
		days = 1
	}
		
	option = {
		name = ideagroups.1208.a
		random_owned_province = {
			limit = { 
				is_overseas = yes
				religion_group = pagan
			}
			add_province_modifier = {
				name = evangelical_system
				duration = 1825
			}
		}	
	}
}

# Colony in Trouble
country_event = {
	id = ideagroups.1209
	title = ideagroups.1209.t
	desc = ideagroups.1209.d
	picture = COLONIZATION_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = exploration_ideas
		num_of_colonies = 1
		any_owned_province = {
			is_colony = yes 
			has_colonist = no
		}		
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1209.a
		random_owned_province = {
			limit = { 
				is_colony = yes 
				has_colonist = no
			}
			add_colonysize = -1000
		}	
	}
	option = {
		name = ideagroups.1209.b
		add_dip_power = -50
	}
}

# Poor Harvest
country_event = {
	id = ideagroups.1210
	title = ideagroups.1210.t
	desc = ideagroups.1210.d
	picture = FARMING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = exploration_ideas
		num_of_colonies = 1
		any_owned_province = {
			is_colony = yes 
			has_colonist = no
		}		
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1210.a
		add_dip_power = -50
	}
}

#######################################
# Quality Ideas
#######################################

# Unsuitable recruits
country_event = {
	id = ideagroups.1300
	title = "EVTNAME842"
	desc = "EVTDESC842"
	picture = LAND_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = quality_ideas
		NOT = { has_idea_group = quantity_ideas }
	}	
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTB842A"
		add_manpower = -0.1
	}
}

# Nobles worried
country_event = {
	id = ideagroups.1301
	title = "EVTNAME843"
	desc = "EVTDESC843"
	picture = DEBATE_REPUBLICAN_eventPicture
	
	is_triggered_only = yes
	
	mean_time_to_happen = {
		days = 1
	}

	trigger = {
		has_idea_group = quality_ideas
		NOT = { has_idea_group = quantity_ideas }
	}	
	
	option = {
		name = "EVTOPTB843A"
		add_stability = -1
	}
}

# New commandant
country_event = {
	id = ideagroups.1302
	title = "EVTNAME844"
	desc = "EVTDESC844"
	picture = DEBATE_REPUBLICAN_eventPicture
	
	is_triggered_only = yes
	
	mean_time_to_happen = {
		days = 1
	}

	trigger = {
		has_idea_group = quality_ideas
		NOT = { has_idea_group = quantity_ideas }
	}	
	
	option = {
		name = "EVTOPTB844A"
		create_advisor = commandant
	}
}

# Decline in Army Quality
country_event = {
	id = ideagroups.1303
	title = "EVTNAME6305"
	desc = "EVTDESC6305"
	picture = MILITARY_CAMP_eventPicture
	
	is_triggered_only = yes

	trigger = {
		has_idea_group = quality_ideas
		has_idea_group = quantity_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6305"
		add_prestige = -25
	}

	option = {
		name = "EVTOPTB6305"
		add_country_modifier = {
			name = quality_modifier
			duration = 1825
		}
	}
} 

# The Quality of our troops is Impressive
country_event = {
	id = ideagroups.1304
	title = "EVTNAME6306"
	desc = "EVTDESC6306"
	picture = LAND_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = quality_ideas
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA6306"
		add_prestige = 10
	}
}	

# Recruiting crisis
country_event = {
	id = ideagroups.1305
	title = "EVTNAME6307"
	desc = "EVTDESC6307"
	picture = MILITARY_CAMP_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = quality_ideas
		NOT = { manpower_percentage = 0.70 }
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA6307"
		add_prestige = -10
	}

	option = {
		name = "EVTOPTB6307"
		add_manpower = -0.20
	}
}

# Iron Ships
country_event = {
	id = ideagroups.1306
	title = ideagroups.1306.t
	desc = ideagroups.1306.d
	picture = NAVAL_MILITARY_eventPicture
	
	is_triggered_only = yes

	trigger = {
		has_idea_group = quality_ideas
		num_of_heavy_ship = 3
		is_at_war = yes
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.1306.a
		add_country_modifier = {
			name = iron_ships
			duration = 1825
		}
	}
} 

# Protected Commerce
country_event = {
	id = ideagroups.1307
	title = ideagroups.1307.t
	desc = ideagroups.1307.d
	picture = NAVAL_MILITARY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = quality_ideas
		num_of_light_ship = 3
		is_at_war = yes
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1307.a
		add_country_modifier = {
			name = protected_commerce
			duration = 1825
		}
	}
}

# The Power of the Fleet
country_event = {
	id = ideagroups.1308
	title = ideagroups.1308.t
	desc = ideagroups.1308.d
	picture = NAVAL_MILITARY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = quality_ideas
		is_at_war = yes
		OR = {
			num_of_heavy_ship = 3
			num_of_light_ship = 5
			num_of_galley = 5
		}
	}	
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.1308.a
		add_country_modifier = {
			name = power_of_the_fleet
			duration = 1825
		}
	}
}  

# Steady Boys!
country_event = {
	id = ideagroups.1309
	title = ideagroups.1309.t
	desc = ideagroups.1309.d
	picture = LAND_MILITARY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = quality_ideas
		is_at_war = yes
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1309.a
		add_country_modifier = {
			name = good_discipline
			duration = 1825
		}
	}
}  

# Back to the Front
country_event = {
	id = ideagroups.1310
	title = ideagroups.1310.t
	desc = ideagroups.1310.d
	picture = LAND_MILITARY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = quality_ideas
		is_at_war = yes
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1310.a
		add_country_modifier = {
			name = back_to_the_front
			duration = 1825
		}
	}
}     


#######################################
# Quantity Ideas
#######################################

# People laugh at our army
country_event = {
	id = ideagroups.1400
	title = "EVTNAME845"
	desc = "EVTDESC845"
	picture = LAND_MILITARY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = quantity_ideas
		NOT = { has_idea_group = quality_ideas }
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB845A"
		add_prestige = -10
	}
}

# Leaders harder to find
country_event = {
	id = ideagroups.1401
	title = "EVTNAME846"
	desc = "EVTDESC846"
	picture = MILITARY_CAMP_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = quantity_ideas
		NOT = { has_idea_group = quality_ideas }
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTB846A"
		add_army_tradition = -10
	}
}

# New organization
country_event = {
	id = ideagroups.1402
	title = "EVTNAME847"
	desc = "EVTDESC847"
	picture = MILITARY_CAMP_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = quantity_ideas
		NOT = { has_idea_group = quality_ideas }
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTB847A"
		create_advisor = army_organiser
	}
}

# More men for the Army
country_event = {
	id = ideagroups.1403
	title = "EVTNAME6304"
	desc = "EVTDESC6304"
	picture = MILITARY_CAMP_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = quantity_ideas
	}	

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6304"
		random_owned_province = {
			add_province_manpower = 1
		}
		add_manpower = 5
	}
}

# Horse Population Boom
country_event = {
	id = ideagroups.1404
	title = ideagroups.1404.t
	desc = ideagroups.1404.d
	picture = HORDE_ON_HORSEBACK_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = quantity_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1404.a
		add_country_modifier = {
			name = horse_population_boom
			duration = 1825
		}
	}
}

# Surplus Equipment
country_event = {
	id = ideagroups.1405
	title = ideagroups.1405.t
	desc = ideagroups.1405.d
	picture = MILITARY_CAMP_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = quantity_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1405.a
		add_country_modifier = {
			name = surplus_equipment
			duration = 1825
		}
	}
}

# Cheap Iron
country_event = {
	id = ideagroups.1406
	title = ideagroups.1406.t
	desc = ideagroups.1406.d
	picture = MILITARY_CAMP_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = quantity_ideas
		mil_tech = 7
	}	

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1406.a
		add_country_modifier = {
			name = cheap_iron
			duration = 1825
		}
	}
}

# Timber Surplus
country_event = {
	id = ideagroups.1407
	title = ideagroups.1407.t
	desc = ideagroups.1407.d
	picture = SHIP_SAILING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = quantity_ideas
		dip_tech = 3
		NOT = { has_country_modifier = timber_shortage }
		num_of_ports = 1
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.1407.a
		add_country_modifier = {
			name = timber_surplus
			duration = 1825
		}
	}
}

# Men flock to the colors
country_event = {
	id = ideagroups.1408
	title = ideagroups.1408.t
	desc = ideagroups.1408.d
	picture = LAND_MILITARY_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = quantity_ideas
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.1408.a
		add_manpower = 0.1
	}
}

# Timber Shortage
country_event = {
	id = ideagroups.1409
	title = ideagroups.1409.t
	desc = ideagroups.1409.d
	picture = SHIP_SAILING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = quantity_ideas
		dip_tech = 3
		NOT = { has_country_modifier = timber_surplus }
		
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.1409.a
		add_country_modifier = {
			name = timber_shortage
			duration = 1825
		}
	}
}

# Administrative Problems
country_event = {
	id = ideagroups.1410
	title = ideagroups.1410.t
	desc = ideagroups.1410.d
	picture = MILITARY_CAMP_eventPicture

	is_triggered_only = yes

	trigger = {
		has_idea_group = quantity_ideas
		NOT = { has_country_modifier = admin_problems }
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.1410.a
		add_country_modifier = {
			name = admin_problems
			duration = 1825
		}
	}
}
 
#######################################
# Expansion Ideas
#######################################

# Wave of Immigration
country_event = {
	id = ideagroups.1500
	title = ideagroups.1500.t
	desc = ideagroups.1500.d
	picture = COLONIZATION_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = expansion_ideas
		num_of_colonies = 1
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.1500.a
		random_owned_province = {
			limit = {
				is_colony = yes
			}
			add_colonysize = 200
		}
	}
}

# Successful Company
country_event = {
	id = ideagroups.1501
	title = ideagroups.1501.t
	desc = ideagroups.1501.d
	picture = MERCHANTS_TALKING_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = expansion_ideas
		capital_scope = {
			has_trader = root
		}
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1501.a
		capital_scope = {
			add_trade_node_income = 3.0
		}
	}
}

# Colonial Enthusiasm
country_event = {
	id = ideagroups.1502
	title = ideagroups.1502.t
	desc = ideagroups.1502.d
	picture = COLONIZATION_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = expansion_ideas
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.1502.a
		add_country_modifier = {
			name = "colonial_enthusiasm"
			duration = 1825
		}
	}
}

# Diplomatic moves
country_event = {
	id = ideagroups.1503
	title = ideagroups.1503.t
	desc = ideagroups.1503.d
	picture = DIPLOMACY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = expansion_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1503.a
		add_country_modifier = {
			name = "diplomatic_moves"
			duration = 1825
		}
	}
}

# Ship Building Boom
country_event = {
	id = ideagroups.1504
	title = ideagroups.1504.t
	desc = ideagroups.1504.d
	picture = NAVAL_MILITARY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = expansion_ideas
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.1504.a
		add_country_modifier = {
			name = "ship_building_boom"
			duration = 1825
		}
	}
}

# Enhanced Reputation
country_event = {
	id = ideagroups.1505
	title = ideagroups.1505.t
	desc = ideagroups.1505.d
	picture = DIPLOMACY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = expansion_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1505.a
		add_country_modifier = {
			name = "enhanced_reputation"
			duration = 1825
		}
	}
} 

# Trade Success
country_event = {
	id = ideagroups.1506
	title = ideagroups.1506.t
	desc = ideagroups.1506.d
	picture = MERCHANTS_TALKING_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = expansion_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1506.a
		add_country_modifier = {
			name = "trade_success"
			duration = 1825
		}
	}
} 

# Colonial Disaster
country_event = {
	id = ideagroups.1507
	title = ideagroups.1507.t
	desc = ideagroups.1507.d
	picture = COLONIZATION_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = expansion_ideas
		num_of_colonies = 1
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1507.a
		random_owned_province = {
			limit = {
				is_colony = yes
			}
			add_colonysize = -200
		}
	}
	option = {
		name = ideagroups.1507.b
		add_dip_power = -50
	}
}

# Trade Failure
country_event = {
	id = ideagroups.1508
	title = ideagroups.1508.t
	desc = ideagroups.1508.d
	picture = MERCHANTS_TALKING_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = expansion_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1508.a
		add_country_modifier = {
			name = "trade_failure"
			duration = 1825
		}
	}
	option = {
		name = ideagroups.1508.b
		add_dip_power = -50
	}
} 

# Ship building problems
country_event = {
	id = ideagroups.1509
	title = ideagroups.1509.t
	desc = ideagroups.1509.d
	picture = SHIP_SAILING_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = expansion_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1509.a
		add_country_modifier = {
			name = "ship_building_problems"
			duration = 1825
		}
	}
} 

# Diplomatic Faux Pas
country_event = {
	id = ideagroups.1510
	title = ideagroups.1510.t
	desc = ideagroups.1510.d
	picture = DIPLOMACY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = expansion_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1510.a
		add_country_modifier = {
			name = "diplo_fuax_pas"
			duration = 1825
		}
	}
} 

#######################################
# Administrative Ideas
#######################################

# Centralization Yields Benefits
country_event = {
	id = ideagroups.1600
	title = "EVTNAME6334"
	desc = "EVTDESC6334"
	picture = COLONIZATION_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = administrative_ideas
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6334"
		add_country_modifier = {
			name = "centralised_state"
			duration = 1825
		}
	}
}

# Provinces Frustrated by Lack of Autonomy
country_event = {
	id = ideagroups.1601
	title = "EVTNAME6335"
	desc = "EVTDESC6335" 
	picture = DEBATE_REPUBLICAN_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = administrative_ideas
		any_owned_province = {
			is_colony = no
			is_overseas = no
			NOT = { is_core = ROOT }
		}
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6335"
		random_owned_province = {
			limit = { 
				is_colony = no
				is_overseas = no
				NOT = { is_core = ROOT }
			}
			nationalist_rebels = 2
		}

	}
	option = {
		name = "EVTOPTB6335"
		add_prestige = -50
		add_adm_power = -25
	}
} 

# Provinces want even more autonomy
country_event = {
	id = ideagroups.1602
	title = "EVTNAME6337"
	desc = "EVTDESC6337"
	picture = DEBATE_REPUBLICAN_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_idea_group = administrative_ideas
		any_owned_province = {
			is_colony = no
			is_overseas = no
			NOT = { is_core = ROOT }
		}
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA6337"
		random_owned_province = {
			limit = { 
				is_colony = no
				is_overseas = no
				NOT = { is_core = ROOT }
			}
			nationalist_rebels = 2
		}		
	}

	option = {
		name = "EVTOPTB6337"
		add_mil_power = -50
	}
}

# Poor payments
country_event = {
	id = ideagroups.1603
	title = ideagroups.1603.t
	desc = ideagroups.1603.d
	picture = MILITARY_CAMP_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = administrative_ideas
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.1603.a
		add_country_modifier = {
			name = "trust_from_mercs"
			duration = 1825
		}
	}
}

# Glut of Mercenary Companies
country_event = {
	id = ideagroups.1604
	title = ideagroups.1604.t
	desc = ideagroups.1604.d
	picture = MILITARY_CAMP_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = administrative_ideas
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.1604.a
		add_country_modifier = {
			name = "glut_of_mercs"
			duration = 1825
		}
	}
}

# Generous Terms
country_event = {
	id = ideagroups.1605
	title = ideagroups.1605.t
	desc = ideagroups.1605.d
	picture = ECONOMY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = administrative_ideas
		num_of_loans = 1
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1605.a
		add_country_modifier = {
			name = "generous_terms"
			duration = 1825
		}
	}
}

# Good Advice
country_event = {
	id = ideagroups.1606
	title = ideagroups.1606.t
	desc = ideagroups.1606.d
	picture = ADVISOR_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = administrative_ideas
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.1606.a
		add_country_modifier = {
			name = "good_advise"
			duration = 1825
		}
	}
}

# Show people our Resilience
country_event = {
	id = ideagroups.1607
	title = ideagroups.1607.t
	desc = ideagroups.1607.d
	picture = DEBATE_REPUBLICAN_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = administrative_ideas
		NOT= { stability = 3 }
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1607.a
		add_stability = 1
	}
}

# Support the War
country_event = {
	id = ideagroups.1608
	title = ideagroups.1608.t
	desc = ideagroups.1608.d
	picture = BATTLE_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = administrative_ideas
		war_exhaustion = 4
		is_at_war = yes	
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = ideagroups.1608.a
		add_war_exhaustion = -2
	}
}

# Failed Administration
country_event = {
	id = ideagroups.1609
	title = ideagroups.1609.t
	desc = ideagroups.1609.d
	picture = LIBERUM_VETO_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = administrative_ideas
		stability = -2
	}

	mean_time_to_happen = {
		days = 1
		modifier = {
			factor = 2.0
			tag = POR
		}
	}

	option = {
		name = ideagroups.1609.a
		add_stability = -1
	}
}

# Payment Demands
country_event = {
	id = ideagroups.1610
	title = ideagroups.1610.t
	desc = ideagroups.1610.d
	picture = MILITARY_CAMP_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_idea_group = administrative_ideas
		is_at_war = yes	
		num_of_mercenaries = 1
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = ideagroups.1610.a
		add_country_modifier = {
			name = "payment_demands"
			duration = 1825
		}
	}
}