add_namespace = poland

#Invitation to Trójmorze
country_event = {
	id = poland.1
	title = poland.1.t
	desc = poland.1.d
	picture = GFX_report_event_political_deal2

	is_triggered_only = yes

	option = {	#Accept
		name = poland.1.o1
		POL = { add_to_faction = ROOT }
		set_country_flag = seeks_polish_alliance
		POL = { country_event = diplomatic_response.1 }
		ai_chance = {
			factor = 90
			modifier = {
				factor = 40
				is_neutral = yes
			}
			modifier = {
				factor = 50
				is_in_faction = yes
			}
		}
	}

	option = {	#Decline
		name = poland.1.o2
		POL = { country_event = diplomatic_response.2 }
		random_country = {
			limit = {
				tag = POL
			}
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}
		ai_chance = {
			factor = 10
		}
	}
}
#unification of Trójmorze
country_event = {
	id = poland.2
	title = poland.2.t
	desc = poland.2.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {
		name = poland.2.o1

		POL = {
			country_event = { id = diplomatic_response.1 }
			annex_country = {
				target = ROOT
				transfer_troops = yes
			}
		}
		every_state = {
			limit = { is_core_of = ROOT }
			add_core_of = POL
		}

		ai_chance = {
			factor = 95
		}
	}

	option = {
		name = poland.2.o2

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.2 }
		}

		add_political_power = -25

		ai_chance = {
			factor = 5
		}
	}
}

#Poland x Russia vs Ukraine
country_event = {
	id = poland.3
	title = poland.3.t
	desc = poland.3.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {
		name = poland.3.o1

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.1 }
		}
		POL = { transfer_state = 93 }
		POL = { transfer_state = 91 }
		POL = { transfer_state = 80 }
		POL = { transfer_state = 199 }
		POL = { transfer_state = 73 }
		POL = { transfer_state = 89 }
		random_country = {
			limit = {
				tag = SOV
			}
			puppet = UKR
		}
		SOV = { transfer_state = 137 }
		SOV = { transfer_state = 228 }
		SOV = { transfer_state = 221 }
		SOV = { transfer_state = 225 }
		SOV = { transfer_state = 193 }
		SOV = { transfer_state = 227 }
		SOV = { transfer_state = 259 }

		ai_chance = {
			factor = 95
		}
	}

	option = {
		name = poland.3.o2

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.2 }
			random_country = {
				limit = {
					tag = POL
				}
				create_wargoal = {
					type = annex_everything
					target = ROOT
				}
			}
		}
		add_political_power = -25

		ai_chance = {
			factor = 5
		}
	}
}

#Poland wants to join CSTO
country_event = {
	id = poland.4
	title = poland.4.t
	desc = poland.4.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {
		name = poland.4.o1
		POL = {  set_country_flag = seek_CSTO_membership }
		SOV = { add_to_faction = POL }

		ai_chance = {
			factor = 95
		}
	}

	option = {
		name = poland.4.o2

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.2 }
		}

		add_political_power = -500

		ai_chance = {
			factor = 5
		}
	}
}

#Poland x Russia devide the Belarus
country_event = {
	id = poland.5
	title = poland.5.t
	desc = poland.5.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {
		name = poland.5.o1

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.1 }
		}
		POL = { transfer_state = 94 }
		POL = { transfer_state = 808 }
		POL = { transfer_state = 95 }

		SOV = { transfer_state = 207 }
		SOV = { transfer_state = 241 }
		SOV = { transfer_state = 204 }
		SOV = { transfer_state = 206 }
		SOV = { transfer_state = 194 }

		ai_chance = {
			factor = 95
		}
	}

	option = {
		name = poland.5.o2

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.2 }
		}
		random_country = {
			limit = {
				tag = POL
			}
			create_wargoal = {
				type = annex_everything
				target = BLR
			}
		}

		add_political_power = -25

		ai_chance = {
			factor = 5
		}
	}
}
#Poland demands Vilnus and subjigation
country_event = {
	id = poland.6
	title = poland.6.t
	desc = poland.6.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {
		name = poland.6.o1

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.1 }
			puppet = LIT
		}
		POL = { transfer_state = 96 }

		ai_chance = {
			factor = 70
		}
	}

	option = {
		name = poland.6.o2

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.2 }
		}
		random_country = {
			limit = {
				tag = POL
			}
			create_wargoal = {
				type = annex_everything
				target = LIT
			}
		}

		add_political_power = -25

		ai_chance = {
			factor = 30
		}
	}
}
#carpathio rhuteina for membership in CSTO
country_event = {
	id = poland.7
	title = poland.7.t
	desc = poland.7.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {
		name = poland.7.o1
		SOV = { add_to_faction = ROOT }
		HUN = { set_country_flag = seek_CSTO_membership }
		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.1 }
		}
		HUN = { transfer_state = 73 }

		ai_chance = {
			factor = 70
		}
	}

	option = {
		name = poland.7.o2
		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.2 }
		}
		random_country = {
			limit = {
				tag = POL
			}
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}

		ai_chance = {
			factor = 70
		}
	}
}
#invitation to  CSTO
country_event = {
	id = poland.8
	title = poland.8.t
	desc = poland.8.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {
		name = poland.8.o1
		set_country_flag = seek_CSTO_membership
		SOV = { add_to_faction = ROOT }
		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.1 }
		}

		ai_chance = {
			factor = 70
		}
	}

	option = {
		name = poland.8.o2

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.2 }
		}
		random_country = {
			limit = {
				tag = POL
			}
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}

		add_political_power = -25

		ai_chance = {
			factor = 30
		}
	}
}

#Poland offers subjigation
country_event = {
	id = poland.9
	title = poland.9.t
	desc = poland.9.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {
		name = poland.9.o1

		random_country = {
			limit = {
				tag = POL
			}
			puppet = ROOT
			country_event = { id = diplomatic_response.1 }
		}

		ai_chance = {
			factor = 80
		}
	}

	option = {
		name = poland.9.o2

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.2 }
		}
		random_country = {
			limit = {
				tag = POL
			}
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}

		add_political_power = -25

		ai_chance = {
			factor = 20
		}
	}
}

#Poland offers protection for part of our industry
country_event = {
	id = poland.10
	title = poland.10.t
	desc = poland.10.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {
		name = poland.10.o1
		random_country = {
			limit = {
				tag = ARG
			}
			add_ideas = POL_argentinian_tribute
		}

		random_country = {
			limit = {
				tag = POL
			}
			give_guarantee = ARG
			country_event = { id = diplomatic_response.1 }
		}

		ai_chance = {
			factor = 80
		}
	}

	option = {
		name = poland.10.o2

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.2 }
		}
		random_country = {
			limit = {
				tag = POL
			}
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}

		add_political_power = -25

		ai_chance = {
			factor = 20
		}
	}
}

#Poland wants part of Brazil
country_event = {
	id = poland.11
	title = poland.11.t
	desc = poland.11.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {
		name = poland.11.o1

		POL = { transfer_state = 503 }
		POL = { transfer_state = 502 }
		503 = { add_core_of = POL }
		502 = { add_core_of = POL }

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.1 }
		}

		ai_chance = {
			factor = 80
		}
	}

	option = {
		name = poland.11.o2

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.2 }
		}
		random_country = {
			limit = {
				tag = POL
			}
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}

		add_political_power = -25

		ai_chance = {
			factor = 20
		}
	}
}

#Austro-Hungary but under Hungary
country_event = {
	id = poland.12
	title = poland.12.t
	desc = poland.12.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {
		name = poland.12.o1

		random_country = {
			limit = {
				tag = POL
			}
			puppet = HUN
		}

		random_country = {
			limit = {
				tag = HUN
			}
			set_cosmetic_tag = AusHun
			country_event = { id = diplomatic_response.1 }
			annex_country = {
				target = AUS
				transfer_troops = yes
			}
		}
		every_state = {
			limit = { is_core_of = AUS }
			add_core_of = HUN
		}

		ai_chance = {
			factor = 95
		}
	}

	option = {
		name = poland.12.o2

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.2 }
		}

		add_political_power = -25

		ai_chance = {
			factor = 5
		}
	}
}

#Poland wants part of partition of Czechia
country_event = {
	id = poland.13
	title = poland.13.t
	desc = poland.13.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {
		name = poland.13.o1

		POL = { transfer_state = 72 }
		72 = { add_core_of = POL }

		random_country = {
			limit = {
				tag = HUN
			}
			annex_country = {
				target = CZE
				transfer_troops = yes
			}
		}

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.1 }
		}

		ai_chance = {
			factor = 80
		}
	}

	option = {
		name = poland.13.o2

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.2 }
		}
		random_country = {
			limit = {
				tag = POL
			}
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}

		add_political_power = -25

		ai_chance = {
			factor = 20
		}
	}
}

#annexation to hungary
country_event = {
	id = poland.14
	title = poland.14.t
	desc = poland.14.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {
		name = poland.14.o1

		random_country = {
			limit = {
				tag = HUN
			}
			annex_country = {
				target = ROOT
				transfer_troops = yes
			}
			country_event = { id = diplomatic_response.1 }
		}

		ai_chance = {
			factor = 80
		}
	}

	option = {
		name = poland.14.o2

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.2 }
		}
		random_country = {
			limit = {
				tag = POL
			}
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}

		add_political_power = -25

		ai_chance = {
			factor = 20
		}
	}
}

#Poland offers subjigation and land for AUSHUN
country_event = {
	id = poland.15
	title = poland.15.t
	desc = poland.15.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {
		name = poland.15.o1

		random_country = {
			limit = {
				tag = HUN
			}
			HUN = { transfer_state = 45 }
			45 = { add_core_of = HUN }
			HUN = { transfer_state = 105 }
			105 = { add_core_of = HUN }
		}

		random_country = {
			limit = {
				tag = POL
			}
			puppet = ROOT
			country_event = { id = diplomatic_response.1 }
		}

		ai_chance = {
			factor = 80
		}
	}

	option = {
		name = poland.15.o2

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.2 }
		}
		random_country = {
			limit = {
				tag = POL
			}
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}

		add_political_power = -25

		ai_chance = {
			factor = 20
		}
	}
}

#Transylvania and become puppet
country_event = {
	id = poland.16
	title = poland.16.t
	desc = poland.16.d
	picture = GFX_report_event_european_union

	is_triggered_only = yes

	option = {
		name = poland.16.o1

		random_country = {
			limit = {
				tag = HUN
			}
			HUN = { transfer_state = 76 }
			76 = { add_core_of = HUN }
			HUN = { transfer_state = 84 }
			84 = { add_core_of = HUN }
			HUN = { transfer_state = 83 }
			83 = { add_core_of = HUN }
			HUN = { transfer_state = 82 }
			82 = { add_core_of = HUN }
		}

		random_country = {
			limit = {
				tag = POL
			}
			puppet = ROOT
			country_event = { id = diplomatic_response.1 }
		}

		ai_chance = {
			factor = 80
		}
	}

	option = {
		name = poland.16.o2

		random_country = {
			limit = {
				tag = POL
			}
			country_event = { id = diplomatic_response.2 }
		}
		random_country = {
			limit = {
				tag = POL
			}
			create_wargoal = {
				type = annex_everything
				target = ROOT
			}
		}

		add_political_power = -25

		ai_chance = {
			factor = 20
		}
	}
}
#question of ZUS
country_event = {
	id = poland.17
	title = poland.17.t
	desc = poland.17.d
	picture = GFX_report_event_customers

	is_triggered_only = yes

	option = {
		name = poland.17.o1 #complete privatzation
		add_timed_idea = {
			idea = POL_profits_from_privatization
			days = 300
		}
		ai_chance = {
			factor = 50
		}
	}

	option = {
		name = poland.17.o2 #destroy it!!!!!
		add_stability = 0.1
		add_political_power = 100
		ai_chance = {
			factor = 50
		}
	}
}

country_event = { #poland wins border war in western belarus against rco
	id = poland.188
	title = poland.188.t
	desc = poland.188.d
	picture = GFX_russian_soldiers_1

	is_triggered_only = yes

	option = { 
		name =  poland.188.a
		add_political_power = 30
		add_stability = 0.07
		add_war_support = 0.07
		army_experience = 30
		POL = { transfer_state = 808 }
		POL = { transfer_state = 94 }
}
}

country_event = { #poland loses border war in western belarus against rco
	id = poland.199
	title = poland.199.t
	desc = poland.199.d
	picture = GFX_russian_soldiers_1

	is_triggered_only = yes

	option = { 
		name =  poland.199.a
		add_political_power = -200
		add_stability = -0.1
		add_war_support = -0.1
		POL = { transfer_state = 97 }
}
}

country_event = { #poland draws border war in western belarus against rco
	id = poland.200
	title = poland.200.t
	desc = poland.200.d
	picture = GFX_russian_soldiers_1

	is_triggered_only = yes

	option = { 
		name = poland.20.a
		add_political_power = -100
		add_stability = -0.05
		add_war_support = -0.05
}
}

country_event = { #poland wins border war in western ukraine against uco_ukr
	id = poland.211
	title = poland.211.t
	desc = poland.211.d
	picture = GFX_russian_soldiers_1

	is_triggered_only = yes

	option = { 
		name = poland.211.a
		add_political_power = 100
		add_stability = 0.07
		add_war_support = 0.07
		army_experience = 30
		POL = { transfer_state = 93 }
		POL = { transfer_state = 91 }
		POL = { transfer_state = 89 }
		SLO = { transfer_state = 73 }
}
}

country_event = { #poland lose border war in western ukraine against rco
	id = poland.222
	title = poland.222.t
	desc = poland.222.d
	picture = GFX_russian_soldiers_1

	is_triggered_only = yes

	option = { 
		name =  poland.222.a
		add_political_power = -100
		add_stability = -0.05
		add_war_support = -0.05
}
}

