add_namespace = poland
add_namespace = poland_news
add_namespace = poland_influence
add_namespace = poland_border_conflict

# events 1-4 were removed as part of cleanup,
# they are no longer used and are free for grabs

country_event = {
	id = poland.5
	title = poland.5.t
	desc = poland.5.d
	picture = GFX_anaconda_16_event
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.5.a
		log = "[GetDateText]: [This.GetName]: poland.5.a executed"
		army_experience = 50
		air_experience = 50
		add_political_power = 75
	}
}

# Soicalists on power, corruption scandal
country_event = {
	id = poland.6
	title = poland.6.t
	desc = poland.6.d
	picture = GFX_pol_corruption_event
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.6.a
		log = "[GetDateText]: [This.GetName]: poland.6.a executed"
		custom_effect_tooltip = POL_corruption_Scandal_Soc_1_TT
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { target_party_index = 2 }
		set_temp_variable = { party_popularity_fraction = 0.9 }
		move_party_popularity = yes
		ai_chance = {
			base = 40
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
	}

	option = {
		name = poland.6.b
		log = "[GetDateText]: [This.GetName]: poland.6.b executed"
		custom_effect_tooltip = POL_corruption_Scandal_Soc_2_TT
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { target_party_index = 1 }
		set_temp_variable = { party_popularity_fraction = 0.9 }
		move_party_popularity = yes
		ai_chance = { base = 40 }
	}
}

# Cons dropping out of popularity
country_event = {
	id = poland.7
	title = poland.7.t
	desc = poland.7.d
	picture = GFX_pol_corruption_event
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.7.a
		log = "[GetDateText]: [This.GetName]: poland.7.a executed"
		custom_effect_tooltip = POL_corruption_Scandal_Con_1_TT
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { target_party_index = 2 }
		set_temp_variable = { party_popularity_fraction = 0.5 }
		move_party_popularity = yes
		ai_chance = { base = 40 }
	}

	option = {
		name = poland.7.b
		log = "[GetDateText]: [This.GetName]: poland.7.b executed"
		custom_effect_tooltip = POL_corruption_Scandal_Con_2_TT
		add_political_power = -200
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.20 }
		change_relative_party_popularity = yes
		ai_chance = { base = 40 }
	}
}

# Question of socialism
country_event = {
	id = poland.8
	title = poland.8.t
	desc = poland.8.d
	picture = GFX_political_deal
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.8.a
		log = "[GetDateText]: [This.GetName]: poland.8.a executed"
		add_political_power = 75
		add_stability = 0.05
		ai_chance = { base = 40 }
	}

	option = {
		name = poland.8.b
		log = "[GetDateText]: [This.GetName]: poland.8.b executed"
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = party_pop_array^3 }
		change_relative_party_popularity = yes
		add_timed_idea = {
			idea = POL_political_schism
			days = 365
		}
		ai_chance = { base = 10 }
	}
}

# first elections change
country_event = {
	id = poland.9
	title = poland.9.t
	desc = poland.9.d
	picture = GFX_pol_election_event
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.9.a
		trigger = { NOT = { has_completed_focus = POL_red_dream } }
		log = "[GetDateText]: [This.GetName]: poland.9.a executed"
		custom_effect_tooltip = POL_First_elections_1_TT
		add_political_power = 75
		add_stability = 0.03
		ai_chance = { base = 40 }
	}

	option = {
		name = poland.9.b
		trigger = { NOT = { has_completed_focus = POL_red_dream } }
		log = "[GetDateText]: [This.GetName]: poland.9.b executed"
		custom_effect_tooltip = POL_First_elections_2_TT
		add_stability = -0.03
		add_political_power = -50
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = -0.10 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 40
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
	}

	option = {
		name = poland.9.c
		trigger = { has_completed_focus = POL_red_dream }
		log = "[GetDateText]: [This.GetName]: poland.9.c executed"
		add_political_power = -25
		ai_chance = { base = 100 }
	}
}

# lgbt protests
country_event = {
	id = poland.10
	title = poland.10.t
	desc = poland.10.d
	picture = GFX_pol_lgbt_protests
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.10.a
		log = "[GetDateText]: [This.GetName]: poland.10.a executed"
		add_political_power = -100
		add_stability = -0.1
		ai_chance = { base = 40 }
	}

	option = {
		name = poland.10.b
		log = "[GetDateText]: [This.GetName]: poland.10.b executed"
		custom_effect_tooltip = POL_lgbt_protest_ingored_TT
		add_stability = 0.05
		add_political_power = -50
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = -0.20 }
		change_relative_party_popularity = yes
		ai_chance = { base = 10 }
	}
}

# PO and PiS are created
country_event = {
	id = poland.11
	title = poland.11.t
	desc = poland.11.d
	picture = GFX_political_deal
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.11.a
		ai_chance = { base = 40 }
	}
}

country_event = {
	id = poland.15
	title = poland.15.t
	desc = poland.15.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	option = {
		name = poland.15.a
		ai_chance = { base = 10 }
	}
}

# Germany war reparations
country_event = {
	id = poland.16
	title = poland.16.t
	desc = poland.16.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = poland.16.a
		log = "[GetDateText]: [This.GetName]: poland.16.a executed"
		ai_chance = { base = 10 }
		add_political_power = -50
		POL = {
			add_opinion_modifier = {
				target = GER
				modifier = POL_germany_refuses
			}
			country_event = poland.17
		}
	}

	option = {
		name = poland.16.b
		log = "[GetDateText]: [This.GetName]: poland.16.b executed"
		ai_chance = { base = 90 }
		add_political_power = 100
		POL = {
			add_opinion_modifier = {
				target = GER
				modifier = POL_germany_accepts
			}
		}
		set_temp_variable = { treasury_change = -10 }
		modify_treasury_effect = yes
		POL = { country_event = poland.18 }
	}
}

country_event = {
	id = poland.17
	title = poland.17.t
	desc = poland.17.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = poland.17.a
		log = "[GetDateText]: [This.GetName]: poland.17.a executed"
		ai_chance = { base = 10 }
		add_political_power = -50
	}
}

country_event = {
	id = poland.18
	title = poland.18.t
	desc = poland.18.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = poland.18.a
		log = "[GetDateText]: [This.GetName]: poland.18.a executed"
		ai_chance = { base = 10 }
		set_temp_variable = { treasury_change = 10 }
		modify_treasury_effect = yes
	}
}

country_event = {
	id = poland.19
	title = poland.19.t
	desc = poland.19.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = poland.19.a
		log = "[GetDateText]: [This.GetName]: poland.19.a executed"
		ai_chance = { base = 90 }
		POL = {
			if = {
				limit = { has_global_flag = GAME_RULE_allow_colored_puppets }
				set_autonomy = {
					target = CZE
					autonomy_state = autonomy_autonomous_state_colored
					end_wars = yes
					end_civil_wars = yes
				}
			}
			else = {
				set_autonomy = {
					target = CZE
					autonomy_state = autonomy_autonomous_state
					end_wars = yes
					end_civil_wars = yes
				}
			}
			add_state_core = 117
			add_state_core = 118
			add_state_core = 1017
			add_state_core = 1018
			news_event = poland_news.6
		}
	}

	option = {
		name = poland.19.b
		log = "[GetDateText]: [This.GetName]: poland.19.b executed"
		ai_chance = { base = 10 }
		add_political_power = 100
		POL = {
			add_opinion_modifier = {
				target = CZE
				modifier = POL_czech_republic_declines
			}
		}
	}
}

country_event = {
	id = poland.20
	title = poland.20.t
	desc = poland.20.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = poland.20.a
		log = "[GetDateText]: [This.GetName]: poland.20.a executed"
		ai_chance = { base = 90 }
		POL = {
			if = {
				limit = { has_global_flag = GAME_RULE_allow_colored_puppets }
				set_autonomy = {
					target = SLO
					autonomy_state = autonomy_autonomous_state_colored
					end_wars = yes
					end_civil_wars = yes
				}
			}
			else = {
				set_autonomy = {
					target = SLO
					autonomy_state = autonomy_autonomous_state
					end_wars = yes
					end_civil_wars = yes
				}
			}
			add_state_core = 119
			add_state_core = 120
			news_event = poland_news.7
		}
	}

	option = {
		name = poland.20.b
		log = "[GetDateText]: [This.GetName]: poland.20.b executed"
		ai_chance = { base = 10 }
		add_political_power = 100
		POL = {
			add_opinion_modifier = {
				target = SLO
				modifier = POL_slovakia_declines
			}
			end_puppet = CZE
		}
	}
}

country_event = {
	id = poland.21
	title = poland.21.t
	desc = poland.21.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = poland.21.a
		log = "[GetDateText]: [This.GetName]: poland.21.a executed"
		ai_chance = { base = 90 }
		POL = {
			if = {
				limit = { has_global_flag = GAME_RULE_allow_colored_puppets }
				set_autonomy = {
					target = HUN
					autonomy_state = autonomy_autonomous_state_colored
					end_wars = yes
					end_civil_wars = yes
				}
			}
			else = {
				set_autonomy = {
					target = HUN
					autonomy_state = autonomy_autonomous_state
					end_wars = yes
					end_civil_wars = yes
				}
			}
			add_state_core = 121
			add_state_core = 122
			add_state_core = 123
			add_state_core = 999
			news_event = poland_news.8
		}
	}

	option = {
		name = poland.21.b
		log = "[GetDateText]: [This.GetName]: poland.21.b executed"
		ai_chance = { base = 10 }
		add_political_power = 100
		POL = {
			add_opinion_modifier = {
				target = HUN
				modifier = POL_hungary_declines
			}
			end_puppet = CZE
			end_puppet = SLO
		}
	}
}

country_event = {
	id = poland.22
	title = poland.22.t
	desc = poland.22.d
	picture = GFX_trade_agreement
	is_triggered_only = yes

	option = {
		name = poland.22.a
		log = "[GetDateText]: [This.GetName]: poland.22.a executed"
		ai_chance = { base = 60 }
		if = {
			limit = { has_dlc = "No Step Back" }
			add_equipment_to_stockpile = {
				type = medium_tank_chassis_1
				amount = 30
				variant_name = "K2 PL"
			}
			set_temp_variable = { treasury_change = -20 }
			modify_treasury_effect = yes
			POL = {
				add_equipment_to_stockpile = {
					type = medium_tank_chassis_1
					amount = -30
					variant_name = "K2 PL"
				}
				set_temp_variable = { treasury_change = 20 }
				modify_treasury_effect = yes
			}
		}
		else = {
			add_equipment_to_stockpile = {
				type = MBT_3
				amount = 30
				variant_name = "K2 PL"
			}
			set_temp_variable = { treasury_change = -20 }
			modify_treasury_effect = yes
			POL = {
				add_equipment_to_stockpile = {
					type = MBT_3
					amount = -30
					variant_name = "K2 PL"
				}
				set_temp_variable = { treasury_change = 20 }
				modify_treasury_effect = yes
			}
		}
	}

	option = {
		name = poland.22.b
		ai_chance = { base = 40 }
	}
}

country_event = {
	id = poland.23
	title = poland.23.t
	desc = poland.23.d
	picture = GFX_anaconda_16_event
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.23.a
		log = "[GetDateText]: [This.GetName]: poland.23.a executed"
		army_experience = 85
		air_experience = 20
		add_political_power = 40
		ai_chance = { base = 40 }
	}
}

country_event = {
	id = poland.24
	title = poland.24.t
	desc = poland.24.d
	picture = GFX_political_deal
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.24.a
		ai_chance = { base = 40 }
	}
}

country_event = {
	id = poland.25
	title = poland.25.t
	desc = poland.25.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.25.a
		log = "[GetDateText]: [This.GetName]: poland.25.a executed"
		add_political_power = -50
		add_power_balance_value = {
			id = POL_korwin_win_bop
			value = -0.05
			tooltip_side = POL_korwin_win_bop_left_side
		}
		ai_chance = { base = 40 }
	}
}

country_event = {
	id = poland.26
	title = poland.26.t
	desc = poland.26.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.26.a
		log = "[GetDateText]: [This.GetName]: poland.26.a executed"
		add_political_power = -75
		POL = { add_political_power = 75 }
		700 = { transfer_state_to = POL }
		1111 = { transfer_state_to = POL }
		1247 = { transfer_state_to = POL }
		701 = { transfer_state_to = POL }
		1110 = { transfer_state_to = POL }
		1248 = { transfer_state_to = POL }
		335 = { transfer_state_to = POL }
		SOV = {
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { tag_index = SOV.id }
			set_temp_variable = { influence_target = UKR.id }
			change_influence_percentage = yes
		}
		news_event = poland_news.16
		ai_chance = {
			base = 50
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.99
					}
				}
				factor = 95
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.49
					}
				}
				factor = 85
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.99
					}
				}
				factor = 50
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.49
					}
				}
				factor = 25
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.19
					}
				}
				factor = 5
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio < 1.19
					}
				}
				factor = 0
			}
		}
	}

	option = {
		name = poland.26.b
		log = "[GetDateText]: [This.GetName]: poland.26.b executed"
		add_political_power = 100
		add_stability = 0.05
		sre_home_defence_idea = yes
		POL = {
			set_temp_variable = { wargoal_on = UKR }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = puppet_wargoal_focus
				target = UKR
			}
			country_event = poland.27
		}
		ai_chance = {
			base = 50
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.99
					}
				}
				factor = 5
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.49
					}
				}
				factor = 15
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.99
					}
				}
				factor = 50
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.49
					}
				}
				factor = 75
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.19
					}
				}
				factor = 95
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio < 1.19
					}
				}
				factor = 100
			}
		}
	}
}

country_event = {
	id = poland.27
	title = poland.27.t
	desc = poland.27.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.27.a
		log = "[GetDateText]: [This.GetName]: poland.27.a executed"
		add_political_power = -150
		set_temp_variable = { percent_change = -4 }
		set_temp_variable = { tag_index = POL.id }
		set_temp_variable = { influence_target = UKR.id }
		change_influence_percentage = yes
		add_power_balance_value = {
			id = POL_korwin_win_bop
			value = -0.1
			tooltip_side = POL_korwin_win_bop_left_side
		}
		ai_chance = { base = 40 }
	}
}

country_event = {
	id = poland.28
	title = poland.28.t
	desc = poland.28.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.28.a
		log = "[GetDateText]: [This.GetName]: poland.28.a executed"
		add_political_power = -75
		POL = { add_political_power = 75 }
		699 = { transfer_state_to = POL }
		1250 = { transfer_state_to = POL }
		695 = { transfer_state_to = POL }
		333 = { transfer_state_to = POL }
		335 = { transfer_state_to = POL }
		SOV = {
			set_temp_variable = { percent_change = 4 }
			set_temp_variable = { tag_index = SOV.id }
			set_temp_variable = { influence_target = UKR.id }
			change_influence_percentage = yes
		}
		news_event = poland_news.17
		ai_chance = {
			base = 50
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.99
					}
				}
				factor = 85
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.49
					}
				}
				factor = 65
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.99
					}
				}
				factor = 35
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.49
					}
				}
				factor = 15
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.19
					}
				}
				factor = 5
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio < 1.19
					}
				}
				factor = 0
			}
		}
	}

	option = {
		name = poland.28.b
		log = "[GetDateText]: [This.GetName]: poland.28.b executed"
		add_political_power = 150
		add_war_support = 0.15
		sre_home_defence_idea = yes
		POL = {
			set_temp_variable = { wargoal_on = UKR }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = puppet_wargoal_focus
				target = UKR
			}
			country_event = poland.29
		}
		ai_chance = {
			base = 50
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.99
					}
				}
				factor = 15
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.49
					}
				}
				factor = 35
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.99
					}
				}
				factor = 65
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.49
					}
				}
				factor = 85
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.19
					}
				}
				factor = 95
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio < 1.19
					}
				}
				factor = 100
			}
		}
	}
}

country_event = {
	id = poland.29
	title = poland.29.t
	desc = poland.29.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.29.a
		log = "[GetDateText]: [This.GetName]: poland.29.a executed"
		add_political_power = -175
		set_temp_variable = { percent_change = -5 }
		set_temp_variable = { tag_index = POL.id }
		set_temp_variable = { influence_target = UKR.id }
		change_influence_percentage = yes
		add_power_balance_value = {
			id = POL_korwin_win_bop
			value = -0.1
			tooltip_side = POL_korwin_win_bop_left_side
		}
		ai_chance = { base = 40 }
	}
}

country_event = {
	id = poland.30
	title = poland.30.t
	desc = poland.30.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.30.a
		log = "[GetDateText]: [This.GetName]: poland.30.a executed"
		UKR = { country_event = poland.31 }
		ai_chance = { base = 50 }
	}

	option = {
		name = poland.30.b
		log = "[GetDateText]: [This.GetName]: poland.30.b executed"
		SOV = { country_event = poland.32 }
		ai_chance = { base = 50 }
	}
}

country_event = {
	id = poland.31
	title = poland.31.t
	desc = poland.31.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.31.a
		log = "[GetDateText]: [This.GetName]: poland.31.a executed"
		add_political_power = -75
		POL = { puppet = UKR }
		news_event = poland_news.18
		ai_chance = {
			base = 50
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.99
					}
				}
				factor = 65
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.49
					}
				}
				factor = 35
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.99
					}
				}
				factor = 20
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.49
					}
				}
				factor = 7
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.19
					}
				}
				factor = 2
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio < 1.19
					}
				}
				factor = 0
			}
		}
	}

	option = {
		name = poland.31.b
		log = "[GetDateText]: [This.GetName]: poland.31.b executed"
		add_political_power = 175
		add_war_support = 0.25
		sre_home_defence_idea = yes
		POL = {
			set_temp_variable = { wargoal_on = UKR }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = puppet_wargoal_focus
				target = UKR
			}
			country_event = poland.33
		}
		ai_chance = {
			base = 50
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.99
					}
				}
				factor = 35
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.49
					}
				}
				factor = 65
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.99
					}
				}
				factor = 80
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.49
					}
				}
				factor = 93
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.19
					}
				}
				factor = 98
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio < 1.19
					}
				}
				factor = 100
			}
		}
	}
}

country_event = {
	id = poland.32
	title = poland.32.t
	desc = poland.32.d
	picture = GFX_politics_talks
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.32.a
		log = "[GetDateText]: [This.GetName]: poland.32.a executed"
		POL = { country_event = poland.34 }
		UKR = { country_event = poland.35 }
		ai_chance = { base = 50 }
	}

	option = {
		name = poland.32.b
		log = "[GetDateText]: [This.GetName]: poland.32.b executed"
		POL = { country_event = poland.36 }
		ai_chance = { base = 50 }
	}
}

country_event = {
	id = poland.33
	title = poland.33.t
	desc = poland.33.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.33.a
		log = "[GetDateText]: [This.GetName]: poland.33.a executed"
		declare_war_on = {
			target = UKR
			type = annex_everything
		}
		add_political_power = -100
		add_war_support = 0.1
		set_temp_variable = { percent_change = -10 }
		set_temp_variable = { tag_index = POL.id }
		set_temp_variable = { influence_target = UKR.id }
		change_influence_percentage = yes
		add_power_balance_value = {
			id = POL_korwin_win_bop
			value = -0.15
			tooltip_side = POL_korwin_win_bop_left_side
		}
		ai_chance = { base = 99 }
	}

	option = {
		name = poland.33.b
		log = "[GetDateText]: [This.GetName]: poland.33.b executed"
		add_political_power = -200
		set_temp_variable = { percent_change = -10 }
		set_temp_variable = { tag_index = POL.id }
		set_temp_variable = { influence_target = UKR.id }
		change_influence_percentage = yes
		add_power_balance_value = {
			id = POL_korwin_win_bop
			value = -0.15
			tooltip_side = POL_korwin_win_bop_left_side
		}
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = poland.34
	title = poland.34.t
	desc = poland.34.d
	picture = GFX_politics_anarchism
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.34.a
		log = "[GetDateText]: [This.GetName]: poland.34.a executed"
		add_political_power = 100
		add_war_support = 0.05
		ai_chance = { base = 99 }
	}
}

country_event = {
	id = poland.35
	title = poland.35.t
	desc = poland.35.d
	picture = GFX_politics_demands
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.35.a
		log = "[GetDateText]: [This.GetName]: poland.35.a executed"
		add_political_power = -75
		hidden_effect = {
			698 = { transfer_state_to = POL }
			1091 = { transfer_state_to = POL }
			1090 = { transfer_state_to = POL }
			1086 = { transfer_state_to = POL }
			697 = { transfer_state_to = POL }
			1089 = { transfer_state_to = POL }
			1087 = { transfer_state_to = POL }
			1088 = { transfer_state_to = SOV }
			696 = { transfer_state_to = SOV }
			1076 = { transfer_state_to = SOV }
			1075 = { transfer_state_to = SOV }
			693 = { transfer_state_to = SOV }
			1030 = { transfer_state_to = SOV }
			694 = { transfer_state_to = SOV }
			1085 = { transfer_state_to = SOV }
			669 = { transfer_state_to = SOV }
		}
		news_event = poland_news.19
		ai_chance = {
			base = 50
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.99
					}
				}
				factor = 65
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.49
					}
				}
				factor = 35
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.99
					}
				}
				factor = 20
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.49
					}
				}
				factor = 7
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.19
					}
				}
				factor = 2
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio < 1.19
					}
				}
				factor = 0
			}
		}
	}

	option = {
		name = poland.35.b
		log = "[GetDateText]: [This.GetName]: poland.35.b executed"
		add_political_power = 175
		add_war_support = 0.25
		sre_home_defence_idea = yes
		POL = {
			set_temp_variable = { wargoal_on = UKR }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = puppet_wargoal_focus
				target = UKR
			}
			country_event = poland.37
		}
		SOV = {
			set_temp_variable = { wargoal_on = UKR }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = puppet_wargoal_focus
				target = UKR
			}
			country_event = poland.37
		}
		ai_chance = {
			base = 50
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.99
					}
				}
				factor = 35
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 2.49
					}
				}
				factor = 65
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.99
					}
				}
				factor = 80
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.49
					}
				}
				factor = 93
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio > 1.19
					}
				}
				factor = 98
			}
			modifier = {
				POL = {
					strength_ratio = {
						tag = UKR
						ratio < 1.19
					}
				}
				factor = 100
			}
		}
	}
}

country_event = {
	id = poland.36
	title = poland.36.t
	desc = poland.36.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.36.a
		log = "[GetDateText]: [This.GetName]: poland.36.a executed"
		add_political_power = -50
		UKR = { country_event = poland.31 }
		ai_chance = { base = 99 }
	}
}

country_event = {
	id = poland.37
	title = poland.37.t
	desc = poland.37.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes

	option = {
		name = poland.37.a
		log = "[GetDateText]: [This.GetName]: poland.37.a executed"
		add_political_power = -50
		declare_war_on = {
			target = UKR
			type = annex_everything
		}
		ai_chance = { base = 99 }
	}

	option = {
		name = poland.37.b
		log = "[GetDateText]: [This.GetName]: poland.37.b executed"
		add_political_power = -100
		ai_chance = { base = 99 }
	}
}

country_event = {
	id = poland.38
	title = poland.38.t
	desc = poland.38.d
	picture = GFX_politics_salafism
	is_triggered_only = yes

	option = {
		name = poland.38.a
		log = "[GetDateText]: [This.GetName]: poland.38.a executed"
		trigger = { NOT = { original_tag = POL } }
		add_political_power = 150
		add_war_support = 0.25
		add_stability = 0.2
		ai_chance = { base = 99 }
	}

	option = {
		name = poland.38.b
		log = "[GetDateText]: [This.GetName]: poland.38.b executed"
		trigger = { NOT = { original_tag = UKR } }
		add_political_power = -200
		add_war_support = -0.3
		add_stability = -0.15
		add_power_balance_value = {
			id = POL_korwin_win_bop
			value = -1
			tooltip_side = POL_korwin_win_bop_left_side
		}
		add_power_balance_value = {
			id = POL_korwin_win_bop
			value = -1
			tooltip_side = POL_korwin_win_bop_left_side
		}
		remove_ideas = POL_polish_ukrainian_war5_idea
		white_peace = {
			tag = UKR
			message = POL_ukraine_peace_TT
		}
		UKR = { country_event = poland.38 }
		ai_chance = { base = 1 }
	}

	option = {
		name = poland.38.c
		log = "[GetDateText]: [This.GetName]: poland.38.c executed"
		trigger = {
			NOT = {
				original_tag = UKR
			}
		}
		add_political_power = -100
		add_war_support = -0.1
		add_stability = -0.25
		remove_power_balance = {
			id = POL_korwin_win_bop
		}
		start_civil_war = {
			ruling_party = nationalist
			ideology = neutrality
			size = 0.75
			capital = 112
			states = {
				112 1098 115 433 111 626 625 474 113
			}
			set_temp_variable = { rul_party_temp = 14 }
			change_ruling_party_effect = yes
			keep_political_leader = yes
			keep_political_party_members = yes
			create_country_leader = { ### test
				name = "Lech Wałęsa"
				picture = lech_walesa.dds
				expire = "2050.1.1"
				ideology = Neutral_conservatism
				traits = {
					geopolitical_thinker
					triumphant_revolutionary
				}
			}
		}
		ai_chance = {
			base = 99
		}
	}
}

country_event = {
	id = poland.39
	title = poland.39.t
	desc = poland.39.d
	picture = GFX_politics_salafism
	is_triggered_only = yes

	trigger = {
		has_war_with = UKR
		controls_state = 701
		controls_state = 700
		controls_state = 1111
		controls_state = 1247
		NOT = { has_completed_focus = POL_access_to_the_black_sea }
		nationalist_monarchists_are_in_power = yes
		UKR = { is_in_faction = no }
	}

	option = {
		name = poland.39.a
		log = "[GetDateText]: [This.GetName]: poland.39.a executed"
		trigger = { original_tag = POL }
		add_political_power = 50
		add_stability = 0.05
		UKR = { country_event = poland.40 }
		ai_chance = { base = 99 }
	}

	option = {
		name = poland.39.b
		log = "[GetDateText]: [This.GetName]: poland.39.b executed"
		trigger = { original_tag = POL }
		add_war_support = -0.05
		every_neighbor_country = {
			limit = {
				NOT = {
					OR = {
						original_tag = BLR
						original_tag = SOV
					}
				}
			}
			reverse_add_opinion_modifier = { target = POL modifier = POL_goes_too_far }
		}
		add_power_balance_value = {
			id = POL_korwin_win_bop
			value = -0.25
			tooltip_side = POL_korwin_win_bop_left_side
		}
		unlock_national_focus = POL_access_to_the_black_sea
		if = {
			limit = { NOT = { has_completed_focus = POL_path_of_terror } }
			complete_national_focus = POL_path_of_terror
		}
		unlock_national_focus = POL_end_of_the_ukrainian_regime
		UKR = { country_event = poland.41 }
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = poland.40
	title = poland.40.t
	desc = poland.40.d
	picture = GFX_politics_salafism
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.40.a
		log = "[GetDateText]: [This.GetName]: poland.40.a executed"
		trigger = { original_tag = UKR }
		add_political_power = 50
		add_stability = 0.05
		white_peace = {
			tag = POL
			message = POL_ukraine_peace2_TT
		}
		701 = { transfer_state_to = POL }
		700 = { transfer_state_to = POL }
		1111 = { transfer_state_to = POL }
		1247 = { transfer_state_to = POL }
		1110 = { transfer_state_to = POL }
		1248 = { transfer_state_to = POL }
		335 = { transfer_state_to = POL }
		ai_chance = { base = 80 }
	}

	option = {
		name = poland.40.b
		log = "[GetDateText]: [This.GetName]: poland.40.b executed"
		trigger = { original_tag = UKR }
		add_political_power = 50
		add_stability = -0.1
		add_war_support = 0.1
		POL = { country_event = poland.42 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = poland.41
	title = poland.41.t
	desc = poland.41.d
	picture = GFX_politics_salafism
	is_triggered_only = yes

	option = {
		name = poland.41.a
		log = "[GetDateText]: [This.GetName]: poland.41.a executed"
		trigger = { original_tag = UKR }
		add_stability = -0.05
		add_war_support = 0.1
		ai_chance = { base = 99 }
	}
}

country_event = {
	id = poland.42
	title = poland.42.t
	desc = poland.42.d
	picture = GFX_politics_salafism
	is_triggered_only = yes

	option = {
		name = poland.42.a
		log = "[GetDateText]: [This.GetName]: poland.42.a executed"
		trigger = { original_tag = POL }
		add_stability = -0.05
		add_war_support = 0.05
		unlock_national_focus = POL_access_to_the_black_sea
		if = {
			limit = { NOT = { has_completed_focus = POL_path_of_terror } }
			complete_national_focus = POL_path_of_terror
		}
		unlock_national_focus = POL_end_of_the_ukrainian_regime
		ai_chance = { base = 99 }
	}
}

country_event = {
	id = poland.43
	title = poland.43.t
	desc = poland.43.d
	picture = GFX_politics_salafism
	is_triggered_only = yes

	trigger = {
		has_war_with = UKR
		controls_state = 335
		controls_state = 699
		controls_state = 1250
		controls_state = 695
		controls_state = 333
		has_completed_focus = POL_access_to_the_black_sea
		NOT = { has_completed_focus = POL_end_of_the_ukrainian_regime }
		nationalist_monarchists_are_in_power = yes
		UKR = { is_in_faction = no }
	}

	option = {
		name = poland.43.a
		log = "[GetDateText]: [This.GetName]: poland.43.a executed"
		trigger = { original_tag = POL }
		add_political_power = 50
		add_stability = 0.05
		UKR = { country_event = poland.44 }
		ai_chance = { base = 99 }
	}

	option = {
		name = poland.43.b
		log = "[GetDateText]: [This.GetName]: poland.43.b executed"
		trigger = { original_tag = POL }
		add_war_support = -0.05
		every_neighbor_country = {
			limit = {
				NOT = {
					OR = {
						original_tag = BLR
						original_tag = SOV
					}
				}
			}
			reverse_add_opinion_modifier = { target = POL modifier = POL_goes_too_far }
		}
		add_power_balance_value = {
			id = POL_korwin_win_bop
			value = -0.25
			tooltip_side = POL_korwin_win_bop_left_side
		}
		if = {
			limit = { NOT = { has_completed_focus = POL_path_of_terror } }
			complete_national_focus = POL_path_of_terror
		}
		unlock_national_focus = POL_end_of_the_ukrainian_regime
		UKR = { country_event = poland.46 }
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = poland.44
	title = poland.44.t
	desc = poland.44.d
	picture = GFX_politics_salafism
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.44.a
		log = "[GetDateText]: [This.GetName]: poland.44.a executed"
		trigger = { original_tag = UKR }
		add_political_power = 50
		add_stability = 0.05
		white_peace = {
			tag = POL
			message = POL_ukraine_peace2_TT
		}
		699 = { transfer_state_to = POL }
		1250 = { transfer_state_to = POL }
		695 = { transfer_state_to = POL }
		333 = { transfer_state_to = POL }
		335 = { transfer_state_to = POL }
		ai_chance = { base = 80 }
	}

	option = {
		name = poland.44.b
		log = "[GetDateText]: [This.GetName]: poland.44.b executed"
		trigger = { original_tag = UKR }
		add_political_power = 50
		add_stability = -0.1
		add_war_support = 0.1
		POL = { country_event = poland.45 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = poland.45
	title = poland.45.t
	desc = poland.45.d
	picture = GFX_politics_salafism
	is_triggered_only = yes

	option = {
		name = poland.45.a
		log = "[GetDateText]: [This.GetName]: poland.45.a executed"
		trigger = { original_tag = POL }
		add_stability = -0.05
		add_war_support = 0.05
		if = {
			limit = { NOT = { has_completed_focus = POL_path_of_terror } }
			complete_national_focus = POL_path_of_terror
		}
		unlock_national_focus = POL_end_of_the_ukrainian_regime
		ai_chance = { base = 99 }
	}
}

country_event = {
	id = poland.46
	title = poland.46.t
	desc = poland.46.d
	picture = GFX_politics_salafism
	is_triggered_only = yes

	option = {
		name = poland.46.a
		log = "[GetDateText]: [This.GetName]: poland.46.a executed"
		trigger = { original_tag = UKR }
		add_stability = -0.05
		add_war_support = 0.1
		ai_chance = { base = 99 }
	}
}

country_event = {
	id = poland.47
	title = poland.47.t
	desc = poland.47.d
	picture = GFX_politics_protest
	is_triggered_only = yes

	option = {
		name = poland.47.a
		log = "[GetDateText]: [This.GetName]: poland.47.a executed"
		trigger = { original_tag = UKR }
		set_temp_variable = { percent_change = -4 }
		set_temp_variable = { tag_index = SOV.id }
		set_temp_variable = { influence_target = UKR.id }
		change_influence_percentage = yes
		ai_chance = { base = 99 }
	}

	option = {
		name = poland.47.b
		log = "[GetDateText]: [This.GetName]: poland.47.b executed"
		trigger = { original_tag = SOV }
		add_opinion_modifier = {
			target = POL
			modifier = POL_destroys_our_influence
		}
		ai_chance = { base = 99 }
	}
}

country_event = {
	id = poland.48
	title = poland.48.t
	desc = poland.48.d
	picture = GFX_politics_talks
	is_triggered_only = yes

	option = {
		name = poland.48.a
		log = "[GetDateText]: [This.GetName]: poland.48.a executed"
		trigger = { original_tag = UKR }
		add_political_power = 100
		hidden_effect = { set_country_flag = POL_ukraine_cooperation }
		POL = { country_event = poland.50 }
		ai_chance = {
			base = 99
			modifier = {
				POL = {
					has_completed_focus = POL_wolyn_recognition
					NOT = {
						OR = {
							has_completed_focus = POL_recognition_of_self_proclaimed_republics
							has_completed_focus = POL_political_manipulation
							has_completed_focus = POL_territorial_propaganda
						}
					}
				}
				factor = 80
			}
			modifier = {
				POL = {
					has_completed_focus = POL_recognition_of_self_proclaimed_republics
					NOT = {
						OR = {
							has_completed_focus = POL_political_manipulation
							has_completed_focus = POL_territorial_propaganda
						}
					}
				}
				factor = 60
			}
			modifier = {
				POL = {
					has_completed_focus = POL_political_manipulation
					NOT = { has_completed_focus = POL_territorial_propaganda }
				}
				factor = 40
			}
			modifier = {
				POL = { has_completed_focus = POL_territorial_propaganda }
				factor = 20
			}
		}
	}

	option = {
		name = poland.48.b
		log = "[GetDateText]: [This.GetName]: poland.48.b executed"
		trigger = { original_tag = UKR }
		POL = { country_event = poland.49 }
		ai_chance = {
			base = 1
			modifier = {
				POL = {
					has_completed_focus = POL_wolyn_recognition
					NOT = {
						OR = {
							has_completed_focus = POL_recognition_of_self_proclaimed_republics
							has_completed_focus = POL_political_manipulation
							has_completed_focus = POL_territorial_propaganda
						}
					}
				}
				factor = 20
			}
			modifier = {
				POL = {
					has_completed_focus = POL_recognition_of_self_proclaimed_republics
					NOT = {
						OR = {
							has_completed_focus = POL_political_manipulation
							has_completed_focus = POL_territorial_propaganda
						}
					}
				}
				factor = 40
			}
			modifier = {
				POL = {
					has_completed_focus = POL_political_manipulation
					NOT = { has_completed_focus = POL_territorial_propaganda }
				}
				factor = 60
			}
			modifier = {
				POL = { has_completed_focus = POL_territorial_propaganda }
				factor = 80
			}
		}
	}
}

country_event = {
	id = poland.49
	title = poland.49.t
	desc = poland.49.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.49.a
		log = "[GetDateText]: [This.GetName]: poland.49.a executed"
		trigger = { original_tag = POL }
		add_political_power = -50
		ai_chance = { base = 99 }
	}
}

country_event = {
	id = poland.50
	title = poland.50.t
	desc = poland.50.d
	picture = GFX_handshake_black
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.50.a
		log = "[GetDateText]: [This.GetName]: poland.50.a executed"
		trigger = { original_tag = POL }
		add_political_power = 50
		ai_chance = { base = 99 }
	}
}

country_event = {
	id = poland.51
	title = poland.51.t
	desc = poland.51.d
	picture = GFX_message_signing
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.51.a
		log = "[GetDateText]: [This.GetName]: poland.51.a executed"
		add_political_power = 75
		give_guarantee = POL
		POL = {
			give_guarantee = UKR
			add_power_balance_value = {
				id = POL_korwin_win_bop
				value = 0.05
				tooltip_side = POL_korwin_win_bop_right_side
			}
		}
		ai_chance = {
			base = 50
			modifier = {
				has_opinion = {
					target = POL
					value > 100
				}
				add = 50
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 75
				}
				add = 35
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 50
				}
				add = 15
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 25
				}
				add = -25
			}
			modifier = {
				has_opinion = {
					target = POL
					value < 25
				}
				add = -50
			}
		}
	}

	option = {
		name = poland.51.b
		log = "[GetDateText]: [This.GetName]: poland.51.b executed"
		add_political_power = -25
		POL = {
			set_temp_variable = { wargoal_on = UKR }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = puppet_wargoal_focus
				target = UKR
			}
			country_event = poland.37
		}
		SOV = {
			set_temp_variable = { wargoal_on = UKR }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = puppet_wargoal_focus
				target = UKR
			}
			country_event = poland.37
		}
		ai_chance = {
			base = 50
			modifier = {
				has_opinion = {
					target = POL
					value > 100
				}
				add = -50
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 75
				}
				add = -35
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 50
				}
				add = -15
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 25
				}
				add = 25
			}
			modifier = {
				has_opinion = {
					target = POL
					value < 25
				}
				add = 50
			}
		}
	}
}

country_event = {
	id = poland.52
	title = poland.52.t
	desc = poland.52.d
	picture = GFX_message_signing
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.52.a
		log = "[GetDateText]: [This.GetName]: poland.52.a executed"
		add_political_power = 100
		UKR = {
			if = {
				limit = { is_in_faction = yes }
				leave_faction = yes
			}
		}
		POL = {
			add_to_faction = UKR
			add_power_balance_value = {
				id = POL_korwin_win_bop
				value = 0.1
				tooltip_side = POL_korwin_win_bop_right_side
			}
		}
		ai_chance = {
			base = 50
			modifier = {
				has_opinion = {
					target = POL
					value > 100
				}
				factor = 95
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 75
				}
				factor = 80
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 50
				}
				factor = 70
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 25
				}
				factor = 50
			}
			modifier = {
				has_opinion = {
					target = POL
					value < 25
				}
				factor = 35
			}
		}
	}

	option = {
		name = poland.52.b
		log = "[GetDateText]: [This.GetName]: poland.52.b executed"
		add_political_power = 50
		POL = { country_event = poland.53 }
		ai_chance = {
			base = 50
			modifier = {
				has_opinion = {
					target = POL
					value > 100
				}
				factor = 5
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 75
				}
				factor = 20
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 50
				}
				factor = 30
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 25
				}
				factor = 50
			}
			modifier = {
				has_opinion = {
					target = POL
					value < 25
				}
				factor = 65
			}
		}
	}
}

country_event = {
	id = poland.53
	title = poland.53.t
	desc = poland.53.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.53.a
		log = "[GetDateText]: [This.GetName]: poland.53.a executed"
		trigger = { original_tag = POL }
		add_political_power = -50
		add_opinion_modifier = {
			target = UKR
			modifier = POL_ukraine_rejected_alliance
		}
		ai_chance = { base = 99 }
	}
}

country_event = {
	id = poland.54
	title = poland.54.t
	desc = poland.54.d
	picture = GFX_message_signing
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.54.a
		log = "[GetDateText]: [This.GetName]: poland.54.a executed"
		add_political_power = 100
		UKR = {
			if = {
				limit = { is_in_faction = yes }
				leave_faction = yes
			}
		}
		POL = {
			if = {
				limit = { is_in_faction = yes }
				leave_faction = yes
			}
			create_faction_from_template = faction_template_intermarium_faction
			add_to_faction = UKR
			add_power_balance_value = {
				id = POL_korwin_win_bop
				value = 0.1
				tooltip_side = POL_korwin_win_bop_right_side
			}
		}
		news_event = poland_news.21
		ai_chance = {
			base = 50
			modifier = {
				has_opinion = {
					target = POL
					value > 100
				}
				factor = 99
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 75
				}
				factor = 95
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 50
				}
				factor = 90
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 25
				}
				factor = 85
			}
			modifier = {
				has_opinion = {
					target = POL
					value < 25
				}
				factor = 80
			}
		}
	}

	option = {
		name = poland.54.b
		log = "[GetDateText]: [This.GetName]: poland.54.b executed"
		add_political_power = 50
		POL = { country_event = poland.53 }
		ai_chance = {
			base = 50
			modifier = {
				has_opinion = {
					target = POL
					value > 100
				}
				factor = 1
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 75
				}
				factor = 5
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 50
				}
				factor = 10
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 25
				}
				factor = 15
			}
			modifier = {
				has_opinion = {
					target = POL
					value < 25
				}
				factor = 20
			}
		}
	}
}

country_event = {
	id = poland.55
	title = poland.55.t
	desc = poland.55.d
	picture = GFX_politics_talks
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.55.a
		log = "[GetDateText]: [This.GetName]: poland.55.a executed"
		trigger = { original_tag = UKR }
		add_political_power = 50
		USA = { add_to_faction = UKR }
		add_ideas = NATO_member
		if = {
			limit = { has_idea = CSTO_member }
			remove_ideas = CSTO_member
		}
		news_event = poland_news.22
		ai_chance = { base = 100 }
	}

	option = {
		name = poland.55.b
		log = "[GetDateText]: [This.GetName]: poland.55.b executed"
		trigger = { original_tag = UKR }
		hidden_effect = { set_country_flag = POL_ukraine_rej }
		add_political_power = -150
		add_stability = -0.05
		for_each_scope_loop = {
			array = global.nato_members
			tooltip = TT_ALL_NATO_MEMBER_NATIONS_GAIN
			add_opinion_modifier = {
				target = UKR
				modifier = POL_ukraine_refuses_alliance
			}
		}
		news_event = poland_news.23
		ai_chance = { base = 0 }
	}
}

country_event = {
	id = poland.56
	title = poland.56.t
	desc = poland.56.d
	picture = GFX_plc_proposal
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.56.a
		log = "[GetDateText]: [This.GetName]: poland.56.a executed"
		POL = {
			puppet = LIT
			add_power_balance_value = {
				id = POL_korwin_win_bop
				value = 0.05
				tooltip_side = POL_korwin_win_bop_right_side
			}
		}
		news_event = poland_news.25
		ai_chance = {
			base = 50
			modifier = {
				is_in_faction_with = POL
				factor = 100
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 100
				}
				factor = 99
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 75
				}
				factor = 95
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 50
				}
				factor = 90
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 25
				}
				factor = 85
			}
			modifier = {
				has_opinion = {
					target = POL
					value < 25
				}
				factor = 80
			}
		}
	}

	option = {
		name = poland.56.b
		log = "[GetDateText]: [This.GetName]: poland.56.b executed"
		add_political_power = 100
		POL = { country_event = poland.57 }
		ai_chance = {
			base = 50
			modifier = {
				is_in_faction_with = POL
				factor = 0
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 100
				}
				factor = 1
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 75
				}
				factor = 5
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 50
				}
				factor = 10
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 25
				}
				factor = 15
			}
			modifier = {
				has_opinion = {
					target = POL
					value < 25
				}
				factor = 20
			}
		}
	}
}

country_event = {
	id = poland.57
	title = poland.57.t
	desc = poland.57.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.57.a
		log = "[GetDateText]: [This.GetName]: poland.57.a executed"
		add_political_power = -150
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.58
	title = poland.58.t
	desc = poland.58.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.58.a
		log = "[GetDateText]: [This.GetName]: poland.58.a executed"
		642 = { transfer_state_to = POL }
		set_temp_variable = { treasury_change = 60 }
		modify_treasury_effect = yes
		POL = {
			set_temp_variable = { treasury_change = -60 }
			modify_treasury_effect = yes
		}
		news_event = poland_news.26
		ai_chance = { base = 70 }
	}

	option = {
		name = poland.58.b
		log = "[GetDateText]: [This.GetName]: poland.58.b executed"
		add_political_power = 100
		POL = { country_event = poland.59 }
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = poland.59
	title = poland.59.t
	desc = poland.59.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.59.a
		log = "[GetDateText]: [This.GetName]: poland.59.a executed"
		add_political_power = -50
		ai_chance = { base = 70 }
	}
}

country_event = {
	id = poland.60
	title = poland.60.t
	desc = poland.60.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.60.a
		log = "[GetDateText]: [This.GetName]: poland.60.a executed"
		642 = { transfer_state_to = POL }
		white_peace = {
			tag = SOV
			message = POL_russia_peace_TT
		}
		add_war_support = 0.1
		add_political_power = 50
		news_event = poland_news.27
		ai_chance = { base = 95 }
	}

	option = {
		name = poland.60.b
		log = "[GetDateText]: [This.GetName]: poland.60.b executed"
		add_stability = -0.1
		news_event = poland_news.28
		ai_chance = { base = 5 }
	}
}

country_event = {
	id = poland.61
	title = poland.61.t
	desc = poland.61.d
	picture = GFX_plc_proposal
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.61.a
		log = "[GetDateText]: [This.GetName]: poland.61.a executed"
		give_guarantee = POL
		POL = {
			country_event = poland.62
			give_guarantee = SOV
		}
		ai_chance = {
			base = 50
			modifier = {
				POL = { NOT = { is_in_faction = yes } }
				factor = 90
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 100
				}
				factor = 80
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 75
				}
				factor = 60
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 50
				}
				factor = 40
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 25
				}
				factor = 20
			}
			modifier = {
				has_opinion = {
					target = POL
					value < 25
				}
				factor = 1
			}
		}
	}

	option = {
		name = poland.61.b
		log = "[GetDateText]: [This.GetName]: poland.61.b executed"
		add_political_power = 50
		POL = { country_event = poland.63 }
		ai_chance = {
			base = 50
			modifier = {
				POL = { NOT = { is_in_faction = yes } }
				factor = 10
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 100
				}
				factor = 20
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 75
				}
				factor = 40
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 50
				}
				factor = 60
			}
			modifier = {
				has_opinion = {
					target = POL
					value > 25
				}
				factor = 80
			}
			modifier = {
				has_opinion = {
					target = POL
					value < 25
				}
				factor = 99
			}
		}
	}
}

country_event = {
	id = poland.62
	title = poland.62.t
	desc = poland.62.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.62.a
		log = "[GetDateText]: [This.GetName]: poland.62.a executed"
		for_each_scope_loop = {
			array = global.nato_members
			tooltip = TT_ALL_NATO_MEMBER_NATIONS_GAIN
			add_opinion_modifier = {
				target = POL
				modifier = POL_poland_starts_cooperation_with_russia
			}
		}
		ai_chance = { base = 95 }
	}
}

country_event = {
	id = poland.63
	title = poland.63.t
	desc = poland.63.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.63.a
		log = "[GetDateText]: [This.GetName]: poland.63.a executed"
		add_political_power = -50
		ai_chance = { base = 95 }
	}
}

country_event = {
	id = poland.64
	title = poland.64.t
	desc = poland.64.d
	picture = GFX_POL_generic
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.64.a
		log = "[GetDateText]: [This.GetName]: poland.64.a executed"
		POL = {
			NATO_leave = yes
			add_ai_strategy = {
				type = alliance
				id = SOV
				value = 200
			}
			add_ai_strategy = {
				type = befriend
				id = SOV
				value = 50
			}
			add_ai_strategy = {
				type = support
				id = SOV
				value = 50
			}
			CSTO_join = yes
		}
		SOV = { add_to_faction = POL }
		add_political_power = 150
		add_threat = 5
		ai_chance = { base = 60 }
	}

	option = {
		name = poland.64.b
		log = "[GetDateText]: [This.GetName]: poland.64.b executed"
		trigger = { 669 = { is_controlled_by = POL } }
		add_political_power = 150
		POL = { country_event = poland.65 }
		ai_chance = { base = 40 }
	}

	option = {
		name = poland.64.c
		log = "[GetDateText]: [This.GetName]: poland.64.c executed"
		POL = { country_event = poland.66 }
		add_political_power = -150
		ai_chance = { base = 0 }
	}
}

country_event = {
	id = poland.65
	title = poland.65.t
	desc = poland.65.d
	picture = GFX_POL_generic
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.65.a
		log = "[GetDateText]: [This.GetName]: poland.65.a executed"
		NATO_leave = yes
		SOV = { add_to_faction = POL }
		add_political_power = 150
		add_threat = 5
		669 = { transfer_state_to = SOV }
		ai_chance = { base = 99 }
	}

	option = {
		name = poland.65.b
		log = "[GetDateText]: [This.GetName]: poland.65.b executed"
		add_political_power = -200
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = poland.66
	title = poland.66.t
	desc = poland.66.d
	picture = GFX_POL_generic
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.66.a
		ai_chance = { base = 99 }
	}
}

country_event = {
	id = poland.70
	title = poland.70.t
	desc = poland.70.d
	picture = GFX_political_deal
	is_triggered_only = yes

	option = {
		name = poland.70.a
		log = "[GetDateText]: [This.GetName]: poland.70.a executed"
		ai_chance = { base = 10 }
		add_war_support = 0.15
		add_political_power = 50
		every_other_country = {
			limit = {
				capital_scope = { is_on_continent = europe }
				OR = {
					has_government = democratic
					has_government = neutrality
				}
			}
			add_opinion_modifier = {
				target = POL
				modifier = POL_poland_plays_aggressive
			}
		}
		hidden_effect = { set_country_flag = POL_choose_aggressive_way }
	}

	option = {
		name = poland.70.b
		log = "[GetDateText]: [This.GetName]: poland.70.b executed"
		ai_chance = { base = 10 }
		add_stability = 0.15
		add_political_power = 100
		every_other_country = {
			limit = {
				capital_scope = { is_on_continent = europe }
				OR = {
					has_government = democratic
					has_government = neutrality
				}
			}
			add_opinion_modifier = {
				target = POL
				modifier = POL_poland_goes_rational_way
			}
		}
		hidden_effect = { set_country_flag = POL_choose_democratic_way }
	}
}

country_event = {
	id = poland.71
	title = poland.71.t
	desc = poland.71.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = poland.71.a
		log = "[GetDateText]: [This.GetName]: poland.71.a executed"
		ai_chance = { base = 70 }
		add_stability = -0.05
		add_political_power = 50
		if = {
			limit = { has_dlc = "By Blood Alone" }
			send_embargo = SOV
		}
	}

	option = {
		name = poland.71.b
		log = "[GetDateText]: [This.GetName]: poland.71.b executed"
		ai_chance = { base = 30 }
		add_political_power = 150
		reverse_add_opinion_modifier = {
			target = POL
			modifier = POL_embargo_rejected
		}
	}
}

country_event = {
	id = poland.72
	title = poland.72.t
	desc = poland.72.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = poland.72.a
		log = "[GetDateText]: [This.GetName]: poland.72.a executed"
		ai_chance = {
			base = 50
			modifier = {
				capital_scope = { is_on_continent = europe }
				factor = 65
			}
			modifier = {
				capital_scope = { is_on_continent = africa }
				factor = 5
			}
			modifier = {
				capital_scope = { is_on_continent = middle_east }
				factor = 35
			}
		}
		add_stability = -0.05
		add_political_power = 50
		if = {
			limit = { has_dlc = "By Blood Alone" }
			send_embargo = SOV
		}
		add_ideas = POL_anti_russia_coalition_member_idea
		reverse_add_opinion_modifier = {
			target = SOV
			modifier = POL_joined_anti_russian_treaty
		}
		reverse_add_opinion_modifier = {
			target = SOV
			modifier = POL_trade_joined_anti_russian_treaty
		}
	}

	option = {
		name = poland.72.b
		log = "[GetDateText]: [This.GetName]: poland.72.b executed"
		ai_chance = {
			base = 50
			modifier = {
				capital_scope = { is_on_continent = europe }
				factor = 35
			}
			modifier = {
				capital_scope = { is_on_continent = africa }
				factor = 95
			}
			modifier = {
				capital_scope = { is_on_continent = middle_east }
				factor = 65
			}
		}
		add_political_power = 150
		reverse_add_opinion_modifier = {
			target = POL
			modifier = POL_embargo_rejected
		}
	}
}

country_event = {
	id = poland.73
	title = poland.73.t
	desc = poland.73.d
	picture = GFX_red_guards
	is_triggered_only = yes

	option = {
		name = poland.73.a
		log = "[GetDateText]: [This.GetName]: poland.73.a executed"
		ai_chance = { base = 100 }
		add_stability = -0.05
		add_popularity = {
			ideology = democratic
			popularity = 0.05
		}
		add_popularity = {
			ideology = neutrality
			popularity = 0.05
		}
		add_popularity = {
			ideology = communism
			popularity = -0.05
		}
	}
}

country_event = {
	id = poland.74
	title = poland.74.t
	desc = poland.74.d
	picture = GFX_red_guards
	is_triggered_only = yes

	option = {
		name = poland.74.a
		log = "[GetDateText]: [This.GetName]: poland.74.a executed"
		ai_chance = { base = 100 }
		add_stability = -0.05
		add_war_support = 0.05
		add_popularity = {
			ideology = democratic
			popularity = -0.05
		}
		add_popularity = {
			ideology = neutrality
			popularity = -0.05
		}
		add_popularity = {
			ideology = communism
			popularity = 0.05
		}
		add_popularity = {
			ideology = nationalist
			popularity = 0.05
		}
	}
}

country_event = {
	id = poland.75
	title = poland.75.t
	desc = poland.75.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = poland.75.a
		log = "[GetDateText]: [This.GetName]: poland.75.a executed"
		ai_chance = { base = 100 }
		add_stability = -0.1
	}
}

country_event = {
	id = poland.76
	title = poland.76.t
	desc = poland.76.d
	picture = GFX_internal_faction_political_conflict
	is_triggered_only = yes

	option = {
		name = poland.76.a
		log = "[GetDateText]: [This.GetName]: poland.76.a executed"
		ai_chance = { base = 100 }
		add_stability = -0.05
		add_political_power = -50
		add_war_support = 0.05
		add_popularity = {
			ideology = democratic
			popularity = 0.05
		}
		add_popularity = {
			ideology = communism
			popularity = 0.05
		}
	}
}

country_event = {
	id = poland.77
	title = poland.77.t
	desc = poland.77.d
	picture = GFX_polish_nationalists2
	is_triggered_only = yes

	option = {
		name = poland.77.a
		log = "[GetDateText]: [This.GetName]: poland.77.a executed"
		ai_chance = { base = 100 }
		add_stability = -0.05
		add_political_power = 100
		add_war_support = 0.1
		add_popularity = {
			ideology = democratic
			popularity = -0.07
		}
		add_popularity = {
			ideology = communism
			popularity = 0.07
		}
	}
}

country_event = {
	id = poland.78
	title = poland.78.t
	desc = poland.78.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = poland.78.a
		log = "[GetDateText]: [This.GetName]: poland.78.a executed"
		ai_chance = { base = 100 }
		add_stability = -0.02
		add_political_power = -25
	}
}

country_event = {
	id = poland.79
	title = poland.79.t
	desc = poland.79.d
	picture = GFX_pol_election_event
	is_triggered_only = yes

	option = {
		name = poland.79.a
		log = "[GetDateText]: [This.GetName]: poland.79.a executed"
		ai_chance = { base = 100 }
		add_stability = -0.02
		add_political_power = -20
	}
}

country_event = {
	id = poland.80
	title = poland.80.t
	desc = poland.80.d
	picture = GFX_pol_election_event
	is_triggered_only = yes

	option = {
		name = poland.80.a
		log = "[GetDateText]: [This.GetName]: poland.80.a executed"
		ai_chance = { base = 100 }
		add_stability = -0.05
		add_political_power = -35
		add_popularity = {
			ideology = democratic
			popularity = 0.06
		}
		add_popularity = {
			ideology = communism
			popularity = -0.05
		}
	}
}

country_event = {
	id = poland.81
	title = poland.81.t
	desc = poland.81.d
	picture = GFX_court
	is_triggered_only = yes

	option = {
		name = poland.81.a
		log = "[GetDateText]: [This.GetName]: poland.81.a executed"
		ai_chance = { base = 100 }
		add_stability = -0.05
		add_popularity = {
			ideology = communism
			popularity = -0.1
		}
		random = {
			chance = 60
			sre_solidarity_strength_increase = yes
			custom_effect_tooltip = POL_increase_ss_TT
		}
	}
}

country_event = {
	id = poland.82
	title = poland.82.t
	desc = poland.82.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = poland.82.a
		log = "[GetDateText]: [This.GetName]: poland.82.a executed"
		ai_chance = { base = 100 }
		add_stability = -0.05
	}
}

country_event = {
	id = poland.83
	title = poland.83.t
	desc = poland.83.d
	picture = GFX_polish_nationalists2
	is_triggered_only = yes

	option = {
		name = poland.83.a
		log = "[GetDateText]: [This.GetName]: poland.83.a executed"
		ai_chance = { base = 100 }
		add_stability = 0.05
		add_political_power = 65
		add_popularity = {
			ideology = communism
			popularity = 0.1
		}
	}
}

country_event = {
	id = poland.84
	title = poland.84.t
	desc = poland.84.d
	picture = GFX_handgun
	is_triggered_only = yes

	option = {
		name = poland.84.a
		log = "[GetDateText]: [This.GetName]: poland.84.a executed"
		ai_chance = { base = 100 }
		add_stability = -0.1
		add_political_power = -80
		add_popularity = {
			ideology = communism
			popularity = -0.18
		}
		sre_solidarity_strength_increase = yes
		custom_effect_tooltip = POL_increase_ss_TT
		random = {
			chance = 20
			sre_communism_domination_decrease = yes
			custom_effect_tooltip = POL_decrease_cd_TT
			set_country_flag = POL_prepare_the_coup_fail
			country_event = poland.86
		}
	}
}

country_event = {
	id = poland.85
	title = poland.85.t
	desc = poland.85.d
	picture = GFX_polish_nationalists2
	is_triggered_only = yes

	option = {
		name = poland.85.a
		log = "[GetDateText]: [This.GetName]: poland.85.a executed"
		ai_chance = { base = 100 }
		add_stability = -0.15
		add_political_power = 110
		kill_country_leader = yes
		add_popularity = {
			ideology = communism
			popularity = 0.25
		}
		sre_solidarity_strength_increase = yes
		custom_effect_tooltip = POL_increase_ss_TT
		sre_communism_domination_increase = yes
		custom_effect_tooltip = POL_increase_cd_TT
		country_event = poland.87
	}
}

country_event = {
	id = poland.86
	title = poland.86.t
	desc = poland.86.d
	picture = GFX_polish_nationalists2
	is_triggered_only = yes

	option = {
		name = poland.86.a
		log = "[GetDateText]: [This.GetName]: poland.86.a executed"
		ai_chance = { base = 100 }
		add_political_power = -80
	}
}

country_event = {
	id = poland.87
	title = poland.87.t
	desc = poland.87.d
	picture = GFX_politics_communist_dream
	is_triggered_only = yes

	option = {
		name = poland.87.a
		log = "[GetDateText]: [This.GetName]: poland.87.a executed"
		ai_chance = { base = 100 }
		set_temp_variable = { rul_party_temp = 4 }
		set_temp_variable = { disable_elections = 1 }
		change_ruling_party_effect = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.5 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { add_col_one = 5 }
		add_coalition_members_effect = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.2 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		hidden_effect = {
			set_popularities = {
				democratic = 0
				neutrality = 0
				fascism = 0
				communism = 100
			}
			NATO_leave = yes
		}
	}

	option = {
		name = poland.87.b
		log = "[GetDateText]: [This.GetName]: poland.87.b executed"
		ai_chance = { base = 100 }
		set_temp_variable = { rul_party_temp = 5 }
		change_ruling_party_effect = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.5 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { add_col_one = 4 }
		add_coalition_members_effect = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.2 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		hidden_effect = {
			set_popularities = {
				democratic = 0
				neutrality = 0
				fascism = 0
				communism = 100
			}
			NATO_leave = yes
		}
	}
}

country_event = {
	id = poland.88
	title = poland.88.t
	desc = poland.88.d
	picture = GFX_polish_nationalists2
	is_triggered_only = yes

	option = {
		name = poland.88.a
		log = "[GetDateText]: [This.GetName]: poland.88.a executed"
		ai_chance = { base = 100 }
		add_political_power = 110
		add_stability = -0.05
	}
}

country_event = {
	id = poland.89
	title = poland.89.t
	desc = poland.89.d
	picture = GFX_polish_nationalists2
	is_triggered_only = yes

	option = {
		name = poland.89.a
		log = "[GetDateText]: [This.GetName]: poland.89.a executed"
		ai_chance = { base = 100 }
		random = {
			chance = 50
			sre_solidarity_strength_increase = yes
			custom_effect_tooltip = POL_increase_ss_TT
		}
	}
}

country_event = {
	id = poland.90
	title = poland.90.t
	desc = poland.90.d
	picture = GFX_polish_nationalists2
	is_triggered_only = yes

	option = {
		name = poland.90.a
		log = "[GetDateText]: [This.GetName]: poland.90.a executed"
		country_event = poland.87
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.91
	title = poland.91.t
	desc = poland.91.d
	picture = GFX_polish_nationalists2
	is_triggered_only = yes

	option = {
		name = poland.91.a
		log = "[GetDateText]: [This.GetName]: poland.91.a executed"
		ai_chance = { base = 100 }
		add_political_power = -80
		add_stability = -0.05
		add_popularity = {
			ideology = communism
			popularity = -0.1
		}
	}
}

country_event = {
	id = poland.92
	title = poland.92.t
	desc = poland.92.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	option = {
		name = poland.92.a
		log = "[GetDateText]: [This.GetName]: poland.92.a executed"
		ai_chance = { base = 100 }
		add_political_power = -25
	}
}

country_event = {
	id = poland.93
	title = poland.93.t
	desc = poland.93.d
	picture = GFX_politics_communist_dream
	is_triggered_only = yes

	option = {
		name = poland.93.a
		log = "[GetDateText]: [This.GetName]: poland.93.a executed"
		ai_chance = { base = 100 }
		add_political_power = 150
	}
}

country_event = {
	id = poland.94
	title = poland.94.t
	desc = poland.94.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	option = {
		name = poland.94.a
		log = "[GetDateText]: [This.GetName]: poland.94.a executed"
		ai_chance = { base = 100 }
		add_political_power = -25
	}
}

country_event = {
	id = poland.95
	title = poland.95.t
	desc = poland.95.d
	picture = GFX_politics_communist_dream
	is_triggered_only = yes

	option = {
		name = poland.95.a
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.96
	title = poland.96.t
	desc = poland.96.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	option = {
		name = poland.96.a
		log = "[GetDateText]: [This.GetName]: poland.96.a executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { skip_payment = 1 }
		one_random_industrial_complex = yes
		add_political_power = -75
		POL = {
			set_temp_variable = { treasury_change = -7.5 }
			modify_treasury_effect = yes
			country_event = poland.99
		}
		ai_chance = { base = 85 }
	}

	option = {
		name = poland.96.b
		log = "[GetDateText]: [This.GetName]: poland.96.b executed"
		add_political_power = 50
		ai_chance = { base = 15 }
	}
}

country_event = {
	id = poland.97
	title = poland.97.t
	desc = poland.97.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	option = {
		name = poland.97.a
		log = "[GetDateText]: [This.GetName]: poland.97.a executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { skip_payment = 1 }
		one_random_industrial_complex = yes
		add_political_power = -75
		POL = {
			set_temp_variable = { treasury_change = -7.5 }
			modify_treasury_effect = yes
			country_event = poland.98
		}
		ai_chance = { base = 85 }
	}

	option = {
		name = poland.97.b
		log = "[GetDateText]: [This.GetName]: poland.97.b executed"
		add_political_power = 50
		ai_chance = { base = 15 }
	}
}

country_event = {
	id = poland.98
	title = poland.98.t
	desc = poland.98.d
	picture = GFX_politics_anarchism
	is_triggered_only = yes

	option = {
		name = poland.98.a
		log = "[GetDateText]: [This.GetName]: poland.98.a executed"
		add_political_power = 50
		ai_chance = { base = 15 }
	}
}

country_event = {
	id = poland.99
	title = poland.99.t
	desc = poland.99.d
	picture = GFX_politics_anarchism
	is_triggered_only = yes

	option = {
		name = poland.99.a
		log = "[GetDateText]: [This.GetName]: poland.99.a executed"
		add_political_power = 50
		ai_chance = { base = 15 }
	}
}

country_event = {
	id = poland.100
	title = poland.100.t
	desc = poland.100.d
	picture = GFX_stock_market
	is_triggered_only = yes

	trigger = {
		has_country_flag = POL_stay_outside_the_eu_flag
		has_idea = EU_member
	}

	option = {
		name = poland.100.a
		log = "[GetDateText]: [This.GetName]: poland.100.a executed"
		leaving_EU = yes
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.101
	title = poland.101.t
	desc = poland.101.d
	picture = GFX_anaconda_16_event
	is_triggered_only = yes

	option = {
		name = poland.101.a
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.102
	title = poland.102.t
	desc = poland.102.d
	picture = GFX_POL_generic
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.102.a
		ai_chance = { base = 40 }
	}
}

country_event = {
	id = poland.104
	title = poland.104.t
	desc = poland.104.d
	picture = GFX_political_deal
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.104.a
		ai_chance = { base = 40 }
	}
}

country_event = {
	id = poland.105
	title = poland.105.t
	desc = poland.105.d
	picture = GFX_politics_communist_dream
	is_triggered_only = yes

	option = {
		name = poland.105.a
		log = "[GetDateText]: [This.GetName]: poland.105.a executed"
		var:POL.POL_faction_invite = { country_event = poland.106 }
		clear_variable = POL.faction_invite
		ai_chance = { base = 90 }
	}

	option = {
		name = poland.105.b
		log = "[GetDateText]: [This.GetName]: poland.105.b executed"
		var:POL.POL_faction_invite = { country_event = poland.107 }
		clear_variable = POL.faction_invite
		ai_chance = { base = 10 }
	}
}

country_event = {
	id = poland.106
	title = poland.106.t
	desc = poland.106.d
	picture = GFX_politics_communist_dream
	is_triggered_only = yes

	option = {
		name = poland.106.a
		log = "[GetDateText]: [This.GetName]: poland.106.a executed"
		if = {
			limit = { has_idea = NATO_member }
			NATO_leave = yes
		}
		set_politics = {
			ruling_party = communism
			elections_allowed = yes
		}
		POL = {
			add_to_faction = ROOT
			add_faction_initiative = 1
			POL_gui_dirty_update = yes
		}
		add_ideas = REP_member
		ai_chance = { base = 100 }
	}

	option = {
		name = poland.106.b
		log = "[GetDateText]: [This.GetName]: poland.106.b executed"
		add_political_power = 120
		add_popularity = {
			ideology = communism
			popularity = -0.45
		}
		ai_chance = { base = 0 }
	}
}

country_event = {
	id = poland.107
	title = poland.107.t
	desc = poland.107.d
	picture = GFX_politics_communist_dream
	is_triggered_only = yes

	option = {
		name = poland.107.a
		log = "[GetDateText]: [This.GetName]: poland.107.a executed"
		if = {
			limit = { has_idea = NATO_member }
			NATO_leave = yes
		}
		set_politics = {
			ruling_party = communism
			elections_allowed = yes
		}
		add_ideas = REP_member
		POL = {
			add_to_faction = ROOT
			add_faction_initiative = 1
			if = {
				limit = { has_global_flag = GAME_RULE_allow_colored_puppets }
				set_autonomy = {
					target = ROOT
					autonomy_state = autonomy_satellite_state_colored
					end_wars = no
					end_civil_wars = no
				}
			}
			else = {
				set_autonomy = {
					target = ROOT
					autonomy_state = autonomy_satellite_state
					end_wars = no
					end_civil_wars = no
				}
			}
			POL_gui_dirty_update = yes
		}
		ai_chance = { base = 95 }
	}

	option = {
		name = poland.107.b
		log = "[GetDateText]: [This.GetName]: poland.107.b executed"
		add_political_power = 120
		add_popularity = {
			ideology = communism
			popularity = -0.30
		}
		ai_chance = { base = 5 }
	}
}

country_event = {
	id = poland.114
	title = poland.114.t
	desc = poland.114.d
	picture = GFX_broken_infrastructure
	is_triggered_only = yes

	option = {
		name = poland.114.a
		log = "[GetDateText]: [This.GetName]: poland.114.a executed"
		if = {
			limit = { original_tag = LIT }
			build_railway = {
				level = 1
				build_only_on_allied = no
				fallback = yes
				path = { 6281 11312 6296 9438 9374 }
				start_province = 6281
				target_province = 9374
			}
			POL = { set_country_flag = POL_lithuania_railway_built }
		}
		if = {
			limit = { original_tag = LAT }
			build_railway = {
				level = 1
				build_only_on_allied = no
				fallback = yes
				path = { 265 9340 9240 9317 }
				start_province = 265
				target_province = 9317
			}
			POL = { set_country_flag = POL_latvian_railway_built }
		}
		if = {
			limit = { original_tag = EST }
			build_railway = {
				level = 1
				build_only_on_allied = no
				fallback = yes
				path = { 11291 496 3152 }
				start_province = 265
				target_province = 9317
			}
			POL = { set_country_flag = POL_estonian_railway_built }
		}
		POL = {
			set_temp_variable = { treasury_change = -0.12 }
			modify_treasury_effect = yes
			country_event = poland.117
		}
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.08 }
		set_temp_variable = { temp_outlook_increase = 0.08 }
		change_relative_party_popularity = yes
		set_temp_variable = { percent_change = 5 }
		set_temp_variable = { tag_index = POL }
		set_temp_variable = { influence_target = ROOT }
		change_influence_percentage = yes
		ai_chance = { base = 100 }
	}

	option = {
		name = poland.114.b
		log = "[GetDateText]: [This.GetName]: poland.114.b executed"
		ai_chance = { base = 10 }
		add_political_power = 50
		POL = { country_event = poland.118 }
	}
}

country_event = {
	id = poland.117
	title = poland.117.t
	desc = poland.117.d
	picture = GFX_message_signing
	is_triggered_only = yes

	option = {
		name = poland.117.a
		log = "[GetDateText]: [This.GetName]: poland.117.a executed"
		add_political_power = 50
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.118
	title = poland.118.t
	desc = poland.118.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes

	option = {
		name = poland.118.a
		log = "[GetDateText]: [This.GetName]: poland.118.a executed"
		add_political_power = -50
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.144
	title = poland.144.t
	desc = poland.144.d
	picture = GFX_politics_communist_dream
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.144.a
		log = "[GetDateText]: [This.GetName]: poland.144.a executed"
		CZE = {
			set_temp_variable = { party_index = 4 }
			set_temp_variable = { party_popularity_increase = 0.06 }
			set_temp_variable = { temp_outlook_increase = 0.06 }
			change_relative_party_popularity = yes
		}
		SLO = {
			set_temp_variable = { party_index = 4 }
			set_temp_variable = { party_popularity_increase = 0.06 }
			set_temp_variable = { temp_outlook_increase = 0.06 }
			change_relative_party_popularity = yes
		}
		HUN = {
			set_temp_variable = { party_index = 4 }
			set_temp_variable = { party_popularity_increase = 0.06 }
			set_temp_variable = { temp_outlook_increase = 0.06 }
			change_relative_party_popularity = yes
		}
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.145
	title = poland.145.t
	desc = poland.145.d
	picture = GFX_politics_communist_dream
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.145.a
		log = "[GetDateText]: [This.GetName]: poland.145.a executed"
		LIT = {
			set_temp_variable = { party_index = 4 }
			set_temp_variable = { party_popularity_increase = 0.06 }
			set_temp_variable = { temp_outlook_increase = 0.06 }
			change_relative_party_popularity = yes
		}
		LAT = {
			set_temp_variable = { party_index = 4 }
			set_temp_variable = { party_popularity_increase = 0.06 }
			set_temp_variable = { temp_outlook_increase = 0.06 }
			change_relative_party_popularity = yes
		}
		EST = {
			set_temp_variable = { party_index = 4 }
			set_temp_variable = { party_popularity_increase = 0.06 }
			set_temp_variable = { temp_outlook_increase = 0.06 }
			change_relative_party_popularity = yes
		}
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.146
	title = poland.146.t
	desc = poland.146.d
	picture = GFX_politics_communist_dream
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.146.a
		log = "[GetDateText]: [This.GetName]: poland.146.a executed"
		ROM = {
			set_temp_variable = { party_index = 4 }
			set_temp_variable = { party_popularity_increase = 0.06 }
			set_temp_variable = { temp_outlook_increase = 0.06 }
			change_relative_party_popularity = yes
		}
		BUL = {
			set_temp_variable = { party_index = 4 }
			set_temp_variable = { party_popularity_increase = 0.06 }
			set_temp_variable = { temp_outlook_increase = 0.06 }
			change_relative_party_popularity = yes
		}
		ai_chance = { base = 100 }
	}
}


country_event = {
	id = poland.148
	title = poland.148.t
	desc = poland.148.d
	picture = GFX_Pokuscenie_nkr_2000
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.148.a
		log = "[GetDateText]: [This.GetName]: poland.148.a executed"
		add_political_power = -100
		add_manpower = -1
		add_stability = -0.05
		set_country_flag = POL_first_assassination
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.149
	title = poland.149.t
	desc = poland.149.d
	picture = GFX_Pokuscenie_nkr_2000
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.149.a
		log = "[GetDateText]: [This.GetName]: poland.149.a executed"
		add_political_power = -150
		add_manpower = -1
		add_stability = -0.05
		set_country_flag = POL_second_assassination
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.150
	title = poland.150.t
	desc = poland.150.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	option = {
		name = poland.150.a
		log = "[GetDateText]: [This.GetName]: poland.150.a executed"
		set_country_flag = { flag = POL_economy_event_happened days = 90 value = 1 }
		sre_economy_situation_change_to_workers = yes
		ai_chance = { base = 100 }
	}

	option = {
		name = poland.150.b
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.151
	title = poland.151.t
	desc = poland.151.d
	picture = GFX_political_deal
	is_triggered_only = yes

	option = {
		name = poland.151.a
		log = "[GetDateText]: [This.GetName]: poland.151.a executed"
		set_country_flag = { flag = POL_economy_event_happened days = 30 value = 1 }
		sre_economy_situation_change_to_administration = yes
		ai_chance = { base = 100 }
	}

	option = {
		name = poland.151.b
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.152
	title = poland.152.t
	desc = poland.152.d
	picture = GFX_political_deal
	is_triggered_only = yes

	option = {
		name = poland.152.a
		log = "[GetDateText]: [This.GetName]: poland.152.a executed"
		set_country_flag = { flag = POL_economy_event_happened days = 30 value = 1 }
		sre_economy_situation_change_to_companies = yes
		ai_chance = { base = 100 }
	}

	option = {
		name = poland.152.b
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.153
	title = poland.153.t
	desc = poland.153.d
	picture = GFX_politics_dem_socialist
	is_triggered_only = yes

	option = {
		name = poland.153.a
		log = "[GetDateText]: [This.GetName]: poland.153.a executed"
		add_political_power = -50
		add_stability = -0.05
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.154
	title = poland.154.t
	desc = poland.154.d
	picture = GFX_politics_left_wing
	is_triggered_only = yes

	option = {
		name = poland.154.a
		log = "[GetDateText]: [This.GetName]: poland.154.a executed"
		add_political_power = -75
		add_stability = -0.07
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.155
	title = poland.155.t
	desc = poland.155.d
	picture = GFX_politics_demands
	is_triggered_only = yes

	option = {
		name = poland.155.a
		log = "[GetDateText]: [This.GetName]: poland.155.a executed"
		add_political_power = -100
		add_stability = -0.1
		add_popularity = {
			ideology = democratic
			popularity = 0.05
		}
		add_popularity = {
			ideology = communism
			popularity = -0.05
		}
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.156
	title = poland.156.t
	desc = poland.156.d
	picture = GFX_polish_nationalists2
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.156.a
		log = "[GetDateText]: [This.GetName]: poland.156.a executed"
		add_command_power = 25
		add_stability = 0.05
		set_country_flag = POL_revolt_country2_flag
		swap_ideas = {
			remove_idea = POL_second_red_revolution1_idea
			add_idea = POL_second_red_revolution2_idea
		}
		POL = { country_event = poland.157 }
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.157
	title = poland.157.t
	desc = poland.157.d
	picture = GFX_polish_nationalists2
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.157.a
		log = "[GetDateText]: [This.GetName]: poland.157.a executed"
		add_political_power = 100
		add_command_power = 40
		add_stability = 0.05
		swap_ideas = {
			remove_idea = POL_second_red_revolution1_idea
			add_idea = POL_second_red_revolution3_idea
		}
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.158
	title = poland.158.t
	desc = poland.158.d
	picture = GFX_polish_nationalists2
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.158.a
		log = "[GetDateText]: [This.GetName]: poland.158.a executed"
		add_command_power = 25
		add_stability = 0.05
		swap_ideas = {
			remove_idea = POL_second_red_revolution2_idea
			add_idea = POL_second_red_revolution4_idea
		}
		if = {
			limit = { has_idea = POL_second_red_revolution1_idea }
			remove_ideas = POL_second_red_revolution1_idea
		}
		POL = { country_event = poland.159 }
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.159
	title = poland.159.t
	desc = poland.159.d
	picture = GFX_internal_conflict
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.159.a
		log = "[GetDateText]: [This.GetName]: poland.159.a executed"
		add_political_power = 50
		add_command_power = 20
		add_stability = 0.05
		swap_ideas = {
			remove_idea = POL_second_red_revolution3_idea
			add_idea = POL_second_red_revolution5_idea
		}
		if = {
			limit = { has_idea = POL_second_red_revolution1_idea }
			remove_ideas = POL_second_red_revolution1_idea
		}
		ai_chance = { base = 100 }
	}

	option = {
		name = poland.159.b
		log = "[GetDateText]: [This.GetName]: poland.159.b executed"
		add_political_power = 50
		add_command_power = 20
		add_stability = 0.05
		swap_ideas = {
			remove_idea = POL_second_red_revolution3_idea
			add_idea = POL_second_red_revolution6_idea
		}
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.160
	title = poland.160.t
	desc = poland.160.d
	picture = GFX_polish_nationalists2
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.160.a
		log = "[GetDateText]: [This.GetName]: poland.160.a executed"
		add_command_power = -20
		add_stability = -0.15
		628 = { transfer_state_to = POL }
		POL = { country_event = poland.161 }
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.161
	title = poland.161.t
	desc = poland.161.d
	picture = GFX_pol_election_event
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.161.a
		log = "[GetDateText]: [This.GetName]: poland.161.a executed"
		add_political_power = 150
		add_command_power = 50
		add_stability = 0.15
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.162
	title = poland.162.t
	desc = poland.162.d
	picture = GFX_pol_election_event
	is_triggered_only = yes

	option = {
		name = poland.162.a
		log = "[GetDateText]: [This.GetName]: poland.162.a executed"
		trigger = { original_tag = GER }
		add_political_power = 100
		send_equipment = {
			equipment = infantry_weapons_4
			amount = 300
			target = POL
		}
		ai_chance = { base = 75 }
	}

	option = {
		name = poland.162.aa
		trigger = { original_tag = GER }
		ai_chance = { base = 25 }
	}

	option = {
		name = poland.162.b
		log = "[GetDateText]: [This.GetName]: poland.162.b executed"
		trigger = { original_tag = ITA }
		add_political_power = 100
		send_equipment = {
			equipment = infantry_weapons_4
			amount = 300
			target = POL
		}
		ai_chance = { base = 50 }
	}

	option = {
		name = poland.162.bb
		trigger = { original_tag = ITA }
		ai_chance = { base = 50 }
	}

	option = {
		name = poland.162.c
		log = "[GetDateText]: [This.GetName]: poland.162.c executed"
		trigger = { original_tag = CZE }
		add_political_power = 100
		send_equipment = {
			equipment = infantry_weapons_4
			amount = 300
			target = POL
		}
		ai_chance = { base = 90 }
	}

	option = {
		name = poland.162.cc
		trigger = { original_tag = CZE }
		ai_chance = { base = 10 }
	}

	option = {
		name = poland.162.dd
		log = "[GetDateText]: [This.GetName]: poland.162.dd executed"
		trigger = { original_tag = SLO }
		add_political_power = 100
		send_equipment = {
			equipment = infantry_weapons_4
			amount = 300
			target = POL
		}
		ai_chance = { base = 80 }
	}

	option = {
		name = poland.162.ddd
		trigger = { original_tag = SLO }
		ai_chance = { base = 20 }
	}

	option = {
		name = poland.162.e
		log = "[GetDateText]: [This.GetName]: poland.162.e executed"
		trigger = { original_tag = FRA }
		add_political_power = 100
		send_equipment = {
			equipment = infantry_weapons_4
			amount = 300
			target = POL
		}
		ai_chance = { base = 50 }
	}

	option = {
		name = poland.162.ee
		trigger = { original_tag = FRA }
		ai_chance = { base = 50 }
	}

	option = {
		name = poland.162.f
		log = "[GetDateText]: [This.GetName]: poland.162.f executed"
		trigger = { original_tag = ENG }
		add_political_power = 100
		send_equipment = {
			equipment = infantry_weapons_4
			amount = 300
			target = POL
		}
		ai_chance = { base = 30 }
	}

	option = {
		name = poland.162.ff
		trigger = { original_tag = ENG }
		ai_chance = { base = 70 }
	}

	option = {
		name = poland.162.g
		log = "[GetDateText]: [This.GetName]: poland.162.g executed"
		trigger = { original_tag = USA }
		add_political_power = 100
		send_equipment = {
			equipment = infantry_weapons_4
			amount = 300
			target = POL
		}
		ai_chance = { base = 70 }
	}

	option = {
		name = poland.162.gg
		trigger = { original_tag = USA }
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = poland.163
	title = poland.163.t
	desc = poland.163.d
	picture = GFX_election_rally
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.163.a
		log = "[GetDateText]: [This.GetName]: poland.163.a executed"
		add_political_power = 200
		add_stability = 0.3
		news_event = poland_news.35
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.6 }
		set_temp_variable = { temp_outlook_increase = 0.6 }
		change_relative_party_popularity = yes
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.164
	title = poland.164.t
	desc = poland.164.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = poland.164.a
		log = "[GetDateText]: [This.GetName]: poland.164.a executed"
		add_political_power = 50
		add_to_variable = { POL.euro_accept = 1 }
		ai_chance = { base = 90 }
	}

	option = {
		name = poland.164.b
		log = "[GetDateText]: [This.GetName]: poland.164.b executed"
		POL = { country_event = poland.165 }
		ai_chance = { base = 10 }
	}
}

country_event = {
	id = poland.165
	title = poland.165.t
	desc = poland.165.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = {
		name = poland.165.a
		log = "[GetDateText]: [This.GetName]: poland.165.a executed"
		add_political_power = -50
		ai_chance = { base = 90 }
	}
}

country_event = {
	id = poland.166
	title = poland.166.t
	desc = poland.166.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	trigger = { check_variable = { POL.euro_accept = 2 } }

	option = {
		name = poland.166.a
		log = "[GetDateText]: [This.GetName]: poland.166.a executed"
		joining_the_euro = yes
		ai_chance = { base = 90 }
	}
}

country_event = {
	id = poland.167
	title = poland.167.t
	desc = poland.167.d
	picture = GFX_handshake_black
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.167.a
		log = "[GetDateText]: [This.GetName]: poland.167.a executed"
		POL = { set_country_flag = POL_usa_accepted_flag }
		ai_chance = { base = 99 }
	}

	option = {
		name = poland.167.b
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = poland.168
	title = poland.168.t
	desc = poland.168.d
	picture = GFX_pol_election_event
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = poland.168.a
		log = "[GetDateText]: [This.GetName]: poland.168.a executed"
		add_popularity = {
			ideology = communism
			popularity = 0.07
		}
		add_political_power = 30
		add_timed_idea = { idea = POL_politicians_support_idea days = 120 }
		add_timed_idea = { idea = POL_chaos_in_sejm_idea days = 120 }
	}
}

country_event = {
	id = poland.169
	title = poland.169.t
	desc = poland.169.d
	picture = GFX_pol_election_event
	is_triggered_only = yes

	option = {
		name = poland.169.a
		log = "[GetDateText]: [This.GetName]: poland.169.a executed"
		add_political_power = var:POL_pp_regain
	}
}

country_event = {
	id = poland.170
	title = poland.170.t
	desc = poland.170.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = poland.170.a
		log = "[GetDateText]: [This.GetName]: poland.170.a executed"
		ai_chance = { base = 10 }
		add_political_power = -50
		POL = {
			add_opinion_modifier = {
				target = SOV
				modifier = POL_russia_refuses
			}
			country_event = poland.171
		}
	}

	option = {
		name = poland.170.b
		log = "[GetDateText]: [This.GetName]: poland.170.b executed"
		ai_chance = { base = 90 }
		add_political_power = 100
		POL = {
			add_opinion_modifier = {
				target = SOV
				modifier = POL_russia_accepts
			}
			country_event = poland.172
		}
		set_temp_variable = { treasury_change = -10 }
		modify_treasury_effect = yes
	}
}

country_event = {
	id = poland.171
	title = poland.171.t
	desc = poland.171.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = poland.171.a
		log = "[GetDateText]: [This.GetName]: poland.171.a executed"
		ai_chance = { base = 10 }
		add_political_power = -50
	}
}

country_event = {
	id = poland.172
	title = poland.172.t
	desc = poland.172.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = poland.172.a
		log = "[GetDateText]: [This.GetName]: poland.172.a executed"
		ai_chance = { base = 10 }
		set_temp_variable = { treasury_change = 10 }
		modify_treasury_effect = yes
	}
}

# nationalist influence stuff
country_event = {
	id = poland_influence.1
	title = poland_influence.1.t
	desc = poland_influence.1.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		log = "[GetDateText]: [This.GetName]: poland_influence.1.a executed"
		name = poland_influence.1.a
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.07 }
		change_relative_party_popularity = yes
		set_country_flag = accepted_pol_influence
		set_country_flag = received_pol_influence
		ai_chance = {
			base = 10
			modifier = {
				OR = {
					nationalist_right_wing_populists_are_in_power = yes
					nationalist_fascist_are_in_power = yes
				}
				factor = 20
			}
		}
	}

	option = {
		log = "[GetDateText]: [This.GetName]: poland_influence.1.b executed"
		name = poland_influence.1.b
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_country_flag = rejected_pol_influence
		set_country_flag = received_pol_influence
		ai_chance = {
			base = 80
			modifier = {
				OR = {
					nationalist_right_wing_populists_are_in_power = yes
					nationalist_fascist_are_in_power = yes
				}
				factor = 0
			}
		}
	}
}

# Smolensk disaster
news_event = {
	id = poland_news.2
	title = poland_news.2.t
	desc = poland_news.2.d
	picture = GFX_news_smolensk_disaster
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.2.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = SOV
				}
			}
		}
	}

	option = {
		name = poland_news.2.b
		log = "[GetDateText]: [This.GetName]: poland_news.2.b executed"
		trigger = { original_tag = POL }
		hidden_effect = { kill_country_leader = yes }
	}

	option = {
		name = poland_news.2.c
		trigger = { original_tag = SOV }
	}
}

# not a Smolensk disaster
news_event = {
	id = poland_news.3
	title = poland_news.3.t
	desc = poland_news.3.d
	picture = GFX_news_smolensk_incident
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.3.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = SOV
				}
			}
		}
	}

	option = {
		name = poland_news.3.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.3.c
		trigger = { original_tag = SOV }
	}
}

# Eurozone acceptation
news_event = {
	id = poland_news.4
	title = poland_news.4.t
	desc = poland_news.4.d
	picture = GFX_news_update_gdpc
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.4.a
		trigger = { NOT = { original_tag = POL } }
	}

	option = {
		name = poland_news.4.b
		trigger = { original_tag = POL }
	}
}

#Eurozone denied
news_event = {
	id = poland_news.5
	title = poland_news.5.t
	desc = poland_news.5.d
	picture = GFX_news_update_gdpc
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.5.a
		trigger = { NOT = { original_tag = POL } }
	}

	option = {
		name = poland_news.5.b
		trigger = { original_tag = POL }
	}
}

news_event = {
	id = poland_news.6
	title = poland_news.6.t
	desc = poland_news.6.d
	picture = GFX_news_trade_agreement
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.6.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = CZE
				}
			}
		}
	}

	option = {
		name = poland_news.6.b
		trigger = { OR = { original_tag = POL original_tag = CZE } }
	}
}

news_event = {
	id = poland_news.7
	title = poland_news.7.t
	desc = poland_news.7.d
	picture = GFX_news_trade_agreement
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.7.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = CZE
					original_tag = SLO
				}
			}
		}
	}

	option = {
		name = poland_news.7.b
		trigger = { OR = { original_tag = POL original_tag = CZE original_tag = SLO } }
	}
}

news_event = {
	id = poland_news.8
	title = poland_news.8.t
	desc = poland_news.8.d
	picture = GFX_news_trade_agreement
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.8.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = CZE
					original_tag = SLO
					original_tag = HUN
				}
			}
		}
	}

	option = {
		name = poland_news.8.b
		trigger = { OR = { original_tag = POL original_tag = CZE original_tag = SLO original_tag = HUN } }
	}
}

news_event = {
	id = poland_news.9
	title = poland_news.9.t
	desc = poland_news.9.d
	picture = GFX_news_trade_agreement
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.9.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = CZE
					original_tag = SLO
					original_tag = HUN
				}
			}
		}
	}

	option = {
		name = poland_news.9.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.9.c
		trigger = { OR = { original_tag = CZE original_tag = SLO original_tag = HUN } }
	}
}

news_event = {
	id = poland_news.10
	title = poland_news.10.t
	desc = poland_news.10.d
	picture = GFX_news_crime_fighting
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.10.a
		trigger = { NOT = { original_tag = POL } }
	}

	option = {
		name = poland_news.10.b
		trigger = { original_tag = POL }
	}
}

news_event = {
	id = poland_news.11
	title = poland_news.11.t
	desc = poland_news.11.d
	picture = GFX_news_crime_fighting
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.11.a
		trigger = { NOT = { original_tag = POL } }
	}

	option = {
		name = poland_news.11.b
		trigger = { original_tag = POL }
	}
}

news_event = {
	id = poland_news.12
	title = poland_news.12.t
	desc = poland_news.12.d
	picture = GFX_news_crime_fighting
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.12.a
		trigger = { NOT = { original_tag = POL } }
	}

	option = {
		name = poland_news.12.b
		trigger = { original_tag = POL }
	}
}

news_event = {
	id = poland_news.13
	title = poland_news.13.t
	desc = poland_news.13.d
	picture = GFX_news_crime_fighting
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.13.a
		trigger = { NOT = { original_tag = POL } }
	}

	option = {
		name = poland_news.13.b
		trigger = { original_tag = POL }
	}
}

news_event = {
	id = poland_news.14
	title = poland_news.14.t
	desc = poland_news.14.d
	picture = GFX_news_missilesPointingUp
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.14.a
		trigger = { NOT = { original_tag = POL } }
	}

	option = {
		name = poland_news.14.b
		trigger = { original_tag = POL }
	}
}

news_event = {
	id = poland_news.15
	title = poland_news.15.t
	desc = poland_news.15.d
	picture = GFX_news_missilesPointingUp
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.15.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = UKR
				}
			}
		}
	}

	option = {
		name = poland_news.15.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.15.c
		trigger = { original_tag = UKR }
	}
}

news_event = {
	id = poland_news.16
	title = poland_news.16.t
	desc = poland_news.16.d
	picture = GFX_news_press_conference
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.16.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = UKR
				}
			}
		}
	}

	option = {
		name = poland_news.16.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.16.c
		trigger = { original_tag = UKR }
	}
}

news_event = {
	id = poland_news.17
	title = poland_news.17.t
	desc = poland_news.17.d
	picture = GFX_news_press_conference
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.17.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = UKR
				}
			}
		}
	}

	option = {
		name = poland_news.17.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.17.c
		trigger = { original_tag = UKR }
	}
}

news_event = {
	id = poland_news.18
	title = poland_news.18.t
	desc = poland_news.18.d
	picture = GFX_news_crime_fighting
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.18.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = UKR
				}
			}
		}
	}

	option = {
		name = poland_news.18.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.18.c
		trigger = { original_tag = UKR }
	}
}

news_event = {
	id = poland_news.19
	title = poland_news.19.t
	desc = poland_news.19.d
	picture = GFX_news_crime_fighting
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.19.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = UKR
					original_tag = SOV
				}
			}
		}
	}

	option = {
		name = poland_news.19.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.19.c
		trigger = { original_tag = UKR }
	}

	option = {
		name = poland_news.19.e
		trigger = { original_tag = SOV }
	}
}

news_event = {
	id = poland_news.20
	title = poland_news.20.t
	desc = poland_news.20.d
	picture = GFX_news_trade_agreement
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.20.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = UKR
					original_tag = SOV
				}
			}
		}
	}

	option = {
		name = poland_news.20.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.20.c
		trigger = { original_tag = UKR }
	}

	option = {
		name = poland_news.20.e
		trigger = { original_tag = SOV }
	}
}

news_event = {
	id = poland_news.21
	title = poland_news.21.t
	desc = poland_news.21.d
	picture = GFX_news_trade_agreement
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.21.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = UKR
					original_tag = SOV
				}
			}
		}
	}

	option = {
		name = poland_news.21.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.21.c
		trigger = { original_tag = UKR }
	}

	option = {
		name = poland_news.21.e
		trigger = { original_tag = SOV }
	}
}

news_event = {
	id = poland_news.22
	title = poland_news.22.t
	desc = poland_news.22.d
	picture = GFX_news_press_conference
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.22.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = UKR
					original_tag = SOV
				}
			}
		}
	}

	option = {
		name = poland_news.22.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.22.c
		trigger = { original_tag = UKR }
	}

	option = {
		name = poland_news.22.e
		trigger = { original_tag = SOV }
	}
}

news_event = {
	id = poland_news.23
	title = poland_news.23.t
	desc = poland_news.23.d
	picture = GFX_news_press_conference
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.23.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = UKR
					original_tag = SOV
				}
			}
		}
	}

	option = {
		name = poland_news.23.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.23.c
		trigger = { original_tag = UKR }
	}

	option = {
		name = poland_news.23.e
		trigger = { original_tag = SOV }
	}
}

news_event = {
	id = poland_news.24
	title = poland_news.24.t
	desc = poland_news.24.d
	picture = GFX_news_press_conference
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.24.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = LIT
				}
			}
		}
	}

	option = {
		name = poland_news.24.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.24.c
		trigger = { original_tag = LIT }
	}
}

news_event = {
	id = poland_news.25
	title = poland_news.25.t
	desc = poland_news.25.d
	picture = GFX_news_press_conference
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.25.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = LIT
				}
			}
		}
	}

	option = {
		name = poland_news.25.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.25.c
		trigger = { original_tag = LIT }
	}
}

news_event = {
	id = poland_news.26
	title = poland_news.26.t
	desc = poland_news.26.d
	picture = GFX_news_update_gdpc
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.26.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = SOV
				}
			}
		}
	}

	option = {
		name = poland_news.26.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.26.c
		trigger = { original_tag = SOV }
	}
}

news_event = {
	id = poland_news.27
	title = poland_news.27.t
	desc = poland_news.27.d
	picture = GFX_news_missilesOnRoad
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.27.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = SOV
				}
			}
		}
	}

	option = {
		name = poland_news.27.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.27.c
		trigger = { original_tag = SOV }
	}
}

news_event = {
	id = poland_news.28
	title = poland_news.28.t
	desc = poland_news.28.d
	picture = GFX_news_missilesOnRoad
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.28.a
		trigger = {
			NOT = {
				OR = {
					original_tag = POL
					original_tag = SOV
				}
			}
		}
	}

	option = {
		name = poland_news.28.b
		trigger = { original_tag = POL }
	}

	option = {
		name = poland_news.28.c
		trigger = { original_tag = SOV }
	}
}

news_event = {
	id = poland_news.29
	title = poland_news.29.t
	desc = poland_news.29.d
	picture = GFX_news_nasa_launch_mars
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.29.a
		trigger = { NOT = { original_tag = POL } }
	}

	option = {
		name = poland_news.29.b
		trigger = { original_tag = POL }
	}
}

news_event = {
	id = poland_news.30
	title = poland_news.30.t
	desc = poland_news.30.d
	picture = GFX_news_crime_fighting
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.30.a
		trigger = { NOT = { original_tag = POL } }
	}

	option = {
		name = poland_news.30.b
		trigger = { original_tag = POL }
	}
}

news_event = {
	id = poland_news.31
	title = poland_news.31.t
	desc = poland_news.31.d
	picture = GFX_news_crime_fighting
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.31.a
		trigger = { NOT = { original_tag = POL } }
	}

	option = {
		name = poland_news.31.b
		trigger = { original_tag = POL }
	}
}

news_event = {
	id = poland_news.32
	title = poland_news.32.t
	desc = poland_news.32.d
	picture = GFX_news_crime_fighting
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.32.a
		trigger = { NOT = { original_tag = POL } }
	}

	option = {
		name = poland_news.32.b
		trigger = { original_tag = POL }
	}
}

news_event = {
	id = poland_news.33
	title = poland_news.33.t
	desc = poland_news.33.d
	picture = GFX_news_pol_army
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.33.a
		trigger = { NOT = { original_tag = POL } }
	}

	option = {
		name = poland_news.33.b
		trigger = { original_tag = POL }
	}
}

news_event = {
	id = poland_news.34
	title = poland_news.34.t
	desc = poland_news.34.d
	picture = GFX_news_generic_soldiers
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.34.a
		trigger = {
			NOT = { original_tag = POL }
			OR = {
				capital_scope = { is_on_continent = europe }
				capital_scope = { is_on_continent = middle_east }
			}
		}
	}

	option = {
		name = poland_news.34.b
		trigger = { original_tag = POL }
	}
}

news_event = {
	id = poland_news.35
	title = poland_news.35.t
	desc = poland_news.35.d
	picture = GFX_news_capitulation
	is_triggered_only = yes
	major = yes

	option = {
		name = poland_news.35.a
		trigger = {
			NOT = { original_tag = POL }
			OR = {
				capital_scope = { is_on_continent = europe }
				capital_scope = { is_on_continent = middle_east }
			}
		}
	}

	option = {
		name = poland_news.35.b
		trigger = { original_tag = POL }
	}
}

### Border conflicts

country_event = {
	id = poland_border_conflict.2
	title = poland_border_conflict.2.t
	desc = poland_border_conflict.2.d
	picture = GFX_politics_salafism
	is_triggered_only = yes

	option = {
		name = poland_border_conflict.2.a
		log = "[GetDateText]: [This.GetName]: poland_border_conflict.2.a executed"
		trigger = { original_tag = POL }
		642 = { transfer_state_to = POL }
	}

	option = {
		name = poland_border_conflict.2.b
		log = "[GetDateText]: [This.GetName]: poland_border_conflict.2.b executed"
		trigger = { original_tag = SOV }
		add_political_power = -100
	}
}

country_event = {
	id = poland_border_conflict.3
	title = poland_border_conflict.3.t
	desc = poland_border_conflict.3.d
	picture = GFX_politics_salafism
	is_triggered_only = yes

	option = {
		name = poland_border_conflict.3.a
		log = "[GetDateText]: [This.GetName]: poland_border_conflict.3.a executed"
		trigger = { original_tag = POL }
		POL = {
			add_war_support = -0.1
			add_political_power = -150
			set_temp_variable = { treasury_change = -40 }
			modify_treasury_effect = yes
		}
	}

	option = {
		name = poland_border_conflict.3.b
		log = "[GetDateText]: [This.GetName]: poland_border_conflict.3.b executed"
		trigger = { original_tag = SOV }
		SOV = {
			add_war_support = 0.1
			add_political_power = 150
			set_temp_variable = { treasury_change = 40 }
			modify_treasury_effect = yes
		}
	}
}

country_event = {
	id = poland_border_conflict.4
	title = poland_border_conflict.4.t
	desc = poland_border_conflict.4.d
	picture = GFX_politics_talks
	is_triggered_only = yes

	option = {
		name = poland_border_conflict.4.a
		log = "[GetDateText]: [This.GetName]: poland_border_conflict.4.a executed"
		trigger = { original_tag = POL }
		add_war_support = -0.05
		add_stability = -0.05
		add_political_power = -50
		642 = { set_demilitarized_zone = yes }
	}

	option = {
		name = poland_border_conflict.4.b
		log = "[GetDateText]: [This.GetName]: poland_border_conflict.4.b executed"
		trigger = { original_tag = SOV }
		add_war_support = -0.04
		add_stability = -0.02
		add_political_power = -20
	}
}

# Polish industrial sovereignty
country_event = {
	id = poland.300
	title = poland.300.t
	desc = poland.300.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = POL_is_state_combines_retained }
		NOT = { has_country_flag = POL_is_combines_privatised }
	}

	option = {
		name = poland.300.a
		log = "[GetDateText]: [Root.GetName]: poland.300.a executed"
		set_temp_variable = { treasury_change = 3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = poland.300.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		} hidden_effect = { rq_eb_b504394b66 = yes }
		set_country_flag = POL_is_combines_privatised
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = poland.300.b
		log = "[GetDateText]: [Root.GetName]: poland.300.b executed"
		add_political_power = -25
		add_tech_bonus = {
			name = poland.300.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		} hidden_effect = { rq_eb_b504394b66 = yes }
		set_country_flag = POL_is_state_combines_retained
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}

country_event = {
	id = poland.301
	title = poland.301.t
	desc = poland.301.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = POL_is_accession_terms_accepted }
		NOT = { has_country_flag = POL_is_accession_terms_resisted }
	}

	option = {
		name = poland.301.a
		log = "[GetDateText]: [Root.GetName]: poland.301.a executed"
		add_tech_bonus = {
			name = poland.301.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		} hidden_effect = { rq_eb_b504394b66 = yes }
		set_country_flag = POL_is_accession_terms_accepted
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = poland.301.b
		log = "[GetDateText]: [Root.GetName]: poland.301.b executed"
		add_political_power = -30
		add_tech_bonus = {
			name = poland.301.t
			bonus = 0.10
			uses = 1
			category = CAT_command_and_control_equipment
		} hidden_effect = { rq_eb_bff1dcf148 = yes }
		set_country_flag = POL_is_accession_terms_resisted
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}

country_event = {
	id = poland.302
	title = poland.302.t
	desc = poland.302.d
	picture = GFX_generic_train_event
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = POL_is_domestic_rolling_stock }
		NOT = { has_country_flag = POL_is_foreign_rolling_stock }
	}

	option = {
		name = poland.302.a
		log = "[GetDateText]: [Root.GetName]: poland.302.a executed"
		set_temp_variable = { treasury_change = -4.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = poland.302.t
			bonus = 0.15
			uses = 1
			category = CAT_industry
		} hidden_effect = { rq_eb_dd86e42890 = yes }
		set_country_flag = POL_is_domestic_rolling_stock
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = poland.302.b
		log = "[GetDateText]: [Root.GetName]: poland.302.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = poland.302.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		} hidden_effect = { rq_eb_b504394b66 = yes }
		set_country_flag = POL_is_foreign_rolling_stock
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = poland.303
	title = poland.303.t
	desc = poland.303.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = POL_is_defence_consolidated }
		NOT = { has_country_flag = POL_is_defence_dispersed }
	}

	option = {
		name = poland.303.a
		log = "[GetDateText]: [Root.GetName]: poland.303.a executed"
		add_political_power = -20
		add_tech_bonus = {
			name = poland.303.t
			bonus = 0.15
			uses = 1
			category = CAT_command_and_control_equipment
		} hidden_effect = { rq_eb_9bbd622bac = yes }
		set_country_flag = POL_is_defence_consolidated
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = poland.303.b
		log = "[GetDateText]: [Root.GetName]: poland.303.b executed"
		add_tech_bonus = {
			name = poland.303.t
			bonus = 0.10
			uses = 1
			category = CAT_command_and_control_equipment
		} hidden_effect = { rq_eb_bff1dcf148 = yes }
		set_country_flag = POL_is_defence_dispersed
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = poland.304
	title = poland.304.t
	desc = poland.304.d
	picture = GFX_powerplant
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = POL_is_energy_independent }
		NOT = { has_country_flag = POL_is_energy_integrated }
	}

	option = {
		name = poland.304.a
		log = "[GetDateText]: [Root.GetName]: poland.304.a executed"
		set_temp_variable = { treasury_change = -5.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = poland.304.t
			bonus = 0.15
			uses = 1
			category = CAT_renewable_energy
		} hidden_effect = { rq_eb_0502977d1a = yes }
		set_country_flag = POL_is_energy_independent
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = poland.304.b
		log = "[GetDateText]: [Root.GetName]: poland.304.b executed"
		add_political_power = 15
		add_tech_bonus = {
			name = poland.304.t
			bonus = 0.10
			uses = 1
			category = CAT_renewable_energy
		} hidden_effect = { rq_eb_2f91af6ede = yes }
		set_country_flag = POL_is_energy_integrated
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = poland.305
	title = poland.305.t
	desc = poland.305.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = { POL_industrial_sovereignty_outcome_settled = no }

	option = {
		name = poland.305.a
		trigger = {
			has_country_flag = POL_is_domestic_rolling_stock
			has_country_flag = POL_is_defence_consolidated
		}
		log = "[GetDateText]: [Root.GetName]: poland.305.a executed"
		effect_tooltip = { add_ideas = POL_sovereign_industrial_republic }
		hidden_effect = { POL_apply_sovereign_industrial_republic = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = poland.305.b
		trigger = {
			NOT = { has_country_flag = POL_is_domestic_rolling_stock }
			has_country_flag = POL_is_defence_consolidated
		}
		log = "[GetDateText]: [Root.GetName]: poland.305.b executed"
		effect_tooltip = { add_ideas = POL_defence_digital_arsenal }
		hidden_effect = { POL_apply_defence_digital_arsenal = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = poland.305.c
		trigger = {
			NOT = { has_country_flag = POL_is_defence_consolidated }
			has_country_flag = POL_is_accession_terms_accepted
		}
		log = "[GetDateText]: [Root.GetName]: poland.305.c executed"
		effect_tooltip = { add_timed_idea = { idea = POL_european_production_hub days = 365 } }
		hidden_effect = { POL_apply_european_production_hub = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = poland.305.e
		trigger = {
			NOT = { has_country_flag = POL_is_defence_consolidated }
			NOT = { has_country_flag = POL_is_accession_terms_accepted }
		}
		log = "[GetDateText]: [Root.GetName]: poland.305.e executed"
		effect_tooltip = { add_timed_idea = { idea = POL_fragmented_assembly_economy days = 365 } }
		hidden_effect = { POL_apply_fragmented_assembly_economy = yes }
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = poland.306
	title = poland.306.t
	desc = poland.306.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = POL_pzl_mielec_sikorsky }
		NOT = { has_country_flag = POL_pzl_mielec_sale_blocked }
	}

	option = {
		name = poland.306.a
		log = "[GetDateText]: [Root.GetName]: poland.306.a executed"
		set_country_flag = POL_pzl_mielec_sikorsky
		unlock_military_industrial_organization_tooltip = mio:POL_pzl_mielec_sikorsky_manufacturer
		custom_effect_tooltip = TT_POL_pzl_mielec_carry_traits
		hidden_effect = {
			if = {
				limit = { mio:POL_polskie_zaklady_lotnicze_mielec_manufacturer = { is_mio_trait_completed = POL_mielec_an2_heritage } }
				mio:POL_pzl_mielec_sikorsky_manufacturer = { complete_mio_trait = POL_mielec_an2_heritage }
			}
			if = {
				limit = { mio:POL_polskie_zaklady_lotnicze_mielec_manufacturer = { is_mio_trait_completed = POL_mielec_m28_skytruck } }
				mio:POL_pzl_mielec_sikorsky_manufacturer = { complete_mio_trait = POL_mielec_m28_skytruck }
			}
			if = {
				limit = { mio:POL_polskie_zaklady_lotnicze_mielec_manufacturer = { is_mio_trait_completed = POL_mielec_m28b_bryza } }
				mio:POL_pzl_mielec_sikorsky_manufacturer = { complete_mio_trait = POL_mielec_m28b_bryza }
			}
			if = {
				limit = { mio:POL_polskie_zaklady_lotnicze_mielec_manufacturer = { is_mio_trait_completed = POL_mielec_stol_field_ops } }
				mio:POL_pzl_mielec_sikorsky_manufacturer = { complete_mio_trait = POL_mielec_stol_field_ops }
			}
			if = {
				limit = { mio:POL_polskie_zaklady_lotnicze_mielec_manufacturer = { is_mio_trait_completed = POL_mielec_lim_licence_works } }
				mio:POL_pzl_mielec_sikorsky_manufacturer = { complete_mio_trait = POL_mielec_lim_licence_works }
			}
			if = {
				limit = { mio:POL_polskie_zaklady_lotnicze_mielec_manufacturer = { is_mio_trait_completed = POL_mielec_ts11_iskra } }
				mio:POL_pzl_mielec_sikorsky_manufacturer = { complete_mio_trait = POL_mielec_ts11_iskra }
			}
			if = {
				limit = { mio:POL_polskie_zaklady_lotnicze_mielec_manufacturer = { is_mio_trait_completed = POL_mielec_i22_iryda } }
				mio:POL_pzl_mielec_sikorsky_manufacturer = { complete_mio_trait = POL_mielec_i22_iryda }
			}
			if = {
				limit = { mio:POL_polskie_zaklady_lotnicze_mielec_manufacturer = { is_mio_trait_completed = POL_mielec_airframe_bureau } }
				mio:POL_pzl_mielec_sikorsky_manufacturer = { complete_mio_trait = POL_mielec_airframe_bureau }
			}
			if = {
				limit = { mio:POL_polskie_zaklady_lotnicze_mielec_manufacturer = { is_mio_trait_completed = POL_mielec_dromader_export } }
				mio:POL_pzl_mielec_sikorsky_manufacturer = { complete_mio_trait = POL_mielec_dromader_export }
			}
			if = {
				limit = { mio:POL_polskie_zaklady_lotnicze_mielec_manufacturer = { is_mio_trait_completed = POL_mielec_toolroom_jigs } }
				mio:POL_pzl_mielec_sikorsky_manufacturer = { complete_mio_trait = POL_mielec_toolroom_jigs }
			}
		}
		ai_chance = { base = 90 }
	}

	option = {
		name = poland.306.b
		log = "[GetDateText]: [Root.GetName]: poland.306.b executed"
		set_country_flag = POL_pzl_mielec_sale_blocked
		mio:POL_polskie_zaklady_lotnicze_mielec_manufacturer = {
			add_mio_funds = 300
			add_mio_funds_gain_factor = 0.05
		}
		ai_chance = { base = 10 }
	}
}
