POL_influence_neighbours_category = {
	POL_support_CZE = {
		fire_only_once = no
		days_re_enable = 120
		cost = 50

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_support_CZE"
			set_temp_variable = { treasury_change = -3.0 }
			modify_treasury_effect = yes
			CZE = {
				if = {
					limit = { NOT = { has_country_flag = received_pol_influence } }
					country_event = poland_influence.1
				}
				else_if = {
					limit = { has_country_flag = accepted_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.07 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 3 }
					change_influence_percentage = yes
				}
				else_if = {
					limit = { has_country_flag = rejected_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.07 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 2 }
					change_influence_percentage = yes
				}
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_support_SLO = {
		fire_only_once = no
		days_re_enable = 120
		cost = 50

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_support_SLO"
			set_temp_variable = { treasury_change = -3.0 }
			modify_treasury_effect = yes
			SLO = {
				if = {
					limit = { NOT = { has_country_flag = received_pol_influence } }
					country_event = poland_influence.1
				}
				else_if = {
					limit = { has_country_flag = accepted_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.07 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 3 }
					change_influence_percentage = yes
				}
				else_if = {
					limit = { has_country_flag = rejected_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.03 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 2 }
					change_influence_percentage = yes
				}
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_support_LIT = {
		fire_only_once = no
		days_re_enable = 120
		cost = 50

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_support_LIT"
			set_temp_variable = { treasury_change = -3.0 }
			modify_treasury_effect = yes
			LIT = {
				if = {
					limit = { NOT = { has_country_flag = received_pol_influence } }
					country_event = poland_influence.1
				}
				else_if = {
					limit = { has_country_flag = accepted_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.07 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 2 }
					change_influence_percentage = yes
				}
				else_if = {
					limit = { has_country_flag = rejected_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.03 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 2 }
					change_influence_percentage = yes
				}
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_support_LAT = {
		fire_only_once = no
		days_re_enable = 120
		cost = 50

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_support_LAT"
			set_temp_variable = { treasury_change = -3.0 }
			modify_treasury_effect = yes
			LAT = {
				if = {
					limit = { NOT = { has_country_flag = received_pol_influence } }
					country_event = poland_influence.1
				}
				else_if = {
					limit = { has_country_flag = accepted_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.07 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 3 }
					change_influence_percentage = yes
				}
				else_if = {
					limit = { has_country_flag = rejected_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.03 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 2 }
					change_influence_percentage = yes
				}
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_support_EST = {
		fire_only_once = no
		days_re_enable = 120
		cost = 50

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_support_EST"
			set_temp_variable = { treasury_change = -3.0 }
			modify_treasury_effect = yes
			EST = {
				if = {
					limit = { NOT = { has_country_flag = received_pol_influence } }
					country_event = poland_influence.1
				}
				else_if = {
					limit = { has_country_flag = accepted_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.07 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 3 }
					change_influence_percentage = yes
				}
				else_if = {
					limit = { has_country_flag = rejected_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.03 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 2 }
					change_influence_percentage = yes
				}
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_support_UKR = {
		fire_only_once = no
		days_re_enable = 120
		cost = 50

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_support_UKR"
			set_temp_variable = { treasury_change = -3.0 }
			modify_treasury_effect = yes
			UKR = {
				if = {
					limit = { NOT = { has_country_flag = received_pol_influence } }
					country_event = poland_influence.1
				}
				else_if = {
					limit = { has_country_flag = accepted_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.07 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 3 }
					change_influence_percentage = yes
				}
				else_if = {
					limit = { has_country_flag = rejected_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.03 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 2 }
					change_influence_percentage = yes
				}
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_support_ROM = {
		fire_only_once = no
		days_re_enable = 120
		cost = 50

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_support_ROM"
			set_temp_variable = { treasury_change = -3.0 }
			modify_treasury_effect = yes
			ROM = {
				if = {
					limit = { NOT = { has_country_flag = received_pol_influence } }
					country_event = poland_influence.1
				}
				else_if = {
					limit = { has_country_flag = accepted_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.07 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 3 }
					change_influence_percentage = yes
				}
				else_if = {
					limit = { has_country_flag = rejected_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.03 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 2 }
					change_influence_percentage = yes
				}
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_support_BLR = {
		fire_only_once = no
		days_re_enable = 120
		cost = 50

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_support_BLR"
			set_temp_variable = { treasury_change = -3.0 }
			modify_treasury_effect = yes
			BLR = {
				if = {
					limit = { NOT = { has_country_flag = received_pol_influence } }
					country_event = poland_influence.1
				}
				else_if = {
					limit = { has_country_flag = accepted_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.07 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 3 }
					change_influence_percentage = yes
				}
				else_if = {
					limit = { has_country_flag = rejected_pol_influence }
					set_temp_variable = { party_index = 20 }
					set_temp_variable = { party_popularity_increase = 0.03 }
					change_relative_party_popularity = yes
					set_temp_variable = { percent_change = 2 }
					change_influence_percentage = yes
				}
			}
		}

		ai_will_do = { base = 0 }
	}
}

POL_military_intervention_category = {
	POL_justify_CZE = {
		war_with_on_remove = CZE
		fire_only_once = yes
		days_remove = 120

		available = {
			country_exists = CZE
			CZE = {
				NOT = {
					OR = {
						nationalist_right_wing_populists_are_in_power = yes
						nationalist_fascist_are_in_power = yes
						is_in_faction_with = POL
					}
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_CZE"
			every_neighbor_country = {
				add_opinion_modifier = { target = PREV modifier = expansionist_agenda }
			}
		}

		modifier = { stability_weekly = -0.01 }
		cost = 200

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_CZE"
			set_temp_variable = { wargoal_on = CZE }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				target = CZE
				type = puppet_wargoal_focus
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_justify_SLO = {
		war_with_on_remove = SLO
		fire_only_once = yes
		days_remove = 120

		available = {
			country_exists = SLO
			SLO = {
				NOT = {
					OR = {
						nationalist_right_wing_populists_are_in_power = yes
						nationalist_fascist_are_in_power = yes
						is_in_faction_with = POL
					}
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_SLO"
			every_neighbor_country = {
				add_opinion_modifier = { target = PREV modifier = expansionist_agenda }
			}
		}

		modifier = { stability_weekly = -0.01 }
		cost = 200

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_SLO"
			set_temp_variable = { wargoal_on = SLO }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				target = SLO
				type = puppet_wargoal_focus
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_justify_LIT = {
		war_with_on_remove = LIT
		fire_only_once = yes
		days_remove = 120

		available = {
			country_exists = LIT
			LIT = {
				NOT = {
					OR = {
						nationalist_right_wing_populists_are_in_power = yes
						nationalist_fascist_are_in_power = yes
						is_in_faction_with = POL
					}
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_LIT"
			every_neighbor_country = {
				add_opinion_modifier = { target = PREV modifier = expansionist_agenda }
			}
		}

		modifier = { stability_weekly = -0.01 }
		cost = 200

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_LIT"
			set_temp_variable = { wargoal_on = LIT }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				target = LIT
				type = puppet_wargoal_focus
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_justify_LAT = {
		war_with_on_remove = LAT
		fire_only_once = yes
		days_remove = 120

		available = {
			country_exists = LAT
			LAT = {
				NOT = {
					OR = {
						nationalist_right_wing_populists_are_in_power = yes
						nationalist_fascist_are_in_power = yes
						is_in_faction_with = POL
					}
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_LAT"
			every_neighbor_country = {
				add_opinion_modifier = { target = PREV modifier = expansionist_agenda }
			}
		}

		modifier = { stability_weekly = -0.01 }
		cost = 200

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_LAT"
			set_temp_variable = { wargoal_on = LAT }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				target = LAT
				type = puppet_wargoal_focus
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_justify_EST = {
		war_with_on_remove = EST
		fire_only_once = yes
		days_remove = 120

		available = {
			country_exists = EST
			EST = {
				NOT = {
					OR = {
						nationalist_right_wing_populists_are_in_power = yes
						nationalist_fascist_are_in_power = yes
						is_in_faction_with = POL
					}
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_EST"
			every_neighbor_country = {
				add_opinion_modifier = { target = PREV modifier = expansionist_agenda }
			}
		}

		modifier = { stability_weekly = -0.01 }
		cost = 200

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_EST"
			set_temp_variable = { wargoal_on = EST }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				target = EST
				type = puppet_wargoal_focus
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_justify_UKR = {
		war_with_on_remove = UKR
		fire_only_once = yes
		days_remove = 120

		available = {
			country_exists = UKR
			UKR = {
				NOT = {
					OR = {
						nationalist_right_wing_populists_are_in_power = yes
						nationalist_fascist_are_in_power = yes
						is_in_faction_with = POL
					}
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_UKR"
			every_neighbor_country = {
				add_opinion_modifier = { target = PREV modifier = expansionist_agenda }
			}
		}

		modifier = { stability_weekly = -0.01 }
		cost = 200

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_UKR"
			set_temp_variable = { wargoal_on = UKR }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				target = UKR
				type = puppet_wargoal_focus
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_justify_ROM = {
		war_with_on_remove = ROM
		fire_only_once = yes
		days_remove = 120

		available = {
			country_exists = ROM
			ROM = {
				NOT = {
					OR = {
						nationalist_right_wing_populists_are_in_power = yes
						nationalist_fascist_are_in_power = yes
						is_in_faction_with = POL
					}
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_ROM"
			every_neighbor_country = {
				add_opinion_modifier = { target = PREV modifier = expansionist_agenda }
			}
		}

		modifier = { stability_weekly = -0.01 }
		cost = 200

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_ROM"
			set_temp_variable = { wargoal_on = ROM }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				target = ROM
				type = puppet_wargoal_focus
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_justify_BLR = {
		war_with_on_remove = BLR
		fire_only_once = yes
		days_remove = 120

		available = {
			country_exists = BLR
			BLR = {
				NOT = {
					OR = {
						nationalist_right_wing_populists_are_in_power = yes
						nationalist_fascist_are_in_power = yes
						is_in_faction_with = POL
					}
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_BLR"
			every_neighbor_country = {
				add_opinion_modifier = { target = PREV modifier = expansionist_agenda }
			}
		}

		modifier = { stability_weekly = -0.01 }
		cost = 200

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_justify_BLR"
			set_temp_variable = { wargoal_on = BLR }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				target = BLR
				type = puppet_wargoal_focus
			}
		}

		ai_will_do = { base = 0 }
	}
}

POL_state_controlled_economy_category = {
	POL_sre_main_countdown_mission = {
		allowed = { always = no }
		available = { always = no }
		fire_only_once = no
		is_good = no
		selectable_mission = no
		days_mission_timeout = 365

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_sre_main_countdown_mission"
			sre_recalculate_year_quotas = yes
			country_event = poland.15
			hidden_effect = { activate_mission = POL_sre_main_countdown_mission }
			POL_gui_dirty_update = yes
		}
	}

	POL_sre_monthly_mission = {
		allowed = { always = no }
		available = { always = no }
		fire_only_once = no
		is_good = yes
		selectable_mission = no
		days_mission_timeout = 29 # becomes 30 with refire

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_sre_monthly_mission"
			sre_calculate_monthly_report = yes
			hidden_effect = { activate_mission = POL_sre_monthly_mission }
			POL_gui_dirty_update = yes
		}
	}
}

POL_revert_others_changes_category = {
	POL_cons_revert = {
		fire_only_once = no
		days_re_enable = 300
		cost = 200
		days_remove = 100

		visible = {
			western_conservatism_are_in_power = yes
			pol_has_cons_incompatibility = yes
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_cons_revert"
			add_stability = 0.05
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_cons_revert"
			set_temp_variable = { effect_days = 0 }
			set_temp_variable = { idea_days_mofifier = 30 }
			if = {
				limit = { has_idea = POL_centralized_rule_idea }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_centralized_rule_idea }
			}
			if = {
				limit = { has_idea = POL_comm_agile_control }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_comm_agile_control }
			}
			if = {
				limit = { has_idea = POL_sre_low_effort }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_low_effort }
			}
			if = {
				limit = { has_idea = POL_sre_medium_effort }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_medium_effort }
			}
			if = {
				limit = { has_idea = POL_sre_max_effort }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_max_effort }
			}
			if = {
				limit = { has_idea = POL_sre_lowest_success }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_lowest_success }
			}
			if = {
				limit = { has_idea = POL_sre_low_success }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_low_success }
			}
			if = {
				limit = { has_idea = POL_sre_medium_success }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_medium_success }
			}
			if = {
				limit = { has_idea = POL_sre_high_success }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_high_success }
			}
			if = {
				limit = { has_idea = POL_sre_highest_success }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_highest_success }
			}
			if = {
				limit = { has_idea = POL_comm_land_reform }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_comm_land_reform }
			}
			if = {
				limit = { has_idea = POL_clergy_opressed }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_clergy_opressed }
			}
			if = {
				limit = { has_idea = POL_liberal_state }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_liberal_state }
			}
			if = {
				limit = { has_idea = POL_reformed_ministry }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_reformed_ministry }
			}
			if = {
				limit = { has_idea = POL_nationalist_research_small }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_nationalist_research_small }
			}
			if = {
				limit = { has_idea = POL_nationalist_research_medium }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_nationalist_research_medium }
			}
			if = {
				limit = { has_idea = POL_nationalist_research_large }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_nationalist_research_large }
			}
			if = {
				limit = { has_idea = POL_paramilitary_organization_idea }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_paramilitary_organization_idea }
			}
			if = {
				limit = { has_idea = POL_military_youth }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_military_youth }
			}
			if = {
				limit = { has_idea = POL_propaganda_ministry_idea }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_propaganda_ministry_idea }
			}
			add_timed_idea = {
				idea = POL_removed_spirits
				days = effect_days
			}
		}

		ai_will_do = { base = 100 }
	}

	POL_liberal_revert = {
		fire_only_once = no
		days_re_enable = 300
		cost = 200
		days_remove = 100

		visible = {
			western_liberals_are_in_power = yes
			pol_has_liberal_incompatibility = yes
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_liberal_revert"
			add_stability = 0.05
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_liberal_revert"
			set_temp_variable = { effect_days = 0 }
			set_temp_variable = { idea_days_mofifier = 30 }
			if = {
				limit = { has_idea = POL_centralized_rule_idea }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_centralized_rule_idea }
			}
			if = {
				limit = { has_idea = POL_comm_agile_control }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_comm_agile_control }
			}
			if = {
				limit = { has_idea = POL_idea_strict_abortion }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_idea_strict_abortion }
			}
			if = {
				limit = { has_idea = POL_sre_low_effort }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_low_effort }
			}
			if = {
				limit = { has_idea = POL_sre_medium_effort }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_medium_effort }
			}
			if = {
				limit = { has_idea = POL_sre_max_effort }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_max_effort }
			}
			if = {
				limit = { has_idea = POL_sre_lowest_success }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_lowest_success }
			}
			if = {
				limit = { has_idea = POL_sre_low_success }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_low_success }
			}
			if = {
				limit = { has_idea = POL_sre_medium_success }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_medium_success }
			}
			if = {
				limit = { has_idea = POL_sre_high_success }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_high_success }
			}
			if = {
				limit = { has_idea = POL_sre_highest_success }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_highest_success }
			}
			if = {
				limit = { has_idea = POL_comm_land_reform }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_comm_land_reform }
			}
			if = {
				limit = { has_idea = POL_fourth_rp }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_fourth_rp }
			}
			if = {
				limit = { has_idea = POL_reformed_ministry }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_reformed_ministry }
			}
			if = {
				limit = { has_idea = POL_nationalist_research_small }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_nationalist_research_small }
			}
			if = {
				limit = { has_idea = POL_nationalist_research_medium }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_nationalist_research_medium }
			}
			if = {
				limit = { has_idea = POL_nationalist_research_large }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_nationalist_research_large }
			}
			if = {
				limit = { has_idea = POL_paramilitary_organization_idea }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_paramilitary_organization_idea }
			}
			if = {
				limit = { has_idea = POL_military_youth }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_military_youth }
			}
			if = {
				limit = { has_idea = POL_propaganda_ministry_idea }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_propaganda_ministry_idea }
			}
			add_timed_idea = {
				idea = POL_removed_spirits
				days = effect_days
			}
		}

		ai_will_do = { base = 100 }
	}

	POL_comm_revert = {
		fire_only_once = no
		days_re_enable = 300
		cost = 200
		days_remove = 100

		visible = {
			emerging_communist_state_are_in_power = yes
			pol_has_communist_incompatibility = yes
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_comm_revert"
			add_stability = 0.05
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_comm_revert"
			set_temp_variable = { effect_days = 0 }
			set_temp_variable = { idea_days_mofifier = 30 }
			if = {
				limit = { has_idea = POL_liberal_state }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_liberal_state }
			}
			if = {
				limit = { has_idea = POL_reformed_ministry }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_reformed_ministry }
			}
			if = {
				limit = { has_idea = POL_nationalist_research_small }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_nationalist_research_small }
			}
			if = {
				limit = { has_idea = POL_nationalist_research_medium }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_nationalist_research_medium }
			}
			if = {
				limit = { has_idea = POL_nationalist_research_large }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_nationalist_research_large }
			}
			if = {
				limit = { has_idea = POL_paramilitary_organization_idea }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_paramilitary_organization_idea }
			}
			if = {
				limit = { has_idea = POL_military_youth }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_military_youth }
			}
			if = {
				limit = { has_idea = POL_propaganda_ministry_idea }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_propaganda_ministry_idea }
			}
			if = {
				limit = { has_idea = POL_fourth_rp }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_fourth_rp }
			}
			if = {
				limit = { has_idea = POL_new_ideals_idea }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_new_ideals_idea }
			}
			if = {
				limit = { has_idea = POL_ifv_production }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_ifv_production }
			}
			if = {
				limit = { has_idea = POL_new_farms_market }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_new_farms_market }
			}
			if = {
				limit = { has_idea = POL_fixed_brain_drain }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_fixed_brain_drain }
			}
			if = {
				limit = { has_idea = POL_eu_state }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_eu_state }
			}
			add_timed_idea = {
				idea = POL_removed_spirits
				days = effect_days
			}
		}

		ai_will_do = { base = 100 }
	}

	POL_anarchist_revert = {
		fire_only_once = no
		days_re_enable = 300
		cost = 200
		days_remove = 100

		visible = {
			emerging_anarchist_communism_are_in_power = yes
			pol_has_anarchist_incompatibility = yes
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_anarchist_revert"
			add_stability = 0.05
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_anarchist_revert"
			set_temp_variable = { effect_days = 0 }
			set_temp_variable = { idea_days_mofifier = 30 }
			if = {
				limit = { has_idea = POL_liberal_state }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_liberal_state }
			}
			if = {
				limit = { has_idea = POL_reformed_ministry }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_reformed_ministry }
			}
			if = {
				limit = { has_idea = POL_nationalist_research_small }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_nationalist_research_small }
			}
			if = {
				limit = { has_idea = POL_nationalist_research_medium }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_nationalist_research_medium }
			}
			if = {
				limit = { has_idea = POL_nationalist_research_large }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_nationalist_research_large }
			}
			if = {
				limit = { has_idea = POL_paramilitary_organization_idea }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_paramilitary_organization_idea }
			}
			if = {
				limit = { has_idea = POL_military_youth }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_military_youth }
			}
			if = {
				limit = { has_idea = POL_propaganda_ministry_idea }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_propaganda_ministry_idea }
			}
			if = {
				limit = { has_idea = POL_fourth_rp }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_fourth_rp }
			}
			if = {
				limit = { has_idea = POL_new_ideals_idea }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_new_ideals_idea }
			}
			if = {
				limit = { has_idea = POL_ifv_production }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_ifv_production }
			}
			if = {
				limit = { has_idea = POL_new_farms_market }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_new_farms_market }
			}
			if = {
				limit = { has_idea = POL_fixed_brain_drain }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_fixed_brain_drain }
			}
			if = {
				limit = { has_idea = POL_eu_state }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_eu_state }
			}
			if = {
				limit = { has_idea = POL_centralized_rule_idea }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_centralized_rule_idea }
			}
			if = {
				limit = { has_idea = POL_comm_agile_control }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_comm_agile_control }
			}
			add_timed_idea = {
				idea = POL_removed_spirits
				days = effect_days
			}
		}

		ai_will_do = { base = 100 }
	}

	POL_nationalist_revert = {
		fire_only_once = no
		days_re_enable = 300
		cost = 200
		days_remove = 100

		visible = {
			OR = {
				nationalist_right_wing_populists_are_in_power = yes
				nationalist_fascist_are_in_power = yes
			}
			pol_has_nationalist_incompatibility = yes
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_nationalist_revert"
			add_stability = 0.05
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_nationalist_revert"
			set_temp_variable = { effect_days = 0 }
			set_temp_variable = { idea_days_mofifier = 30 }
			if = {
				limit = { has_idea = POL_liberal_state }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_liberal_state }
			}
			if = {
				limit = { has_idea = POL_fourth_rp }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_fourth_rp }
			}
			if = {
				limit = { has_idea = POL_new_ideals_idea }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_new_ideals_idea }
			}
			if = {
				limit = { has_idea = POL_ifv_production }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_ifv_production }
			}
			if = {
				limit = { has_idea = POL_new_farms_market }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_new_farms_market }
			}
			if = {
				limit = { has_idea = POL_fixed_brain_drain }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_fixed_brain_drain }
			}
			if = {
				limit = { has_idea = POL_eu_state }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_eu_state }
			}
			if = {
				limit = { has_idea = POL_centralized_rule_idea }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_centralized_rule_idea }
			}
			if = {
				limit = { has_idea = POL_comm_agile_control }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_comm_agile_control }
			}
			if = {
				limit = { has_idea = POL_sre_low_effort }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_low_effort }
			}
			if = {
				limit = { has_idea = POL_sre_medium_effort }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_medium_effort }
			}
			if = {
				limit = { has_idea = POL_sre_max_effort }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_max_effort }
			}
			if = {
				limit = { has_idea = POL_sre_lowest_success }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_lowest_success }
			}
			if = {
				limit = { has_idea = POL_sre_low_success }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_low_success }
			}
			if = {
				limit = { has_idea = POL_sre_medium_success }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_medium_success }
			}
			if = {
				limit = { has_idea = POL_sre_high_success }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_high_success }
			}
			if = {
				limit = { has_idea = POL_sre_highest_success }
				add_to_variable = { effect_days = idea_days_mofifier }
				remove_ideas = { POL_sre_highest_success }
			}
			add_timed_idea = {
				idea = POL_removed_spirits
				days = effect_days
			}
		}

		ai_will_do = { base = 100 }
	}
}

POL_monuments_removal_category = {
	POL_remove_in_mazovia = {
		days_remove = 30
		icon = GFX_decision_generic_construction
		visible = { has_completed_focus = POL_removal_of_communist_monuments }
		fire_only_once = yes
		on_map_mode = map_and_decisions_view
		highlight_states = { highlight_state_targets = { state = 114 } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_remove_in_mazovia"
			add_political_power = 15
			add_stability = 0.01
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_remove_in_west_pomerelia = {
		days_remove = 30
		icon = GFX_decision_generic_construction
		visible = { has_completed_focus = POL_removal_of_communist_monuments }
		fire_only_once = yes
		on_map_mode = map_and_decisions_view
		highlight_states = { highlight_state_targets = { state = 474 } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_remove_in_west_pomerelia"
			add_political_power = 15
			add_stability = 0.01
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_remove_in_pomerelia = {
		days_remove = 30
		icon = GFX_decision_generic_construction
		visible = { has_completed_focus = POL_removal_of_communist_monuments }
		fire_only_once = yes
		on_map_mode = map_and_decisions_view
		highlight_states = { highlight_state_targets = { state = 113 } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_remove_in_pomerelia"
			add_political_power = 15
			add_stability = 0.01
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_remove_in_warmia = {
		days_remove = 30
		icon = GFX_decision_generic_construction
		visible = { has_completed_focus = POL_removal_of_communist_monuments }
		fire_only_once = yes
		on_map_mode = map_and_decisions_view
		highlight_states = { highlight_state_targets = { state = 116 } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_remove_in_warmia"
			add_political_power = 15
			add_stability = 0.01
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_remove_in_podlasie = {
		days_remove = 30
		icon = GFX_decision_generic_construction
		visible = { has_completed_focus = POL_removal_of_communist_monuments }
		fire_only_once = yes
		on_map_mode = map_and_decisions_view
		highlight_states = { highlight_state_targets = { state = 1014 } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_remove_in_podlasie"
			add_political_power = 15
			add_stability = 0.01
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_remove_in_lubusz = {
		days_remove = 30
		icon = GFX_decision_generic_construction
		visible = { has_completed_focus = POL_removal_of_communist_monuments }
		fire_only_once = yes
		on_map_mode = map_and_decisions_view
		highlight_states = { highlight_state_targets = { state = 625 } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_remove_in_lubusz"
			add_political_power = 15
			add_stability = 0.01
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_remove_in_wielkopolska = {
		days_remove = 30
		icon = GFX_decision_generic_construction
		visible = { has_completed_focus = POL_removal_of_communist_monuments }
		fire_only_once = yes
		on_map_mode = map_and_decisions_view
		highlight_states = { highlight_state_targets = { state = 111 } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_remove_in_wielkopolska"
			add_political_power = 15
			add_stability = 0.01
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_remove_in_lower_silesia = {
		days_remove = 30
		icon = GFX_decision_generic_construction
		visible = { has_completed_focus = POL_removal_of_communist_monuments }
		fire_only_once = yes
		on_map_mode = map_and_decisions_view
		highlight_states = { highlight_state_targets = { state = 626 } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_remove_in_lower_silesia"
			add_political_power = 15
			add_stability = 0.01
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_remove_in_silesia = {
		days_remove = 30
		icon = GFX_decision_generic_construction
		visible = { has_completed_focus = POL_removal_of_communist_monuments }
		fire_only_once = yes
		on_map_mode = map_and_decisions_view
		highlight_states = { highlight_state_targets = { state = 115 } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_remove_in_silesia"
			add_political_power = 15
			add_stability = 0.01
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_remove_in_lodz = {
		days_remove = 30
		icon = GFX_decision_generic_construction
		visible = { has_completed_focus = POL_removal_of_communist_monuments }
		fire_only_once = yes
		on_map_mode = map_and_decisions_view
		highlight_states = { highlight_state_targets = { state = 433 } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_remove_in_lodz"
			add_political_power = 15
			add_stability = 0.01
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_remove_in_malopolska = {
		days_remove = 30
		icon = GFX_decision_generic_construction
		visible = { has_completed_focus = POL_removal_of_communist_monuments }
		fire_only_once = yes
		on_map_mode = map_and_decisions_view
		highlight_states = { highlight_state_targets = { state = 112 } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_remove_in_malopolska"
			add_political_power = 15
			add_stability = 0.01
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_remove_in_subcarpathia = {
		days_remove = 30
		icon = GFX_decision_generic_construction
		visible = { has_completed_focus = POL_removal_of_communist_monuments }
		fire_only_once = yes
		on_map_mode = map_and_decisions_view
		highlight_states = { highlight_state_targets = { state = 628 } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_remove_in_subcarpathia"
			add_political_power = 15
			add_stability = 0.01
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_remove_in_galicia = {
		days_remove = 30
		icon = GFX_decision_generic_construction
		visible = { has_completed_focus = POL_removal_of_communist_monuments }
		fire_only_once = yes
		on_map_mode = map_and_decisions_view
		highlight_states = { highlight_state_targets = { state = 1098 } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_remove_in_galicia"
			add_political_power = 15
			add_stability = 0.01
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}
}

POL_visegrad_unification_category = {
	POL_political_speech = {
		days_remove = 14
		icon = GFX_decision_generic_speech
		days_re_enable = 3
		visible = { NOT = { has_country_flag = POL_united_czech } }
		fire_only_once = no
		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_political_speech"
			add_to_variable = { THIS.support = 10 }
			clamp_variable = {
				var = THIS.support
				min = 0
				max = 100
			}
			add_to_variable = { THIS.support = 10 }
			clamp_variable = {
				var = THIS.support
				min = 0
				max = 100
			}
			custom_effect_tooltip = POL_add_10_CZE_support_TT
		}

		ai_will_do = { base = 125 }
	}

	POL_military_funding = {
		days_remove = 21
		icon = GFX_decision_generic_army_support
		days_re_enable = 7

		available = {
			POL = {
				has_equipment = { infantry_weapons_4 > 999 }
				custom_trigger_tooltip = {
					tooltip = POL_has_CZE_support_25_TT
					check_variable = { THIS.support > 24 }
					check_variable = { THIS.support < 100 }
				}
			}
		}

		cancel_trigger = { POL = { has_equipment = { infantry_weapons_4 < 1000 } } }
		visible = { NOT = { has_country_flag = POL_united_czech } }
		fire_only_once = no
		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_military_funding"
			add_to_variable = { THIS.support = 10 }
			clamp_variable = {
				var = THIS.support
				min = 0
				max = 100
			}
			add_to_variable = { THIS.support = 10 }
			clamp_variable = {
				var = THIS.support
				min = 0
				max = 100
			}
			set_temp_variable = { treasury_change = -5 }
			modify_treasury_effect = yes
			send_equipment = {
				equipment = infantry_weapons_1
				amount = 1000
				target = CZE
			}
			custom_effect_tooltip = POL_add_10_CZE_support_TT
		}

		ai_will_do = { base = 125 }
	}

	POL_support_economy = {
		days_remove = 28
		icon = GFX_decision_generic_factory
		days_re_enable = 7
		visible = { NOT = { has_country_flag = POL_united_czech } }
		fire_only_once = no

		available = {
			POL = {
				custom_trigger_tooltip = {
					tooltip = POL_has_CZE_support_40_TT
					check_variable = { THIS.support > 39 }
					check_variable = { THIS.support < 100 }
				}
			}
		}

		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_support_economy"
			add_to_variable = { THIS.support = 15 }
			clamp_variable = {
				var = THIS.support
				min = 0
				max = 100
			}
			add_to_variable = { THIS.support = 15 }
			clamp_variable = {
				var = THIS.support
				min = 0
				max = 100
			}
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
			CZE = {
				random_controlled_state = {
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 0
						}
					}
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				set_temp_variable = { treasury_change = 3 }
				modify_treasury_effect = yes
			}
			custom_effect_tooltip = POL_add_15_CZE_support_TT
		}

		ai_will_do = { base = 125 }
	}

	POL_personal_union = {
		days_remove = 120
		icon = GFX_decision_hol_exchange_intelligence_data

		available = {
			POL = {
				custom_trigger_tooltip = {
					tooltip = POL_has_CZE_support_90_TT
					check_variable = { THIS.support > 89 }
				}
			}
			CZE = {
				exists = yes
				is_subject = no
				has_opinion = {
					target = POL
					value > 89
				}
			}
		}

		fire_only_once = yes
		cost = 150

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_personal_union"
			CZE = { country_event = poland.19 }
			hidden_effect = {
				remove_decision = POL_support_economy
				remove_decision = POL_political_speech
				remove_decision = POL_military_funding
				set_country_flag = POL_united_czech
			}
		}

		cancel_trigger = { CZE = { is_subject = yes } }
		ai_will_do = { base = 150 }
	}
}

POL_visegrad_unification2_category = {
	POL_political_speech2 = {
		days_remove = 14
		icon = GFX_decision_generic_speech
		days_re_enable = 3
		visible = { NOT = { has_country_flag = POL_united_slovakia } }
		fire_only_once = no
		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_political_speech2"
			add_to_variable = { THIS.support2 = 10 }
			clamp_variable = {
				var = THIS.support2
				min = 0
				max = 100
			}
			add_to_variable = { THIS.support2 = 10 }
			clamp_variable = {
				var = THIS.support2
				min = 0
				max = 100
			}
			custom_effect_tooltip = POL_add_10_SLO_support_TT
		}

		ai_will_do = { base = 125 }
	}

	POL_support_for_industry_research = {
		days_remove = 21
		icon = GFX_decision_generic_research

		available = {
			POL = {
				custom_trigger_tooltip = {
					tooltip = POL_has_CZE_support_25_TT
					check_variable = { THIS.support2 > 24 }
					check_variable = { THIS.support2 < 100 }
				}
			}
		}

		visible = { NOT = { has_country_flag = POL_united_slovakia } }
		fire_only_once = yes
		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_support_for_industry_research"
			add_to_variable = { THIS.support2 = 10 }
			clamp_variable = {
				var = THIS.support2
				min = 0
				max = 100
			}
			add_to_variable = { THIS.support2 = 10 }
			clamp_variable = {
				var = THIS.support2
				min = 0
				max = 100
			}
			SLO = {
				add_tech_bonus = {
					name = POL_support_for_industry_research
					bonus = 0.4
					uses = 1
					category = CAT_industry
				} hidden_effect = { rq_eb_98b4e178da = yes }
			}
			set_temp_variable = { treasury_change = -5 }
			modify_treasury_effect = yes
			custom_effect_tooltip = POL_add_10_SLO_support_TT
		}

		ai_will_do = { base = 125 }
	}

	POL_support_for_military_research = {
		days_remove = 21
		icon = GFX_decision_generic_research

		available = {
			POL = {
				custom_trigger_tooltip = {
					tooltip = POL_has_CZE_support_25_TT
					check_variable = { THIS.support2 > 24 }
					check_variable = { THIS.support2 < 100 }
				}
			}
		}

		visible = { NOT = { has_country_flag = POL_united_slovakia } }
		fire_only_once = yes
		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_support_for_military_research"
			add_to_variable = { THIS.support2 = 10 }
			clamp_variable = {
				var = THIS.support2
				min = 0
				max = 100
			}
			add_to_variable = { THIS.support2 = 10 }
			clamp_variable = {
				var = THIS.support2
				min = 0
				max = 100
			}
			SLO = {
				add_tech_bonus = {
					name = POL_support_for_military_research
					bonus = 0.2
					uses = 2
					category = CAT_infantry
				} hidden_effect = { rq_eb_3697c44f52 = yes }
			}
			set_temp_variable = { treasury_change = -5 }
			modify_treasury_effect = yes
			custom_effect_tooltip = POL_add_10_SLO_support_TT
		}

		ai_will_do = { base = 125 }
	}

	POL_military_exercises = {
		days_remove = 35
		icon = GFX_decision_eng_blackshirt_march
		days_re_enable = 7

		available = {
			POL = {
				custom_trigger_tooltip = {
					tooltip = POL_has_CZE_support_50_TT
					check_variable = { THIS.support2 > 49 }
					check_variable = { THIS.support2 < 100 }
				}
			}
		}

		visible = { NOT = { has_country_flag = POL_united_slovakia } }
		fire_only_once = no
		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_military_exercises"
			add_to_variable = { THIS.support2 = 20 }
			clamp_variable = {
				var = THIS.support2
				min = 0
				max = 100
			}
			add_to_variable = { THIS.support2 = 20 }
			clamp_variable = {
				var = THIS.support2
				min = 0
				max = 100
			}
			army_experience = 50
			SLO = { army_experience = 50 }
			custom_effect_tooltip = POL_add_20_SLO_support_TT
		}

		ai_will_do = { base = 125 }
	}

	POL_slovakia_unification = {
		days_remove = 120
		icon = GFX_decision_hol_exchange_intelligence_data

		available = {
			POL = {
				custom_trigger_tooltip = {
					tooltip = POL_has_CZE_support_90_TT
					check_variable = { THIS.support2 > 89 }
				}
			}
			SLO = {
				exists = yes
				is_subject = no
				has_opinion = {
					target = POL
					value > 89
				}
			}
		}

		visible = { has_completed_focus = POL_closeup_of_the_visegrad_group }
		fire_only_once = yes
		cost = 150

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_slovakia_unification"
			SLO = { country_event = poland.20 }
			hidden_effect = {
				remove_decision = POL_political_speech2
				remove_decision = POL_support_for_industry_research
				remove_decision = POL_support_for_military_research
				remove_decision = POL_military_exercises
				set_country_flag = POL_united_slovakia
			}
		}

		cancel_trigger = { SLO = { is_subject = yes } }
		ai_will_do = { base = 150 }
	}
}

POL_visegrad_unification3_category = {
	POL_political_speech3 = {
		days_remove = 14
		icon = GFX_decision_generic_speech
		days_re_enable = 3
		visible = { NOT = { has_country_flag = POL_united_hungary } }
		fire_only_once = no
		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_political_speech3"
			add_to_variable = { THIS.support3 = 5 }
			clamp_variable = {
				var = THIS.support3
				min = 0
				max = 100
			}
			add_to_variable = { THIS.support3 = 5 }
			clamp_variable = {
				var = THIS.support3
				min = 0
				max = 100
			}
			custom_effect_tooltip = POL_add_5_HUN_support_TT
		}

		ai_will_do = { base = 125 }
	}

	POL_increased_security = {
		days_remove = 28
		icon = GFX_decision_generic_police_action
		days_re_enable = 7

		available = {
			POL = {
				custom_trigger_tooltip = {
					tooltip = POL_has_CZE_support_25_TT
					check_variable = { THIS.support3 > 24 }
				}
			}
		}

		visible = { NOT = { has_country_flag = POL_united_hungary } }
		fire_only_once = no
		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_increased_security"
			add_to_variable = { THIS.support3 = 15 }
			clamp_variable = {
				var = THIS.support3
				min = 0
				max = 100
			}
			HUN = { add_stability = 0.05 }
			set_temp_variable = { treasury_change = -5 }
			modify_treasury_effect = yes
			custom_effect_tooltip = POL_add_15_HUN_support_TT
		}

		ai_will_do = { base = 125 }
	}

	POL_increase_position_in_the_world = {
		days_remove = 28
		icon = GFX_decision_generic_civil_support

		available = {
			POL = {
				custom_trigger_tooltip = {
					tooltip = POL_has_CZE_support_25_TT
					check_variable = { THIS.support3 > 24 }
				}
			}
		}

		visible = { NOT = { has_country_flag = POL_united_hungary } }
		fire_only_once = yes
		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_increase_position_in_the_world"
			add_to_variable = { THIS.support3 = 25 }
			clamp_variable = {
				var = THIS.support3
				min = 0
				max = 100
			}
			HUN = { add_political_power = 100 }
			custom_effect_tooltip = POL_add_25_HUN_support_TT
		}

		ai_will_do = { base = 125 }
	}

	POL_equal_rights = {
		days_remove = 28
		icon = GFX_decision_generic_political_discourse

		available = {
			POL = {
				custom_trigger_tooltip = {
					tooltip = POL_has_CZE_support_25_TT
					check_variable = { THIS.support3 > 24 }
				}
			}
		}

		visible = { NOT = { has_country_flag = POL_united_hungary } }
		fire_only_once = yes
		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_equal_rights"
			add_to_variable = { THIS.support3 = 25 }
			clamp_variable = {
				var = THIS.support3
				min = 0
				max = 100
			}
			add_to_variable = { THIS.support3 = 25 }
			clamp_variable = {
				var = THIS.support3
				min = 0
				max = 100
			}
			HUN = {
				add_opinion_modifier = {
					target = POL
					modifier = POL_equal_rights_modifier
				}
			}
			custom_effect_tooltip = POL_add_25_HUN_support_TT
		}

		ai_will_do = { base = 125 }
	}

	POL_hungarian_unification = {
		days_remove = 120
		icon = GFX_decision_hol_exchange_intelligence_data

		available = {
			POL = {
				custom_trigger_tooltip = {
					tooltip = POL_has_CZE_support_90_TT
					check_variable = { THIS.support3 > 89 }
				}
			}
			HUN = {
				exists = yes
				is_subject = no
				has_opinion = {
					target = POL
					value > 89
				}
			}
		}

		fire_only_once = yes
		cost = 150

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_hungarian_unification"
			HUN = { country_event = poland.21 }
			hidden_effect = {
				remove_decision = POL_political_speech3
				remove_decision = POL_increased_security
				remove_decision = POL_increase_position_in_the_world
				remove_decision = POL_equal_rights
				set_country_flag = POL_united_hungary
			}
		}

		cancel_trigger = { HUN = { is_subject = yes } }
		ai_will_do = { base = 150 }
	}
}

POL_visegrad_unification4_category = {
	POL_info = {
		icon = GFX_decision_eng_propaganda_campaigns
		available = { always = no }
	}

	POL_visegrad_breakup = {
		activation = {
			has_cosmetic_tag = POL_QUAD
			OR = {
				check_variable = { THIS.CZEunhappy = 100 }
				check_variable = { THIS.SLOunhappy = 100 }
				check_variable = { THIS.HUNunhappy = 100 }
			}
		}

		icon = GFX_decision_eng_propaganda_campaigns #placeholder
		is_good = no
		days_mission_timeout = 0
		selectable_mission = no
		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_visegrad_breakup"
			release = CZE
			release = HUN
			release = SLO
			remove_ideas = {
				POL_united_visehgrad_idea
				POL_united_visegrad2_idea
				POL_united_visegrad3_idea
				POL_united_visegrad4_idea
				POL_viser_idea
			}
			if = {
				limit = {
					NOT = {
						OR = {
							has_global_flag = GAME_RULE_nato_disabled
							USA = {
								OR = {
									has_war_with = CZE
									has_war_with = HUN
								}
							}
						}
					}
				}
				USA = {
					add_to_faction = CZE
					add_to_faction = HUN
				}
			}
			if = {
				limit = { SLO = { has_idea = NATO_member } }
				USA = { add_to_faction = SLO }
			}
			add_stability = -0.3
			release = CZE
			release = HUN
			release = SLO
			remove_ideas = {
				POL_united_visehgrad_idea
				POL_united_visegrad2_idea
				POL_united_visegrad3_idea
				POL_united_visegrad4_idea
				POL_viser_idea
			}
			if = {
				limit = {
					NOT = {
						OR = {
							has_global_flag = GAME_RULE_nato_disabled
							USA = {
								OR = {
									has_war_with = CZE
									has_war_with = HUN
								}
							}
						}
					}
				}
				USA = {
					add_to_faction = CZE
					add_to_faction = HUN
				}
			}
			if = {
				limit = { SLO = { has_idea = NATO_member } }
				USA = { add_to_faction = SLO }
			}
			add_stability = -0.3
			drop_cosmetic_tag = yes
			clear_variable = dynamic_flag_variant
			news_event = poland_news.9
		}
	}
}

POL_territorial_defense_forces_category = {
	POL_create_3_units = {
		custom_cost_trigger = { command_power > 20 }
		custom_cost_text = command_power_more_than_20
		days_remove = 90
		icon = GFX_decision_generic_army_support
		visible = { has_completed_focus = POL_creation_of_the_territorial_defense_forces }
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_create_3_units"
			hidden_effect = {
				if = {
					limit = { NOT = { has_template = "Piechota" } }
					division_template = {
						name = "Piechota"
						division_names_group = POL_ARM_02
						regiments = {
							L_Inf_Bat = { x = 0 y = 0 }
							L_Inf_Bat = { x = 0 y = 1 }
							L_Inf_Bat = { x = 0 y = 2 }
						}
						support = {
							Arty_Battery = { x = 0 y = 0 }
						}
					}
				}
				capital_scope = {
					create_unit = {
						division = "name = \"Piechota Obrony Terytorialnej\" division_template = \"Piechota\" start_experience_factor = 0.7 start_equipment_factor = 1.0"
						owner = ROOT
						count = 3
					}
				}
			}
			add_command_power = -25
			custom_effect_tooltip = POL_add_3_units_TT
			set_temp_variable = { treasury_change = -8 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_create_2_units = {
		custom_cost_trigger = { command_power > 20 }
		custom_cost_text = command_power_more_than_20
		days_remove = 90
		icon = GFX_decision_generic_civil_support
		visible = { has_completed_focus = POL_creation_of_the_territorial_defense_forces }
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_create_2_units"
			hidden_effect = {
				if = {
					limit = { NOT = { has_template = "Dywizja Kawalerii Pancernej" } }
					if = {
						limit = { has_dlc = "No Step Back" }
						division_template = {
							name = "Dywizja Kawalerii Pancernej"
							division_names_group = POL_ARM_03
							regiments = {
								armor_Bat = { x = 0 y = 0 }
								armor_Bat = { x = 0 y = 1 }
								armor_Bat = { x = 0 y = 2 }
								armor_Bat = { x = 1 y = 0 }
								armor_Bat = { x = 1 y = 1 }
								armor_Bat = { x = 1 y = 2 }
								Arm_Inf_Bat = { x = 2 y = 0 }
								Arm_Inf_Bat = { x = 2 y = 1 }
								Arm_Inf_Bat = { x = 2 y = 2 }
								SP_Arty_Bat = { x = 3 y = 0 }
								SP_Arty_Bat = { x = 3 y = 1 }
								attack_helo_bat = { x = 3 y = 2 }
								SP_Arty_Bat = { x = 4 y = 0 }
								SP_Arty_Bat = { x = 4 y = 1 }
								SP_Arty_Bat = { x = 4 y = 2 }
							}
							regimental_support = {
								armor_Recce_Comp = { x = 0 y = 0 }
							}
							support = {
								H_Engi_Comp = { x = 0 y = 0 }
								combat_service_support_company = { x = 0 y = 1 }
								SP_AA_Battery = { x = 0 y = 2 }
							}
							priority = 2
						}
					}
					else = {
						division_template = {
							name = "Dywizja Kawalerii Pancernej"
							division_names_group = POL_ARM_03
							regiments = {
								armor_Bat = { x = 0 y = 0 }
								armor_Bat = { x = 0 y = 1 }
								Mech_Inf_Bat = { x = 0 y = 2 }
								SP_Arty_Bat = { x = 3 y = 0 }
								armor_Bat = { x = 1 y = 0 }
								armor_Bat = { x = 1 y = 1 }
								Mech_Inf_Bat = { x = 1 y = 2 }
								SP_Arty_Bat = { x = 2 y = 0 }
								SP_AA_Bat = { x = 2 y = 1 }
							}
							regimental_support = {
								Mech_Recce_Comp = { x = 0 y = 0 }
							}
							support = {
								H_Engi_Comp = { x = 0 y = 0 }
							}
							priority = 2
						}
					}
				}
				capital_scope = {
					create_unit = {
						division = "name = \"Pancerna Brygada Obrony Terytorialnej\" division_template = \"Dywizja Kawalerii Pancernej\" start_experience_factor = 0.7 start_equipment_factor = 1.0"
						owner = ROOT
						count = 2
					}
				}
			}
			add_command_power = -25
			custom_effect_tooltip = POL_add_2_units_TT
			set_temp_variable = { treasury_change = -12 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_know_your_territory = {
		cost = 50
		days_remove = 75
		icon = GFX_decision_generic_operation
		visible = { has_completed_focus = POL_creation_of_the_territorial_defense_forces }
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_know_your_territory"
			add_timed_idea = { idea = POL_homeland_defense_idea days = 1095 }
			set_temp_variable = { treasury_change = -5 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_strengthen_east_border = {
		icon = GFX_decision_generic_fortification
		visible = { has_completed_focus = POL_creation_of_the_territorial_defense_forces }
		available = { NOT = { has_country_flag = POL_west_border } }
		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_strengthen_east_border"
			custom_effect_tooltip = POL_strengthen_east_border_TT
			set_country_flag = POL_east_border
		}

		ai_will_do = { base = 50 }
	}

	POL_build_bunkers_ahead_belarusian_border = {
		cost = 65
		days_remove = 110
		icon = GFX_decision_eng_trade_unions_demand
		visible = { has_country_flag = POL_east_border }
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_build_bunkers_ahead_belarusian_border"
			hidden_effect = {
				1014 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							all_provinces = yes
							limit_to_border_country = BLR
						}
					}
				}
				628 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							all_provinces = yes
							limit_to_border_country = BLR
						}
					}
				}
			}
			reverse_add_opinion_modifier = {
				target = BLR
				modifier = POL_fencing_of_the_border
			}
			custom_effect_tooltip = POL_strengthen_dec2_TT
			set_temp_variable = { treasury_change = -20 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_build_bunkers_ahead_ukrainian_border = {
		cost = 65
		days_remove = 110
		icon = GFX_decision_eng_trade_unions_demand
		visible = { has_country_flag = POL_east_border }
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_build_bunkers_ahead_ukrainian_border"
			hidden_effect = {
				1098 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							all_provinces = yes
							limit_to_border_country = UKR
						}
					}
				}
				628 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							all_provinces = yes
							limit_to_border_country = UKR
						}
					}
				}
			}
			reverse_add_opinion_modifier = {
				target = UKR
				modifier = POL_fencing_of_the_border
			}
			custom_effect_tooltip = POL_strengthen_dec3_TT
			set_temp_variable = { treasury_change = -25 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_strengthen_west_border = {
		icon = GFX_decision_generic_fortification
		visible = { has_completed_focus = POL_creation_of_the_territorial_defense_forces }
		available = { NOT = { has_country_flag = POL_east_border } }
		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_strengthen_west_border"
			custom_effect_tooltip = POL_strengthen_west_border_TT
			set_country_flag = POL_west_border
		}

		ai_will_do = { base = 50 }
	}

	POL_build_bunkers_ahead_german_border = {
		cost = 65
		days_remove = 110
		icon = GFX_decision_eng_trade_unions_demand
		visible = { has_country_flag = POL_west_border }
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_build_bunkers_ahead_german_border"
			hidden_effect = {
				474 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							all_provinces = yes
							limit_to_border_country = GER
						}
					}
				}
				625 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							all_provinces = yes
							limit_to_border_country = GER
						}
					}
				}
				626 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							all_provinces = yes
							limit_to_border_country = GER
						}
					}
				}
			}
			reverse_add_opinion_modifier = {
				target = GER
				modifier = POL_fencing_of_the_border
			}
			custom_effect_tooltip = POL_strengthen_dec4_TT
			set_temp_variable = { treasury_change = -25 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_buy_russian_equipment = {
		cost = 80
		days_remove = 70
		icon = GFX_decision_eng_trade_unions_demand
		visible = { has_country_flag = POL_west_border }
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_buy_russian_equipment"
			add_equipment_to_stockpile = {
				type = infantry_weapons_2
				amount = 1000
				producer = SOV
			}
			reverse_add_opinion_modifier = {
				target = SOV
				modifier = POL_poland_buys_our_equipment
			}
			reverse_add_opinion_modifier = {
				target = USA
				modifier = POL_poland_buys_russian_equipment
			}
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}
}

POL_k2pl_export = {
	POL_export_to_germany = {
		cost = 40
		days_remove = 40
		icon = GFX_decision_eng_trade_unions_demand
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_export_to_germany"
			GER = { country_event = poland.22 }
		}

		ai_will_do = { base = 50 }
	}

	POL_export_to_france = {
		cost = 40
		days_remove = 40
		icon = GFX_decision_eng_trade_unions_demand
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_export_to_france"
			FRA = { country_event = poland.22 }
		}

		ai_will_do = { base = 50 }
	}

	POL_export_to_italy = {
		cost = 40
		days_remove = 40
		icon = GFX_decision_eng_trade_unions_demand
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_export_to_italy"
			ITA = { country_event = poland.22 }
		}

		ai_will_do = { base = 50 }
	}

	POL_export_to_hungary = {
		cost = 40
		days_remove = 40
		icon = GFX_decision_eng_trade_unions_demand
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_export_to_hungary"
			HUN = { country_event = poland.22 }
		}

		ai_will_do = { base = 50 }
	}

	POL_export_to_britain = {
		cost = 40
		days_remove = 40
		icon = GFX_decision_eng_trade_unions_demand
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_export_to_britain"
			ENG = { country_event = poland.22 }
		}

		ai_will_do = { base = 50 }
	}
}

POL_air_defense_category = {
	POL_short_range_defense_vehicles = {
		cost = 50
		days_remove = 14
		icon = GFX_decision_humvee
		available = { has_completed_focus = POL_air_defense_troops }
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_short_range_defense_vehicles"
			add_tech_bonus = {
				name = POL_short_range_defense_vehicles
				bonus = 0.3
				uses = 2
				category = CAT_manpads
			} hidden_effect = { rq_eb_cac1f12de4 = yes }
		}

		ai_will_do = { base = 50 }
	}

	POL_airspace_security = {
		cost = 50
		days_remove = 28
		icon = GFX_decision_generic_intelligence_operation
		available = { has_completed_focus = POL_pilica_plus }
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_airspace_security"
			two_anti_air = yes
		}

		ai_will_do = { base = 50 }
	}

	POL_buy_aa_missiles = {
		cost = 50
		days_remove = 28
		icon = GFX_decision_launch_missile

		available = {
			has_completed_focus = POL_narew
			USA = {
				has_opinion = {
					target = POL
					value > 150
				}
			}
		}

		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_buy_aa_missiles"
			add_equipment_to_stockpile = {
				type = AA_Equipment
				amount = 100
				producer = USA
			}
		}

		ai_will_do = { base = 50 }
	}

	POL_anti_missile_security = {
		cost = 50
		days_remove = 28
		icon = GFX_decision_hol_inundate_water_lines
		available = { has_completed_focus = POL_wisla }
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_anti_missile_security"
			random_controlled_state = {
				limit = {
					free_building_slots = {
						building = rocket_site
						size > 0
					}
				}
				add_building_construction = {
					type = rocket_site
					level = 2
					instant_build = yes
				}
			}
			set_temp_variable = { treasury_change = -6 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 50 }
	}
}

POL_intensified_army_training_category = {
	POL_rzeczpospolita_training = {
		custom_cost_trigger = { command_power > 20 }
		custom_cost_text = command_power_more_than_20
		days_remove = 30
		icon = GFX_decision_eng_blackshirt_march
		available = { has_completed_focus = POL_intensified_army_training }
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_rzeczpospolita_training"
			country_event = poland.101
			army_experience = 50
			air_experience = 35
			navy_experience = 20
			add_command_power = -25
		}

		ai_will_do = { base = 50 }
	}

	POL_improved_reconnaissance = {
		days_remove = 30
		icon = GFX_decision_hol_draw_up_staff_plans
		available = { has_completed_focus = POL_intensified_army_training }
		fire_only_once = yes
		cost = 35

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_improved_reconnaissance"
			add_tech_bonus = {
				name = POL_improved_reconnaissance
				bonus = 0.05
				uses = 2
				category = CAT_night_vision
			} hidden_effect = { rq_eb_7cef926be7 = yes }
			add_tech_bonus = {
				name = POL_improved_reconnaissance
				bonus = 0.05
				uses = 2
				category = CAT_land_drones
			} hidden_effect = { rq_eb_8bab0e2305 = yes }
			add_ideas = POL_improved_reconnaissance_idea
		}

		ai_will_do = { base = 50 }
	}

	POL_baltic_maneuvers = {
		custom_cost_trigger = { command_power > 20 }
		custom_cost_text = command_power_more_than_20
		days_remove = 30
		icon = GFX_decision_generic_construction
		available = { has_completed_focus = POL_intensified_army_training }
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_baltic_maneuvers"
			navy_experience = 25
			add_command_power = -25
			add_ideas = POL_shallow_sea_experts_idea
		}

		ai_will_do = { base = 50 }
	}

	POL_more_reliable_parachutes = {
		custom_cost_trigger = { command_power > 20 }
		custom_cost_text = command_power_more_than_20
		days_remove = 30
		icon = GFX_decision_jet_aircraft
		available = { has_completed_focus = POL_intensified_army_training }
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_more_reliable_parachutes"
			air_experience = 25
			add_command_power = -25
			add_ideas = POL_strong_parachutes_idea
		}

		ai_will_do = { base = 50 }
	}

	POL_virtual_reality_trainings = {
		custom_cost_trigger = { command_power > 20 }
		custom_cost_text = command_power_more_than_20
		days_remove = 30
		icon = GFX_decision_uav
		available = { has_completed_focus = POL_intensified_army_training }
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_virtual_reality_trainings"
			air_experience = 10
			army_experience = 10
			navy_experience = 10
			add_command_power = -25
			add_ideas = POL_advanced_and_safe_training
		}

		ai_will_do = { base = 50 }
	}

	POL_increase_soldiers_pay = {
		days_remove = 30
		icon = GFX_decision_money_dec
		available = { has_completed_focus = POL_intensified_army_training }
		fire_only_once = yes
		cost = 35

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_increase_soldiers_pay"
			add_ideas = POL_higher_spending_on_the_army
		}

		ai_will_do = { base = 50 }
	}
}

POL_korwin_walesa_bop_category = {
	POL_bribe_the_politicians = {
		days_remove = 20
		visible = { has_completed_focus = POL_korwin_is_in_power }
		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_bribe_the_politicians"
			add_stability = -0.02
			add_power_balance_value = {
				id = POL_korwin_walesa_bop
				value = 0.15
				tooltip_side = POL_korwin_walesa_bop_right_side
			}
			set_temp_variable = { treasury_change = -1.5 }
			modify_treasury_effect = yes
			increase_corruption = yes
			add_to_variable = { THIS.walesa = 1 }
			if = {
				limit = { check_variable = { THIS.walesa = 3 } }
				complete_national_focus = POL_walesa_rises_in_popularity
			}
		}

		ai_will_do = { base = 550 }
	}

	POL_censoring_social_media = {
		days_remove = 30
		fire_only_once = yes
		visible = { has_completed_focus = POL_korwin_is_in_power }
		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_censoring_social_media"
			add_stability = -0.07
			sre_walesa_opposition_idea = yes
			add_power_balance_value = {
				id = POL_korwin_walesa_bop
				value = 0.25
				tooltip_side = POL_korwin_walesa_bop_right_side
			}
			add_to_variable = { THIS.walesa = 1 }
			if = {
				limit = { check_variable = { THIS.walesa = 3 } }
				complete_national_focus = POL_walesa_rises_in_popularity
			}
		}

		ai_will_do = { base = 550 }
	}

	POL_promises_of_a_great_poland = {
		days_remove = 20
		visible = { has_completed_focus = POL_korwin_is_in_power }
		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_promises_of_a_great_poland"
			add_stability = 0.04
			add_power_balance_value = {
				id = POL_korwin_walesa_bop
				value = 0.15
				tooltip_side = POL_korwin_walesa_bop_right_side
			}
			add_to_variable = { THIS.walesa = 1 }
			if = {
				limit = { check_variable = { THIS.walesa = 3 } }
				complete_national_focus = POL_walesa_rises_in_popularity
			}
		}

		ai_will_do = { base = 550 }
	}

	POL_calling_for_protests = {
		days_remove = 30
		fire_only_once = yes
		available = { has_completed_focus = POL_walesa_rises_in_popularity }
		visible = { has_completed_focus = POL_korwin_is_in_power }
		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_calling_for_protests"
			add_stability = -0.1
			add_power_balance_value = {
				id = POL_korwin_walesa_bop
				value = -0.3
				tooltip_side = POL_korwin_walesa_bop_left_side
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_benefits_from_the_european_union = {
		days_remove = 20
		available = { has_completed_focus = POL_walesa_rises_in_popularity }
		visible = { has_completed_focus = POL_korwin_is_in_power }
		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_benefits_from_the_european_union"
			add_political_power = 50
			add_power_balance_value = {
				id = POL_korwin_walesa_bop
				value = -0.15
				tooltip_side = POL_korwin_walesa_bop_left_side
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_opposition_to_the_tyrannical_rule_of_korwin = {
		days_remove = 20
		available = { has_completed_focus = POL_walesa_rises_in_popularity }
		visible = { has_completed_focus = POL_korwin_is_in_power }
		cost = 55

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_opposition_to_the_tyrannical_rule_of_korwin"
			add_power_balance_value = {
				id = POL_korwin_walesa_bop
				value = -0.15
				tooltip_side = POL_korwin_walesa_bop_left_side
			}
		}

		ai_will_do = { base = 0 }
	}
}

POL_korwin_win_bop_category = {
	POL_bribe_the_politicians3 = {
		days_remove = 20
		visible = { has_country_flag = POL_korwin_wins }
		cost = 35

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_bribe_the_politicians3"
			add_stability = -0.02
			add_power_balance_value = {
				id = POL_korwin_win_bop
				value = 0.15
				tooltip_side = POL_korwin_win_bop_right_side
			}
			set_temp_variable = { treasury_change = -1.5 }
			modify_treasury_effect = yes
			increase_corruption = yes
		}

		ai_will_do = { base = 150 }
	}

	POL_promises_of_a_great_poland3 = {
		days_remove = 20
		visible = { has_country_flag = POL_korwin_wins }
		cost = 35

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_promises_of_a_great_poland3"
			add_stability = 0.04
			add_power_balance_value = {
				id = POL_korwin_win_bop
				value = 0.15
				tooltip_side = POL_korwin_win_bop_right_side
			}
		}

		ai_will_do = { base = 150 }
	}
}

POL_walesa_korwin_bop_category = {
	POL_opposition_to_the_tyrannical_rule_of_korwin2 = {
		cost = 50
		days_remove = 30
		fire_only_once = yes
		visible = { has_completed_focus = POL_walesa_is_in_power }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_opposition_to_the_tyrannical_rule_of_korwin2"
			add_political_power = 25
			add_stability = -0.02
			sre_korwin_opposition_idea = yes
			if = {
				limit = { has_power_balance = { id = POL_walesa_korwin_bop } }
				add_power_balance_value = {
					id = POL_walesa_korwin_bop
					value = 0.15
					tooltip_side = POL_walesa_korwin_bop_right_side
				}
			}
			add_to_variable = { THIS.korwin = 1 }
			if = {
				limit = { check_variable = { THIS.korwin = 3 } }
				complete_national_focus = POL_korwin_rises_in_popularity
			}
		}

		ai_will_do = { base = 550 }
	}

	POL_benefits_from_the_european_union2 = {
		cost = 50
		days_remove = 20
		visible = { has_completed_focus = POL_walesa_is_in_power }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_benefits_from_the_european_union2"
			add_stability = 0.07
			if = {
				limit = { has_power_balance = { id = POL_walesa_korwin_bop } }
				add_power_balance_value = {
					id = POL_walesa_korwin_bop
					value = 0.25
					tooltip_side = POL_walesa_korwin_bop_right_side
				}
			}
			add_to_variable = { THIS.korwin = 1 }
			if = {
				limit = { check_variable = { THIS.korwin = 3 } }
				complete_national_focus = POL_korwin_rises_in_popularity
			}
		}

		ai_will_do = { base = 550 }
	}

	POL_promises_of_a_great_poland2 = {
		cost = 50
		days_remove = 20
		visible = { has_completed_focus = POL_walesa_is_in_power }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_promises_of_a_great_poland2"
			add_political_power = 75
			add_stability = 0.04
			if = {
				limit = { has_power_balance = { id = POL_walesa_korwin_bop } }
				add_power_balance_value = {
					id = POL_walesa_korwin_bop
					value = 0.15
					tooltip_side = POL_walesa_korwin_bop_right_side
				}
			}
			add_to_variable = { THIS.korwin = 1 }
			if = {
				limit = { check_variable = { THIS.korwin = 3 } }
				complete_national_focus = POL_korwin_rises_in_popularity
			}
		}

		ai_will_do = { base = 550 }
	}

	POL_calling_for_protests2 = {
		cost = 50
		days_remove = 30
		fire_only_once = yes
		available = { has_completed_focus = POL_korwin_rises_in_popularity }
		visible = { has_completed_focus = POL_walesa_is_in_power }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_calling_for_protests2"
			add_stability = -0.1
			if = {
				limit = { has_power_balance = { id = POL_walesa_korwin_bop } }
				add_power_balance_value = {
					id = POL_walesa_korwin_bop
					value = -0.3
					tooltip_side = POL_walesa_korwin_bop_left_side
				}
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_censoring_social_media2 = {
		cost = 50
		days_remove = 20
		available = { has_completed_focus = POL_korwin_rises_in_popularity }
		visible = { has_completed_focus = POL_walesa_is_in_power }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_censoring_social_media2"
			if = {
				limit = { has_power_balance = { id = POL_walesa_korwin_bop } }
				add_power_balance_value = {
					id = POL_walesa_korwin_bop
					value = -0.15
					tooltip_side = POL_walesa_korwin_bop_left_side
				}
			}
		}

		ai_will_do = { base = 0 }
	}

	POL_bribe_the_politicians2 = {
		cost = 125
		days_remove = 20
		available = { has_completed_focus = POL_korwin_rises_in_popularity }
		visible = { has_completed_focus = POL_walesa_is_in_power }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_bribe_the_politicians2"
			if = {
				limit = { has_power_balance = { id = POL_walesa_korwin_bop } }
				add_power_balance_value = {
					id = POL_walesa_korwin_bop
					value = -0.15
					tooltip_side = POL_walesa_korwin_bop_left_side
				}
			}
			set_temp_variable = { treasury_change = -1.5 }
			modify_treasury_effect = yes
			increase_corruption = yes
		}

		ai_will_do = { base = 0 }
	}
}

POL_polish_ukrainian_war_category = {
	POL_war_escalation = {
		icon = GFX_decision_border_war
		activation = { POL = { has_offensive_war_with = UKR } }
		available = { POL = { NOT = { has_offensive_war_with = UKR } } }
		days_re_enable = 1
		fire_only_once = no
		is_good = no
		selectable_mission = no
		days_mission_timeout = 70

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_war_escalation"
			sre_polish_ukrainian_war_idea = yes
		}
	}
}

POL_ukraine_cooperation_category = {
	POL_military_training = {
		cost = 75
		days_remove = 60
		icon = GFX_decision_ukraine_guns
		fire_only_once = no
		days_re_enable = 7
		visible = { hidden_trigger = { UKR = { has_country_flag = POL_ukraine_cooperation } } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_military_training"
			army_experience = 25
			air_experience = 25
			UKR = {
				army_experience = 25
				air_experience = 25
			}
			add_to_variable = { THIS.ukr = 10 }
			clamp_variable = {
				var = THIS.ukr
				min = 0
				max = 100
			}
			custom_effect_tooltip = POL_add_10_ukr_TT
		}

		ai_will_do = { base = 50 }
	}

	POL_no_border_restrictions = {
		days_remove = 75
		icon = GFX_decision_ukraine
		fire_only_once = yes
		visible = { hidden_trigger = { UKR = { has_country_flag = POL_ukraine_cooperation } } }
		cost = 80

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_no_border_restrictions"
			add_stability = 0.05
			give_military_access = UKR
			UKR = {
				add_political_power = 80
				add_stability = 0.05
				give_military_access = POL
			}
			add_to_variable = { THIS.ukr = 20 }
			clamp_variable = {
				var = THIS.ukr
				min = 0
				max = 100
			}
			custom_effect_tooltip = POL_add_20_ukr_TT
		}

		ai_will_do = { base = 80 }
	}

	POL_eastern_threat = {
		days_remove = 40
		icon = GFX_decision_ukraine
		fire_only_once = yes
		visible = { hidden_trigger = { UKR = { has_country_flag = POL_ukraine_cooperation } } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_eastern_threat"
			add_political_power = 100
			UKR = { add_political_power = 100 }
			add_to_variable = { THIS.ukr = 30 }
			clamp_variable = {
				var = THIS.ukr
				min = 0
				max = 100
			}
			custom_effect_tooltip = POL_add_30_ukr_TT
		}

		ai_will_do = { base = 90 }
	}

	POL_economical_cooperation = {
		days_remove = 75
		icon = GFX_decision_ukraine
		fire_only_once = yes
		visible = { hidden_trigger = { UKR = { has_country_flag = POL_ukraine_cooperation } } }
		cost = 75

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_economical_cooperation"
			add_tech_bonus = {
				name = POL_economical_cooperation
				bonus = 0.05
				uses = 2
				category = CAT_construction
			} hidden_effect = { rq_eb_23905c9f95 = yes }
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
			UKR = {
				add_tech_bonus = {
					name = POL_economical_cooperation
					bonus = 0.05
					uses = 1
					category = CAT_construction
				} hidden_effect = { rq_eb_168135d967 = yes }
			}
			add_to_variable = { THIS.ukr = 10 }
			clamp_variable = {
				var = THIS.ukr
				min = 0
				max = 100
			}
			custom_effect_tooltip = POL_add_10_ukr_TT
		}

		ai_will_do = { base = 60 }
	}

	POL_weaken_russian_influence = {
		cost = 75
		days_remove = 60
		icon = GFX_decision_ukraine
		visible = { hidden_trigger = { UKR = { has_country_flag = POL_ukraine_cooperation } } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_weaken_russian_influence"
			UKR = {
				set_temp_variable = { percent_change = -1 }
				set_temp_variable = { tag_index = UKR.id }
				set_temp_variable = { influence_target = SOV.id }
				change_influence_percentage = yes
			}
			add_to_variable = { THIS.ukr = 10 }
			clamp_variable = {
				var = THIS.ukr
				min = 0
				max = 100
			}
			custom_effect_tooltip = POL_add_10_ukr_TT
		}

		ai_will_do = { base = 60 }
	}
}

POL_ukraine_in_nato = {
	POL_investigate_the_government = {
		cost = 100
		days_remove = 80
		icon = GFX_decision_ukraine
		visible = { hidden_trigger = { has_country_flag = POL_ukraine_nato } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_investigate_the_government"
			UKR = { decrease_corruption = yes }
			set_temp_variable = { treasury_change = -20 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 80 }
	}

	POL_convince_nato_to_accept_ukraine = {
		cost = 35
		days_remove = 15
		icon = GFX_decision_nato
		visible = { hidden_trigger = { has_country_flag = POL_ukraine_nato } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_convince_nato_to_accept_ukraine"
			add_to_variable = { THIS.ukr2 = 5 }
			clamp_variable = {
				var = THIS.ukr2
				min = 0
				max = 100
			}
			custom_effect_tooltip = POL_add_5_ukr2_TT
		}

		ai_will_do = { base = 160 }
	}

	POL_new_ally = {
		cost = 150
		days_remove = 30
		icon = GFX_decision_nato

		available = {
			hidden_trigger = { has_country_flag = POL_ukraine_nato }
			custom_trigger_tooltip = {
				tooltip = POL_ukraine_94_TT
				check_variable = { THIS.ukr > 94 }
			}
			UKR = {
				custom_trigger_tooltip = {
					tooltip = TT_OKAY_CORRUPTION
					NOT = {
						OR = {
							has_idea = corruption_level_10
							has_idea = corruption_level_09
							has_idea = corruption_level_08
							has_idea = corruption_level_07
							has_idea = corruption_level_06
						}
					}
				}
				NOT = {
					OR = {
						has_government = communism
						has_government = fascism
					}
				}
			}
		}

		visible = { hidden_trigger = { has_country_flag = POL_ukraine_nato } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_new_ally"
			UKR = { country_event = poland.55 }
		}

		ai_will_do = { base = 160 }
	}
}

POL_SOV_ukraine_in_nato = {
	POL_false_propaganda = {
		cost = 75
		days_remove = 25
		icon = GFX_decision_eng_propaganda_campaigns
		visible = { hidden_trigger = { POL = { has_country_flag = POL_ukraine_nato } } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_false_propaganda"
			add_to_variable = { THIS.ukr2 = -5 }
			clamp_variable = {
				var = THIS.ukr2
				min = 0
				max = 100
			}
			custom_effect_tooltip = POL_remove_5_ukr2_TT
		}

		ai_will_do = { base = 60 }
	}

	POL_recognize_old_sins = {
		cost = 75
		days_remove = 25
		icon = GFX_decision_generic_civil_support
		visible = { hidden_trigger = { POL = { has_country_flag = POL_ukraine_nato } } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_recognize_old_sins"
			add_to_variable = { THIS.ukr2 = -5 }
			clamp_variable = {
				var = THIS.ukr2
				min = 0
				max = 100
			}
			custom_effect_tooltip = POL_remove_5_ukr2_TT
		}

		ai_will_do = { base = 0 }
	}
}

POL_kaliningrad_problem = {
	POL_show_them_our_strength = {
		war_with_on_remove = SOV
		days_remove = 30
		icon = GFX_decision_generic_military

		available = {
			SOV = { controls_state = 642 }
			has_war_support > 0.8
			has_stability > 0.75
			NOT = { has_country_flag = POL_riots_kaliningrad }
		}

		visible = { SOV = { controls_state = 642 } }
		cost = 100

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_show_them_our_strength"
			custom_effect_tooltip = POL_kaliningrad_war_TT
			declare_war_on = {
				target = SOV
				type = take_state
			}
			add_stability = -0.1
			set_country_flag = POL_war_kaliningrad
		}

		ai_will_do = { base = 30 }
	}

	POL_start_the_riots = {
		days_remove = 30
		icon = GFX_decision_border_war
		fire_only_once = yes

		available = {
			SOV = { controls_state = 642 }
			has_war_support < 0.8
			has_stability < 0.75
			NOT = { has_country_flag = POL_war_kaliningrad }
			controls_state = 116
			NOT = { controls_state = 642 }
			116 = { NOT = { has_border_war = yes } }
			642 = { NOT = { has_border_war = yes } }
			divisions_in_state = {
				size > 0
				state = 116
			}
		}

		visible = { SOV = { controls_state = 642 } }
		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_start_the_riots"
			if = {
				limit = {
					controls_state = 116
					NOT = { controls_state = 642 }
					116 = { NOT = { has_border_war = yes } }
					642 = { NOT = { has_border_war = yes } }
					divisions_in_state = {
						size > 0
						state = 116
					}
				}
				start_border_war = {
					change_state_after_war = no
					attacker = {
						state = 116
						num_provinces = 3
						on_win = poland_border_conflict.2
						on_lose = poland_border_conflict.3
						on_cancel = poland_border_conflict.4
					}
					defender = {
						state = 642
						num_provinces = 3
						on_win = poland_border_conflict.3
						on_lose = poland_border_conflict.2
						on_cancel = poland_border_conflict.4
					}
				}
			}
			else = { country_event = border_war_operation_blocked.1 }
			set_country_flag = POL_riots_kaliningrad
		}

		ai_will_do = { base = 50 }
	}

	POL_conflict_draw = {
		icon = GFX_decision_border_war

		activation = {
			642 = { has_border_war = yes }
			116 = { has_border_war = yes }
		}

		available = {
			642 = { has_border_war = no }
			116 = { has_border_war = no }
		}

		highlight_states = {
			highlight_state_targets = {
				state = 642
				state = 116
			}
		}

		days_re_enable = 1
		fire_only_once = yes
		is_good = no
		selectable_mission = no
		days_mission_timeout = 60

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_conflict_draw"
			cancel_border_war = {
				defender = 642
				attacker = 116
			}
		}
	}

	POL_buy_kaliningrad = {
		days_remove = 30
		icon = GFX_decision_money_dec
		fire_only_once = yes

		available = {
			SOV = {
				controls_state = 642
				has_opinion = {
					target = POL
					value > 89
				}
			}
			NOT = {
				OR = {
					has_country_flag = POL_war_kaliningrad
					has_country_flag = POL_riots_kaliningrad
				}
			}
		}

		visible = { SOV = { controls_state = 642 } }
		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_buy_kaliningrad"
			SOV = { country_event = poland.58 }
		}

		ai_will_do = { base = 30 }
	}

	POL_set_peace = {
		icon = GFX_decision_hol_exchange_intelligence_data
		fire_only_once = yes

		available = {
			POL = {
				controls_state = 642
				has_war_with = SOV
			}
		}

		visible = { POL = { has_war_with = SOV } }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_set_peace"
			country_event = poland.60
		}

		ai_will_do = { base = 180 }
	}
}

POL_polsa_construction_category = {
	POL_polsa_construction_first_stage = {
		icon = GFX_decision_poland
		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_polsa_construction_first_stage"
			set_country_flag = POL_polsa_1
			custom_effect_tooltip = POL_polsa_construction_first_stage0_TT
		}

		ai_will_do = { base = 180 }
	}

	POL_polsa_prepare_fundements = {
		custom_cost_trigger = { check_variable = { treasury > 25 } }
		custom_cost_text = cost_25_0
		days_remove = 60
		icon = GFX_decision_generic_construction
		fire_only_once = yes

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_polsa_construction_first_stage1_TT
				has_country_flag = POL_polsa_1
			}
		}

		visible = { has_country_flag = POL_polsa_1 }
		modifier = { civilian_factory_use = 4 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_polsa_prepare_fundements"
			set_country_flag = POL_polsa_2
			set_temp_variable = { skip_payment = 1 }
			one_random_infrastructure = yes
			sre_polsa_construction = yes
			set_temp_variable = { treasury_change = -25 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 180 }
	}

	POL_polsa_reinforced_concrete_buildings = {
		custom_cost_trigger = { check_variable = { treasury > 30 } }
		custom_cost_text = cost_30_0
		days_remove = 80
		icon = GFX_decision_generic_factory
		fire_only_once = yes

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_polsa_construction_first_stage2_TT
				has_country_flag = POL_polsa_2
			}
		}

		visible = { has_country_flag = POL_polsa_1 }
		modifier = { civilian_factory_use = 5 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_polsa_reinforced_concrete_buildings"
			set_country_flag = POL_polsa_3
			set_temp_variable = { skip_payment = 1 }
			one_random_industrial_complex = yes
			sre_polsa_construction = yes
			set_temp_variable = { treasury_change = -30 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 180 }
	}

	POL_polsa_electrical_installations = {
		custom_cost_trigger = { check_variable = { treasury > 20 } }
		custom_cost_text = cost_20_0
		days_remove = 45
		icon = GFX_decision_influence
		fire_only_once = yes

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_polsa_construction_first_stage3_TT
				has_country_flag = POL_polsa_3
			}
		}

		visible = { has_country_flag = POL_polsa_1 }
		modifier = { civilian_factory_use = 3 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_polsa_electrical_installations"
			set_country_flag = POL_polsa_4
			set_temp_variable = { skip_payment = 1 }
			one_random_network_infrastructure = yes
			sre_polsa_construction = yes
			set_temp_variable = { treasury_change = -20 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 180 }
	}

	POL_polsa_construction_second_stage = {
		icon = GFX_decision_poland
		fire_only_once = yes

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_polsa_construction_first_stage4_TT
				has_country_flag = POL_polsa_4
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_polsa_construction_second_stage"
			set_country_flag = POL_polsa_5
			custom_effect_tooltip = POL_polsa_construction_second_stage0_TT
		}

		ai_will_do = { base = 180 }
	}

	POL_polsa_equip_lobaratories = {
		custom_cost_trigger = { check_variable = { treasury > 30 } }
		custom_cost_text = cost_30_0
		days_remove = 40
		icon = GFX_decision_reactor_dec
		fire_only_once = yes

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_polsa_construction_first_stage5_TT
				has_country_flag = POL_polsa_5
			}
			NOT = {
				OR = {
					has_decision = POL_polsa_equip_technical_areas
					has_decision = POL_polsa_equip_offices
				}
			}
		}

		visible = { has_country_flag = POL_polsa_5 }
		modifier = { civilian_factory_use = 4 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_polsa_equip_lobaratories"
			custom_effect_tooltip = POL_polsa_research_facility_TT
			set_country_flag = POL_polsa_6
			set_temp_variable = { skip_payment = 1 }
			two_radar_station = yes
			sre_polsa_construction = yes
			set_temp_variable = { treasury_change = -30 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 180 }
	}

	POL_polsa_equip_offices = {
		custom_cost_trigger = { check_variable = { treasury > 20 } }
		custom_cost_text = cost_20_0
		days_remove = 30
		icon = GFX_decision_generic_decision
		fire_only_once = yes

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_polsa_construction_first_stage5_TT
				has_country_flag = POL_polsa_5
			}
			NOT = {
				OR = {
					has_decision = POL_polsa_equip_technical_areas
					has_decision = POL_polsa_equip_lobaratories
				}
			}
		}

		visible = { has_country_flag = POL_polsa_5 }
		modifier = { civilian_factory_use = 2 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_polsa_equip_offices"
			set_country_flag = POL_polsa_7
			set_temp_variable = { skip_payment = 1 }
			one_office_construction = yes
			sre_polsa_construction = yes
			set_temp_variable = { treasury_change = -20 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 180 }
	}

	POL_polsa_equip_technical_areas = {
		custom_cost_trigger = { check_variable = { treasury > 25 } }
		custom_cost_text = cost_25_0
		days_remove = 50
		icon = GFX_decision_refinery_dec
		fire_only_once = yes

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_polsa_construction_first_stage5_TT
				has_country_flag = POL_polsa_5
			}
			NOT = {
				OR = {
					has_decision = POL_polsa_equip_offices
					has_decision = POL_polsa_equip_lobaratories
				}
			}
		}

		visible = { has_country_flag = POL_polsa_5 }
		modifier = { civilian_factory_use = 3 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_polsa_equip_technical_areas"
			set_country_flag = POL_polsa_8
			set_temp_variable = { skip_payment = 1 }
			two_fuel_reserve = yes
			sre_polsa_construction = yes
			set_temp_variable = { treasury_change = -25 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 180 }
	}

	POL_polsa_finish_construction = {
		custom_cost_trigger = { check_variable = { treasury > 15 } }
		custom_cost_text = cost_15_0
		days_remove = 60
		icon = GFX_decision_poland
		fire_only_once = yes

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_polsa_construction_first_stage6_TT
				has_country_flag = POL_polsa_6
				has_country_flag = POL_polsa_7
				has_country_flag = POL_polsa_8
			}
		}

		modifier = { civilian_factory_use = 8 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_polsa_finish_construction"
			set_country_flag = POL_polsa_9
			set_temp_variable = { skip_payment = 1 }
			two_random_industrial_complex = yes
			sre_polsa_construction = yes
			set_temp_variable = { treasury_change = -15 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 180 }
	}
}

POL_polsa_research_facility_category = {
	POL_polsa_methane_based_fuel = {
		custom_cost_trigger = { check_variable = { treasury > 10 } }
		custom_cost_text = cost_10_0
		days_remove = 75
		icon = GFX_decision_refinery_dec
		fire_only_once = yes

		available = {
			NOT = {
				OR = {
					has_decision = POL_polsa_rocket_weight_reduction
					has_decision = POL_polsa_advanced_cosmonaut_training_chambers
					has_decision = POL_polsa_ai_calculations
					has_decision = POL_polsa_asteroid_defense
				}
			}
		}

		modifier = { civilian_factory_use = 2 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_polsa_methane_based_fuel"
			buy_fuel_from_the_market_effect = yes
			add_tech_bonus = {
				name = POL_polsa_methane_based_fuel
				bonus = 0.15
				uses = 2
				category = CAT_fuel_refining
			} hidden_effect = { rq_eb_380f84a4eb = yes }
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 180 }
	}

	POL_polsa_rocket_weight_reduction = {
		custom_cost_trigger = { check_variable = { treasury > 15 } }
		custom_cost_text = cost_15_0
		days_remove = 75
		icon = GFX_decision_launch_missile
		fire_only_once = yes

		available = {
			NOT = {
				OR = {
					has_decision = POL_polsa_methane_based_fuel
					has_decision = POL_polsa_advanced_cosmonaut_training_chambers
					has_decision = POL_polsa_ai_calculations
					has_decision = POL_polsa_asteroid_defense
				}
			}
		}

		modifier = { civilian_factory_use = 2 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_polsa_rocket_weight_reduction"
			add_ideas = POL_lighter_rockets_idea
			add_tech_bonus = {
				name = POL_polsa_rocket_weight_reduction
				bonus = 0.2
				uses = 1
				category = CAT_orbital_launch_vehicles
			} hidden_effect = { rq_eb_023d673cf1 = yes }
			set_temp_variable = { treasury_change = -15 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 180 }
	}

	POL_polsa_advanced_cosmonaut_training_chambers = {
		custom_cost_trigger = { check_variable = { treasury > 10 } }
		custom_cost_text = cost_10_0
		days_remove = 50
		icon = GFX_decision_eng_blackshirt_march
		fire_only_once = yes

		available = {
			NOT = {
				OR = {
					has_decision = POL_polsa_methane_based_fuel
					has_decision = POL_polsa_rocket_weight_reduction
					has_decision = POL_polsa_ai_calculations
					has_decision = POL_polsa_asteroid_defense
				}
			}
		}

		modifier = { civilian_factory_use = 2 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_polsa_advanced_cosmonaut_training_chambers"
			add_tech_bonus = {
				name = POL_polsa_advanced_cosmonaut_training_chambers
				bonus = 0.2
				uses = 1
				category = CAT_nanofibers
			} hidden_effect = { rq_eb_f317f38705 = yes }
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 180 }
	}

	POL_polsa_ai_calculations = {
		custom_cost_trigger = { check_variable = { treasury > 20 } }
		custom_cost_text = cost_20_0
		days_remove = 75
		icon = GFX_decision_SWI_expand_covert_operations
		fire_only_once = yes

		available = {
			NOT = {
				OR = {
					has_decision = POL_polsa_methane_based_fuel
					has_decision = POL_polsa_rocket_weight_reduction
					has_decision = POL_polsa_advanced_cosmonaut_training_chambers
					has_decision = POL_polsa_asteroid_defense
				}
			}
		}

		modifier = { civilian_factory_use = 2 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_polsa_ai_calculations"
			add_tech_bonus = {
				name = POL_polsa_ai_calculations
				bonus = 0.2
				uses = 1
				category = CAT_artificial_intelligence
			} hidden_effect = { rq_eb_81f187a6b7 = yes }
			set_temp_variable = { treasury_change = -20 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 180 }
	}

	POL_polsa_asteroid_defense = {
		custom_cost_trigger = { check_variable = { treasury > 25 } }
		custom_cost_text = cost_25_0
		days_remove = 75
		icon = GFX_decision_asteroid_mining
		fire_only_once = yes

		available = {
			NOT = {
				OR = {
					has_decision = POL_polsa_methane_based_fuel
					has_decision = POL_polsa_rocket_weight_reduction
					has_decision = POL_polsa_advanced_cosmonaut_training_chambers
					has_decision = POL_polsa_ai_calculations
				}
			}
		}

		modifier = { civilian_factory_use = 2 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_polsa_asteroid_defense"
			add_tech_bonus = {
				name = POL_polsa_asteroid_defense
				bonus = 0.15
				uses = 2
				category = CAT_missiles
			} hidden_effect = { rq_eb_de57951a3a = yes }
			set_temp_variable = { treasury_change = -25 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 180 }
	}
}

POL_moon_launch_mission = {
	POL_moon_rovers = {
		custom_cost_trigger = { check_variable = { treasury > 50 } }
		custom_cost_text = cost_50_0
		days_remove = 90
		icon = GFX_decision_humvee
		fire_only_once = yes
		modifier = { civilian_factory_use = 1 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_moon_rovers"
			add_tech_bonus = {
				name = POL_moon_rovers
				bonus = 0.15
				uses = 2
				category = CAT_space
			} hidden_effect = { rq_eb_892fdc3f5d = yes }
			set_temp_variable = { treasury_change = -50 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 180 }
	}

	POL_moon_house_project = {
		custom_cost_trigger = { check_variable = { treasury > 50 } }
		custom_cost_text = cost_50_0
		days_remove = 110
		icon = GFX_decision_generic_factory
		fire_only_once = yes
		modifier = { civilian_factory_use = 5 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_moon_house_project"
			set_temp_variable = { skip_payment = 1 }
			one_random_industrial_complex = yes
			add_tech_bonus = {
				name = POL_moon_house_project
				bonus = 0.25
				uses = 2
				category = CAT_industry
			} hidden_effect = { rq_eb_a154102247 = yes }
			set_temp_variable = { treasury_change = -50 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 180 }
	}

	POL_cooperation_with_nasa = {
		cost = 50
		days_remove = 40
		icon = GFX_decision_boost
		fire_only_once = yes

		visible = {
			NOT = {
				OR = {
					has_decision = POL_cooperation_with_nasa
					has_decision = POL_cooperation_with_cnes
					has_country_flag = POL_rosc
					has_country_flag = POL_cnes
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_cooperation_with_nasa"
			reverse_add_opinion_modifier = {
				target = USA
				modifier = POL_poland_works_with_nasa
			}
			add_tech_bonus = {
				name = POL_cooperation_with_nasa
				bonus = 0.2
				uses = 1
				category = CAT_space
			} hidden_effect = { rq_eb_5668db163b = yes }
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
			set_country_flag = POL_nasa
		}

		ai_will_do = { base = 180 }
	}

	POL_cooperation_with_cnes = {
		cost = 50
		days_remove = 40
		icon = GFX_decision_boost
		fire_only_once = yes

		visible = {
			NOT = {
				OR = {
					has_decision = POL_cooperation_with_nasa
					has_decision = POL_cooperation_with_roscosmos
					has_country_flag = POL_nasa
					has_country_flag = POL_rosc
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_cooperation_with_cnes"
			reverse_add_opinion_modifier = {
				target = FRA
				modifier = POL_poland_works_with_cnes
			}
			add_tech_bonus = {
				name = POL_cooperation_with_cnes
				bonus = 0.15
				uses = 2
				category = CAT_space
			} hidden_effect = { rq_eb_892fdc3f5d = yes }
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
			set_country_flag = POL_cnes
		}

		ai_will_do = { base = 180 }
	}

	POL_cooperation_with_roscosmos = {
		cost = 50
		days_remove = 40
		icon = GFX_decision_boost
		fire_only_once = yes

		visible = {
			NOT = {
				OR = {
					has_decision = POL_cooperation_with_nasa
					has_decision = POL_cooperation_with_cnes
					has_country_flag = POL_nasa
					has_country_flag = POL_cnes
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_cooperation_with_roscosmos"
			reverse_add_opinion_modifier = {
				target = SOV
				modifier = POL_poland_works_with_roscosmos
			}
			add_tech_bonus = {
				name = POL_cooperation_with_roscosmos
				bonus = 0.15
				uses = 1
				category = CAT_space
			} hidden_effect = { rq_eb_e5e8bfdab7 = yes }
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
			set_country_flag = POL_rosc
		}

		ai_will_do = { base = 180 }
	}
}

POL_cua_category = {
	POL_economy_status_auto_increase = {
		icon = GFX_decision_money_dec

		activation = {
			has_country_flag = POL_communism_uprising_again_activation
			NOT = {
				OR = {
					has_idea = POL_communism_domination5_idea
					has_idea = POL_solidarity_strength5_idea
					has_idea = POL_economy_status7_idea
					has_country_flag = POL_prepare_the_coup_fail
					has_country_flag = POL_prepare_the_coup_activation2
					has_country_flag = POL_prepare_the_coup_fail3
				}
			}
		}

		available = {
			OR = {
				has_idea = POL_communism_domination5_idea
				has_idea = POL_solidarity_strength5_idea
				has_idea = POL_economy_status7_idea
				has_country_flag = POL_prepare_the_coup_fail
				has_country_flag = POL_prepare_the_coup_activation2
			}
		}

		fire_only_once = no
		is_good = no
		selectable_mission = no
		days_mission_timeout = 50

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_economy_status_auto_increase"
			sre_economy_status_increase = yes
			custom_effect_tooltip = POL_increase_es_TT
			country_event = poland.78
			POL_gui_dirty_update = yes
		}
	}

	POL_economy_status_auto_increase2 = {
		icon = GFX_decision_money_dec

		activation = {
			has_country_flag = POL_communism_uprising_again_activation
			has_country_flag = POL_prepare_the_coup_fail
		}

		available = {
			OR = {
				has_idea = POL_communism_domination5_idea
				has_idea = POL_solidarity_strength5_idea
				has_idea = POL_economy_status7_idea
			}
		}

		days_re_enable = 1
		fire_only_once = no
		is_good = no
		selectable_mission = no
		days_mission_timeout = 35

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_economy_status_auto_increase2"
			sre_economy_status_increase = yes
			custom_effect_tooltip = POL_increase_es_TT
			country_event = poland.78
			POL_gui_dirty_update = yes
		}
	}

	POL_solidarity_strength_auto_increase = {
		icon = GFX_decision_fist

		activation = {
			has_country_flag = POL_communism_uprising_again_activation
			NOT = {
				OR = {
					has_idea = POL_communism_domination5_idea
					has_idea = POL_solidarity_strength5_idea
					has_idea = POL_economy_status7_idea
					has_country_flag = POL_prepare_the_coup_fail
					has_country_flag = POL_new_solidarity_revolution_crushed
					has_country_flag = POL_prepare_the_coup_activation2
					has_country_flag = POL_prepare_the_coup_fail3
				}
			}
		}

		available = {
			OR = {
				has_idea = POL_communism_domination5_idea
				has_idea = POL_solidarity_strength5_idea
				has_idea = POL_economy_status7_idea
				has_country_flag = POL_prepare_the_coup_fail
				has_country_flag = POL_new_solidarity_revolution_crushed
				has_country_flag = POL_prepare_the_coup_activation2
				has_country_flag = POL_solidarity_revolution
			}
		}

		fire_only_once = no
		is_good = no
		selectable_mission = no
		days_mission_timeout = 60

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_solidarity_strength_auto_increase"
			sre_solidarity_strength_increase = yes
			custom_effect_tooltip = POL_increase_ss_TT
			country_event = poland.79
			POL_gui_dirty_update = yes
		}
	}

	POL_solidarity_strength_auto_increase2 = {
		icon = GFX_decision_fist
		activation = { has_country_flag = POL_prepare_the_coup_fail }

		available = {
			OR = {
				has_idea = POL_communism_domination5_idea
				has_idea = POL_solidarity_strength5_idea
				has_idea = POL_economy_status7_idea
				has_country_flag = POL_new_solidarity_revolution_crushed
				has_country_flag = POL_solidarity_revolution
			}
		}

		days_re_enable = 1
		fire_only_once = no
		is_good = no
		selectable_mission = no
		days_mission_timeout = 30

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_solidarity_strength_auto_increase2"
			sre_solidarity_strength_increase = yes
			custom_effect_tooltip = POL_increase_ss_TT
			country_event = poland.79
			POL_gui_dirty_update = yes
		}
	}

	POL_calm_down_the_crowd = {
		cost = 65
		days_remove = 25
		fixed_random_seed = no
		icon = GFX_decision_zsr_unrest

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_check_ss_support_equals_one_TT
				NOT = { has_idea = POL_solidarity_strength1_idea }
			}
			NOT = { has_idea = POL_economy_status7_idea }
		}

		visible = {
			has_country_flag = POL_communism_uprising_again_activation
			NOT = {
				OR = {
					has_country_flag = POL_new_solidarity_revolution_crushed
					has_country_flag = POL_solidarity_revolution
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_calm_down_the_crowd"
			random_list = {
				80 = {
					sre_solidarity_strength_decrease = yes
					custom_effect_tooltip = POL_decrease_ss_TT
				}
				20 = { add_political_power = -50 }
			}
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 250 }
	}

	POL_stabilize_the_economy = {
		custom_cost_trigger = { check_variable = { treasury > 10 } }
		custom_cost_text = cost_10_0
		days_remove = 25
		icon = GFX_decision_civ_fac

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_check_es_support_equals_one_TT
				NOT = { has_idea = POL_economy_status1_idea }
			}
		}

		visible = { has_country_flag = POL_communism_uprising_again_activation }
		fixed_random_seed = no

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_stabilize_the_economy"
			random = {
				chance = 75
				sre_economy_status_decrease = yes
				custom_effect_tooltip = POL_decrease_es_TT
			}
			custom_effect_tooltip = POL_line_TT
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 250 }
	}

	POL_greater_spending_on_uniformed_services = {
		fixed_random_seed = no
		custom_cost_trigger = { check_variable = { treasury > 15 } }
		custom_cost_text = cost_15_0
		days_remove = 25
		icon = GFX_decision_generic_arrest
		fire_only_once = yes

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_check_cd_support_equals_one_TT
				has_idea = POL_communism_domination1_idea
			}
			communism > 0.1
			NOT = { has_idea = POL_economy_status7_idea }
		}

		visible = {
			has_country_flag = POL_communism_uprising_again_activation
			has_idea = POL_communism_domination1_idea
			NOT = {
				OR = {
					has_country_flag = POL_greater_spending_on_uniformed_services_fail
					has_country_flag = POL_prepare_the_coup_fail
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_greater_spending_on_uniformed_services"
			random_list = {
				60 = {
					sre_solidarity_strength_decrease = yes
					custom_effect_tooltip = POL_decrease_ss_TT
					country_event = poland.73
					set_country_flag = POL_greater_spending_on_uniformed_services_fail
				}
				40 = {
					sre_communism_domination_increase = yes
					custom_effect_tooltip = POL_increase_cd_TT
					country_event = poland.74
				}
			}
			custom_effect_tooltip = POL_line_TT
			random = {
				chance = 65
				sre_economy_status_increase = yes
				custom_effect_tooltip = POL_increase_es_TT
				country_event = poland.75
			}
			custom_effect_tooltip = POL_line_TT
			increase_policing_budget = yes
			set_temp_variable = { treasury_change = -15 }
			modify_treasury_effect = yes
			add_stability = 0.05
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 300 }
	}

	POL_greater_spending_on_the_army = {
		fixed_random_seed = no
		custom_cost_trigger = { check_variable = { treasury > 25 } }
		custom_cost_text = cost_25_0
		days_remove = 35
		icon = GFX_decision_generic_arrest
		fire_only_once = yes

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_check_cd_support_equals_one_TT
				has_idea = POL_communism_domination1_idea
			}
			communism > 0.1
			NOT = { has_idea = POL_economy_status7_idea }
		}

		visible = {
			has_country_flag = POL_communism_uprising_again_activation
			has_idea = POL_communism_domination1_idea
			has_country_flag = POL_greater_spending_on_uniformed_services_fail
			NOT = { has_country_flag = POL_prepare_the_coup_fail }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_greater_spending_on_the_army"
			random_list = {
				30 = {
					sre_solidarity_strength_decrease = yes
					custom_effect_tooltip = POL_decrease_ss_TT
					country_event = poland.76
					set_country_flag = POL_greater_spending_on_the_army_fail
				}
				70 = {
					sre_communism_domination_increase = yes
					custom_effect_tooltip = POL_increase_cd_TT
					country_event = poland.77
				}
			}
			custom_effect_tooltip = POL_line_TT
			random = {
				chance = 75
				sre_economy_status_increase = yes
				custom_effect_tooltip = POL_increase_es_TT
				country_event = poland.75
			}
			custom_effect_tooltip = POL_line_TT
			increase_military_spending = yes
			set_temp_variable = { treasury_change = -25 }
			modify_treasury_effect = yes
			add_stability = -0.05
			add_war_support = 0.05
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 300 }
	}

	POL_bribe_the_corrupt_politicians = {
		cost = 125
		days_remove = 35
		icon = GFX_decision_generic_political_discourse
		fire_only_once = yes

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_check_cd_support_equals_one_TT
				has_idea = POL_communism_domination1_idea
			}
			communism > 0.1
			NOT = { has_idea = POL_economy_status7_idea }
		}

		visible = {
			has_country_flag = POL_communism_uprising_again_activation
			has_idea = POL_communism_domination1_idea
			has_country_flag = POL_greater_spending_on_the_army_fail
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_bribe_the_corrupt_politicians"
			random = {
				chance = 60
				sre_solidarity_strength_increase = yes
				custom_effect_tooltip = POL_increase_ss_TT
				country_event = poland.80
			}
			custom_effect_tooltip = POL_line_TT
			random = {
				chance = 50
				country_event = poland.81
			}
			custom_effect_tooltip = POL_line_TT
			random = {
				chance = 75
				sre_economy_status_increase = yes
				custom_effect_tooltip = POL_increase_es_TT
				country_event = poland.82
			}
			custom_effect_tooltip = POL_line_TT
			sre_communism_domination_increase = yes
			custom_effect_tooltip = POL_increase_cd_TT
			country_event = poland.83
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
			add_stability = -0.1
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 300 }
	}

	POL_prepare_the_coup = {
		fixed_random_seed = no
		cost = 65
		days_remove = 10
		icon = GFX_decision_SWI_expand_covert_operations
		fire_only_once = yes

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_check_cd_support_equals_two_TT
				has_idea = POL_communism_domination2_idea
			}
			communism > 0.25
			NOT = {
				OR = {
					has_idea = POL_economy_status7_idea
					has_decision = POL_pact_with_the_government
					has_decision = POL_hire_secret_army_to_gain_control_over_government
				}
			}
		}

		visible = {
			has_idea = POL_communism_domination2_idea
			NOT = {
				OR = {
					has_country_flag = POL_prepare_the_coup_activation
					has_country_flag = POL_prepare_the_coup_fail3
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_prepare_the_coup"
			random_list = {
				30 = {
					country_event = poland.84
					set_country_flag = POL_prepare_the_coup_fail
					custom_effect_tooltip = POL_increase_es_and_ss_auto_TT
				}
				70 = {
					country_event = poland.85
					set_country_flag = POL_prepare_the_coup_activation
				}
			}
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 300 }
	}

	POL_regain_army_trust = {
		cost = 50
		days_remove = 20
		fixed_random_seed = no
		icon = GFX_decision_generic_army_support
		fire_only_once = no

		available = {
			has_idea = POL_communism_domination1_idea
			OR = {
				has_country_flag = POL_prepare_the_coup_fail
				has_country_flag = POL_prepare_the_coup_fail2
			}
			communism > 0.1
			NOT = { has_idea = POL_economy_status7_idea }
		}

		visible = {
			OR = {
				has_country_flag = POL_prepare_the_coup_fail
				has_country_flag = POL_prepare_the_coup_fail2
			}
			NOT = {
				AND = {
					has_country_flag = POL_prepare_the_coup_fail
					has_country_flag = POL_prepare_the_coup_fail2
				}
			}
			has_idea = POL_communism_domination1_idea
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_regain_army_trust"
			random = {
				chance = 50
				country_event = poland.88
				sre_communism_domination_increase = yes
				custom_effect_tooltip = POL_increase_cd_TT
			}
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 300 }
	}

	POL_incoming_new_solidarity_revolution = {
		icon = GFX_decision_generic_military

		activation = {
			OR = {
				has_country_flag = POL_prepare_the_coup_activation
				has_idea = POL_solidarity_strength4_idea
			}
		}

		available = {
			has_country_flag = POL_new_solidarity_revolution_crushed
			has_idea = POL_communism_domination5_idea
		}

		fire_only_once = yes
		is_good = no
		selectable_mission = no
		days_mission_timeout = 365

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_incoming_new_solidarity_revolution"
			start_civil_war = {
				ruling_party = communism
				ideology = neutrality
				size = 0.65
				capital = 112
				states = {
					112 1098 115 433 111 626 625 474 113
				}
				NATO_join = yes
				set_temp_variable = { rul_party_temp = 14 }
				change_ruling_party_effect = yes
				keep_political_leader = yes
				keep_political_party_members = yes
				create_country_leader = {
					name = "Lech Wałęsa"
					picture = lech_walesa.dds
					expire = "2024.2.21"
					ideology = Neutral_conservatism
					traits = {
						geopolitical_thinker
						triumphant_revolutionary
					}
				}
			}
			NATO_leave = yes
			POL_gui_dirty_update = yes
		}
	}

	POL_hunt_the_new_solidarity_politicians = {
		cost = 75
		days_remove = 60
		icon = GFX_decision_oppression
		fire_only_once = yes

		available = {
			OR = {
				has_country_flag = POL_prepare_the_coup_activation
				has_idea = POL_solidarity_strength4_idea
			}
			NOT = {
				OR = {
					has_decision = POL_ban_on_leaving_the_country_during_strikes
					has_decision = POL_restoration_of_the_old_penal_system
					has_decision = POL_limiting_activities_at_night
					has_idea = POL_economy_status7_idea
				}
			}
		}

		visible = {
			OR = {
				has_country_flag = POL_prepare_the_coup_activation
				has_idea = POL_solidarity_strength4_idea
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_hunt_the_new_solidarity_politicians"
			set_country_flag = POL_crush_new_solidarity1
			add_ideas = POL_political_violence2_idea
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 300 }
	}

	POL_limiting_activities_at_night = {
		cost = 75
		days_remove = 60
		icon = GFX_decision_generic_police_action
		fire_only_once = yes

		available = {
			OR = {
				has_country_flag = POL_prepare_the_coup_activation
				has_idea = POL_solidarity_strength4_idea
			}
			NOT = {
				OR = {
					has_decision = POL_ban_on_leaving_the_country_during_strikes
					has_decision = POL_restoration_of_the_old_penal_system
					has_decision = POL_hunt_the_new_solidarity_politicians
					has_idea = POL_economy_status7_idea
				}
			}
		}

		visible = {
			OR = {
				has_country_flag = POL_prepare_the_coup_activation
				has_idea = POL_solidarity_strength4_idea
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_limiting_activities_at_night"
			set_country_flag = POL_crush_new_solidarity2
			add_ideas = POL_curfew_idea
			sre_economy_status_increase = yes
			custom_effect_tooltip = POL_increase_es_TT
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 300 }
	}

	POL_restoration_of_the_old_penal_system = {
		cost = 75
		days_remove = 60
		icon = GFX_decision_eng_trade_unions_demand
		fire_only_once = yes

		available = {
			OR = {
				has_country_flag = POL_prepare_the_coup_activation
				has_idea = POL_solidarity_strength4_idea
			}
			NOT = {
				OR = {
					has_decision = POL_ban_on_leaving_the_country_during_strikes
					has_decision = POL_limiting_activities_at_night
					has_decision = POL_hunt_the_new_solidarity_politicians
					has_idea = POL_economy_status7_idea
				}
			}
		}

		visible = {
			OR = {
				has_country_flag = POL_prepare_the_coup_activation
				has_idea = POL_solidarity_strength4_idea
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_restoration_of_the_old_penal_system"
			set_country_flag = POL_crush_new_solidarity3
			add_ideas = POL_stricter_penal_code_idea
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 300 }
	}

	POL_ban_on_leaving_the_country_during_strikes = {
		cost = 75
		days_remove = 60
		icon = GFX_decision_fortification
		fire_only_once = yes

		available = {
			OR = {
				has_country_flag = POL_prepare_the_coup_activation
				has_idea = POL_solidarity_strength4_idea
			}
			NOT = {
				OR = {
					has_decision = POL_restoration_of_the_old_penal_system
					has_decision = POL_limiting_activities_at_night
					has_decision = POL_hunt_the_new_solidarity_politicians
					has_idea = POL_economy_status7_idea
				}
			}
		}

		visible = {
			OR = {
				has_country_flag = POL_prepare_the_coup_activation
				has_idea = POL_solidarity_strength4_idea
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_ban_on_leaving_the_country_during_strikes"
			set_country_flag = POL_crush_new_solidarity4
			add_ideas = POL_closed_borders_idea
			sre_economy_status_increase = yes
			custom_effect_tooltip = POL_increase_es_TT
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 300 }
	}

	POL_crush_the_revolution = {
		cost = 75
		days_remove = 10
		icon = GFX_decision_com_rebel_highest
		fire_only_once = yes

		available = {
			has_country_flag = POL_crush_new_solidarity1
			has_country_flag = POL_crush_new_solidarity2
			has_country_flag = POL_crush_new_solidarity3
			has_country_flag = POL_crush_new_solidarity4
			NOT = { has_idea = POL_economy_status7_idea }
		}

		visible = {
			OR = {
				has_country_flag = POL_prepare_the_coup_activation
				has_idea = POL_solidarity_strength4_idea
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_crush_the_revolution"
			set_country_flag = POL_new_solidarity_revolution_crushed
			remove_ideas = POL_political_violence2_idea
			remove_ideas = POL_curfew_idea
			remove_ideas = POL_stricter_penal_code_idea
			remove_ideas = POL_closed_borders_idea
			sre_solidarity_strength_remove = yes
			clr_country_flag = POL_prepare_the_coup_activation
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 300 }
	}

	POL_pact_with_the_government = {
		fixed_random_seed = no
		cost = 100
		days_remove = 25
		icon = GFX_decision_com_rebel_highest
		fire_only_once = yes

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_check_cd_support_equals_two_TT
				has_idea = POL_communism_domination2_idea
			}
			communism > 0.25
			NOT = {
				OR = {
					has_idea = POL_economy_status7_idea
					has_country_flag = POL_prepare_the_coup_fail
					has_decision = POL_prepare_the_coup
					has_decision = POL_hire_secret_army_to_gain_control_over_government
				}
			}
		}

		visible = {
			has_idea = POL_communism_domination2_idea
			NOT = {
				OR = {
					has_country_flag = POL_prepare_the_coup_activation
					has_country_flag = POL_prepare_the_coup_fail
					has_country_flag = POL_prepare_the_coup_fail3
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_pact_with_the_government"
			random_list = {
				50 = {
					country_event = poland.89
					add_political_power = -75
					add_popularity = {
						ideology = communism
						popularity = -0.1
					}
				}
				50 = {
					country_event = poland.90
					sre_communism_domination_increase = yes
					custom_effect_tooltip = POL_increase_cd_TT
				}
			}
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 300 }
	}

	POL_hire_secret_army_to_gain_control_over_government = {
		fixed_random_seed = no
		custom_cost_trigger = { check_variable = { treasury > 50 } }
		custom_cost_text = cost_50_0
		days_remove = 35
		icon = GFX_decision_generic_reorganize_irregulars
		fire_only_once = yes

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_check_cd_support_equals_two_TT
				has_idea = POL_communism_domination2_idea
			}
			communism > 0.25
			NOT = {
				OR = {
					has_idea = POL_economy_status7_idea
					has_decision = POL_prepare_the_coup
					has_decision = POL_pact_with_the_government
					has_country_flag = POL_prepare_the_coup_fail3
				}
			}
		}

		visible = {
			has_idea = POL_communism_domination2_idea
			NOT = { has_country_flag = POL_prepare_the_coup_activation }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_hire_secret_army_to_gain_control_over_government"
			random_list = {
				10 = {
					country_event = poland.91
					sre_communism_domination_decrease = yes
					custom_effect_tooltip = POL_decrease_cd_TT
					sre_solidarity_strength_increase = yes
					custom_effect_tooltip = POL_increase_ss_TT
					set_country_flag = POL_prepare_the_coup_fail2
				}
				90 = {
					country_event = poland.85
					set_country_flag = POL_prepare_the_coup_activation
					set_country_flag = POL_prepare_the_coup_activation2
					custom_effect_tooltip = POL_increase_es_and_ss_auto_TT
				}
			}
			custom_effect_tooltip = POL_line_TT
			random = {
				chance = 60
				sre_economy_status_increase = yes
				custom_effect_tooltip = POL_increase_es_TT
			}
			custom_effect_tooltip = POL_line_TT
			set_temp_variable = { treasury_change = -50 }
			modify_treasury_effect = yes
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 300 }
	}

	POL_save_the_revolution = {
		cost = 15
		days_remove = 3
		icon = GFX_decision_SOV_secure_the_administration
		fixed_random_seed = no

		available = {
			has_country_flag = POL_prepare_the_coup_fail
			has_country_flag = POL_prepare_the_coup_fail2
			NOT = { has_idea = POL_economy_status7_idea }
		}

		visible = {
			has_country_flag = POL_prepare_the_coup_fail
			has_country_flag = POL_prepare_the_coup_fail2
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_save_the_revolution"
			random_list = {
				5 = {
					country_event = poland.90
					country_event = poland.169
					if = {
						limit = { has_idea = POL_communism_domination1_idea }
						swap_ideas = {
							remove_idea = POL_communism_domination1_idea
							add_idea = POL_communism_domination3_idea
						}
					}
					else = {
						sre_communism_domination_increase = yes
						custom_effect_tooltip = POL_increase_cd_TT
					}
					add_to_variable = { POL_pp_regain = 15 }
					clr_country_flag = POL_prepare_the_coup_fail2
					clr_country_flag = POL_prepare_the_coup_fail
					set_country_flag = POL_prepare_the_coup_fail3
				}
				95 = {
					set_temp_variable = { treasury_change = -15 }
					modify_treasury_effect = yes
					add_to_variable = { POL_pp_regain = 15 }
				}
			}
			custom_effect_tooltip = POL_line_TT
			random = {
				chance = 50
				sre_economy_status_increase = yes
				custom_effect_tooltip = POL_increase_es_TT
			}
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 600 }
	}

	POL_new_solidarity_final_strike = {
		icon = GFX_decision_war

		activation = {
			has_country_flag = POL_prepare_the_coup_fail
			has_country_flag = POL_prepare_the_coup_fail2
		}

		available = {
			NOT = {
				OR = {
					has_country_flag = POL_prepare_the_coup_fail
					has_country_flag = POL_prepare_the_coup_fail2
				}
			}
			has_idea = POL_communism_domination3_idea
		}

		fire_only_once = yes
		is_good = no
		selectable_mission = no
		days_mission_timeout = 30

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_new_solidarity_final_strike"
			start_civil_war = {
				ruling_party = communism
				ideology = neutrality
				size = 0.65
				capital = 112
				states = {
					112 1098 115 433 111 626 625 474 113
				}
				hidden_effect = {
					NATO_join = yes
					USA = { add_to_faction = PREV }
				}
				set_temp_variable = { rul_party_temp = 14 }
				change_ruling_party_effect = yes
				keep_political_leader = yes
				keep_political_party_members = yes
				create_country_leader = {
					name = "Lech Wałęsa"
					picture = lech_walesa.dds
					expire = "2024.2.21"
					ideology = Neutral_conservatism
					traits = {
						geopolitical_thinker
						triumphant_revolutionary
					}
				}
			}
			NATO_leave = yes
			country_event = poland.87
			if = {
				limit = { has_idea = POL_communism_domination1_idea }
				swap_ideas = {
					remove_idea = POL_communism_domination1_idea
					add_idea = POL_communism_domination5_idea
				}
			}
			else_if = {
				limit = { has_idea = POL_communism_domination2_idea }
				swap_ideas = {
					remove_idea = POL_communism_domination2_idea
					add_idea = POL_communism_domination5_idea
				}
			}
			clr_country_flag = POL_communism_uprising_again_activation
			sre_solidarity_strength_remove = yes
			sre_economy_status_remove = yes
			set_country_flag = POL_solidarity_revolution
			POL_gui_dirty_update = yes
		}
	}

	POL_communism_is_the_only_right_ideology = {
		cost = 50
		days_remove = 25
		fixed_random_seed = no
		icon = GFX_decision_fire

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_check_cd_support_equals_three_TT
				has_idea = POL_communism_domination3_idea
			}
			communism > 0.5
			NOT = {
				OR = {
					has_idea = POL_economy_status7_idea
					has_country_flag = POL_prepare_the_coup_activation
				}
			}
		}

		visible = {
			has_idea = POL_communism_domination3_idea
			NOT = { has_country_flag = POL_ss_increased }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_communism_is_the_only_right_ideology"
			random_list = {
				15 = {
					add_political_power = -20
					custom_effect_tooltip = POL_line_TT
				}
				15 = {
					country_event = poland.92
					sre_solidarity_strength_increase = yes
					custom_effect_tooltip = POL_increase_ss_TT
					set_country_flag = POL_ss_increased
					custom_effect_tooltip = POL_line_TT
				}
				70 = {
					country_event = poland.93
					sre_communism_domination_increase = yes
					custom_effect_tooltip = POL_increase_cd_TT
				}
			}
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 300 }
	}

	POL_defamation_of_walesa = {
		cost = 75
		days_remove = 25
		fixed_random_seed = no
		icon = GFX_decision_generic_operation

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_check_cd_support_equals_three_TT
				has_idea = POL_communism_domination3_idea
			}
			communism > 0.5
			NOT = { has_idea = POL_economy_status7_idea }
		}

		visible = {
			has_idea = POL_communism_domination3_idea
			has_country_flag = POL_ss_increased
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_defamation_of_walesa"
			random_list = {
				10 = { add_political_power = -40 }
				10 = {
					country_event = poland.94
					sre_solidarity_strength_increase = yes
					custom_effect_tooltip = POL_increase_ss_TT
				}
				80 = {
					country_event = poland.93
					sre_communism_domination_increase = yes
					custom_effect_tooltip = POL_increase_cd_TT
				}
			}
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 300 }
	}

	POL_fill_the_government_with_communists = {
		cost = 50
		days_remove = 14
		icon = GFX_decision_SOV_secure_the_administration

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_check_cd_support_equals_four_TT
				has_idea = POL_communism_domination4_idea
			}
			communism > 0.5
			NOT = {
				OR = {
					has_idea = POL_economy_status7_idea
					has_country_flag = POL_prepare_the_coup_activation
				}
			}
		}

		visible = { has_idea = POL_communism_domination4_idea }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_fill_the_government_with_communists"
			country_event = poland.95
			sre_communism_domination_increase = yes
			custom_effect_tooltip = POL_increase_cd_TT
			POL_gui_dirty_update = yes
		}

		ai_will_do = { base = 300 }
	}
}

POL_control_everything_category = {
	POL_military_doctors_in_hospitals = {
		cost = 75
		days_remove = 21
		icon = GFX_decision_army
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_military_doctors_in_hospitals"
			add_stability = -0.05
			decrease_healthcare_budget = yes
			add_ideas = POL_controlled_hospitals_idea
		}

		ai_will_do = { base = 50 }
	}

	POL_propaganda_in_schools = {
		cost = 75
		days_remove = 21
		icon = GFX_decision_boost
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_propaganda_in_schools"
			add_stability = -0.05
			decrease_education_budget = yes
			add_ideas = POL_false_history_idea
		}

		ai_will_do = { base = 50 }
	}
}

POL_department_of_foreign_influence_category = {
	### VISEGRAD
	POL_start_visegrad_plans = {
		cost = 100
		days_remove = 7
		icon = GFX_decision_SOV_place_hq_exiles
		fire_only_once = yes

		visible = {
			NOT = {
				OR = {
					CZE = { is_in_faction_with = POL }
					CZE = { is_subject_of = POL }
					CZE = { all_core_state = { is_fully_controlled_by = POL } }
					SLO = { is_in_faction_with = POL }
					SLO = { is_subject_of = POL }
					SLO = { all_core_state = { is_fully_controlled_by = POL } }
					HUN = { is_in_faction_with = POL }
					HUN = { is_subject_of = POL }
					HUN = { all_core_state = { is_fully_controlled_by = POL } }
				}
			}
		}

		available = { has_completed_focus = POL_visegrad_strategy }

		highlight_states = {
			highlight_state_targets = {
				state = 117
				state = 118
				state = 119
				state = 120
				state = 121
				state = 122
				state = 123
				state = 999
				state = 1017
				state = 1018
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_start_visegrad_plans"
			set_country_flag = POL_start_visegrad_plans_flag
			custom_effect_tooltip = POL_start_visegrad_plans_TT
			sre_foreign_influence_spirit = yes
			activate_mission = POL_visegrad_plans_deadline_mission
		}

		ai_will_do = { base = 150 }
	}

	POL_visegrad_plans_deadline_mission = {
		is_good = no
		selectable_mission = no
		days_mission_timeout = 912
		icon = GFX_decision_eng_trade_unions_demand
		fire_only_once = yes

		activation = {
			has_country_flag = POL_start_visegrad_plans_flag
			NOT = {
				OR = {
					CZE = { is_in_faction_with = POL }
					CZE = { is_subject_of = POL }
					CZE = { all_core_state = { is_fully_controlled_by = POL } }
					SLO = { is_in_faction_with = POL }
					SLO = { is_subject_of = POL }
					SLO = { all_core_state = { is_fully_controlled_by = POL } }
					HUN = { is_in_faction_with = POL }
					HUN = { is_subject_of = POL }
					HUN = { all_core_state = { is_fully_controlled_by = POL } }
				}
			}
		}

		available = {
			OR = {
				CZE = { is_in_faction_with = POL }
				CZE = { is_subject_of = POL }
				CZE = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				SLO = { is_in_faction_with = POL }
				SLO = { is_subject_of = POL }
				SLO = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				HUN = { is_in_faction_with = POL }
				HUN = { is_subject_of = POL }
				HUN = { all_core_state = { is_fully_controlled_by = POL } }
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 117
				state = 118
				state = 119
				state = 120
				state = 121
				state = 122
				state = 123
				state = 999
				state = 1017
				state = 1018
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_visegrad_plans_deadline_mission"
			clr_country_flag = POL_start_visegrad_plans_flag
			set_country_flag = POL_visegrad_plans_failed_flag
			sre_grand_council_decrease = yes
			custom_effect_tooltip = POL_visegrad_plans_failed_flag_TT
			add_political_power = -300
		}
	}

	POL_visegrad_plans_influence_mission = {
		is_good = no
		selectable_mission = no
		days_mission_timeout = 60
		icon = GFX_decision_eng_trade_unions_demand

		activation = {
			has_country_flag = POL_start_visegrad_plans_flag
			NOT = {
				OR = {
					CZE = { is_in_faction_with = POL }
					CZE = { is_subject_of = POL }
					CZE = { all_core_state = { is_fully_controlled_by = POL } }
					SLO = { is_in_faction_with = POL }
					SLO = { is_subject_of = POL }
					SLO = { all_core_state = { is_fully_controlled_by = POL } }
					HUN = { is_in_faction_with = POL }
					HUN = { is_subject_of = POL }
					HUN = { all_core_state = { is_fully_controlled_by = POL } }
				}
			}
		}

		available = {
			OR = {
				CZE = { is_in_faction_with = POL }
				CZE = { is_subject_of = POL }
				CZE = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				SLO = { is_in_faction_with = POL }
				SLO = { is_subject_of = POL }
				SLO = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				HUN = { is_in_faction_with = POL }
				HUN = { is_subject_of = POL }
				HUN = { all_core_state = { is_fully_controlled_by = POL } }
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 117
				state = 118
				state = 119
				state = 120
				state = 121
				state = 122
				state = 123
				state = 999
				state = 1017
				state = 1018
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_visegrad_plans_influence_mission"
			if = {
				limit = { CZE = { influence_higher_5 = yes } }
				set_temp_variable = { percent_change = -5 }
				set_temp_variable = { influence_target = CZE }
				change_influence_percentage = yes
				CZE = {
					add_popularity = {
						ideology = communism
						popularity = -0.02
					}
				}
			}
			if = {
				limit = { SLO = { influence_higher_5 = yes } }
				set_temp_variable = { percent_change = -5 }
				set_temp_variable = { influence_target = SLO }
				change_influence_percentage = yes
				SLO = {
					add_popularity = {
						ideology = communism
						popularity = -0.02
					}
				}
			}
			if = {
				limit = { HUN = { influence_higher_5 = yes } }
				set_temp_variable = { percent_change = -5 }
				set_temp_variable = { influence_target = HUN }
				change_influence_percentage = yes
				HUN = {
					add_popularity = {
						ideology = communism
						popularity = -0.02
					}
				}
			}
			custom_effect_tooltip = POL_dofi_influence_mission_TT
		}
	}

	POL_spread_propaganda = {
		days_remove = 25
		icon = GFX_decision_eng_propaganda_campaigns

		visible = {
			has_country_flag = POL_start_visegrad_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_visegrad_plans_failed_flag
					AND = {
						OR = {
							CZE = { is_in_faction_with = POL }
							CZE = { is_subject_of = POL }
							CZE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							SLO = { is_in_faction_with = POL }
							SLO = { is_subject_of = POL }
							SLO = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							HUN = { is_in_faction_with = POL }
							HUN = { is_subject_of = POL }
							HUN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = { has_government = communism }

		highlight_states = {
			highlight_state_targets = {
				state = 117
				state = 118
				state = 119
				state = 120
				state = 121
				state = 122
				state = 123
				state = 999
				state = 1017
				state = 1018
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 70

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_spread_propaganda"
			CZE = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.03 }
				set_temp_variable = { temp_outlook_increase = 0.03 }
				change_relative_party_popularity = yes
			}
			SLO = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.03 }
				set_temp_variable = { temp_outlook_increase = 0.03 }
				change_relative_party_popularity = yes
			}
			HUN = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.03 }
				set_temp_variable = { temp_outlook_increase = 0.03 }
				change_relative_party_popularity = yes
			}
			set_temp_variable = { treasury_change = -4 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 150 }
	}

	POL_military_showcase = {
		days_remove = 30
		days_re_enable = 40
		icon = GFX_decision_generic_military

		visible = {
			has_country_flag = POL_start_visegrad_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_visegrad_plans_failed_flag
					AND = {
						OR = {
							CZE = { is_in_faction_with = POL }
							CZE = { is_subject_of = POL }
							CZE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							SLO = { is_in_faction_with = POL }
							SLO = { is_subject_of = POL }
							SLO = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							HUN = { is_in_faction_with = POL }
							HUN = { is_subject_of = POL }
							HUN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 626
				state = 115
				state = 117
				state = 1018
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = {
			has_government = communism
			divisions_in_border_state = {
				size > 9
				state = 626
				border_state = 117
			}
			divisions_in_border_state = {
				size > 9
				state = 115
				border_state = 1018
			}
			strength_ratio = {
				tag = CZE
				ratio > 1.2
			}
			has_completed_focus = POL_military_state
			NOT = { CZE = { is_in_faction_with = POL } }
		}

		cost = 105

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_military_showcase"
			CZE = {
				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 = { influence_target = CZE }
			change_influence_percentage = yes
			add_stability = -0.08
			add_war_support = 0.04
			custom_effect_tooltip = POL_cooldown_40_days_TT
		}

		ai_will_do = { base = 150 }
	}

	POL_divide_the_nations = {
		days_remove = 30
		days_re_enable = 30
		icon = GFX_decision_generic_political_rally

		visible = {
			has_country_flag = POL_start_visegrad_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_visegrad_plans_failed_flag
					AND = {
						OR = {
							CZE = { is_in_faction_with = POL }
							CZE = { is_subject_of = POL }
							CZE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							SLO = { is_in_faction_with = POL }
							SLO = { is_subject_of = POL }
							SLO = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							HUN = { is_in_faction_with = POL }
							HUN = { is_subject_of = POL }
							HUN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 119
				state = 120
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = {
			OR = {
				has_completed_focus = POL_military_state
				has_completed_focus = POL_civilian_focus_communist
			}
			has_government = communism
			SLO = {
				has_opinion = {
					target = POL
					value > 34
				}
			}
			NOT = {
				OR = {
					CZE = { is_in_faction_with = POL }
					SLO = { is_in_faction_with = POL }
				}
			}
		}

		cost = 85

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_divide_the_nations"
			SLO = {
				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 = { treasury_change = -14 }
			modify_treasury_effect = yes
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = CZE }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = SLO }
			change_influence_percentage = yes
			custom_effect_tooltip = POL_cooldown_30_days_TT
		}

		ai_will_do = { base = 150 }
	}

	POL_offer_help_in_industry_development = {
		days_remove = 20
		days_re_enable = 30
		icon = GFX_decision_refinery_dec

		visible = {
			has_country_flag = POL_start_visegrad_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_visegrad_plans_failed_flag
					AND = {
						OR = {
							CZE = { is_in_faction_with = POL }
							CZE = { is_subject_of = POL }
							CZE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							SLO = { is_in_faction_with = POL }
							SLO = { is_subject_of = POL }
							SLO = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							HUN = { is_in_faction_with = POL }
							HUN = { is_subject_of = POL }
							HUN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 117
				state = 118
				state = 119
				state = 120
				state = 1017
				state = 1018
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = {
			OR = {
				has_completed_focus = POL_focus_on_internal_matters_communist
				has_completed_focus = POL_calm_down_the_west
			}
			has_government = communism
			NOT = {
				OR = {
					CZE = { is_in_faction_with = POL }
					SLO = { is_in_faction_with = POL }
				}
			}
		}

		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_offer_help_in_industry_development"
			SLO = { country_event = poland.96 }
			CZE = { country_event = poland.97 }
			custom_effect_tooltip = POL_cooldown_30_days_TT
		}

		ai_will_do = { base = 150 }
	}

	POL_intimidation = {
		days_remove = 25
		days_re_enable = 40
		icon = GFX_decision_fist

		visible = {
			has_country_flag = POL_start_visegrad_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_visegrad_plans_failed_flag
					AND = {
						OR = {
							CZE = { is_in_faction_with = POL }
							CZE = { is_subject_of = POL }
							CZE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							SLO = { is_in_faction_with = POL }
							SLO = { is_subject_of = POL }
							SLO = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							HUN = { is_in_faction_with = POL }
							HUN = { is_subject_of = POL }
							HUN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 119
				state = 120
				state = 121
				state = 123
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = {
			OR = {
				has_completed_focus = POL_military_state
				has_completed_focus = POL_civilian_focus_communist
			}
			divisions_in_border_state = {
				size > 11
				state = 119
				border_state = 123
			}
			divisions_in_border_state = {
				size > 11
				state = 120
				border_state = 121
			}
			strength_ratio = {
				tag = HUN
				ratio > 1.4
			}
			has_government = communism
			SLO = { is_in_faction_with = POL }
			NOT = { HUN = { is_in_faction_with = POL } }
		}

		cost = 115

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_intimidation"
			HUN = {
				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
			}
			add_stability = -0.05
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = HUN }
			change_influence_percentage = yes
			custom_effect_tooltip = POL_cooldown_40_days_TT
		}

		ai_will_do = { base = 150 }
	}

	POL_diplomatic_mission = {
		days_remove = 20
		days_re_enable = 20
		icon = GFX_decision_boost

		visible = {
			has_country_flag = POL_start_visegrad_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_visegrad_plans_failed_flag
					AND = {
						OR = {
							CZE = { is_in_faction_with = POL }
							CZE = { is_subject_of = POL }
							CZE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							SLO = { is_in_faction_with = POL }
							SLO = { is_subject_of = POL }
							SLO = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							HUN = { is_in_faction_with = POL }
							HUN = { is_subject_of = POL }
							HUN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 122
				state = 999
				state = 121
				state = 123
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = {
			OR = {
				has_completed_focus = POL_focus_on_internal_matters_communist
				has_completed_focus = POL_calm_down_the_west
			}
			has_government = communism
			SLO = { is_in_faction_with = POL }
			NOT = { HUN = { is_in_faction_with = POL } }
		}

		cost = 80

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_diplomatic_mission"
			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
			}
			custom_effect_tooltip = POL_cooldown_20_days_TT
		}

		ai_will_do = { base = 150 }
	}

	POL_question_about_czech_republic = {
		days_remove = 20
		icon = GFX_decision_czechia

		visible = {
			has_country_flag = POL_start_visegrad_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_visegrad_plans_failed_flag
					AND = {
						OR = {
							CZE = { is_in_faction_with = POL }
							CZE = { is_subject_of = POL }
							CZE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							SLO = { is_in_faction_with = POL }
							SLO = { is_subject_of = POL }
							SLO = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							HUN = { is_in_faction_with = POL }
							HUN = { is_subject_of = POL }
							HUN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 117
				state = 118
				state = 1017
				state = 1018
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = {
			has_government = communism
			CZE = {
				communism > 0.45
				has_opinion = {
					target = POL
					value > 34
				}
			}
			NOT = {
				OR = {
					CZE = { is_in_faction_with = POL }
					has_country_flag = POL_invites_country_to_rep_flag
				}
			}
		}

		cost = 75

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_question_about_czech_republic"
			set_country_flag = { flag = POL_invites_country_to_rep_flag days = 20 value = 1 }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_question_about_czech_republic"
			set_variable = { POL_faction_invite = CZE.id }
			country_event = poland.105
		}

		ai_will_do = { base = 250 }
	}

	POL_invite_slovakia = {
		days_remove = 20
		icon = GFX_decision_slo_dec

		visible = {
			has_country_flag = POL_start_visegrad_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_visegrad_plans_failed_flag
					AND = {
						OR = {
							CZE = { is_in_faction_with = POL }
							CZE = { is_subject_of = POL }
							CZE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							SLO = { is_in_faction_with = POL }
							SLO = { is_subject_of = POL }
							SLO = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							HUN = { is_in_faction_with = POL }
							HUN = { is_subject_of = POL }
							HUN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 119
				state = 120
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = {
			has_government = communism
			SLO = {
				communism > 0.45
				has_opinion = {
					target = POL
					value > 34
				}
			}
			NOT = {
				OR = {
					SLO = { is_in_faction_with = POL }
					has_country_flag = POL_invites_country_to_rep_flag
				}
			}
		}

		cost = 75

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_slovakia"
			set_country_flag = { flag = POL_invites_country_to_rep_flag days = 20 value = 1 }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_slovakia"
			set_variable = { POL_faction_invite = SLO.id }
			country_event = poland.105
		}

		ai_will_do = { base = 250 }
	}

	POL_hungarian_bros = {
		days_remove = 20
		icon = GFX_decision_hungary

		visible = {
			has_country_flag = POL_start_visegrad_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_visegrad_plans_failed_flag
					AND = {
						OR = {
							CZE = { is_in_faction_with = POL }
							CZE = { is_subject_of = POL }
							CZE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							SLO = { is_in_faction_with = POL }
							SLO = { is_subject_of = POL }
							SLO = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							HUN = { is_in_faction_with = POL }
							HUN = { is_subject_of = POL }
							HUN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 121
				state = 122
				state = 123
				state = 999
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = {
			has_government = communism
			HUN = {
				communism > 0.45
				has_opinion = {
					target = POL
					value > 34
				}
			}
			NOT = {
				OR = {
					HUN = { is_in_faction_with = POL }
					HUN = { is_subject_of = POL }
					HUN = { all_core_state = { is_fully_controlled_by = POL } }
					has_country_flag = POL_invites_country_to_rep_flag
				}
			}
		}

		cost = 75

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_hungarian_bros"
			set_country_flag = { flag = POL_invites_country_to_rep_flag days = 20 value = 1 }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_hungarian_bros"
			set_variable = { POL_faction_invite = HUN.id }
			country_event = poland.105
		}

		ai_will_do = { base = 250 }
	}

	POL_add_dofi_visegrad_spirit = {
		days_remove = 30
		icon = GFX_decision_v4_dec

		visible = {
			OR = {
				CZE = { is_in_faction_with = POL }
				CZE = { is_subject_of = POL }
				CZE = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				SLO = { is_in_faction_with = POL }
				SLO = { is_subject_of = POL }
				SLO = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				HUN = { is_in_faction_with = POL }
				HUN = { is_subject_of = POL }
				HUN = { all_core_state = { is_fully_controlled_by = POL } }
			}
		}

		available = { has_government = communism }
		cost = 250

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_add_dofi_visegrad_spirit"
			sre_dofi_visegrad_spirit = yes
		}

		ai_will_do = { base = 20 }
	}

	### BALTIC
	POL_start_baltic_plans = {
		cost = 100
		days_remove = 7
		icon = GFX_decision_generic_naval
		fire_only_once = yes

		visible = {
			NOT = {
				OR = {
					LIT = { is_in_faction_with = POL }
					LIT = { is_subject_of = POL }
					LIT = { all_core_state = { is_fully_controlled_by = POL } }
					LAT = { is_in_faction_with = POL }
					LAT = { is_subject_of = POL }
					LAT = { all_core_state = { is_fully_controlled_by = POL } }
					EST = { is_in_faction_with = POL }
					EST = { is_subject_of = POL }
					EST = { all_core_state = { is_fully_controlled_by = POL } }
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1044
				state = 110
				state = 109
				state = 1043
				state = 108
				state = 1013
				state = 1058
				state = 106
				state = 105
				state = 1074
				state = 1012
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = { has_completed_focus = POL_baltic_plan }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_start_baltic_plans"
			set_country_flag = POL_start_baltic_plans_flag
			custom_effect_tooltip = POL_start_baltic_plans_TT
			sre_foreign_influence_spirit = yes
			activate_mission = POL_baltic_plans_deadline_mission
		}

		ai_will_do = { base = 150 }
	}

	POL_baltic_plans_deadline_mission = {
		is_good = no
		selectable_mission = no
		days_mission_timeout = 912
		icon = GFX_decision_generic_naval
		fire_only_once = yes

		activation = {
			has_country_flag = POL_start_baltic_plans_flag
			NOT = {
				OR = {
					AND = {
						OR = {
							LIT = { is_in_faction_with = POL }
							LIT = { is_subject_of = POL }
							LIT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							LAT = { is_in_faction_with = POL }
							LAT = { is_subject_of = POL }
							LAT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							EST = { is_in_faction_with = POL }
							EST = { is_subject_of = POL }
							EST = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
					has_country_flag = POL_baltic_plans_failed_flag
				}
			}
		}

		available = {
			OR = {
				LIT = { is_in_faction_with = POL }
				LIT = { is_subject_of = POL }
				LIT = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				LAT = { is_in_faction_with = POL }
				LAT = { is_subject_of = POL }
				LAT = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				EST = { is_in_faction_with = POL }
				EST = { is_subject_of = POL }
				EST = { all_core_state = { is_fully_controlled_by = POL } }
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1044
				state = 110
				state = 109
				state = 1043
				state = 108
				state = 1013
				state = 1058
				state = 106
				state = 105
				state = 1074
				state = 1012
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_baltic_plans_deadline_mission"
			clr_country_flag = POL_start_baltic_plans_flag
			set_country_flag = POL_baltic_plans_failed_flag
			sre_grand_council_decrease = yes
			custom_effect_tooltip = POL_baltic_plans_failed_flag_TT
			add_political_power = -300
		}
	}

	POL_baltic_plans_influence_mission = {
		is_good = no
		selectable_mission = no
		days_mission_timeout = 60
		icon = GFX_decision_generic_naval

		activation = {
			has_country_flag = POL_start_baltic_plans_flag
			NOT = {
				OR = {
					AND = {
						OR = {
							LIT = { is_in_faction_with = POL }
							LIT = { is_subject_of = POL }
							LIT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							LAT = { is_in_faction_with = POL }
							LAT = { is_subject_of = POL }
							LAT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							EST = { is_in_faction_with = POL }
							EST = { is_subject_of = POL }
							EST = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
					has_country_flag = POL_baltic_plans_failed_flag
				}
			}
		}

		available = {
			OR = {
				AND = {
					OR = {
						LIT = { is_in_faction_with = POL }
						LIT = { is_subject_of = POL }
						LIT = { all_core_state = { is_fully_controlled_by = POL } }
					}
					OR = {
						LAT = { is_in_faction_with = POL }
						LAT = { is_subject_of = POL }
						LAT = { all_core_state = { is_fully_controlled_by = POL } }
					}
					OR = {
						EST = { is_in_faction_with = POL }
						EST = { is_subject_of = POL }
						EST = { all_core_state = { is_fully_controlled_by = POL } }
					}
				}
				has_country_flag = POL_baltic_plans_failed_flag
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1044
				state = 110
				state = 109
				state = 1043
				state = 108
				state = 1013
				state = 1058
				state = 106
				state = 105
				state = 1074
				state = 1012
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_baltic_plans_influence_mission"
			if = {
				limit = { LIT = { influence_higher_5 = yes } }
				set_temp_variable = { percent_change = -5 }
				set_temp_variable = { influence_target = LIT }
				change_influence_percentage = yes
				LIT = {
					add_popularity = {
						ideology = communism
						popularity = -0.02
					}
				}
			}
			if = {
				limit = { LAT = { influence_higher_5 = yes } }
				set_temp_variable = { percent_change = -5 }
				set_temp_variable = { influence_target = LAT }
				change_influence_percentage = yes
				LAT = {
					add_popularity = {
						ideology = communism
						popularity = -0.02
					}
				}
			}
			if = {
				limit = { EST = { influence_higher_5 = yes } }
				set_temp_variable = { percent_change = -5 }
				set_temp_variable = { influence_target = EST }
				change_influence_percentage = yes
				EST = {
					add_popularity = {
						ideology = communism
						popularity = -0.02
					}
				}
			}
			custom_effect_tooltip = POL_dofi_influence_mission_TT
		}
	}

	POL_promise_protection = {
		days_remove = 20
		icon = GFX_decision_fortification

		visible = {
			has_country_flag = POL_start_baltic_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_baltic_plans_failed_flag
					AND = {
						OR = {
							LIT = { is_in_faction_with = POL }
							LIT = { is_subject_of = POL }
							LIT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							LAT = { is_in_faction_with = POL }
							LAT = { is_subject_of = POL }
							LAT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							EST = { is_in_faction_with = POL }
							EST = { is_subject_of = POL }
							EST = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = { has_government = communism }

		highlight_states = {
			highlight_state_targets = {
				state = 1044
				state = 110
				state = 109
				state = 1043
				state = 108
				state = 1013
				state = 1058
				state = 106
				state = 105
				state = 1074
				state = 1012
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 80

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_promise_protection"
			LIT = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.03 }
				set_temp_variable = { temp_outlook_increase = 0.03 }
				change_relative_party_popularity = yes
			}
			LAT = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.03 }
				set_temp_variable = { temp_outlook_increase = 0.03 }
				change_relative_party_popularity = yes
			}
			EST = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.03 }
				set_temp_variable = { temp_outlook_increase = 0.03 }
				change_relative_party_popularity = yes
			}
		}

		ai_will_do = { base = 150 }
	}

	POL_antagonize_russia_decision = {
		days_remove = 25
		icon = GFX_decision_russian_guns

		visible = {
			has_country_flag = POL_start_baltic_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_baltic_plans_failed_flag
					AND = {
						OR = {
							LIT = { is_in_faction_with = POL }
							LIT = { is_subject_of = POL }
							LIT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							LAT = { is_in_faction_with = POL }
							LAT = { is_subject_of = POL }
							LAT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							EST = { is_in_faction_with = POL }
							EST = { is_subject_of = POL }
							EST = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = { has_government = communism }

		highlight_states = {
			highlight_state_targets = {
				state = 1044
				state = 110
				state = 109
				state = 1043
				state = 108
				state = 1013
				state = 1058
				state = 106
				state = 105
				state = 1074
				state = 1012
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 110

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_antagonize_russia_decision"
			LIT = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.03 }
				set_temp_variable = { temp_outlook_increase = 0.03 }
				change_relative_party_popularity = yes
			}
			LAT = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.03 }
				set_temp_variable = { temp_outlook_increase = 0.03 }
				change_relative_party_popularity = yes
			}
			EST = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.03 }
				set_temp_variable = { temp_outlook_increase = 0.03 }
				change_relative_party_popularity = yes
			}
		}

		ai_will_do = { base = 150 }
	}

	POL_offer_rail_baltica_improvement = {
		days_remove = 20
		days_re_enable = 80
		icon = GFX_decision_generic_factory

		visible = {
			has_country_flag = POL_start_baltic_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_baltic_plans_failed_flag
					AND = {
						OR = {
							LIT = { is_in_faction_with = POL }
							LIT = { is_subject_of = POL }
							LIT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							LAT = { is_in_faction_with = POL }
							LAT = { is_subject_of = POL }
							LAT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							EST = { is_in_faction_with = POL }
							EST = { is_subject_of = POL }
							EST = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
					has_country_flag = POL_estonian_railway_built
				}
			}
		}

		available = {
			has_government = communism
			has_completed_focus = POL_rail_baltica
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1044
				state = 110
				state = 109
				state = 1043
				state = 108
				state = 1013
				state = 1058
				state = 106
				state = 105
				state = 1074
				state = 1012
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 75

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_offer_rail_baltica_improvement"
			custom_effect_tooltip = POL_rail_baltica_offer_TT
			if = {
				limit = { NOT = { has_country_flag = POL_lithuania_railway_built } }
				LIT = { country_event = poland.114 }
			}
			else_if = {
				limit = { NOT = { has_country_flag = POL_latvian_railway_built } }
				LAT = { country_event = poland.114 }
			}
			else = { EST = { country_event = poland.114 } }
			custom_effect_tooltip = POL_cooldown_80_days_TT
		}

		ai_will_do = { base = 150 }
	}

	POL_recognize_great_alliance = {
		days_remove = 25
		days_re_enable = 20
		icon = GFX_decision_generic_prepare_civil_war

		visible = {
			has_country_flag = POL_start_baltic_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_baltic_plans_failed_flag
					AND = {
						OR = {
							LIT = { is_in_faction_with = POL }
							LIT = { is_subject_of = POL }
							LIT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							LAT = { is_in_faction_with = POL }
							LAT = { is_subject_of = POL }
							LAT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							EST = { is_in_faction_with = POL }
							EST = { is_subject_of = POL }
							EST = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = { has_government = communism }

		highlight_states = {
			highlight_state_targets = {
				state = 1044
				state = 110
				state = 109
				state = 1043
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 80

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_recognize_great_alliance"
			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
			}
			custom_effect_tooltip = POL_cooldown_20_days_TT
		}

		ai_will_do = { base = 150 }
	}

	POL_threat_baltic_sea_restrictions = {
		days_remove = 25
		days_re_enable = 40
		icon = oppression

		visible = {
			has_country_flag = POL_start_baltic_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_baltic_plans_failed_flag
					AND = {
						OR = {
							LIT = { is_in_faction_with = POL }
							LIT = { is_subject_of = POL }
							LIT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							LAT = { is_in_faction_with = POL }
							LAT = { is_subject_of = POL }
							LAT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							EST = { is_in_faction_with = POL }
							EST = { is_subject_of = POL }
							EST = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = {
			ships_in_area = { area = 216 size > 6 }
			ships_in_area = { area = 9 size > 7 }
			naval_strength_ratio = {
				tag = LAT
				ratio > 1.2
			}
			naval_strength_ratio = {
				tag = EST
				ratio > 1.2
			}
			has_completed_focus = POL_military_state
			has_government = communism
		}

		highlight_states = {
			highlight_state_targets = {
				state = 108
				state = 1013
				state = 1058
				state = 106
				state = 105
				state = 1074
				state = 1012
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 115

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_threat_baltic_sea_restrictions"
			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
			}
			add_stability = -0.08
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = LAT }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = EST }
			change_influence_percentage = yes
			custom_effect_tooltip = POL_cooldown_40_days_TT
		}

		ai_will_do = { base = 150 }
	}

	POL_offer_baltic_sea_protection = {
		days_remove = 25
		days_re_enable = 30
		icon = GFX_decision_dockyard_dec

		visible = {
			has_country_flag = POL_start_baltic_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_baltic_plans_failed_flag
					AND = {
						OR = {
							LIT = { is_in_faction_with = POL }
							LIT = { is_subject_of = POL }
							LIT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							LAT = { is_in_faction_with = POL }
							LAT = { is_subject_of = POL }
							LAT = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							EST = { is_in_faction_with = POL }
							EST = { is_subject_of = POL }
							EST = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = {
			has_navy_size = { size > 14 }
			OR = {
				has_completed_focus = POL_civilian_focus_communist
				has_completed_focus = POL_stop_the_elections
			}
			has_government = communism
		}

		highlight_states = {
			highlight_state_targets = {
				state = 108
				state = 1013
				state = 1058
				state = 106
				state = 105
				state = 1074
				state = 1012
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 100

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_offer_baltic_sea_protection"
			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
			}
			add_stability = 0.04
			custom_effect_tooltip = POL_cooldown_30_days_TT
		}

		ai_will_do = { base = 150 }
	}

	POL_invite_lithuania = {
		days_remove = 20
		icon = GFX_decision_relation

		visible = {
			has_country_flag = POL_start_baltic_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_baltic_plans_failed_flag
					LIT = { is_in_faction_with = POL }
					LIT = { is_subject_of = POL }
					LIT = { all_core_state = { is_fully_controlled_by = POL } }
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1044
				state = 110
				state = 109
				state = 1043
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = {
			has_government = communism
			LIT = {
				communism > 0.45
				has_opinion = {
					target = POL
					value > 34
				}
			}
			NOT = { has_country_flag = POL_invites_country_to_rep_flag }
		}

		cost = 75

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_lithuania"
			set_country_flag = { flag = POL_invites_country_to_rep_flag days = 20 value = 1 }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_lithuania"
			set_variable = { POL_faction_invite = LIT.id }
			country_event = poland.105
		}

		ai_will_do = { base = 250 }
	}

	POL_invite_latvia = {
		days_remove = 20
		icon = GFX_decision_relation

		visible = {
			has_country_flag = POL_start_baltic_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_baltic_plans_failed_flag
					LAT = { is_in_faction_with = POL }
					LAT = { is_subject_of = POL }
					LAT = { all_core_state = { is_fully_controlled_by = POL } }
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 108
				state = 1013
				state = 1058
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = {
			has_government = communism
			LAT = {
				communism > 0.45
				has_opinion = {
					target = POL
					value > 34
				}
			}
			NOT = { has_country_flag = POL_invites_country_to_rep_flag }
		}

		cost = 75

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_latvia"
			set_country_flag = { flag = POL_invites_country_to_rep_flag days = 20 value = 1 }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_latvia"
			set_variable = { POL_faction_invite = LAT.id }
			country_event = poland.105
		}

		ai_will_do = { base = 250 }
	}

	POL_invite_estonia = {
		days_remove = 20
		icon = GFX_decision_relation

		visible = {
			has_country_flag = POL_start_baltic_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_baltic_plans_failed_flag
					EST = { is_in_faction_with = POL }
					EST = { is_subject_of = POL }
					EST = { all_core_state = { is_fully_controlled_by = POL } }
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 105
				state = 106
				state = 1074
				state = 1012
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = {
			has_government = communism
			EST = {
				communism > 0.45
				has_opinion = {
					target = POL
					value > 34
				}
			}
			NOT = { has_country_flag = POL_invites_country_to_rep_flag }
		}

		cost = 75

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_estonia"
			set_country_flag = { flag = POL_invites_country_to_rep_flag days = 20 value = 1 }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_estonia"
			set_variable = { POL_faction_invite = EST.id }
			country_event = poland.105
		}

		ai_will_do = { base = 250 }
	}

	POL_add_dofi_baltic_spirit = {
		days_remove = 30
		icon = GFX_decision_generic_naval

		visible = {
			OR = {
				LIT = { is_in_faction_with = POL }
				LIT = { is_subject_of = POL }
				LIT = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				LAT = { is_in_faction_with = POL }
				LAT = { is_subject_of = POL }
				LAT = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				EST = { is_in_faction_with = POL }
				EST = { is_subject_of = POL }
				EST = { all_core_state = { is_fully_controlled_by = POL } }
			}
		}

		available = { has_government = communism }
		cost = 250

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_add_dofi_baltic_spirit"
			sre_dofi_baltic_spirit = yes
		}

		ai_will_do = { base = 20 }
	}

	### EAST BALKAN
	POL_start_balkan_plans = {
		cost = 100
		days_remove = 7
		icon = GFX_decision_faction
		fire_only_once = yes

		visible = {
			NOT = {
				OR = {
					ROM = { is_in_faction_with = POL }
					ROM = { is_subject_of = POL }
					ROM = { all_core_state = { is_fully_controlled_by = POL } }
					BUL = { is_in_faction_with = POL }
					BUL = { is_subject_of = POL }
					BUL = { all_core_state = { is_fully_controlled_by = POL } }
				}
			}
			OR = {
				SLO = { is_in_faction_with = POL }
				SLO = { is_subject_of = POL }
				SLO = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				HUN = { is_in_faction_with = POL }
				HUN = { is_subject_of = POL }
				HUN = { all_core_state = { is_fully_controlled_by = POL } }
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 150
				state = 151
				state = 152
				state = 284
				state = 909
				state = 910
				state = 153
				state = 154
				state = 996
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = { has_completed_focus = POL_balkan_communists }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_start_balkan_plans"
			set_country_flag = POL_start_balkan_plans_flag
			custom_effect_tooltip = POL_start_balkan_plans_TT
			sre_foreign_influence_spirit = yes
			activate_mission = POL_balkan_plans_deadline_mission
		}

		ai_will_do = { base = 150 }
	}

	POL_balkan_plans_deadline_mission = {
		is_good = no
		selectable_mission = no
		days_mission_timeout = 730
		icon = GFX_decision_faction
		fire_only_once = yes

		activation = {
			has_country_flag = POL_start_balkan_plans_flag
			NOT = {
				OR = {
					AND = {
						OR = {
							ROM = { is_in_faction_with = POL }
							ROM = { is_subject_of = POL }
							ROM = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							BUL = { is_in_faction_with = POL }
							BUL = { is_subject_of = POL }
							BUL = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
					has_country_flag = POL_balkan_plans_failed_flag
				}
			}
		}

		available = {
			OR = {
				ROM = { is_in_faction_with = POL }
				ROM = { is_subject_of = POL }
				ROM = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				BUL = { is_in_faction_with = POL }
				BUL = { is_subject_of = POL }
				BUL = { all_core_state = { is_fully_controlled_by = POL } }
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 150
				state = 151
				state = 152
				state = 284
				state = 909
				state = 910
				state = 153
				state = 154
				state = 996
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_balkan_plans_deadline_mission"
			clr_country_flag = POL_start_balkan_plans_flag
			set_country_flag = POL_balkan_plans_failed_flag
			sre_grand_council_decrease = yes
			custom_effect_tooltip = POL_balkan_plans_failed_flag_TT
			add_political_power = -300
		}
	}

	POL_balkan_plans_influence_mission = {
		is_good = no
		selectable_mission = no
		days_mission_timeout = 60
		icon = GFX_decision_faction

		activation = {
			has_country_flag = POL_start_balkan_plans_flag
			NOT = {
				OR = {
					AND = {
						OR = {
							ROM = { is_in_faction_with = POL }
							ROM = { is_subject_of = POL }
							ROM = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							BUL = { is_in_faction_with = POL }
							BUL = { is_subject_of = POL }
							BUL = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
					has_country_flag = POL_balkan_plans_failed_flag
				}
			}
		}

		available = {
			OR = {
				AND = {
					OR = {
						ROM = { is_in_faction_with = POL }
						ROM = { is_subject_of = POL }
						ROM = { all_core_state = { is_fully_controlled_by = POL } }
					}
					OR = {
						BUL = { is_in_faction_with = POL }
						BUL = { is_subject_of = POL }
						BUL = { all_core_state = { is_fully_controlled_by = POL } }
					}
				}
				has_country_flag = POL_balkan_plans_failed_flag
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 150
				state = 151
				state = 152
				state = 284
				state = 909
				state = 910
				state = 153
				state = 154
				state = 996
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_balkan_plans_influence_mission"
			if = {
				limit = { ROM = { influence_higher_5 = yes } }
				set_temp_variable = { percent_change = -5 }
				set_temp_variable = { influence_target = ROM }
				change_influence_percentage = yes
				ROM = {
					add_popularity = {
						ideology = communism
						popularity = -0.02
					}
				}
			}
			if = {
				limit = { BUL = { influence_higher_5 = yes } }
				set_temp_variable = { percent_change = -5 }
				set_temp_variable = { influence_target = BUL }
				change_influence_percentage = yes
				BUL = {
					add_popularity = {
						ideology = communism
						popularity = -0.02
					}
				}
			}
			custom_effect_tooltip = POL_dofi_influence_mission_TT
		}
	}

	POL_false_promises = {
		days_remove = 15
		icon = GFX_decision_generic_speech

		visible = {
			has_country_flag = POL_start_balkan_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_balkan_plans_failed_flag
					AND = {
						OR = {
							ROM = { is_in_faction_with = POL }
							ROM = { is_subject_of = POL }
							ROM = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							BUL = { is_in_faction_with = POL }
							BUL = { is_subject_of = POL }
							BUL = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = { has_government = communism }

		highlight_states = {
			highlight_state_targets = {
				state = 150
				state = 151
				state = 152
				state = 284
				state = 909
				state = 910
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 80

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_false_promises"
			ROM = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.03 }
				set_temp_variable = { temp_outlook_increase = 0.03 }
				change_relative_party_popularity = yes
			}
			add_stability = -0.01
		}

		ai_will_do = { base = 150 }
	}

	POL_stop_the_privatization = {
		days_remove = 25
		icon = GFX_decision_oppression

		visible = {
			has_country_flag = POL_start_balkan_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_balkan_plans_failed_flag
					AND = {
						OR = {
							ROM = { is_in_faction_with = POL }
							ROM = { is_subject_of = POL }
							ROM = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							BUL = { is_in_faction_with = POL }
							BUL = { is_subject_of = POL }
							BUL = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = {
			OR = {
				has_completed_focus = POL_civilian_focus_communist
				has_completed_focus = POL_stop_the_elections
			}
			has_government = communism
		}

		highlight_states = {
			highlight_state_targets = {
				state = 150
				state = 151
				state = 152
				state = 284
				state = 909
				state = 910
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 85

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_stop_the_privatization"
			ROM = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.05 }
				set_temp_variable = { temp_outlook_increase = 0.05 }
				change_relative_party_popularity = yes
			}
		}

		ai_will_do = { base = 150 }
	}

	POL_seek_red_loyal_officers = {
		days_remove = 25
		days_re_enable = 40
		fixed_random_seed = no
		icon = GFX_decision_recruit_operative

		visible = {
			has_country_flag = POL_start_balkan_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_balkan_plans_failed_flag
					AND = {
						OR = {
							ROM = { is_in_faction_with = POL }
							ROM = { is_subject_of = POL }
							ROM = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							BUL = { is_in_faction_with = POL }
							BUL = { is_subject_of = POL }
							BUL = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = {
			has_completed_focus = POL_military_state
			has_government = communism
		}

		highlight_states = {
			highlight_state_targets = {
				state = 150
				state = 151
				state = 152
				state = 284
				state = 909
				state = 910
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 125

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_seek_red_loyal_officers"
			random_list = {
				85 = {
					ROM = {
						set_temp_variable = { party_index = 4 }
						set_temp_variable = { party_popularity_increase = 0.07 }
						set_temp_variable = { temp_outlook_increase = 0.07 }
						change_relative_party_popularity = yes
					}
				}
				15 = {
					set_temp_variable = { percent_change = -5 }
					set_temp_variable = { influence_target = ROM }
					change_influence_percentage = yes
				}
			}
			add_command_power = -35
			custom_effect_tooltip = POL_cooldown_40_days_TT
		}

		ai_will_do = { base = 150 }
	}

	POL_promote_new_form_of_the_communism = {
		days_remove = 20
		icon = GFX_decision_zsr_revol

		visible = {
			has_country_flag = POL_start_balkan_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_balkan_plans_failed_flag
					AND = {
						OR = {
							ROM = { is_in_faction_with = POL }
							ROM = { is_subject_of = POL }
							ROM = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							BUL = { is_in_faction_with = POL }
							BUL = { is_subject_of = POL }
							BUL = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = { has_government = communism }

		highlight_states = {
			highlight_state_targets = {
				state = 153
				state = 154
				state = 996
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 75

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_promote_new_form_of_the_communism"
			BUL = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.03 }
				set_temp_variable = { temp_outlook_increase = 0.03 }
				change_relative_party_popularity = yes
			}
		}

		ai_will_do = { base = 150 }
	}

	POL_be_a_part_of_greater_alliance = {
		days_remove = 25
		icon = GFX_decision_fist

		visible = {
			has_country_flag = POL_start_balkan_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_balkan_plans_failed_flag
					AND = {
						OR = {
							ROM = { is_in_faction_with = POL }
							ROM = { is_subject_of = POL }
							ROM = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							BUL = { is_in_faction_with = POL }
							BUL = { is_subject_of = POL }
							BUL = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = {
			POL = {
				num_faction_members > 3
				strength_ratio = {
					tag = BUL
					ratio > 1.5
				}
			}
			has_government = communism
		}

		highlight_states = {
			highlight_state_targets = {
				state = 153
				state = 154
				state = 996
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 75

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_be_a_part_of_greater_alliance"
			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_will_do = { base = 150 }
	}

	POL_invite_romania = {
		cost = 75
		days_remove = 20
		icon = GFX_decision_romania

		visible = {
			has_country_flag = POL_start_balkan_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_balkan_plans_failed_flag
					ROM = { is_in_faction_with = POL }
					ROM = { is_subject_of = POL }
					ROM = { all_core_state = { is_fully_controlled_by = POL } }
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 150
				state = 151
				state = 152
				state = 284
				state = 909
				state = 910
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = {
			has_government = communism
			ROM = {
				communism > 0.45
				has_opinion = {
					target = POL
					value > 34
				}
			}
			NOT = { has_country_flag = POL_invites_country_to_rep_flag }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_romania"
			set_country_flag = { flag = POL_invites_country_to_rep_flag days = 20 value = 1 }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_romania"
			set_variable = { POL_faction_invite = ROM.id }
			country_event = poland.105
		}

		ai_will_do = { base = 250 }
	}

	POL_invite_bulgaria = {
		days_remove = 20
		icon = GFX_decision_bulgarisation

		visible = {
			has_country_flag = POL_start_balkan_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_balkan_plans_failed_flag
					BUL = { is_in_faction_with = POL }
					BUL = { is_subject_of = POL }
					BUL = { all_core_state = { is_fully_controlled_by = POL } }
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 153
				state = 154
				state = 996
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = {
			has_government = communism
			BUL = {
				communism > 0.45
				has_opinion = {
					target = POL
					value > 34
				}
			}
			NOT = { has_country_flag = POL_invites_country_to_rep_flag }
		}

		cost = 75

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_bulgaria"
			set_country_flag = { flag = POL_invites_country_to_rep_flag days = 20 value = 1 }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_bulgaria"
			set_variable = { POL_faction_invite = BUL.id }
			country_event = poland.105
		}

		ai_will_do = { base = 250 }
	}

	POL_add_dofi_balkan_spirit = {
		days_remove = 30
		icon = GFX_decision_faction

		visible = {
			OR = {
				ROM = { is_in_faction_with = POL }
				ROM = { is_subject_of = POL }
				ROM = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				BUL = { is_in_faction_with = POL }
				BUL = { is_subject_of = POL }
				BUL = { all_core_state = { is_fully_controlled_by = POL } }
			}
		}

		available = { has_government = communism }
		cost = 259

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_add_dofi_balkan_spirit"
			sre_dofi_balkan_spirit = yes
		}

		ai_will_do = { base = 20 }
	}

	### SCANDINAVIA
	POL_start_scandinavia_plans = {
		cost = 100
		days_remove = 7
		icon = GFX_decision_generic_operation
		fire_only_once = yes

		visible = {
			NOT = {
				OR = {
					SWE = { is_in_faction_with = POL }
					SWE = { is_subject_of = POL }
					SWE = { all_core_state = { is_fully_controlled_by = POL } }
					FIN = { is_in_faction_with = POL }
					FIN = { is_subject_of = POL }
					FIN = { all_core_state = { is_fully_controlled_by = POL } }
				}
			}
			OR = {
				LIT = { is_in_faction_with = POL }
				LIT = { is_subject_of = POL }
				LIT = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				LAT = { is_in_faction_with = POL }
				LAT = { is_subject_of = POL }
				LAT = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				EST = { is_in_faction_with = POL }
				EST = { is_subject_of = POL }
				EST = { all_core_state = { is_fully_controlled_by = POL } }
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 550
				state = 439
				state = 35
				state = 881
				state = 34
				state = 36
				state = 33
				state = 442
				state = 100
				state = 101
				state = 102
				state = 103
				state = 104
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = { has_completed_focus = POL_secure_scandinavia }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_start_scandinavia_plans"
			set_country_flag = POL_start_scandinavia_plans_flag
			custom_effect_tooltip = POL_start_scandinavia_plans_TT
			sre_foreign_influence_spirit = yes
			activate_mission = POL_scandinavia_plans_deadline_mission
		}

		ai_will_do = { base = 150 }
	}

	POL_scandinavia_plans_deadline_mission = {
		is_good = no
		selectable_mission = no
		days_mission_timeout = 730
		icon = GFX_decision_eng_trade_unions_demand
		fire_only_once = yes

		activation = {
			has_country_flag = POL_start_scandinavia_plans_flag
			NOT = {
				OR = {
					AND = {
						OR = {
							SWE = { is_in_faction_with = POL }
							SWE = { is_subject_of = POL }
							SWE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							FIN = { is_in_faction_with = POL }
							FIN = { is_subject_of = POL }
							FIN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
					has_country_flag = POL_scandinavia_plans_failed_flag
				}
			}
		}

		available = {
			OR = {
				SWE = { is_in_faction_with = POL }
				SWE = { is_subject_of = POL }
				SWE = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				FIN = { is_in_faction_with = POL }
				FIN = { is_subject_of = POL }
				FIN = { all_core_state = { is_fully_controlled_by = POL } }
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 550
				state = 439
				state = 35
				state = 881
				state = 34
				state = 36
				state = 33
				state = 442
				state = 100
				state = 101
				state = 102
				state = 103
				state = 104
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_scandinavia_plans_deadline_mission"
			clr_country_flag = POL_start_scandinavia_plans_flag
			set_country_flag = POL_scandinavia_plans_failed_flag
			sre_grand_council_decrease = yes
			custom_effect_tooltip = POL_scandinavia_plans_failed_flag_TT
			add_political_power = -300
		}
	}

	POL_scandinavia_plans_influence_mission = {
		is_good = no
		selectable_mission = no
		days_mission_timeout = 60
		icon = GFX_decision_eng_trade_unions_demand

		activation = {
			has_country_flag = POL_start_scandinavia_plans_flag
			NOT = {
				OR = {
					AND = {
						OR = {
							SWE = { is_in_faction_with = POL }
							SWE = { is_subject_of = POL }
							SWE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							FIN = { is_in_faction_with = POL }
							FIN = { is_subject_of = POL }
							FIN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
					has_country_flag = POL_scandinavia_plans_failed_flag
				}
			}
		}

		available = {
			OR = {
				AND = {
					OR = {
						SWE = { is_in_faction_with = POL }
						SWE = { is_subject_of = POL }
						SWE = { all_core_state = { is_fully_controlled_by = POL } }
					}
					OR = {
						FIN = { is_in_faction_with = POL }
						FIN = { is_subject_of = POL }
						FIN = { all_core_state = { is_fully_controlled_by = POL } }
					}
				}
				has_country_flag = POL_scandinavia_plans_failed_flag
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 550
				state = 439
				state = 35
				state = 881
				state = 34
				state = 36
				state = 33
				state = 442
				state = 100
				state = 101
				state = 102
				state = 103
				state = 104
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_scandinavia_plans_influence_mission"
			if = {
				limit = { SWE = { influence_higher_5 = yes } }
				set_temp_variable = { percent_change = -5 }
				set_temp_variable = { influence_target = SWE }
				change_influence_percentage = yes
				SWE = {
					add_popularity = {
						ideology = communism
						popularity = -0.02
					}
				}
			}
			if = {
				limit = { FIN = { influence_higher_5 = yes } }
				set_temp_variable = { percent_change = -5 }
				set_temp_variable = { influence_target = FIN }
				change_influence_percentage = yes
				FIN = {
					add_popularity = {
						ideology = communism
						popularity = -0.02
					}
				}
			}
			custom_effect_tooltip = POL_dofi_influence_mission_TT
		}
	}

	POL_better_stick_together = {
		days_remove = 25
		icon = GFX_decision_relation

		visible = {
			has_country_flag = POL_start_scandinavia_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_scandinavia_plans_failed_flag
					AND = {
						OR = {
							SWE = { is_in_faction_with = POL }
							SWE = { is_subject_of = POL }
							SWE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							FIN = { is_in_faction_with = POL }
							FIN = { is_subject_of = POL }
							FIN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = { has_government = communism }

		highlight_states = {
			highlight_state_targets = {
				state = 550
				state = 439
				state = 35
				state = 881
				state = 34
				state = 36
				state = 33
				state = 442
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 75

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_better_stick_together"
			SWE = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.03 }
				set_temp_variable = { temp_outlook_increase = 0.03 }
				change_relative_party_popularity = yes
			}
		}

		ai_will_do = { base = 150 }
	}

	POL_follow_your_neighbor = {
		days_remove = 30
		days_re_enable = 30
		icon = GFX_decision_generic_political_discourse

		visible = {
			has_country_flag = POL_start_scandinavia_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_scandinavia_plans_failed_flag
					AND = {
						OR = {
							SWE = { is_in_faction_with = POL }
							SWE = { is_subject_of = POL }
							SWE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							FIN = { is_in_faction_with = POL }
							FIN = { is_subject_of = POL }
							FIN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = {
			FIN = {
				OR = {
					is_in_faction_with = POL
					is_subject_of = POL
				}
			}
			has_government = communism
		}

		highlight_states = {
			highlight_state_targets = {
				state = 550
				state = 439
				state = 35
				state = 881
				state = 34
				state = 36
				state = 33
				state = 442
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 95

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_follow_your_neighbor"
			SWE = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.07 }
				set_temp_variable = { temp_outlook_increase = 0.07 }
				change_relative_party_popularity = yes
			}
			custom_effect_tooltip = POL_cooldown_30_days_TT
		}

		ai_will_do = { base = 150 }
	}

	POL_major_propaganda_campaign = {
		days_remove = 30
		days_re_enable = 40
		icon = GFX_decision_eng_propaganda_campaigns

		visible = {
			has_country_flag = POL_start_scandinavia_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_scandinavia_plans_failed_flag
					AND = {
						OR = {
							SWE = { is_in_faction_with = POL }
							SWE = { is_subject_of = POL }
							SWE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							FIN = { is_in_faction_with = POL }
							FIN = { is_subject_of = POL }
							FIN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = { has_government = communism }

		highlight_states = {
			highlight_state_targets = {
				state = 550
				state = 439
				state = 35
				state = 881
				state = 34
				state = 36
				state = 33
				state = 442
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 115

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_major_propaganda_campaign"
			SWE = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.07 }
				set_temp_variable = { temp_outlook_increase = 0.07 }
				change_relative_party_popularity = yes
			}
			add_command_power = -20
			add_stability = -0.04
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
			custom_effect_tooltip = POL_cooldown_40_days_TT
		}

		ai_will_do = { base = 150 }
	}

	POL_new_communism_isnt_that_bad = {
		days_remove = 20
		icon = GFX_decision_faction

		visible = {
			has_country_flag = POL_start_scandinavia_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_scandinavia_plans_failed_flag
					AND = {
						OR = {
							SWE = { is_in_faction_with = POL }
							SWE = { is_subject_of = POL }
							SWE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							FIN = { is_in_faction_with = POL }
							FIN = { is_subject_of = POL }
							FIN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = { has_government = communism }

		highlight_states = {
			highlight_state_targets = {
				state = 100
				state = 101
				state = 102
				state = 103
				state = 104
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 80

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_new_communism_isnt_that_bad"
			FIN = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.03 }
				set_temp_variable = { temp_outlook_increase = 0.03 }
				change_relative_party_popularity = yes
			}
		}

		ai_will_do = { base = 150 }
	}

	POL_opportunity_to_regain_mannerheim_line_territories = {
		days_remove = 30
		icon = GFX_decision_war

		visible = {
			has_country_flag = POL_start_scandinavia_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_scandinavia_plans_failed_flag
					AND = {
						OR = {
							SWE = { is_in_faction_with = POL }
							SWE = { is_subject_of = POL }
							SWE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							FIN = { is_in_faction_with = POL }
							FIN = { is_subject_of = POL }
							FIN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = {
			SOV = {
				controls_state = 643
				controls_state = 644
				controls_state = 1128
			}
			has_government = communism
		}

		highlight_states = {
			highlight_state_targets = {
				state = 100
				state = 101
				state = 102
				state = 103
				state = 104
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 105

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_opportunity_to_regain_mannerheim_line_territories"
			FIN = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.05 }
				set_temp_variable = { temp_outlook_increase = 0.05 }
				change_relative_party_popularity = yes
				add_war_support = 0.02
			}
		}

		ai_will_do = { base = 150 }
	}

	POL_soviet_regime_is_long_over = {
		days_remove = 25
		icon = GFX_decision_com_rebel_weaken

		visible = {
			has_country_flag = POL_start_scandinavia_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_scandinavia_plans_failed_flag
					AND = {
						OR = {
							SWE = { is_in_faction_with = POL }
							SWE = { is_subject_of = POL }
							SWE = { all_core_state = { is_fully_controlled_by = POL } }
						}
						OR = {
							FIN = { is_in_faction_with = POL }
							FIN = { is_subject_of = POL }
							FIN = { all_core_state = { is_fully_controlled_by = POL } }
						}
					}
				}
			}
		}

		available = { has_government = communism }

		highlight_states = {
			highlight_state_targets = {
				state = 100
				state = 101
				state = 102
				state = 103
				state = 104
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		cost = 75

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_soviet_regime_is_long_over"
			FIN = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.05 }
				set_temp_variable = { temp_outlook_increase = 0.05 }
				change_relative_party_popularity = yes
			}
		}

		ai_will_do = { base = 150 }
	}

	POL_invite_sweden_two = {
		days_remove = 20
		icon = GFX_decision_sweden

		visible = {
			has_country_flag = POL_start_scandinavia_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_scandinavia_plans_failed_flag
					SWE = { is_in_faction_with = POL }
					SWE = { is_subject_of = POL }
					SWE = { all_core_state = { is_fully_controlled_by = POL } }
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 550
				state = 439
				state = 35
				state = 881
				state = 34
				state = 36
				state = 33
				state = 442
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = {
			has_government = communism
			SWE = {
				communism > 0.45
				has_opinion = {
					target = POL
					value > 34
				}
			}
		}

		cost = 75

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_sweden_two"
			set_country_flag = { flag = POL_invites_country_to_rep_flag days = 20 value = 1 }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_sweden_two"
			set_variable = { POL_faction_invite = SWE.id }
			country_event = poland.105
		}

		ai_will_do = { base = 250 }
	}

	POL_invite_finland = {
		days_remove = 20
		icon = GFX_decision_finland

		visible = {
			has_country_flag = POL_start_scandinavia_plans_flag
			NOT = {
				OR = {
					has_country_flag = POL_scandinavia_plans_failed_flag
					FIN = { is_in_faction_with = POL }
					FIN = { is_subject_of = POL }
					FIN = { all_core_state = { is_fully_controlled_by = POL } }
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 100
				state = 101
				state = 102
				state = 103
				state = 104
			}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		available = {
			has_government = communism
			FIN = {
				communism > 0.45
				has_opinion = {
					target = POL
					value > 34
				}
			}
		}

		cost = 75

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_finland"
			set_country_flag = { flag = POL_invites_country_to_rep_flag days = 20 value = 1 }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invite_finland"
			set_variable = { POL_faction_invite = FIN.id }
			country_event = poland.105
		}

		ai_will_do = { base = 250 }
	}

	POL_add_dofi_scandinavia_spirit = {
		days_remove = 30
		icon = GFX_decision_SOV_stalinist_state

		visible = {
			OR = {
				SWE = { is_in_faction_with = POL }
				SWE = { is_subject_of = POL }
				SWE = { all_core_state = { is_fully_controlled_by = POL } }
			}
			OR = {
				FIN = { is_in_faction_with = POL }
				FIN = { is_subject_of = POL }
				FIN = { all_core_state = { is_fully_controlled_by = POL } }
			}
		}

		available = { has_government = communism }
		cost = 250

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_add_dofi_scandinavia_spirit"
			sre_dofi_scandinavia_spirit = yes
		}

		ai_will_do = { base = 20 }
	}
}

POL_six_year_plan_category = {
	POL_improve_national_highways = {
		cost = 25
		days_remove = 365
		icon = GFX_decision_highway_dec

		available = {
			has_government = communism
			has_completed_focus = POL_two_year_plan
			hidden_trigger = {
				NOT = {
					OR = {
						has_decision = POL_clean_up_chaos_in_administration
						has_decision = POL_invest_in_modern_factory_machinery
						has_decision = POL_fund_laboratories
						has_decision = POL_military_industrialization
						has_decision = POL_nuclear_energy
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_improve_national_highways"
			three_random_infrastructure = yes
			two_random_infrastructure = yes
			add_to_variable = { THIS.pol_inventions = 2 }
			clamp_variable = {
				var = THIS.pol_inventions
				min = 0
				max = 6
			}
			if = {
				limit = { check_variable = { THIS.pol_inventions > 5 } }
				sre_pol_six_year_plan_exceed = yes
			}
		}

		ai_will_do = { base = 120 }
	}

	POL_clean_up_chaos_in_administration = {
		cost = 25
		days_remove = 730
		icon = GFX_decision_gre_paying_ifc_debt

		available = {
			has_government = communism
			has_completed_focus = POL_four_year_plan
			hidden_trigger = {
				NOT = {
					OR = {
						has_decision = POL_improve_national_highways
						has_decision = POL_invest_in_modern_factory_machinery
						has_decision = POL_fund_laboratories
						has_decision = POL_military_industrialization
						has_decision = POL_nuclear_energy
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_clean_up_chaos_in_administration"
			three_office_construction = yes
			increase_centralization = yes
			add_political_power = 200
			add_to_variable = { THIS.pol_inventions = 2 }
			clamp_variable = {
				var = THIS.pol_inventions
				min = 0
				max = 6
			}
			if = {
				limit = { check_variable = { THIS.pol_inventions > 5 } }
				sre_pol_six_year_plan_exceed = yes
			}
		}

		ai_will_do = { base = 120 }
	}

	POL_invest_in_modern_factory_machinery = {
		cost = 25
		days_remove = 365
		icon = GFX_decision_civ_fac

		available = {
			has_government = communism
			has_completed_focus = POL_two_year_plan
			hidden_trigger = {
				NOT = {
					OR = {
						has_decision = POL_improve_national_highways
						has_decision = POL_clean_up_chaos_in_administration
						has_decision = POL_fund_laboratories
						has_decision = POL_military_industrialization
						has_decision = POL_nuclear_energy
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_invest_in_modern_factory_machinery"
			two_random_industrial_complex = yes
			increase_economic_growth = yes
			add_stability = 0.15
			add_to_variable = { THIS.pol_inventions = 2 }
			clamp_variable = {
				var = THIS.pol_inventions
				min = 0
				max = 6
			}
			if = {
				limit = { check_variable = { THIS.pol_inventions > 5 } }
				sre_pol_six_year_plan_exceed = yes
			}
		}

		ai_will_do = { base = 120 }
	}

	POL_fund_laboratories = {
		cost = 25
		days_remove = 365
		icon = GFX_decision_generic_research

		available = {
			has_government = communism
			has_completed_focus = POL_two_year_plan
			hidden_trigger = {
				NOT = {
					OR = {
						has_decision = POL_improve_national_highways
						has_decision = POL_clean_up_chaos_in_administration
						has_decision = POL_invest_in_modern_factory_machinery
						has_decision = POL_military_industrialization
						has_decision = POL_nuclear_energy
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_fund_laboratories"
			set_temp_variable = { treasury_change = -50 }
			modify_treasury_effect = yes
			add_tech_bonus = {
				name = POL_fund_laboratories
				bonus = 0.25
				uses = 2
				category = CAT_industry
			} hidden_effect = { rq_eb_a154102247 = yes }
			add_tech_bonus = {
				name = POL_fund_laboratories
				bonus = 0.15
				uses = 3
				category = CAT_fuel_refining
			} hidden_effect = { rq_eb_f1586c0c9a = yes }
			add_tech_bonus = {
				name = POL_fund_laboratories
				bonus = 0.5
				uses = 1
				category = CAT_information_technology
			} hidden_effect = { rq_eb_278141c206 = yes }
			add_tech_bonus = {
				name = POL_fund_laboratories
				bonus = 0.5
				uses = 1
				category = CAT_nuclear_reactors
			} hidden_effect = { rq_eb_c4e24bef58 = yes }
			add_to_variable = { THIS.pol_inventions = 2 }
			clamp_variable = {
				var = THIS.pol_inventions
				min = 0
				max = 6
			}
			if = {
				limit = { check_variable = { THIS.pol_inventions > 5 } }
				sre_pol_six_year_plan_exceed = yes
			}
		}

		ai_will_do = { base = 120 }
	}

	POL_military_industrialization = {
		cost = 25
		days_remove = 730
		icon = GFX_decision_mil_fac

		available = {
			has_government = communism
			has_completed_focus = POL_four_year_plan
			hidden_trigger = {
				NOT = {
					OR = {
						has_decision = POL_improve_national_highways
						has_decision = POL_clean_up_chaos_in_administration
						has_decision = POL_invest_in_modern_factory_machinery
						has_decision = POL_fund_laboratories
						has_decision = POL_nuclear_energy
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_military_industrialization"
			three_random_arms_factory = yes
			two_air_base = yes
			two_radar_station = yes
			increase_military_spending = yes
			add_to_variable = { THIS.pol_inventions = 2 }
			clamp_variable = {
				var = THIS.pol_inventions
				min = 0
				max = 6
			}
			if = {
				limit = { check_variable = { THIS.pol_inventions > 5 } }
				sre_pol_six_year_plan_exceed = yes
			}
		}

		ai_will_do = { base = 120 }
	}

	POL_nuclear_energy = {
		cost = 25
		days_remove = 730
		icon = GFX_decision_reactor_dec

		available = {
			has_government = communism
			has_completed_focus = POL_four_year_plan
			has_tech = nuclear_technology
			hidden_trigger = {
				NOT = {
					OR = {
						has_decision = POL_improve_national_highways
						has_decision = POL_clean_up_chaos_in_administration
						has_decision = POL_invest_in_modern_factory_machinery
						has_decision = POL_fund_laboratories
						has_decision = POL_military_industrialization
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_nuclear_energy"
			one_random_nuclear_reactor = yes
			two_random_renewable_energy_infra = yes
			add_to_variable = { THIS.pol_inventions = 2 }
			clamp_variable = {
				var = THIS.pol_inventions
				min = 0
				max = 6
			}
			if = {
				limit = { check_variable = { THIS.pol_inventions > 5 } }
				sre_pol_six_year_plan_exceed = yes
			}
		}

		ai_will_do = { base = 120 }
	}
}

POL_communists_vs_social_democrats_category = {
	POL_arrest_communist_supporters = {
		cost = 50
		days_remove = 15
		icon = GFX_decision_generic_arrest

		available = {
			has_government = communism
			has_civil_war = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_arrest_communist_supporters"
			add_stability = 0.07
			add_manpower = -1500
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 400
				producer = POL
			}
		}

		ai_will_do = { base = 220 }
	}

	POL_obligatory_army_service = {
		cost = 75
		days_remove = 20
		icon = GFX_decision_generic_military
		fire_only_once = yes

		available = {
			has_government = communism
			has_civil_war = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_obligatory_army_service"
			add_stability = -0.05
			increase_military_spending = yes
			hidden_effect = {
				decrease_healthcare_budget = yes
				increase_policing_budget_2 = yes
				decrease_education_budget = yes
			}
			set_draft_army_effect = yes
		}

		ai_will_do = { base = 220 }
	}

	POL_seek_help_in_western_countries = {
		days_remove = 15
		icon = GFX_decision_SWI_swiss_democratic_tradition_campaign
		fire_only_once = yes

		available = {
			has_government = communism
			has_civil_war = yes
			democratic > 0.2
			surrender_progress < 0.65
		}

		cost = 200

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_seek_help_in_western_countries"
			GER = { country_event = poland.162 }
			ITA = { country_event = poland.162 }
			CZE = { country_event = poland.162 }
			SLO = { country_event = poland.162 }
			FRA = { country_event = poland.162 }
			ENG = { country_event = poland.162 }
			USA = { country_event = poland.162 }
		}

		ai_will_do = { base = 220 }
	}

	POL_communist_uprising_in_dolny_slask = {
		is_good = no
		selectable_mission = no
		days_mission_timeout = 45
		icon = GFX_decision_border_war
		fire_only_once = yes

		activation = {
			has_completed_focus = POL_betray_the_communists
			has_civil_war = yes
		}

		available = {
			OR = {
				NOT = { has_civil_war = yes }
				NOT = { controls_state = 626 }
				AND = {
					has_stability > 0.1
					army_manpower_in_state = {
						amount > 10000
						state = 626
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = { state = 626 }
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_communist_uprising_in_dolny_slask"
			every_enemy_country = { POL = { 626 = { transfer_state_to = PREV.PREV } } }
			add_stability = -0.1
			add_political_power = -100
		}
	}

	POL_communist_uprising_in_warmia_i_mazury = {
		is_good = no
		selectable_mission = no
		days_mission_timeout = 90
		icon = GFX_decision_border_war
		fire_only_once = yes

		activation = {
			has_completed_focus = POL_betray_the_communists
			has_civil_war = yes
		}

		available = {
			OR = {
				NOT = { has_civil_war = yes }
				NOT = { controls_state = 116 }
				AND = {
					has_stability > 0.1
					army_manpower_in_state = {
						amount > 10000
						state = 116
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = { state = 116 }
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_communist_uprising_in_warmia_i_mazury"
			every_enemy_country = { POL = { 116 = { transfer_state_to = PREV.PREV } } }
			add_stability = -0.1
			add_political_power = -100
		}
	}
}

POL_civ_mil_category = {
	POL_improve_coast_line = {
		days_remove = 365
		icon = GFX_decision_dockyard_dec
		fire_only_once = yes

		available = {
			has_government = communism
			has_completed_focus = POL_improve_naval_industry
		}

		cost = 100

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_improve_coast_line"
			navy_experience = 100
			two_random_dockyards = yes
			add_ideas = POL_coast_line_protection_idea
		}

		ai_will_do = { base = 220 }
	}

	POL_modernize_office_sectors = {
		days_remove = 365
		icon = GFX_decision_generic_decision
		fire_only_once = yes

		available = {
			has_government = communism
			has_completed_focus = POL_develop_hi_tech_branch
		}

		cost = 100

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_modernize_office_sectors"
			two_office_construction = yes
		}

		ai_will_do = { base = 220 }
	}

	POL_improve_oil_exploitation = {
		days_remove = 365
		icon = GFX_decision_refinery_dec
		fire_only_once = yes

		available = {
			has_government = communism
			has_completed_focus = POL_develop_hi_tech_branch
		}

		cost = 100

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_improve_oil_exploitation"
			one_random_renewable_energy_infra = yes
			add_ideas = POL_better_oil_exploitation2_idea
		}

		ai_will_do = { base = 220 }
	}

	POL_start_advanced_training_program = {
		days_remove = 365
		icon = GFX_decision_jet_aircraft
		fire_only_once = yes

		available = {
			has_government = communism
			has_completed_focus = POL_develop_hi_tech_branch
		}

		cost = 100

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_start_advanced_training_program"
			air_experience = 100
			one_air_base = yes
			add_ideas = POL_advanced_pilots_idea
		}

		ai_will_do = { base = 220 }
	}
}

POL_microchips_production_category = {
	POL_expand_samsung_microchips_production = {
		days_remove = 547
		fire_only_once = no

		visible = {
			has_completed_focus = POL_invite_samsung
			custom_trigger_tooltip = {
				tooltip = POL_microchips_production_started_TT
				check_variable = { resource_produced@microchips > 0 }
			}
		}

		cost = 25

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_expand_samsung_microchips_production"
			set_temp_variable = { treasury_change = -40 }
			if = {
				limit = { has_completed_focus = POL_go_all_in }
				multiply_temp_variable = { treasury_change = 1.2 }
			}
			modify_treasury_effect = yes
			KOR = {
				set_temp_variable = { int_investment_change = treasury_change }
				multiply_temp_variable = { int_investment_change = -1 }
				modify_international_investment_effect = yes
				set_temp_variable = { percent_change = 2 }
				set_temp_variable = { tag_index = THIS.id }
				set_temp_variable = { influence_target = ROOT.id }
				change_influence_percentage = yes
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_expand_samsung_microchips_production"
			random_owned_state = {
				add_building_construction = {
					type = microchip_plant level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
			}
		}

		ai_will_do = {
			base = 250
			modifier = {
				add = -50
				check_variable = { interest_rate > 1.99 }
			}
			modifier = {
				add = -50
				check_variable = { interest_rate > 3.99 }
			}
			modifier = {
				add = -50
				check_variable = { interest_rate > 5.99 }
			}
			modifier = {
				add = -50
				check_variable = { interest_rate > 7.99 }
			}
			modifier = {
				add = -50
				check_variable = { interest_rate > 9.99 }
			}
		}
	}

	POL_expand_siemens_microchips_production = {
		days_remove = 547
		fire_only_once = no

		visible = {
			has_completed_focus = POL_invite_siemens
			custom_trigger_tooltip = {
				tooltip = POL_microchips_production_started_TT
				check_variable = { resource_produced@microchips > 0 }
			}
		}

		cost = 25

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_expand_siemens_microchips_production"
			set_temp_variable = { treasury_change = -55 }
			if = {
				limit = { has_completed_focus = POL_go_all_in }
				multiply_temp_variable = { treasury_change = 1.2 }
			}
			modify_treasury_effect = yes
			GER = {
				set_temp_variable = { int_investment_change = treasury_change }
				multiply_temp_variable = { int_investment_change = -1 }
				modify_international_investment_effect = yes
				set_temp_variable = { percent_change = 1 }
				set_temp_variable = { tag_index = THIS.id }
				set_temp_variable = { influence_target = ROOT.id }
				change_influence_percentage = yes
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_expand_siemens_microchips_production"
			random_owned_state = {
				add_building_construction = {
					type = microchip_plant level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
			}
		}

		ai_will_do = {
			base = 250
			modifier = {
				add = -50
				check_variable = { interest_rate > 1.99 }
			}
			modifier = {
				add = -50
				check_variable = { interest_rate > 3.99 }
			}
			modifier = {
				add = -50
				check_variable = { interest_rate > 5.99 }
			}
			modifier = {
				add = -50
				check_variable = { interest_rate > 7.99 }
			}
			modifier = {
				add = -50
				check_variable = { interest_rate > 9.99 }
			}
		}
	}

	POL_expand_intel_microchips_production = {
		days_remove = 547
		fire_only_once = no

		visible = {
			has_completed_focus = POL_invite_intel
			custom_trigger_tooltip = {
				tooltip = POL_microchips_production_started_TT
				check_variable = { resource_produced@microchips > 0 }
			}
		}

		cost = 25

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_expand_intel_microchips_production"
			set_temp_variable = { treasury_change = -45 }
			if = {
				limit = { has_completed_focus = POL_go_all_in }
				multiply_temp_variable = { treasury_change = 1.2 }
			}
			modify_treasury_effect = yes
			USA = {
				set_temp_variable = { int_investment_change = treasury_change }
				multiply_temp_variable = { int_investment_change = -1 }
				modify_international_investment_effect = yes
				set_temp_variable = { percent_change = 2 }
				set_temp_variable = { tag_index = THIS.id }
				set_temp_variable = { influence_target = ROOT.id }
				change_influence_percentage = yes
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_expand_intel_microchips_production"
			random_owned_state = {
				add_building_construction = {
					type = microchip_plant level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
			}
		}

		ai_will_do = {
			base = 250
			modifier = {
				add = -50
				check_variable = { interest_rate > 1.99 }
			}
			modifier = {
				add = -50
				check_variable = { interest_rate > 3.99 }
			}
			modifier = {
				add = -50
				check_variable = { interest_rate > 5.99 }
			}
			modifier = {
				add = -50
				check_variable = { interest_rate > 7.99 }
			}
			modifier = {
				add = -50
				check_variable = { interest_rate > 9.99 }
			}
		}
	}

	POL_establish_first_microchips_production = {
		days_remove = 547
		fire_only_once = yes
		selectable_mission = no

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_establish_first_microchips_production"
			if = {
				limit = { has_completed_focus = POL_invite_samsung }
				random_owned_state = {
					add_building_construction = {
						type = microchip_plant level = 2
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 2
				}
			}
			else = {
				random_owned_state = {
					add_building_construction = {
						type = microchip_plant level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
		}

		ai_will_do = { base = 0 }
	}
}

POL_ai_path_category = {
	POL_ai_rally_the_pis = {
		icon = generic_decision
		cost = 25
		days_re_enable = 30
		visible = { POL_ai_historical_path = yes }

		available = {
			has_civil_war = no
			date > 2004.1.1
			check_variable = { party_pop_array^6 < 0.55 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_ai_rally_the_pis"
			set_temp_variable = { party_index = 6 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
		}

		ai_will_do = { base = 100 }
	}

	POL_ai_pis_take_the_country = {
		icon = generic_decision
		cost = 150
		days_re_enable = 180
		visible = { POL_ai_historical_path = yes }

		available = {
			has_civil_war = no
			emerging_reactionaries_are_in_power = no
			date > 2004.1.1
			check_variable = { party_pop_array^6 > 0.5 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_ai_pis_take_the_country"
			set_temp_variable = { rul_party_temp = 6 }
			change_ruling_party_effect = yes
		}

		ai_will_do = { base = 100 }
	}

	POL_ai_rally_the_civic_platform = {
		icon = generic_decision
		cost = 25
		days_re_enable = 30
		visible = { has_global_flag = POL_CIVIC_PLATFORM_FOCUS_PATH }

		available = {
			has_civil_war = no
			date > 2004.1.1
			check_variable = { party_pop_array^2 < 0.55 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_ai_rally_the_civic_platform"
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
		}

		ai_will_do = { base = 100 }
	}

	POL_ai_civic_platform_take_the_country = {
		icon = generic_decision
		cost = 150
		days_re_enable = 180
		visible = { has_global_flag = POL_CIVIC_PLATFORM_FOCUS_PATH }

		available = {
			has_civil_war = no
			western_liberals_are_in_power = no
			date > 2004.1.1
			check_variable = { party_pop_array^2 > 0.5 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_ai_civic_platform_take_the_country"
			set_temp_variable = { rul_party_temp = 2 }
			change_ruling_party_effect = yes
		}

		ai_will_do = { base = 100 }
	}

	POL_ai_rally_the_walesa = {
		icon = generic_decision
		cost = 25
		days_re_enable = 30
		visible = { has_global_flag = POL_WALESA_FOCUS_PATH }

		available = {
			has_civil_war = no
			check_variable = { party_pop_array^14 < 0.55 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_ai_rally_the_walesa"
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
		}

		ai_will_do = { base = 100 }
	}

	POL_ai_walesa_take_the_country = {
		icon = generic_decision
		cost = 150
		days_re_enable = 180
		visible = { has_global_flag = POL_WALESA_FOCUS_PATH }

		available = {
			has_civil_war = no
			neutrality_neutral_conservatism_are_in_power = no
			check_variable = { party_pop_array^14 > 0.5 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_ai_walesa_take_the_country"
			set_temp_variable = { rul_party_temp = 14 }
			change_ruling_party_effect = yes
		}

		ai_will_do = { base = 100 }
	}

	POL_ai_rally_the_korwin = {
		icon = generic_decision
		cost = 25
		days_re_enable = 30
		visible = { POL_ai_korwin_path = yes }

		available = {
			has_civil_war = no
			check_variable = { party_pop_array^23 < 0.55 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_ai_rally_the_korwin"
			set_temp_variable = { party_index = 23 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
		}

		ai_will_do = { base = 100 }
	}

	POL_ai_korwin_take_the_country = {
		icon = generic_decision
		cost = 150
		days_re_enable = 180
		visible = { POL_ai_korwin_path = yes }

		available = {
			has_civil_war = no
			nationalist_monarchists_are_in_power = no
			check_variable = { party_pop_array^23 > 0.5 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_ai_korwin_take_the_country"
			set_temp_variable = { rul_party_temp = 23 }
			change_ruling_party_effect = yes
		}

		ai_will_do = { base = 100 }
	}

	POL_ai_rally_the_falanga = {
		icon = generic_decision
		cost = 25
		days_re_enable = 30
		visible = { has_global_flag = POL_FALANGA_FOCUS_PATH }

		available = {
			has_civil_war = no
			check_variable = { party_pop_array^20 < 0.55 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_ai_rally_the_falanga"
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
		}

		ai_will_do = { base = 100 }
	}

	POL_ai_falanga_take_the_country = {
		icon = generic_decision
		cost = 150
		days_re_enable = 180
		visible = { has_global_flag = POL_FALANGA_FOCUS_PATH }

		available = {
			has_civil_war = no
			nationalist_right_wing_populists_are_in_power = no
			check_variable = { party_pop_array^20 > 0.5 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_ai_falanga_take_the_country"
			set_temp_variable = { rul_party_temp = 20 }
			set_temp_variable = { disable_elections = 1 }
			change_ruling_party_effect = yes
		}

		ai_will_do = { base = 100 }
	}

	POL_ai_stem_the_brain_drain = {
		icon = generic_decision
		cost = 150
		fire_only_once = yes

		visible = {
			has_idea = POL_fixed_brain_drain2
			OR = {
				POL_ai_historical_path = yes
				has_global_flag = POL_WALESA_FOCUS_PATH
				has_global_flag = POL_KORWIN_COMMONWEALTH_FOCUS_PATH
				has_global_flag = POL_KORWIN_EAST_FOCUS_PATH
				has_global_flag = POL_FALANGA_FOCUS_PATH
			}
		}

		available = {
			has_civil_war = no
			date > 2005.1.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision POL_ai_stem_the_brain_drain"
			swap_ideas = {
				remove_idea = POL_fixed_brain_drain2
				add_idea = POL_fixed_brain_drain
			}
		}

		ai_will_do = { base = 100 }
	}
}
