add_namespace = LAT

#farmer protection act
country_event = {
	id = LAT.1
	title = LAT.1.t
	desc = LAT.1.d
	picture = GFX_report_event_customers

	is_triggered_only = yes

	option = {
		name = LAT.1.o1
		add_ideas = LAT_farmer_protection_act


		ai_chance = {
			factor = 50
		}
	}

	option = {
		name = LAT.1.o2
		add_ideas = LAT_support_large_corporations


		ai_chance = {
			factor = 50
		}
	}

}
#question of 2nd five year plan
country_event = {
	id = LAT.2
	title = LAT.2.t
	desc = LAT.2.d
	picture = GFX_report_event_customers

	is_triggered_only = yes

	option = {
		name = LAT.2.o1
		add_timed_idea = {
			idea = LAT_five_year_plan_civs_focus #focus on civilian factories
			days = 1825
		}


		ai_chance = {
			factor = 50
		}
	}

	option = {
		name = LAT.2.o2
		add_timed_idea = {
			idea = LAT_five_year_plan_mils_focus #focus on military factories
			days = 1825
		}


		ai_chance = {
			factor = 50
		}
	}

}

#question of soviets (the buildings)
country_event = {
	id = LAT.3
	title = LAT.3.t
	desc = LAT.3.d
	picture = GFX_report_event_customers

	is_triggered_only = yes

	option = {
		name = LAT.3.o1
		set_country_flag = keep_soviets


		ai_chance = {
			factor = 50
		}
	}

	option = {
		name = LAT.3.o2
		set_country_flag = abolished_soviets


		ai_chance = {
			factor = 50
		}
	}

}

#I came here only for a bear!!!!!
country_event = {
	id = LAT.4
	title = LAT.4.t
	desc = LAT.4.d
	picture = GFX_report_event_ccp_party_congress

	fire_only_once = yes

	is_triggered_only = yes

	trigger = {
		original_tag = LAT
		has_country_flag = Pedeja_partija_about_to_be_elected
	}

	option = {
		name = LAT.4.o1
		add_political_power = 20 #hmmmmmmm


		ai_chance = {
			factor = 100
		}
	}
}

#Invitation to Baltic entente
country_event = {
	id = LAT.5
	title = LAT.5.t
	desc = LAT.5.d
	picture = GFX_report_event_political_deal2

	is_triggered_only = yes

	option = {	#Accept
		name = LAT.5.o1
		LAT = { add_to_faction = ROOT }
		set_country_flag = seeks_italian_alliance
		POL = { country_event = diplomatic_response.1 }
		ai_chance = {
			factor = 100
		}
	}

	option = {	#Decline
		name = poland.5.o2
		POL = { country_event = diplomatic_response.2 }
		random_country = {
			limit = {
				tag = POL
			}
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}
		ai_chance = {
			factor = 0
		}
	}
}

#Latvia wants to join our factions
country_event = {
	id = LAT.6
	title = LAT.6.t
	desc = LAT.6.d
	picture = GFX_report_event_political_deal2

	is_triggered_only = yes

	option = {	#Accept
		name = LAT.6.o1
		ROOT = { add_to_faction = LAT }
		set_country_flag = seeks_italian_alliance
		POL = { country_event = diplomatic_response.1 }
		ai_chance = {
			factor = 100
		}
	}

	option = {	#Decline
		name = poland.6.o2
		POL = { country_event = diplomatic_response.2 }
		random_country = {
			limit = {
				tag = POL
			}
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}
		ai_chance = {
			factor = 10
		}
	}
}
