POL_russian_civil_war = {

	POL_annex_kaliningrad = {

		icon = decision_generic_assassination

		allowed = {
			original_tag = POL
		}

		available = {
			original_tag = POL
		}

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

		visible = {
			original_tag = POL
			NOT = { 
				has_government = communist 
			}
			SOV = {
				controls_state = 741
			}
			RCO = {
                exists = yes
                has_war_with = SOV
            }
		}
		fire_only_once = yes
		days_remove = 35

		ai_will_do = {
			factor = 10000
		}

		cost = 10

		remove_effect = {
				transfer_state = 741
				set_province_name = { id = 6332 name = "Krolewiec"}
				add_threat = 10
				hidden_effect = {
				news_event = {
					id = news.820
					days = 1
				}
			}
		}
	}

	POL_attack_western_belarus = {

		icon = decision_generic_assassination

		allowed = {
			original_tag = POL
		}

		highlight_states = {
    highlight_state_targets = {
        state = 808
		state = 94
    }
    highlight_color_while_active = 3
    highlight_color_before_active = 2
}

		available = {
			original_tag = POL
		}
		visible = {
			original_tag = POL
			NOT = {
				has_government = communist 
			}
			RCO = {
				controls_state = 808
			}
		}
		fire_only_once = yes
		days_remove = 10

		cost = 20

		ai_will_do = {
			factor = 10000
		}

		remove_effect = {
			add_threat = 3
			hidden_effect = {
				news_event = {
					id = news.833
					days = 1
				}
			}
				start_border_war = {
    change_state_after_war = yes
    attacker = {
        state = 97
        num_provinces = 2
        on_win = poland.188
        on_lose = poland.199
        on_cancel = poland.200
        modifier = 0.1
        dig_in_factor = 1
        terrain_factor = 1
    }	
    defender = {
        state = 808
        num_provinces = 2
        on_win = cw.22
        on_lose = cw.23
        on_cancel = cw.24
    }
}
		}
	}

	POL_cleanse_communist_elements_in_belarus_decision = {

		icon = decision_ban_coalition

		available = {
			original_tag = POL
		}

		fire_only_once = yes

		cost = 50
		days_remove = 30

		ai_will_do = {
			factor = 10000
		}

		visible = {
			original_tag = POL
			controls_state = 808
		}

		remove_effect = {
			808 = { add_compliance = 30 }
			94 = { add_compliance = 30 }
		}
	}

	POL_cleanse_communist_elements_in_kaliningrad_decision = {

		icon = decision_ban_coalition

		available = {
			original_tag = POL
		}

		fire_only_once = yes

		cost = 50
		days_remove = 30

		ai_will_do = {
			factor = 50
		}

		visible = {
			original_tag = POL
			controls_state = 741
		}

		remove_effect = {
			741 = { add_compliance = 30 }
		}
	}

POL_attack_western_ukraine = {

		icon = decision_generic_assassination

		allowed = {
			original_tag = POL
		}

		available = {
			original_tag = POL
		}

		highlight_states = {
    highlight_state_targets = {
        state = 91
		state = 93
		state = 89
    }
    highlight_color_while_active = 3
    highlight_color_before_active = 2
}
		visible = {
			original_tag = POL
			NOT = {
				has_government = communist 
			}
			UCO = {
				controls_state = 91
			}
			RCO = {
                exists = yes
            }
		}
		fire_only_once = yes
		days_remove = 10

		ai_will_do = {
			factor = 10000
		}

		cost = 20

		remove_effect = {
			add_timed_idea = {
				idea = POL_offensive_in_ukraine
				days = 15
			}
			add_threat = 3
				start_border_war = {
    change_state_after_war = yes
    attacker = {
        state = 92
        num_provinces = 2
        on_win = poland.211
        on_lose = poland.222
        on_cancel = poland.200
        modifier = 0.1
        dig_in_factor = 1
        terrain_factor = 1
    }	
    defender = {
        state = 91
        num_provinces = 2
        on_win = cw.22
        on_lose = cw.23
        on_cancel = cw.24
    }
}
		}
	}

	POL_decide_next_steps = {

		icon = decision_generic_assassination

		allowed = {
			original_tag = POL
		}

		available = {
			original_tag = POL
		}

		visible = {
			original_tag = POL
			NOT = { 
				has_government = communist 
			}
			POL = {
				controls_state = 93
				controls_state = 94
			}
			RCO = {
                exists = yes
            }
			RCO = {
                controls_state = 95
				controls_state = 206
				controls_state = 204
				controls_state = 194
            }
		}

		fire_only_once = yes
		days_remove = 10

		ai_will_do = {
			factor = 10000
		}

		cost = 1

		remove_effect = {
				country_event = {
				id = cw.25
			}
		}
	}

	POL_capture_east_russia_mission = {

		allowed = { original_tag = POL }

		icon = decision_create_national_guard

		cancel_trigger = {
        has_war = no
    }

	available = { #FAIL
            always = no
        }

	activation = {
			tag = POL
			has_war_with = RCO
			RCO = {
			NOT = { has_completed_focus = RCO_against_forces_and_traditions}
			}
		}

	highlight_states = {
    highlight_state_targets = {
        state = 242
        state = 241
		state = 1144
    }
    highlight_color_while_active = 3
    highlight_color_before_active = 2
}

		is_good = no

		days_mission_timeout = 250

		timeout_effect = {
			country_event = {
				id = cw.40
			}
		}
	}
}

POL_the_battle_on_the_inside = {

	POL_suppres_opposition = {

		icon = decision_generic_assassination

		allowed = {
			original_tag = POL
		}

		available = {
			has_country_flag = POL_able_to_do_stuff_pagan_tt
		}
		visible = {
			has_country_flag = POL_pagan_decisions_unlocked
		}
		fire_only_once = no
		days_remove = 35

		cost = 40

		modifier = {
			political_power_factor = -0.05
			stability_factor = -0.05
		}

		complete_effect = {
		}

		remove_effect = {
			POL_increase_political_stability_10 = yes
		}
	}

	POL_expand_propaganda_efforts = {

		icon = decision_generic_brainwash

		allowed = {
			original_tag = POL
		}

		available = {
			has_country_flag = POL_able_to_do_stuff_pagan_tt
		}
		visible = {
			has_country_flag = POL_pagan_decisions_unlocked
		}
		fire_only_once = no
		days_remove = 35

		cost = 40

		modifier = {
			political_power_factor = -0.05
			stability_factor = -0.05
		}

		complete_effect = {
		}

		remove_effect = {
			POL_increase_nazification_progress_10 = yes
		}
	}

	POL_enforce_paganisation = {

		icon = decision_eng_trade_unions_support

		allowed = {
			original_tag = POL
		}

		available = {
			has_country_flag = POL_able_to_do_stuff_pagan_tt
		}
		visible = {
			has_country_flag = POL_pagan_decisions_unlocked
		}
		fire_only_once = no
		days_remove = 35

		cost = 40

		modifier = {
			political_power_factor = -0.05
			stability_factor = -0.05
		}

		complete_effect = {
		}

		remove_effect = {
			POL_increase_paganisation_progress_10 = yes
		}
	}

	POL_increase_paganisation = {

		icon = decision_generic_nationalism

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_paganisation_at_100
				check_variable = {
					POL_paganisation_progress_var > 99
				}
			}
		}
		visible = {
			has_country_flag = POL_pagan_decisions_unlocked
		}
		fire_only_once = no

		cost = 0

		complete_effect = {
			set_variable = { var = POL_paganisation_progress_var value = 0 }
			POL_upgrade_paganisation_progress = yes
		}

	}

	POL_increase_nazification = {

		icon = decision_ger_reichskommissariats

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_nazification_at_100
				check_variable = {
					POL_nazification_progress_var > 99
				}
			}
		}
		visible = {
			has_country_flag = POL_pagan_decisions_unlocked
		}
		fire_only_once = no

		cost = 0

		complete_effect = {
			set_variable = { var = POL_nazification_progress_var value = 0 }
			POL_upgrade_nazification_progress = yes
		}

	}

	POL_increase_political_stability = {

		icon = decision_generic_political_rally

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_political_stability_at_100
				check_variable = {
					POL_stability_nazi_var > 99
				}
			}
		}
		visible = {
			has_country_flag = POL_pagan_decisions_unlocked
		}
		fire_only_once = no

		cost = 0

		complete_effect = {
			POL_upgrade_political_stability = yes
			set_variable = { var = POL_stability_nazi_var value = 0 }
		}

	}

}

pol_missions_to_neighbours = {

	POL_start_coup_in_country = {

		icon = DI_nationalism

		allowed = {
			tag = POL
		}
		visible = {
			has_completed_focus = POL_fundamentalist_peaceful_missions
		}

		target_trigger = {
			NOT = { has_country_flag = POL_no_no_country_flag }
			exists = yes
			FROM = { is_neighbor_of = ROOT }
		}

		available = {
			FROM = {
				NOT = { has_government = islamist }
				islamist > 0.6
			}
		}

		complete_effect = {
			FROM = {
				country_event = Poland_Events_News.157
			}
		}

		cost = POL_decision_mission_cost_var
		fire_only_once = yes

	}

	POL_influence_country = {

		icon = DI_nationalism

		allowed = {
			tag = POL
		}
		visible = {
			has_completed_focus = POL_fundamentalist_peaceful_missions
		}

		target_trigger = {
			NOT = { has_country_flag = POL_no_no_country_flag }
			exists = yes
			FROM = { is_neighbor_of = ROOT }
		}

		available = {
			FROM = { NOT = { has_government = islamist } }
		}

		complete_effect = {
			FROM = {
				fourth_estate_islamist_increase = yes
			}
		}

		cost = POL_decision_mission_cost_var
		fire_only_once = yes

	}

	POL_mission_to_country = {

		icon = DI_nationalism

		allowed = {
			tag = POL
		}
		visible = {
			has_completed_focus = POL_fundamentalist_peaceful_missions
		}

		target_trigger = {
			NOT = { has_country_flag = POL_no_no_country_flag }
			exists = yes
			FROM = { is_neighbor_of = ROOT }
		}

		available = {
			FROM = { NOT = { has_government = islamist } }
		}

		complete_effect = {
			FROM = {
				add_popularity = {
					ideology = islamist
					popularity = 0.035
				}
			}
		}

		cost = POL_decision_mission_cost_var
		fire_only_once = yes

	}

}

POL_the_affairs_of_the_church_and_state = {

	POL_organise_the_people = {

		icon = GFX_decision_generic_speech

		allowed = {
			original_tag = POL
		}

		available = {
			has_country_flag = POL_fundamentalist_decisions_unlocked_but_real
		}
		visible = {
			has_country_flag = POL_fundamentalist_decisions_unlocked
		}
		fire_only_once = no
		days_remove = 50

		cost = 50

		modifier = {
			political_power_factor = -0.05
			stability_factor = -0.05
		}

		complete_effect = {
		}

		remove_effect = {
			POL_increase_unity_and_obidience_by_5 = yes
		}
	}

	POL_make_speeches = {

		icon = GFX_decision_generic_speech

		allowed = {
			original_tag = POL
		}

		available = {
			has_country_flag = POL_fundamentalist_decisions_unlocked_but_real
		}
		visible = {
			has_country_flag = POL_fundamentalist_decisions_unlocked
		}
		fire_only_once = no
		days_remove = 50

		cost = 50

		modifier = {
			political_power_factor = -0.1
		}

		complete_effect = {
		}

		remove_effect = {
			POL_increase_religius_fevour_by_5 = yes
		}
	}

	POL_expansion_of_priest_powers = {

		icon = GFX_decision_generic_political_rally

		allowed = {
			original_tag = POL
		}

		available = {
			has_country_flag = POL_fundamentalist_decisions_unlocked_but_real
		}
		visible = {
			has_country_flag = POL_fundamentalist_decisions_unlocked
		}
		fire_only_once = no
		days_remove = 50

		cost = 50

		modifier = {
			political_power_factor = -0.1
		}

		complete_effect = {
		}

		remove_effect = {
			POL_increase_church_strenght_by_5 = yes
		}
	}

	POL_fund_construction_of_new_churches = {

		icon = GFX_decision_generic_construction

		allowed = {
			original_tag = POL
		}

		available = {

		}
		visible = {
			has_country_flag = POL_fundamentalist_decisions_unlocked
		}
		fire_only_once = no
		days_remove = 50

		cost = 50

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		complete_effect = {
		}

		remove_effect = {
			POL_increase_church_strenght_by_5 = yes
		}
	}
}

POL_samobronnas_economic_plan = {

	POL_strenghten_the_smes = {

		icon = GFX_decision_generic_construction

		allowed = {
			original_tag = POL
		}

		available = {

		}
		visible = {
			has_country_flag = POL_economic_decisions_samobronna_unlocked
		}
		fire_only_once = no
		days_remove = 50

		cost = 60

		modifier = {
			industrial_capacity_factory = 0.075
			production_speed_buildings_factor = 0.04
		}

		complete_effect = {
		}

		remove_effect = {
			POL_increase_samobronna_progress_5_effect = yes
		}
	}

}

POL_dealing_with_popular_discontent_cat = {

	POL_leppers_speech = {

		icon = GFX_decision_generic_speech

		allowed = {
			original_tag = POL
		}

		available = {
			NOT = { has_idea = POL_irrelevant_opposition }
		}
		visible = {
			OR = {
				has_country_flag = POL_samobronna_decisions_unlocked_tt
				has_country_flag = POL_keep_decision_to_lower
			}
		}
		fire_only_once = no
		days_remove = 50

		cost = 60

		modifier = {

		}

		complete_effect = {
		}

		remove_effect = {
			POL_weaken_the_opposition_effect = yes
		}
	}

	POL_rising_opposition = {

		visible = {
			has_country_flag = POL_samobronna_decisions_unlocked_tt
		}
		icon = GFX_decision_revolt
		cancel_trigger	= {
			NOT = { has_country_flag = POL_samobronna_decisions_unlocked_tt }
		}
		available = {
			has_country_flag = POL_samobronna_decisions_unlocked_tt
		}
		days_mission_timeout = 70

		fixed_random_seed = no
		fire_only_once = no
		is_good = no
		activation = {
			has_country_flag = POL_samobronna_decisions_unlocked_tt
			original_tag = POL
		}

		complete_effect = {
		}

		timeout_effect = {
			POL_strenghten_the_opposition_effect = yes
			random_list = {
				50 = {
					add_popularity = {
						ideology = democratic_socialist
						popularity = -0.01
					}
				}
				50 = {

				}
			}
		}
	}
}

POL_the_three_powers = {

	POL_commie_expand_power_of_technocrats = {

		icon = GFX_decision_generic_speech

		allowed = {
			original_tag = POL
		}

		available = {
			NOT = { has_country_flag = POL_not_increasing_power_of_another_faction }
		}
		visible = {
			has_country_flag = POL_the_three_powers_unlocked_tt
		}

		fire_only_once = no
		days_remove = 25

		cost = 35

		modifier = {
			political_power_factor = 0.05
		}

		complete_effect = {
			set_country_flag = POL_not_increasing_power_of_another_faction
		}

		remove_effect = {
			clr_country_flag = POL_not_increasing_power_of_another_faction
			POL_increase_technocratic_power_by_2 = yes
		}
	}

	POL_commie_empower_the_futurists = {

		icon = GFX_decision_generic_speech

		allowed = {
			original_tag = POL
		}

		available = {
			NOT = { has_country_flag = POL_not_increasing_power_of_another_faction }
		}
		visible = {
			has_country_flag = POL_the_three_powers_unlocked_tt
		}

		fire_only_once = no
		days_remove = 25

		cost = 35

		modifier = {
			political_power_factor = 0.05
		}

		complete_effect = {
			set_country_flag = POL_not_increasing_power_of_another_faction
		}

		remove_effect = {
			clr_country_flag = POL_not_increasing_power_of_another_faction
			POL_increase_futurist_power_by_2 = yes
		}
	}

	POL_commie_empower_the_futurologists = {

		icon = GFX_decision_generic_speech

		allowed = {
			original_tag = POL
		}

		available = {
			NOT = { has_country_flag = POL_not_increasing_power_of_another_faction }
		}
		visible = {
			has_country_flag = POL_the_three_powers_unlocked_tt
		}

		fire_only_once = no
		days_remove = 25

		cost = 35

		modifier = {
			political_power_factor = 0.05
		}

		complete_effect = {
			set_country_flag = POL_not_increasing_power_of_another_faction
		}

		remove_effect = {
			clr_country_flag = POL_not_increasing_power_of_another_faction
			POL_increase_furutologist_power_by_2 = yes
		}
	}
}

POL_commie_fate_if_the_party_cat = {

	POL_commie_target_opposition_influence_dec = {

		icon = GFX_decision_generic_speech

		allowed = {
			original_tag = POL
		}

		available = {

		}
		visible = {
			OR = {
				has_country_flag = POL_neomarxists_decisions_unlocked_flag
				has_country_flag = POL_pulawianie_decisions_unlocked_flag
			}
		}
		fire_only_once = yes
		days_remove = 25

		cost = 35

		modifier = {
			communist_drift = 0.01
		}

		complete_effect = {
		}

		remove_effect = {
			if = {
				limit = {
					has_country_flag = POL_pulawianie_decisions_unlocked_flag
				}
				random_list = {
					50 = {
						POL_slightly_decrease_popular_support_for_neo_marx = yes
					}
					50 = {
						POL_slightly_decrease_party_support_for_neo_marx = yes
					}
				}
			}
			else_if = {
				limit = {
					has_country_flag = POL_neomarxists_decisions_unlocked_flag
				}
				random_list = {
					50 = {
						POL_slightly_decrease_popular_support_pulawianie = yes
					}
					50 = {
						POL_slightly_decrease_party_support_pulawianie = yes
					}
				}
			}

		}
	}

	POL_commie_speak_to_the_people_dec = {

		icon = GFX_decision_generic_speech

		allowed = {
			original_tag = POL
		}

		available = {

		}
		visible = {
			OR = {
				has_country_flag = POL_neomarxists_decisions_unlocked_flag
				has_country_flag = POL_pulawianie_decisions_unlocked_flag
			}
		}
		fire_only_once = yes
		days_remove = 25

		cost = 35

		modifier = {
			communist_drift = 0.01
		}

		complete_effect = {
		}

		remove_effect = {
			if = {
				limit = {
					has_country_flag = POL_pulawianie_decisions_unlocked_flag
				}
				POL_slightly_increase_popular_support_pulawianie = yes
			}
			else_if = {
				limit = {
					has_country_flag = POL_neomarxists_decisions_unlocked_flag
				}
				POL_slightly_increase_popular_support_for_neo_marx = yes
			}

		}
	}

	POL_meet_with_party_members_dec = {

		icon = GFX_decision_generic_political_discourse

		allowed = {
			original_tag = POL
		}

		available = {

		}
		visible = {
			OR = {
				has_country_flag = POL_neomarxists_decisions_unlocked_flag
				has_country_flag = POL_pulawianie_decisions_unlocked_flag
			}
		}
		fire_only_once = yes
		days_remove = 25

		cost = 35

		modifier = {
			political_power_factor = 0.05
		}

		complete_effect = {
		}

		remove_effect = {
			if = {
				limit = {
					has_country_flag = POL_pulawianie_decisions_unlocked_flag
				}
				POL_slightly_increase_party_support_pulawianie = yes
			}
			else_if = {
				limit = {
					has_country_flag = POL_neomarxists_decisions_unlocked_flag
				}
				POL_slightly_increase_party_support_for_neo_marx = yes
			}

		}
	}

}

POL_future_of_national_maoism = {

	POL_fund_mutual_aid_team_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag = POL
		}

		available = {

		}
		visible = {
			has_completed_focus = POL_commie_prioritise_maoism
		}

		fire_only_once = yes
		days_remove = 100

		cost = 50

		modifier = {
			monthly_population = 0.1
			production_speed_buildings_factor = 0.05
		}

		complete_effect = {
		}

		remove_effect = {

		}
	}

	POL_create_cult_of_personality_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag = POL
		}

		available = {

		}
		visible = {
			has_completed_focus = POL_commie_prioritise_maoism
		}

		fire_only_once = yes
		days_remove = 125

		cost = 50

		modifier = {
			political_power_factor = -0.15
		}

		complete_effect = {
		}

		remove_effect = {
			add_country_leader_trait = nationalist_symbol
		}
	}

	POL_expand_alliance_with_church_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag = POL
		}

		available = {

		}
		visible = {
			has_completed_focus = POL_commie_strenghthen_national_communism
		}

		fire_only_once = yes
		days_remove = 100

		cost = 50

		modifier = {
			stability_weekly = 0.003
			political_power_factor = 0.075
		}

		complete_effect = {
		}

		remove_effect = {

		}
	}

	POL_focus_on_national_issues_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag = POL
		}

		available = {

		}
		visible = {
			has_completed_focus = POL_commie_strenghthen_national_communism
		}

		fire_only_once = yes
		days_remove = 100

		cost = 50

		modifier = {
			consumer_goods_expected_value = -0.03
			production_factory_efficiency_gain_factor = 0.075
		}

		complete_effect = {
		}

		remove_effect = {

		}
	}

	POL_allow_religio_to_exist_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag = POL
		}

		available = {

		}
		visible = {
			has_country_flag = POL_support_national_communists_flag
		}

		fire_only_once = yes
		days_remove = 100

		cost = 50

		modifier = {
			political_power_factor = 0.05
			communist_drift = 0.015
		}

		complete_effect = {
		}

		remove_effect = {
			POL_strenghten_national_communist_party = yes
		}
	}

	POL_appoint_natcom_politicians_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag = POL
		}

		available = {

		}
		visible = {
			has_country_flag = POL_support_national_communists_flag
		}

		fire_only_once = yes
		days_remove = 100

		cost = 50

		modifier = {
			political_power_factor = 0.05
		}

		complete_effect = {
			POL_increase_revolutionary_stability_by_3_effect = yes
		}

		remove_effect = {
			POL_strenghten_national_communist_party = yes
		}
	}

	POL_chinese_advisers_mao_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag = POL
		}

		available = {

		}
		visible = {
			has_country_flag = POL_support_maoists_flag
		}

		fire_only_once = yes
		days_remove = 100

		cost = 50

		modifier = {
			political_power_factor = 0.05
			research_speed_factor = 0.05
		}

		complete_effect = {
		}

		remove_effect = {
			POL_strenghten_maoist_party = yes
		}
	}

	POL_appoint_maoist_politicians_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag = POL
		}

		available = {

		}
		visible = {
			has_country_flag = POL_support_maoists_flag
		}

		fire_only_once = yes
		days_remove = 100

		cost = 50

		modifier = {
			political_power_factor = 0.05
		}

		complete_effect = {
			POL_increase_revolutionary_stability_by_3_effect = yes
		}

		remove_effect = {
			POL_strenghten_maoist_party = yes
		}
	}

}

POL_commie_propaganda_campaigns_cat = {

	POL_what_did_you_do_to_help_realise_the_plan = {

		icon = eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_we_can_do_a_propaganda_campaign
				check_variable = {
					POL_commie_available_campaign_slots > 0
				}
			}
		}
		visible = {
			has_country_flag = POL_commie_propaganda_decisions_unlocked
		}

		days_remove = 100

		cost = POL_what_did_you_do_to_help_realise_the_plan_cost

		modifier = {
			political_power_factor = 0.1
			conscription_factor = 0.05
		}

		complete_effect = {
			set_country_flag = POL_what_did_you_do_to_help_realise_the_plan_in_use
			custom_effect_tooltip = POL_increase_propaganda_cost
			add_to_variable = {
				var = POL_what_did_you_do_to_help_realise_the_plan_cost
				value = 15
			}
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = -1
			}
		}

		remove_effect = {
			clr_country_flag = POL_what_did_you_do_to_help_realise_the_plan_in_use
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = 1
			}
		}
	}

	POL_our_young_hearts_beat_for_the_motherland = {

		icon = eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_we_can_do_a_propaganda_campaign
				check_variable = {
					POL_commie_available_campaign_slots > 0
				}
			}
		}
		visible = {
			has_country_flag = POL_commie_propaganda_decisions_unlocked
		}

		days_remove = 100

		cost = POL_our_young_hearts_beat_for_the_motherland_cost

		modifier = {
			political_power_factor = 0.1
			conscription_factor = 0.05
		}

		complete_effect = {
			set_country_flag = POL_our_young_hearts_beat_for_the_motherland_in_use
			custom_effect_tooltip = POL_increase_propaganda_cost
			add_to_variable = {
				var = POL_our_young_hearts_beat_for_the_motherland_cost
				value = 15
			}
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = -1
			}
		}

		remove_effect = {
			clr_country_flag = POL_our_young_hearts_beat_for_the_motherland_in_use
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = 1
			}
		}
	}

	POL_best_regards_to_women_at_work = {

		icon = eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_we_can_do_a_propaganda_campaign
				check_variable = {
					POL_commie_available_campaign_slots > 0
				}
			}
		}
		visible = {
			has_country_flag = POL_commie_propaganda_decisions_unlocked
		}

		days_remove = 100

		cost = POL_best_regards_to_women_at_work_cost

		modifier = {
			consumer_goods_expected_value = -0.04
		}

		complete_effect = {
			set_country_flag = POL_best_regards_to_women_at_work_in_use
			custom_effect_tooltip = POL_increase_propaganda_cost
			add_to_variable = {
				var = POL_best_regards_to_women_at_work_cost
				value = 15
			}
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = -1
			}
		}

		remove_effect = {
			clr_country_flag = POL_best_regards_to_women_at_work_in_use
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = 1
			}
		}
	}

	POL_we_are_build_a_new_culture_for_poland = {

		icon = eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_we_can_do_a_propaganda_campaign
				check_variable = {
					POL_commie_available_campaign_slots > 0
				}
			}
		}
		visible = {
			has_country_flag = POL_commie_propaganda_decisions_unlocked
		}

		days_remove = 100

		cost = POL_we_are_build_a_new_culture_for_poland_cost

		modifier = {
			research_speed_factor = 0.05
			communist_drift = 0.01
		}

		complete_effect = {
			set_country_flag = POL_we_are_build_a_new_culture_for_poland_in_use
			custom_effect_tooltip = POL_increase_propaganda_cost
			add_to_variable = {
				var = POL_we_are_build_a_new_culture_for_poland_cost
				value = 15
			}
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = -1
			}
		}

		remove_effect = {
			clr_country_flag = POL_we_are_build_a_new_culture_for_poland_in_use
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = 1
			}
		}
	}

	POL_every_arm_for_poland = {

		icon = eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_we_can_do_a_propaganda_campaign
				check_variable = {
					POL_commie_available_campaign_slots > 0
				}
			}
		}
		visible = {
			has_country_flag = POL_commie_propaganda_decisions_unlocked
		}

		days_remove = 100

		cost = POL_every_arm_for_poland_cost

		modifier = {
			weekly_manpower = 500
			conscription = 0.01
		}

		complete_effect = {
			set_country_flag = POL_every_arm_for_poland_in_use
			custom_effect_tooltip = POL_increase_propaganda_cost
			add_to_variable = {
				var = POL_every_arm_for_poland_cost
				value = 15
			}
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = -1
			}
		}

		remove_effect = {
			clr_country_flag = POL_every_arm_for_poland_in_use
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = 1
			}
		}
	}

	POL_be_careful_of_the_enemies_of_the_nation = {

		icon = eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_we_can_do_a_propaganda_campaign
				check_variable = {
					POL_commie_available_campaign_slots > 0
				}
			}
		}
		visible = {
			has_country_flag = POL_commie_propaganda_decisions_unlocked
		}

		days_remove = 100

		cost = POL_be_careful_of_the_enemies_of_the_nation_cost

		modifier = {
			encryption_factor = 0.05
			drift_defence_factor = 0.15
			enemy_operative_capture_chance_factor = 0.1
			enemy_operative_detection_chance_factor = 0.1
		}

		complete_effect = {
			set_country_flag = POL_be_careful_of_the_enemies_of_the_nation_in_use
			custom_effect_tooltip = POL_increase_propaganda_cost
			add_to_variable = {
				var = POL_be_careful_of_the_enemies_of_the_nation_cost
				value = 15
			}
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = -1
			}
		}

		remove_effect = {
			clr_country_flag = POL_be_careful_of_the_enemies_of_the_nation_in_use
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = 1
			}
		}
	}

	POL_we_are_building_poland_anew = {

		icon = eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_we_can_do_a_propaganda_campaign
				check_variable = {
					POL_commie_available_campaign_slots > 0
				}
			}
		}
		visible = {
			has_country_flag = POL_commie_propaganda_decisions_unlocked
		}

		days_remove = 100

		cost = POL_we_are_building_poland_anew_cost

		modifier = {
			production_speed_buildings_factor = 0.1
		}

		complete_effect = {
			set_country_flag = POL_we_are_building_poland_anew_in_use
			custom_effect_tooltip = POL_increase_propaganda_cost
			add_to_variable = {
				var = POL_we_are_building_poland_anew_cost
				value = 15
			}
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = -1
			}
		}

		remove_effect = {
			clr_country_flag = POL_we_are_building_poland_anew_in_use
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = 1
			}
		}
	}

	POL_youth_for_socialist_countryside = {

		icon = eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_we_can_do_a_propaganda_campaign
				check_variable = {
					POL_commie_available_campaign_slots > 0
				}
			}
		}
		visible = {
			has_country_flag = POL_commie_propaganda_decisions_unlocked
		}

		days_remove = 100

		cost = POL_youth_for_socialist_countryside_cost

		modifier = {
			monthly_population = 0.1
		}

		complete_effect = {
			set_country_flag = POL_youth_for_socialist_countryside_in_use
			custom_effect_tooltip = POL_increase_propaganda_cost
			add_to_variable = {
				var = POL_youth_for_socialist_countryside_cost
				value = 15
			}
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = -1
			}
		}

		remove_effect = {
			clr_country_flag = POL_youth_for_socialist_countryside_in_use
			add_to_variable = {
				var = POL_commie_available_campaign_slots
				value = 1
			}
		}
	}

}

POL_securing_the_revoluttion = {

	POL_commie_anti_government_action_dec = {

		visible = {
			custom_trigger_tooltip = {
				tooltip = POL_revolutionary_stability_below_40_tt
				check_variable = {
					var = POL_revolutionary_stability_var
					value = 40
					compare = less_than
				}
			}
		}
		icon = GFX_decision_revolt
		cancel_trigger	= {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = POL_revolutionary_stability_below_40_tt
					check_variable = {
						var = POL_revolutionary_stability_var
						value = 40
						compare = less_than
					}
				}
			}
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = POL_revolutionary_stability_40_or_more_tt
				check_variable = {
					var = POL_revolutionary_stability_var
					value = 40
					compare = greater_than_or_equals
				}
			}
		}
		days_mission_timeout = 35

		fixed_random_seed = no
		fire_only_once = no
		is_good = no
		activation = {
			has_country_flag = POL_commie_decisions_unlocked
			custom_trigger_tooltip = {
				tooltip = POL_revolutionary_stability_below_40_tt
				check_variable = {
					var = POL_revolutionary_stability_var
					value = 40
					compare = less_than
				}
			}
			original_tag = POL
		}

		complete_effect = {
		}

		timeout_effect = {
			random_list = {
				25 = {
					country_event = Poland_Events_News.129
				}
				25 = {
					country_event =	Poland_Events_News.130
				}
				25 = {
					country_event =	Poland_Events_News.131
				}
				25 = {
					POL_decrease_revolutionary_stability_by_3_effect = yes
				}
			}
		}
	}

	POL_commie_the_revolution_waits_for_no_one_dec = {

		visible = {
			has_country_flag = POL_commie_decisions_unlocked
			custom_trigger_tooltip = {
				tooltip = POL_revolutionary_stability_below_70_tt
				check_variable = {
					var = POL_revolutionary_stability_var
					value = 70
					compare = less_than
				}
			}
		}
		icon = GFX_decision_generic_speech
		available = {
			NOT = { has_government = communist }
			custom_trigger_tooltip = {
				tooltip = POL_revolutionary_stability_below_70_tt
				check_variable = {
					var = POL_revolutionary_stability_var
					value = 70
					compare = less_than
				}
			}
		}
		days_mission_timeout = 50

		fixed_random_seed = no
		fire_only_once = no
		is_good = no
		activation = {
			has_country_flag = POL_commie_decisions_unlocked
			original_tag = POL
		}
		icon = GFX_decision_revolt
		cancel_trigger	= {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = POL_revolutionary_stability_below_70_tt
					check_variable = {
						var = POL_revolutionary_stability_var
						value = 70
						compare = less_than
					}
				}
			}
		}

		complete_effect = {
		}

		timeout_effect = {
			random_list = {
				20 = {
					country_event = Poland_Events_News.124
				}
				20 = {
					country_event =	Poland_Events_News.125
				}
				20 = {
					country_event =	Poland_Events_News.126
				}
				20 = {
					country_event =	Poland_Events_News.127
				}
				20 = {
					country_event =	Poland_Events_News.128
				}
			}
		}
	}

	POL_commie_the_great_search_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag = POL
		}

		available = {

		}

		fire_only_once = no
		visible = {
			has_completed_focus = POL_commie_the_secrets_of_freemasonery
		}

		days_remove = 150

		cost = 75

		modifier = {
			political_power_factor = -0.1
		}

		complete_effect = {
		}

		remove_effect = {
			POL = { country_event = Poland_Events_News.132 }
		}
	}

	POL_commie_restore_control_over_sd_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag = POL
		}

		available = {

		}

		fire_only_once = yes
		visible = {
			has_completed_focus = POL_commie_create_puppet_parties
		}

		days_remove = 35

		cost = 30

		modifier = {

		}

		complete_effect = {
			set_party_name = { ideology = social_liberal  long_name = POL_social_liberal_sd_party_long name = POL_social_liberal_sd_party }
		}

		remove_effect = {
			add_timed_idea = {
				idea = POL_commie_support_from_intelectualls
				days = 90
			}
		}
	}

	POL_commie_restore_zsl_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag = POL
		}

		available = {

		}

		fire_only_once = yes
		visible = {
			has_completed_focus = POL_commie_create_puppet_parties
		}

		days_remove = 35

		cost = 30

		modifier = {

		}

		complete_effect = {
			set_party_name = { ideology = democratic_socialist  long_name = POL_democratic_socialist_zsl_party_long name = POL_democratic_socialist_zsl_party }
		}

		remove_effect = {
			add_timed_idea = {
				idea = POL_commie_support_from_farmers
				days = 90
			}
		}
	}

	POL_commie_gain_support_of_the_workers_dec = {

		icon = GFX_decision_generic_factory

		allowed = {
			original_tag = POL
		}

		available = {

		}

		fire_only_once = no
		visible = {
			has_country_flag = POL_commie_decisions_unlocked
		}

		days_remove = 35

		cost = 30

		modifier = {
			industrial_capacity_factory = 0.05
		}

		complete_effect = {
		}

		remove_effect = {
			POL_increase_revolutionary_stability_by_3_effect = yes
		}
	}

	POL_commie_anti_reactionary_propaganda_dec = {

		icon = GFX_decision_eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {

		}

		fire_only_once = no
		visible = {
			has_country_flag = POL_commie_decisions_unlocked
		}

		days_remove = 35

		cost = 30

		modifier = {
			communist_drift = 0.01
		}

		complete_effect = {
		}

		remove_effect = {
			POL_increase_revolutionary_stability_by_3_effect = yes
		}
	}

	POL_commie_unite_the_party_dec = {

		icon = GFX_decision_generic_political_discourse

		allowed = {
			original_tag = POL
		}

		available = {

		}

		fire_only_once = no
		visible = {
			has_country_flag = POL_commie_decisions_unlocked
		}

		days_remove = 35

		cost = 30

		modifier = {
			political_power_factor = 0.05
		}

		complete_effect = {
		}

		remove_effect = {
			POL_increase_revolutionary_stability_by_3_effect = yes
		}
	}

}

POL_back_to_sanation_cat = {

	POL_sanation_sponsor_the_arms_industry_dec = {

		icon = GFX_decision_ger_military_buildup

		allowed = {
			original_tag = POL
		}

		available = {

		}

		fire_only_once = no
		visible = {
			has_completed_focus = POL_sanationist_but_on_what_scale
		}

		days_remove = 150

		cost = 40

		modifier = {
			production_speed_arms_factory_factor = 0.1
		}

		complete_effect = {
		}

		remove_effect = {
		}
	}

	POL_sanation_increase_construction_budget_dec = {

		icon = GFX_decision_generic_construction

		allowed = {
			original_tag = POL
		}

		available = {

		}

		fire_only_once = no
		visible = {
			has_completed_focus = POL_sanationist_but_on_what_scale
		}

		days_remove = 150

		cost = 40

		modifier = {
			production_speed_industrial_complex_factor = 0.1
		}

		complete_effect = {
		}

		remove_effect = {
		}
	}

	POL_sanation_construct_new_government_owned_factories = {

		icon = GFX_decision_generic_factory

		allowed = {
			original_tag = POL
		}

		available = {

		}

		fire_only_once = no
		visible = {
			has_completed_focus = POL_sanationist_but_on_what_scale
		}

		days_remove = 25

		cost = 40

		modifier = {

		}

		complete_effect = {
		}

		remove_effect = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	POL_sanation_fund_apolitical_organisations = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_requires_at_least_25_progress_towards_depolicitisation
				check_variable = { POL_depolicisation_var > 24 }
			}
		}

		fire_only_once = no
		visible = {
			has_completed_focus = POL_sanation_the_grand_return_of_pilsudskis
		}

		days_remove = 25

		cost = 40

		modifier = {

		}

		complete_effect = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_sanation_fund_apolitical_organisations_tt
			add_to_variable = {
				var = POL_sanation_weekly_manpower
				value = 250
			}
			add_to_variable = {
				var = POL_sanation_minimum_training_level
				value = -0.05
			}
		}
	}

	POL_sanation_anti_radical_propaganda = {

		icon = GFX_decision_eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_requires_at_least_50_progress_towards_depolicitisation
				check_variable = { POL_depolicisation_var > 49 }
			}
		}

		fire_only_once = no
		visible = {
			has_completed_focus = POL_sanation_the_grand_return_of_pilsudskis
		}

		days_remove = 25

		cost = 40

		modifier = {

		}

		complete_effect = {
		}

		remove_effect = {
			add_stability = 0.03
			custom_effect_tooltip = POL_lower_opposition_fouth_estate
			hidden_effect = {
				fourth_estate_communist_decrease = yes
				fourth_estate_nationalist_decrease = yes
				fourth_estate_democratic_socialist_decrease = yes
				fourth_estate_social_democrat_decrease = yes
				fourth_estate_islamist_decrease = yes
				fourth_estate_progressive_decrease = yes
				fourth_estate_monarchist_decrease = yes
				fourth_estate_conservative_decrease = yes
				fourth_estate_social_liberal_decrease = yes
				fourth_estate_fascist_decrease = yes
			}
		}
	}

	POL_sanation_depoliticise_the_army = {

		icon = GFX_decision_generic_army_support

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_requires_at_least_75_progress_towards_depolicitisation
				check_variable = { POL_depolicisation_var > 74 }
			}
		}

		fire_only_once = no
		visible = {
			has_completed_focus = POL_sanation_the_grand_return_of_pilsudskis
		}

		days_remove = 25

		cost = 40

		modifier = {

		}

		complete_effect = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_sanation_depoliticise_the_army_tt
			add_to_variable = {
				var = military_leader_cost_factor
				value = -0.1
			}
			add_to_variable = {
				var = army_morale_factor
				value = 0.05
			}
		}
	}

	POL_sanation_a_trully_apolitical_state = {

		icon = GFX_decision_generic_army_support

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_requires_at_least_100_progress_towards_depolicitisation
				check_variable = { POL_depolicisation_var > 99 }
			}
		}

		fire_only_once = no
		visible = {
			has_completed_focus = POL_sanation_the_grand_return_of_pilsudskis
		}

		days_remove = 25

		cost = 40

		modifier = {

		}

		complete_effect = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_sanation_a_trully_apolitical_state_tt
			add_to_variable = {
				var = POL_sanation_political_power_gain
				value = 0.1
			}
		}
	}

	POL_anti_politics_campaing = {

		icon = eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {

		}

		fire_only_once = no
		visible = {
			has_completed_focus = POL_sanation_the_grand_return_of_pilsudskis
		}

		days_remove = 25

		cost = 40

		modifier = {
			political_power_factor = -0.05
			reactionary_drift = 0.01
		}

		complete_effect = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_increase_progress_towards_depoliticisation_by_5_tt
			add_to_variable = {
				var = POL_depolicisation_var
				value = 5
			}
		}
	}

	POL_srenghten_the_movment = {

		icon = decision_generic_civil_support

		allowed = {
			original_tag = POL
		}

		available = {

		}

		fire_only_once = no
		visible = {
			has_completed_focus = POL_sanation_the_grand_return_of_pilsudskis
		}

		days_remove = 25

		cost = 35

		modifier = {
			political_power_factor = -0.05
			reactionary_drift = 0.01
		}

		complete_effect = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_increase_popular_support_by_5_tt
			add_to_variable = {
				var = POL_sanation_popular_support_var
				value = 5
			}
		}
	}

}

POL_lessons_from_germany = {

	POL_nationalise_their_car_companies = {

		icon = GFX_decision_generic_tank

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_completed_focus = POL_nazi_lessons_from_germany
		}

		fire_only_once = yes

		cost = 40
		days_remove = 50

		modifier = {
			research_speed_factor = 0.05
		}

		complete_effect = {

		}

		remove_effect = {
			add_offsite_building = { type = arms_factory level = 1 }
			add_tech_bonus = {
				name = tech_bonus
				bonus = 0.5
				uses = 1
				category = motorized_equipment
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_German_military_expiriance = {

		icon = GFX_decision_generic_tank

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_completed_focus = POL_nazi_lessons_from_germany
		}

		fire_only_once = yes

		cost = 40
		days_remove = 50

		modifier = {
			research_speed_factor = 0.05
		}

		complete_effect = {

		}

		remove_effect = {
			army_experience = 20
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_secure_german_engeniers = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_completed_focus = POL_nazi_lessons_from_germany
		}

		fire_only_once = yes

		cost = 40
		days_remove = 50

		modifier = {
			production_speed_buildings_factor = 0.05
		}

		complete_effect = {

		}

		remove_effect = {
			add_tech_bonus = {
				name = industry_bonus
				bonus = 0.5
				uses = 1
				category = industry
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

}

POL_propaganda_campaigns_cat = {

	POL_one_nation_one_leader_one_reich_campaign = {

		icon = eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_we_can_do_a_propaganda_campaign
				check_variable = {
					POL_nazi_available_campaign_slots > 0
				}
			}
		}
		visible = {
			has_completed_focus = POL_nazi_copy_german_propaganda
		}

		days_remove = 100

		cost = POL_one_nation_one_leader_one_reich_campaign_cost

		modifier = {
			political_power_factor = 0.1
			army_defence_factor = 0.05
		}

		complete_effect = {
			custom_effect_tooltip = POL_increase_propaganda_cost
			add_to_variable = {
				var = POL_one_nation_one_leader_one_reich_campaign_cost
				value = 10
			}
			add_to_variable = {
				var = POL_nazi_available_campaign_slots
				value = -1
			}
		}

		remove_effect = {
			add_to_variable = {
				var = POL_nazi_available_campaign_slots
				value = 1
			}
		}
	}

	POL_pesants_in_need_who_helps_bryczkowski_campaign = {

		icon = eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_we_can_do_a_propaganda_campaign
				check_variable = {
					POL_nazi_available_campaign_slots > 0
				}
			}
		}
		visible = {
			has_completed_focus = POL_nazi_copy_german_propaganda
		}

		days_remove = 100

		cost = POL_pesants_in_need_who_helps_bryczkowski_campaign_cost

		modifier = {
			monthly_population = 0.15
			stability_factor = 0.05
		}

		complete_effect = {
			custom_effect_tooltip = POL_increase_propaganda_cost
			add_to_variable = {
				var = POL_pesants_in_need_who_helps_bryczkowski_campaign_cost
				value = 10
			}
			add_to_variable = {
				var = POL_nazi_available_campaign_slots
				value = -1
			}
		}

		remove_effect = {
			add_to_variable = {
				var = POL_nazi_available_campaign_slots
				value = 1
			}
		}
	}

	POL_against_corruption_campaign = {

		icon = eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_we_can_do_a_propaganda_campaign
				check_variable = {
					POL_nazi_available_campaign_slots > 0
				}
			}
		}
		visible = {
			has_completed_focus = POL_nazi_copy_german_propaganda
		}

		days_remove = 100

		cost = POL_against_corruption_campaign_cost

		modifier = {
			consumer_goods_expected_value = -0.04

		}

		complete_effect = {
			custom_effect_tooltip = POL_increase_propaganda_cost
			add_to_variable = {
				var = POL_against_corruption_campaign_cost
				value = 10
			}
			add_to_variable = {
				var = POL_nazi_available_campaign_slots
				value = -1
			}
		}

		remove_effect = {
			add_to_variable = {
				var = POL_nazi_available_campaign_slots
				value = 1
			}
		}
	}

	POL_students_are_propagandists_of_the_leader_campaign = {

		icon = eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_we_can_do_a_propaganda_campaign
				check_variable = {
					POL_nazi_available_campaign_slots > 0
				}
			}
		}
		visible = {
			has_completed_focus = POL_nazi_copy_german_propaganda
		}

		days_remove = 100

		cost = POL_students_are_propagandists_of_the_leader_campaign_cost

		modifier = {
			research_speed_factor = 0.04
		}

		complete_effect = {
			custom_effect_tooltip = POL_increase_propaganda_cost
			add_to_variable = {
				var = POL_students_are_propagandists_of_the_leader_campaign_cost
				value = 10
			}
			add_to_variable = {
				var = POL_nazi_available_campaign_slots
				value = -1
			}
		}

		remove_effect = {
			add_to_variable = {
				var = POL_nazi_available_campaign_slots
				value = 1
			}
		}
	}

	POL_you_can_help_too_campaign = {

		icon = eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_we_can_do_a_propaganda_campaign
				check_variable = {
					POL_nazi_available_campaign_slots > 0
				}
			}
		}
		visible = {
			has_completed_focus = POL_nazi_copy_german_propaganda
		}

		days_remove = 100

		cost = POL_you_can_help_too_campaign_cost

		modifier = {
			production_speed_buildings_factor = 0.075
			production_factory_efficiency_gain_factor = 0.035
		}

		complete_effect = {
			custom_effect_tooltip = POL_increase_propaganda_cost
			add_to_variable = {
				var = POL_you_can_help_too_campaign_cost
				value = 10
			}
			add_to_variable = {
				var = POL_nazi_available_campaign_slots
				value = -1
			}
		}

		remove_effect = {
			add_to_variable = {
				var = POL_nazi_available_campaign_slots
				value = 1
			}
		}
	}

	POL_we_create_a_new_poland = {

		icon = eng_propaganda_campaigns

		allowed = {
			original_tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_we_can_do_a_propaganda_campaign
				check_variable = {
					POL_nazi_available_campaign_slots > 0
				}
			}
		}
		visible = {
			has_completed_focus = POL_nazi_copy_german_propaganda
		}

		days_remove = 100

		cost = POL_we_create_a_new_poland_cost

		modifier = {
			fascist_drift = 0.03
			political_power_factor = 0.05
			stability_factor = 0.1
		}

		complete_effect = {
			custom_effect_tooltip = POL_increase_propaganda_cost
			add_to_variable = {
				var = POL_we_create_a_new_poland_cost
				value = 10
			}
			add_to_variable = {
				var = POL_nazi_available_campaign_slots
				value = -1
			}
		}

		remove_effect = {
			add_to_variable = {
				var = POL_nazi_available_campaign_slots
				value = 1
			}
		}
	}
}
POL_national_socialist_future = {

	POL_subsidies_for_new_military_factories_dec = {

		icon = GFX_decision_ger_military_buildup

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_completed_focus = POL_nazi_prioritise_the_war_industry
		}

		fire_only_once = yes

		cost = 35
		days_remove = 35

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			swap_ideas = {
				remove_idea = POL_nationalised_banks_4
				add_idea = POL_nationalised_banks_5
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_nazi_expand_emloyment_in_arms_industry_dec = {

		icon = GFX_decision_ger_military_buildup

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_completed_focus = POL_nazi_prioritise_the_war_industry
		}

		fire_only_once = yes

		cost = 35
		days_remove = 35

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_nazi_calm_down_a_bit_dec = {

		icon = GFX_decision_eng_trade_unions_demand

		allowed = {
			tag = POL
		}

		available = {
			NOT = { has_country_flag = POL_nazi_doing_another_decision_in_this_category }
		}
		visible = {
			has_country_flag = POL_nazi_decisions_unlocked
		}

		fire_only_once = no

		cost = 45
		days_remove = 35

		modifier = {
			research_speed_factor = 0.035
		}

		complete_effect = {
			set_country_flag = POL_nazi_doing_another_decision_in_this_category
		}

		remove_effect = {
			POL_decrease_inasnity_effect = yes
			clr_country_flag = POL_nazi_doing_another_decision_in_this_category
		}

		ai_will_do = {
			factor = 100
		}
	}
	POL_nazi_host_fanatical_spech_dec = {

		icon = GFX_decision_eng_propaganda_campaigns

		allowed = {
			tag = POL
		}

		available = {
			NOT = { has_country_flag = POL_nazi_doing_another_decision_in_this_category }
		}
		visible = {
			has_country_flag = POL_nazi_decisions_unlocked
		}

		fire_only_once = no

		cost = 45
		days_remove = 35

		modifier = {
			fascist_drift = 0.01
		}

		complete_effect = {
			set_country_flag = POL_nazi_doing_another_decision_in_this_category
		}

		remove_effect = {
			POL_increase_inasnity_effect = yes
			clr_country_flag = POL_nazi_doing_another_decision_in_this_category
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_nazi_centralise_power_dec = {

		icon = GFX_decision_hol_war_on_pacifism

		allowed = {
			tag = POL
		}

		available = {
			NOT = { has_country_flag = POL_nazi_doing_another_decision_in_this_category }
			NOT = { has_country_flag = POL_party_path }
		}
		visible = {
			has_country_flag = POL_nazi_decisions_unlocked
			NOT = { has_country_flag = POL_party_path }
		}

		fire_only_once = no

		cost = 45
		days_remove = 35

		modifier = {
			stability_factor = 0.1
		}

		complete_effect = {
			set_country_flag = POL_nazi_doing_another_decision_in_this_category
		}

		remove_effect = {
			POL_increase_leader_influence_by_2 = yes
			clr_country_flag = POL_nazi_doing_another_decision_in_this_category
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_nazi_concessions_to_the_party_dec = {

		icon = GFX_decision_eng_trade_unions_demand

		allowed = {
			tag = POL
		}

		available = {
			NOT = { has_country_flag = POL_nazi_doing_another_decision_in_this_category }
			NOT = { has_country_flag = POL_bryczkowski_path }
		}
		visible = {
			has_country_flag = POL_nazi_decisions_unlocked
			NOT = { has_country_flag = POL_bryczkowski_path }
		}

		fire_only_once = no

		cost = 45
		days_remove = 35

		modifier = {
			political_power_factor = 0.1
		}

		complete_effect = {
			set_country_flag = POL_nazi_doing_another_decision_in_this_category
		}

		remove_effect = {
			POL_increase_party_influence_by_2 = yes
			clr_country_flag = POL_nazi_doing_another_decision_in_this_category
		}

		ai_will_do = {
			factor = 100
		}
	}

}

POL_securing_power_cat = {

	POL_silence_anti_nazi_medias = {

		icon = GFX_decision_generic_tank

		allowed = {
			tag = POL
		}

		available = {
		}
		visible = {
			has_completed_focus = POL_nazi_take_the_medias
		}

		fire_only_once = yes

		cost = 25
		days_remove = 10

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			set_country_flag = POL_hunt_down_old_politicans_flag
			POL_progress_the_purge_effect = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_hunt_down_old_politicans = {

		icon = GFX_decision_generic_tank

		allowed = {
			tag = POL
		}

		available = {
		}
		visible = {
			has_completed_focus = POL_nazi_dealing_with_old_politicians
		}

		fire_only_once = yes

		cost = 25
		days_remove = 10

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			set_country_flag = POL_hunt_down_old_politicans_flag
			POL_progress_the_purge_effect = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_eliminate_commanmens_resistance = {

		icon = GFX_decision_generic_tank

		allowed = {
			tag = POL
		}

		available = {
		}
		visible = {
			has_completed_focus = POL_nazi_silence_the_comman_man
		}

		fire_only_once = yes

		cost = 25
		days_remove = 10

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			POL_progress_the_purge_effect = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_deal_with_buisness_owners = {

		icon = GFX_decision_generic_tank

		allowed = {
			tag = POL
		}

		available = {
		}
		visible = {
			has_completed_focus = POL_nazi_bring_down_the_upper_class
		}

		fire_only_once = yes

		cost = 25
		days_remove = 10

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			set_country_flag = POL_purged_buisness_owners
			POL_progress_the_purge_effect = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_strike_at_bank_owners = {

		icon = GFX_decision_generic_tank

		allowed = {
			tag = POL
		}

		available = {
		}
		visible = {
			has_completed_focus = POL_nazi_bring_down_the_upper_class
		}

		fire_only_once = yes

		cost = 25
		days_remove = 10

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			set_country_flag = POL_purged_bankers
			POL_progress_the_purge_effect = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_the_end_of_opposition = {

		icon = GFX_decision_eng_propaganda_campaigns

		allowed = {
			tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_nazi_opposition_strength_is_zero
				check_variable = { POL_nazi_opposition_to_government = 0 compare = equals }
			}
		}
		visible = {
			has_completed_focus = POL_nazi_bryczkowskis_devilish_plan
		}

		fire_only_once = yes

		cost = 50
		days_remove = 0

		modifier = {

		}

		complete_effect = {
			remove_ideas = POL_strong_opposition_2
		}

		remove_effect = {

		}

		ai_will_do = {
			factor = 100
		}
	}

}

POL_final_preparations = {

	POL_promote_falangism_dec = {

		icon = hol_draw_up_staff_plans

		state_target = yes

		available = {
		}
		target_trigger = {
			FROM = {
				owner = {
					OR = {
						AND = {
							original_tag = SPR
							ROOT = { has_completed_focus = POL_falangist_support_spanish_falangism }
						}
						AND = {
							original_tag = GRE
							ROOT = { has_completed_focus = POL_falangist_support_spanish_falangism }
						}
					}
					NOT = { has_government = fascist }
				}
				is_capital = yes
			}
		}
		visible = {
			OR = {
				has_completed_focus = POL_falangist_support_spanish_falangism
				has_completed_focus = POL_falangist_work_with_greek_fascists
			}
		}
		fire_only_once = no
		cost = 50
		on_map_mode = map_only

		days_remove = 70

		remove_effect = {
			FROM = {
				owner = {
					random_list = {
						50 = {
							add_popularity = {
								ideology = fascist
								popularity = 0.05
							}
						}
						50 = {
							fourth_estate_fascist_increase = yes
						}
					}
				}
			}
		}

		ai_will_do = {
			base = 10
		}
	}

	POL_war_propaganda_dec = {

		icon = GFX_decision_eng_propaganda_campaigns

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_completed_focus = POL_falangist_end_of_the_conference
		}

		fire_only_once = yes

		cost = 50
		days_remove = 120

		modifier = {
			weekly_manpower = 500
		}

		complete_effect = {

		}

		remove_effect = {
			add_war_support = 0.075
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_trade_with_other_nationalist_countries = {

		icon = GFX_decision_category_generic_arms_trade

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_completed_focus = POL_falangist_end_of_the_conference
		}

		fire_only_once = yes

		cost = 50
		days_remove = 120

		modifier = {
			trade_opinion_factor = 0.15
		}

		complete_effect = {

		}

		remove_effect = {
			every_country = {
				limit = {
					NOT = { original_tag = GER }
					OR = {
						has_government = fascist
						has_government = nationalist
					}
				}
				increase_trade_influence_by_1 = yes
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_invite_foreign_facsist_thinkers = {

		icon = GFX_decision_generic_research

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_completed_focus = POL_falangist_end_of_the_conference
		}

		fire_only_once = yes

		cost = 50
		days_remove = 120

		modifier = {
			political_power_factor = -0.05
			research_speed_factor = 0.05
		}

		complete_effect = {

		}

		remove_effect = {
		}

		ai_will_do = {
			factor = 100
		}
	}

}

POL_rebuilding_the_army_cat = {

	POL_work_towards_improvments = {

		icon = GFX_decision_generic_army_support

		allowed = {
			tag = POL
		}

		available = {
			NOT = { has_idea = POL_reorganised_army }
		}
		visible = {
			has_completed_focus = POL_falangist_rebuidling_the_army
			NOT = { has_idea = POL_reorganised_army }
		}

		fire_only_once = no

		cost = 35
		days_remove = 25

		modifier = {
			experience_gain_army = 0.03
		}

		complete_effect = {
			set_country_flag = POL_not_already_fixing_army_flag
		}

		remove_effect = {
			clr_country_flag = POL_not_already_fixing_army_flag
			POL_improve_falangist_army = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_expand_the_reserves = {

		icon = GFX_decision_generic_army_support

		allowed = {
			tag = POL
		}

		available = {
			NOT = { has_idea = POL_reorganised_army }
		}
		visible = {
			has_completed_focus = POL_falangist_rebuidling_the_army
			NOT = { has_idea = POL_reorganised_army }
		}

		fire_only_once = no

		cost = 35
		days_remove = 25

		modifier = {
			weekly_manpower = 500
		}

		complete_effect = {
			set_country_flag = POL_not_already_fixing_army_flag
		}

		remove_effect = {
			clr_country_flag = POL_not_already_fixing_army_flag
			POL_improve_falangist_army = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_promote_falangist_fanatics = {

		icon = GFX_decision_generic_army_support

		allowed = {
			tag = POL
		}

		available = {
			NOT = { has_idea = POL_reorganised_army }
		}
		visible = {
			has_completed_focus = POL_falangist_rebuidling_the_army
			NOT = { has_idea = POL_reorganised_army }
		}

		fire_only_once = no

		cost = 35
		days_remove = 25

		modifier = {
			political_power_factor = 0.05
		}

		complete_effect = {
			set_country_flag = POL_not_already_fixing_army_flag
		}

		remove_effect = {
			clr_country_flag = POL_not_already_fixing_army_flag
			army_experience = 5
			POL_improve_falangist_army = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_new_generals = {

		icon = GFX_decision_generic_army_support

		allowed = {
			tag = POL
		}

		available = {
			NOT = { has_idea = POL_reorganised_army }
		}
		visible = {
			has_completed_focus = POL_falangist_rebuidling_the_army
			NOT = { has_idea = POL_reorganised_army }
		}

		fire_only_once = no

		cost = 35
		days_remove = 25

		modifier = {
			planning_speed = 0.1
			max_planning = 0.1
		}

		complete_effect = {
			set_country_flag = POL_not_already_fixing_army_flag
		}

		remove_effect = {
			clr_country_flag = POL_not_already_fixing_army_flag
			POL_improve_falangist_army = yes
		}

		ai_will_do = {
			factor = 100
		}
	}
}

POL_internal_conflicts = {

	POL_oppsing_faction_makes_their_moves_dec = {

		visible = {
			has_completed_focus = POL_falangist_a_new_leader
			NOT = {
				OR = {
					has_country_flag = POL_support_onr_flag
					has_country_flag = POL_support_now_flag
				}
			}
		}
		icon = GFX_decision_generic_speech
		available = {
			OR = {
				has_completed_focus = POL_falangist_a_new_leader
			}
			NOT = { has_government = fascist }
		}
		days_mission_timeout = 15

		fixed_random_seed = no
		fire_only_once = no
		is_good = no
		activation = {
			OR = {
				has_country_flag = POL_support_onr_flag
				has_country_flag = POL_support_now_flag
			}
			original_tag = POL
		}

		complete_effect = {
		}

		timeout_effect = {
			if = {
				limit = {
					has_country_flag = POL_support_onr_flag
				}
				POL_increase_nop_influence_by_2 = yes
			}
			if = {
				limit = {
					has_country_flag = POL_support_now_flag
				}
				POL_increase_onr_influence_by_2 = yes
			}
		}

	}

	POL_convince_the_old_guard = {

		icon = GFX_decision_generic_civil_support

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_completed_focus = POL_falangist_struggle_for_the_ruling_position
			OR = {
				has_country_flag = POL_support_onr_flag
				has_country_flag = POL_support_now_flag
			}
		}

		fire_only_once = no

		cost = 20
		days_remove = 15

		modifier = {
			political_power_factor = -0.1
		}

		complete_effect = {

		}

		remove_effect = {
			if = {
				limit = {
					has_country_flag = POL_support_onr_flag
				}
				POL_increase_onr_influence_by_2 = yes
			}
			if = {
				limit = {
					has_country_flag = POL_support_now_flag
				}
				POL_increase_nop_influence_by_2 = yes
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_appeal_to_the_youth = {

		icon = GFX_decision_generic_civil_support

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_completed_focus = POL_falangist_struggle_for_the_ruling_position
			OR = {
				has_country_flag = POL_support_onr_flag
				has_country_flag = POL_support_now_flag
			}
		}

		fire_only_once = no

		cost = 20
		days_remove = 15

		modifier = {
			stability_factor = -0.1
		}

		complete_effect = {

		}

		remove_effect = {
			if = {
				limit = {
					has_country_flag = POL_support_onr_flag
				}
				POL_increase_onr_influence_by_2 = yes
			}
			if = {
				limit = {
					has_country_flag = POL_support_now_flag
				}
				POL_increase_nop_influence_by_2 = yes
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_bribes_for_loyality_dec = {

		icon = GFX_decision_generic_civil_support

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_completed_focus = POL_falangist_struggle_for_the_ruling_position
			OR = {
				has_country_flag = POL_support_onr_flag
				has_country_flag = POL_support_now_flag
			}
		}

		fire_only_once = no

		cost = 20
		days_remove = 15

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		complete_effect = {

		}

		remove_effect = {
			if = {
				limit = {
					has_country_flag = POL_support_onr_flag
				}
				POL_increase_onr_influence_by_2 = yes
			}
			if = {
				limit = {
					has_country_flag = POL_support_now_flag
				}
				POL_increase_nop_influence_by_2 = yes
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

}

POL_securing_the_panslavic_state_cat = {

	POL_unify_slavs_dec = {

		icon = GFX_decision_generic_civil_support

		allowed = {
			tag = POL
		}

		available = {
			has_full_control_of_state = 10
			has_completed_focus = POL_slavic_the_all_slavic_state
		}
		visible = {
			has_completed_focus = POL_slavic_the_all_slavic_state
		}

		fire_only_once = no

		cost = 45
		days_remove = 50

		modifier = {
			political_power_factor = -0.1
		}

		complete_effect = {

		}

		remove_effect = {
			POL_increase_unity = yes
			POL_pis_check_slav_unity = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_gather_support_dec = {

		icon = GFX_decision_generic_independence

		allowed = {
			tag = POL
		}

		available = {
			has_full_control_of_state = 10
			has_completed_focus = POL_slavic_the_all_slavic_state
		}
		visible = {
			has_completed_focus = POL_slavic_the_all_slavic_state
		}

		fire_only_once = no

		cost = 45
		days_remove = 50

		modifier = {
			political_power_factor = -0.1
		}

		complete_effect = {

		}

		remove_effect = {
			POL_increase_legitimacy_influence = yes
			POL_pis_check_slav_legitimacy = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_strenghten_the_state_dec = {

		icon = GFX_decision_generic_army_support

		allowed = {
			tag = POL
		}

		available = {
			has_full_control_of_state = 10
			has_completed_focus = POL_slavic_the_all_slavic_state
		}
		visible = {
			has_completed_focus = POL_slavic_the_all_slavic_state
		}

		fire_only_once = no

		cost = 45
		days_remove = 50

		modifier = {
			political_power_factor = -0.1
		}

		complete_effect = {

		}

		remove_effect = {
			POL_increase_strenth = yes
			POL_pis_check_slav_strength = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

}

POL_modernising_warsaw_cat = {

	POL_finish_the_plan_dec = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_we_have_done_all_decisions_in_this_category_tt
				check_variable = { POL_warsaw_upgrade_war = 4 compare = equals }
			}
			has_full_control_of_state = 10
			has_completed_focus = POL_monarchist_make_them_richer_so_they_dont_complain
		}
		visible = {
			has_completed_focus = POL_monarchist_make_them_richer_so_they_dont_complain
		}

		fire_only_once = yes

		cost = 100
		days_remove = 50

		modifier = {
			political_power_factor = -0.1
		}

		complete_effect = {

		}

		remove_effect = {
			10 = {
				add_dynamic_modifier = { modifier = POL_a_city_of_culture }
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_capital_modernisations_scheme_dec = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {
			has_full_control_of_state = 10
			has_completed_focus = POL_monarchist_transforming_warsaw
		}
		visible = {
			has_completed_focus = POL_monarchist_transforming_warsaw
		}

		fire_only_once = yes

		cost = 35
		days_remove = 50

		modifier = {
			political_power_factor = -0.1
		}

		complete_effect = {

		}

		remove_effect = {
			add_to_variable = {
				var = POL_warsaw_upgrade_war
				value = 1
			}
			10 = {
				add_extra_state_shared_building_slots = 1
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_expand_the_park_saski_dec = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {
			has_full_control_of_state = 10
			has_completed_focus = POL_monarchist_transforming_warsaw
		}
		visible = {
			has_completed_focus = POL_monarchist_transforming_warsaw
		}

		fire_only_once = yes

		cost = 35
		days_remove = 50

		modifier = {
			political_power_factor = -0.1
		}

		complete_effect = {

		}

		remove_effect = {
			add_to_variable = {
				var = POL_warsaw_upgrade_war
				value = 1
			}
			add_stability = 0.025
			10 = {
				add_extra_state_shared_building_slots = 1
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_fund_local_art_dec = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {
			has_full_control_of_state = 10
			has_completed_focus = POL_monarchist_transforming_warsaw
		}
		visible = {
			has_completed_focus = POL_monarchist_transforming_warsaw
		}

		fire_only_once = yes

		cost = 35
		days_remove = 50

		modifier = {
			political_power_factor = -0.1
		}

		complete_effect = {

		}

		remove_effect = {
			add_to_variable = {
				var = POL_warsaw_upgrade_war
				value = 1
			}
			add_offsite_building = { type = industrial_complex level = 1 }
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_attract_artists_to_warsaw_dec = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {
			has_full_control_of_state = 10
			has_completed_focus = POL_monarchist_transforming_warsaw
		}
		visible = {
			has_completed_focus = POL_monarchist_transforming_warsaw
		}

		fire_only_once = yes

		cost = 35
		days_remove = 50

		modifier = {
			political_power_factor = -0.1
		}

		complete_effect = {

		}

		remove_effect = {
			add_to_variable = {
				var = POL_warsaw_upgrade_war
				value = 1
			}
			add_stability = 0.05
		}

		ai_will_do = {
			factor = 100
		}
	}

}

POL_stabilising_the_new_lands_cat = {

	POL_nobility_restoration_in_belarus_in_ukraine_dec = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {
			has_full_control_of_state = 67
			BLR = { exists = no }
			has_completed_focus = POL_monarchist_make_them_richer_so_they_dont_complain
		}
		visible = {
			has_completed_focus = POL_monarchist_make_them_richer_so_they_dont_complain
		}

		fire_only_once = yes

		cost = 200
		days_remove = 50

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			add_offsite_building = { type = industrial_complex level = 2 }
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_develop_minsk_industries_dec = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {
			has_full_control_of_state = 67
			BLR = { exists = no }
			has_completed_focus = POL_monarchist_make_them_richer_so_they_dont_complain
		}
		visible = {
			has_completed_focus = POL_monarchist_make_them_richer_so_they_dont_complain
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			67 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}
	POL_invest_in_ukrainain_farms_dec = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {
			tag = POL
		}

		available = {
			UKR = { exists = no }
			has_completed_focus = POL_monarchist_make_them_richer_so_they_dont_complain
		}
		visible = {
			has_completed_focus = POL_monarchist_make_them_richer_so_they_dont_complain
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			add_timed_idea = {
				idea = POL_expansions_of_ukranian_farms_2
				days = 365
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_restore_control_over_belarus_dec = {

		icon = GFX_decision_hol_draw_up_staff_plans

		allowed = {
			tag = POL
		}

		available = {
			BLR = { exists = no }
			has_completed_focus = POL_monarchist_polonise_belarus
		}
		visible = {
			has_completed_focus = POL_monarchist_polonise_belarus
		}

		fire_only_once = yes

		cost = 50
		days_remove = 150

		modifier = {
			political_power_factor = -0.15
		}

		complete_effect = {

		}

		remove_effect = {
			every_state = {
				limit = { is_core_of = BLR }
				add_core_of = POL
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_restore_control_over_ukraine_dec = {

		icon = GFX_decision_hol_draw_up_staff_plans

		allowed = {
			tag = POL
		}

		available = {
			UKR = { exists = no }
			has_completed_focus = POL_monarchist_clamp_down_on_ukrainain_resistance
		}
		visible = {
			has_completed_focus = POL_monarchist_clamp_down_on_ukrainain_resistance
		}

		fire_only_once = yes

		cost = 50
		days_remove = 150

		modifier = {
			political_power_factor = -0.15
		}

		complete_effect = {

		}

		remove_effect = {
			every_state = {
				limit = { is_core_of = UKR }
				add_core_of = POL
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

}

form_commonwealth_category = {

	form_commonwealth = {

		icon = generic_form_nation

		allowed = {
			original_tag = POL
		}

		available = {
			is_subject = no
			# Lithuania
			custom_trigger_tooltip = {
				tooltip = form_country_lithuania_required_states_tt
				controls_state = 188
				controls_state = 11
				controls_state = 189
				controls_state = 96
			}
		}

		cost = 50
		fire_only_once = yes
		visible = {
			OR = {
				has_completed_focus = POL_monarchist_restore_the_commonwealth
				has_completed_focus = POL_monarchist_memories_of_commonwelth
			}
		}
		complete_effect = {
			set_global_flag = form_commonwealth_flag
			set_cosmetic_tag = PLC_UNIFIED
			add_war_support = 0.05
			if = {
				limit = {
					has_completed_focus = POL_monarchist_restore_the_commonwealth
				}
				every_state = {
					limit = { is_core_of = LIT }
					add_core_of = POL
				}
				every_state = {
					limit = { is_core_of = LAT }
					add_core_of = POL
				}
				every_state = {
					limit = { is_core_of = EST }
					add_core_of = POL
				}
				every_state = {
					limit = { is_core_of = UKR }
					add_core_of = POL
				}
				every_state = {
					limit = { is_core_of = BLR }
					add_core_of = POL
				}
			}
		}

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}
}

POL_polish_colonialism_cat = {

	POL_settelers_in_Parana_dec = {

		icon = GFX_decision_generic_factory

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_full_control_of_state = 503
			OR = { 
			has_completed_focus = POL_monarchist_restore_the_morska_wola_project
			has_completed_focus = POL_the_profits_of_colonialism
		  }
		}

		fire_only_once = yes

		cost = 50
		days_remove = 100

		modifier = {
			monthly_population = -0.05
			political_power_factor = -0.05
		}

		complete_effect = {

		}

		remove_effect = {
			503 = {
				add_manpower = 50000
				set_state_name = POL_morska_wola_name
				add_core_of = POL
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_investments_in_Parana_dec = {

		icon = GFX_decision_generic_factory

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_full_control_of_state = 503
			OR = { 
			has_completed_focus = POL_monarchist_restore_the_morska_wola_project
			has_completed_focus = POL_the_profits_of_colonialism
		  }
		}

		fire_only_once = yes

		cost = 50
		days_remove = 40

		modifier = {
			political_power_factor = -0.05
		}

		complete_effect = {

		}

		remove_effect = {
			503 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_polish_companies_in_Liberia_dec = {

		icon = GFX_decision_generic_factory

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			LIB = {
				is_subject_of = POL
			}
			country_exists = LIB
			OR = { 
			has_completed_focus = POL_monarchist_develop_the_new_colony
			has_completed_focus = POL_the_profits_of_colonialism
		  }
		}

		fire_only_once = yes

		cost = 50
		days_remove = 40

		modifier = {
			political_power_factor = -0.05
		}

		complete_effect = {

		}

		remove_effect = {
			298 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_develop_liberian_ruber_plants_dec = {

		icon = GFX_decision_rubber

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			LIB = {
				is_subject_of = POL
			}
			country_exists = LIB
			OR = { 
			has_completed_focus = POL_monarchist_develop_the_new_colony
			has_completed_focus = POL_the_profits_of_colonialism
		  }
		}

		fire_only_once = yes

		cost = 50
		days_remove = 40

		modifier = {
			political_power_factor = -0.05
		}

		complete_effect = {

		}

		remove_effect = {
			298 = {
				add_resource = { type = rubber amount = 15 }
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_takeover_liberia_dec = {

		icon = GFX_decision_category_intervention_overseas

		allowed = {
			tag = POL
		}

		available = {

			has_country_flag = POL_influenced_liberian_politics
			has_country_flag = POL_invested_in_liberian_industry
			has_country_flag = POL_increased_trade_with_liberia
		}
		visible = {
			country_exists = LIB
			OR = { 
			has_completed_focus = POL_monarchist_taking_over_liberia
			has_completed_focus = POL_the_profits_of_colonialism
		  }
		}

		fire_only_once = yes

		cost = 200
		days_remove = 100

		modifier = {
			political_power_factor = -0.05
		}

		complete_effect = {

		}

		remove_effect = {
			LIB = {
				country_event = Poland_Events_News.98
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_increase_trade_with_liberia_dec = {

		icon = GFX_decision_generic_factory

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			country_exists = LIB
			OR = { 
			has_completed_focus = POL_monarchist_taking_over_liberia
			has_completed_focus = POL_the_profits_of_colonialism
		  }
		}

		fire_only_once = yes

		cost = 50
		days_remove = 35

		modifier = {
			political_power_factor = -0.05
		}

		complete_effect = {

		}

		remove_effect = {
			set_country_flag = POL_increased_trade_with_liberia
			LIB = {
				increase_trade_influence_by_2 = yes
				add_opinion_modifier = {
					target = ROOT
					modifier = economic_mission
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_invest_in_liberian_industry_dec = {

		icon = GFX_decision_generic_factory

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			country_exists = LIB
			OR = { 
			has_completed_focus = POL_monarchist_taking_over_liberia
			has_completed_focus = POL_the_profits_of_colonialism
		  }
		}

		fire_only_once = no

		cost = 50
		days_remove = 35

		modifier = {
			political_power_factor = -0.05
		}

		complete_effect = {

		}

		remove_effect = {
			set_country_flag = POL_invested_in_liberian_industry
			LIB = {
				random_owned_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_influence_liberian_politics_dec = {

		icon = GFX_decision_eng_propaganda_campaigns

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			country_exists = LIB
			OR = { 
			has_completed_focus = POL_monarchist_taking_over_liberia
			has_completed_focus = POL_the_profits_of_colonialism
		  }
		}

		fire_only_once = no

		cost = 50
		days_remove = 35

		modifier = {
			political_power_factor = -0.05
		}

		complete_effect = {

		}

		remove_effect = {
			set_country_flag = POL_influenced_liberian_politics
			LIB = {
				add_popularity = {
					ideology = monarchist
					popularity = 0.05
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_pro_colonialist_propaganda_campagains_dec = {

		icon = GFX_decision_eng_propaganda_campaigns

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			NOT = { has_completed_focus = POL_monarchist_sprawy_morskie_i_kolonialne }
			OR = { 
			has_completed_focus = POL_monarchy_revive_lmir
			has_completed_focus = POL_the_profits_of_colonialism
		  }
		}

		fire_only_once = no

		cost = 35
		days_remove = 35

		modifier = {
			political_power_factor = -0.05
		}

		complete_effect = {

		}

		remove_effect = {
			POL_increase_lmir_influence = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_increase_fundings_dec = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			NOT = { has_completed_focus = POL_monarchist_sprawy_morskie_i_kolonialne }
			OR = { 
			has_completed_focus = POL_monarchy_revive_lmir
			has_completed_focus = POL_the_profits_of_colonialism
		  }
		}

		fire_only_once = no

		cost = 35
		days_remove = 35

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		complete_effect = {

		}

		remove_effect = {
			POL_increase_lmir_influence = yes
		}

		ai_will_do = {
			factor = 100
		}
	}
	
	POL_dec_buy_land_in_Brazil = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {
			tag = POL
		}

		available = { 
        custom_trigger_tooltip = {
			check_variable = {
				POL_monarchist_lmir_strength_var > 40
			}
			tooltip = POL_monarchist_lmir_strength_at_least_okay
		}
		}
		visible = {
			NOT = { has_completed_focus = POL_monarchist_sprawy_morskie_i_kolonialne }
			has_completed_focus = POL_the_profits_of_colonialism
		}

		fire_only_once = no

		cost = 200
		days_remove = 35

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		complete_effect = {

		}

		remove_effect = {
		add_to_variable = {
			var = POL_monarchist_lmir_strength_var
			value = -40
		}
		BRA = {
			country_event = Poland_Events_News.99
		}
		}

		ai_will_do = {
			factor = 100
		}
	}

}

POL_russian_or_polish_tsardom_cat = {

	POL_promote_russian_beurocrats_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_country_flag = POL_russian_tsardom_decisions_unlocked
		}

		fire_only_once = no

		cost = 50
		days_remove = 100

		modifier = {
			political_power_factor = 0.1
		}

		complete_effect = {
			add_stability = 0.1
		}

		remove_effect = {
			add_stability = -0.1
			add_to_variable = {
				var = POL_monarchist_nationality_var
				value = -1
			}
			custom_effect_tooltip = POL_POL_monarchy_tsardom_become_slightly_more_russian
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_invite_russian_settlers_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_country_flag = POL_russian_tsardom_decisions_unlocked
		}

		fire_only_once = no

		cost = 50
		days_remove = 100

		modifier = {
			monthly_population = 0.15
		}

		complete_effect = {
		}

		remove_effect = {
			add_to_variable = {
				var = POL_monarchist_nationality_var
				value = -1
			}
			custom_effect_tooltip = POL_POL_monarchy_tsardom_become_slightly_more_russian
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_tsardom_russian_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			NOT = { has_country_flag = POL_polish_tsardom_decisions_unlocked }
			has_completed_focus = POL_monarchist_the_tsardom_of_poland_russian_or_polish
		}

		fire_only_once = yes

		cost = 0
		days_remove = 5

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_russian_tsardom_decisions_unlocked
		}

		remove_effect = {

		}

		ai_will_do = {
			factor = 100
		}
	}


	POL_reassure_the_people_monarchist_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_country_flag = POL_polish_tsardom_decisions_unlocked
		}

		fire_only_once = no

		cost = 50
		days_remove = 100

		modifier = {
			stability_weekly = 0.003
		}

		complete_effect = {
		}

		remove_effect = {
			add_to_variable = {
				var = POL_monarchist_nationality_var
				value = 1
			}
			custom_effect_tooltip = POL_POL_monarchy_tsardom_become_slightly_more_polish
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_work_with_polish_nobility_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			has_country_flag = POL_polish_tsardom_decisions_unlocked
		}

		fire_only_once = no

		cost = 50
		days_remove = 100

		modifier = {
			production_speed_industrial_complex_factor = 0.05
			consumer_goods_expected_value = -0.03
		}

		complete_effect = {
		}

		remove_effect = {
			add_to_variable = {
				var = POL_monarchist_nationality_var
				value = 1
			}
			custom_effect_tooltip = POL_POL_monarchy_tsardom_become_slightly_more_polish
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_tsardom_polish_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			tag = POL
		}

		available = {

		}
		visible = {
			NOT = { has_country_flag = POL_russian_tsardom_decisions_unlocked }
			has_completed_focus = POL_monarchist_the_tsardom_of_poland_russian_or_polish
		}

		fire_only_once = yes

		cost = 0
		days_remove = 5

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_polish_tsardom_decisions_unlocked
		}

		remove_effect = {

		}

		ai_will_do = {
			factor = 100
		}
	}

}

POL_habsburg_expansionism_cat = {

	POL_integrate_croatia_dec = {

		icon = GFX_decision_hol_draw_up_staff_plans

		allowed = {
			tag = POL
		}

		available = {
			CRO = { exists = no }
			has_completed_focus = POL_monarchist_takeover_bosnia_and_crociatia
		}
		visible = {
			has_completed_focus = POL_monarchist_takeover_bosnia_and_crociatia
		}

		fire_only_once = yes

		cost = 50
		days_remove = 150

		modifier = {
			political_power_factor = -0.15
		}

		complete_effect = {

		}

		remove_effect = {
			every_state = {
				limit = { is_core_of = CRO }
				add_core_of = POL
			}
		}

		ai_will_do = {
			factor = 100
		}
	}


	POL_integrate_slovenia_dec = {

		icon = GFX_decision_hol_draw_up_staff_plans

		allowed = {
			tag = POL
		}

		available = {
			SLV = { exists = no }
			has_completed_focus = POL_monarchist_takeover_bosnia_and_crociatia
		}
		visible = {
			has_completed_focus = POL_monarchist_takeover_bosnia_and_crociatia
		}

		fire_only_once = yes

		cost = 50
		days_remove = 150

		modifier = {
			political_power_factor = -0.15
		}

		complete_effect = {

		}

		remove_effect = {
			every_state = {
				limit = { is_core_of = SLV }
				add_core_of = POL
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_integrate_Spain_dec = {

		icon = GFX_decision_hol_draw_up_staff_plans

		allowed = {
			tag = POL
		}

		available = {
			SPR = { exists = no }
			has_completed_focus = POL_monarchist_get_spain_back
		}
		visible = {
			has_completed_focus = POL_monarchist_get_spain_back
		}

		fire_only_once = yes

		cost = 50
		days_remove = 150

		modifier = {
			political_power_factor = -0.15
		}

		complete_effect = {

		}

		remove_effect = {
			every_state = {
				limit = { is_core_of = SPR }
				add_core_of = POL
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_integrate_italy_dec = {

		icon = GFX_decision_hol_draw_up_staff_plans

		allowed = {
			tag = POL
		}

		available = {
			ITA = { exists = no }
			has_completed_focus = POL_monarchist_claim_italian_throne
		}
		visible = {
			has_completed_focus = POL_monarchist_claim_italian_throne
		}

		fire_only_once = yes

		cost = 50
		days_remove = 150

		modifier = {
			political_power_factor = -0.15
		}

		complete_effect = {

		}

		remove_effect = {
			every_state = {
				limit = { is_core_of = ITA }
				add_core_of = POL
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_integrate_bosnia_dec = {

		icon = GFX_decision_hol_draw_up_staff_plans

		allowed = {
			tag = POL
		}

		available = {
			BOS = { exists = no }
			has_completed_focus = POL_monarchist_takeover_bosnia_and_crociatia
		}
		visible = {
			has_completed_focus = POL_monarchist_takeover_bosnia_and_crociatia
		}

		fire_only_once = yes

		cost = 50
		days_remove = 150

		modifier = {
			political_power_factor = -0.15
		}

		complete_effect = {

		}

		remove_effect = {
			every_state = {
				limit = { is_core_of = ROM }
				add_core_of = POL
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_integrate_serbia_dec = {

		icon = GFX_decision_hol_draw_up_staff_plans

		allowed = {
			tag = POL
		}

		available = {
			SER = { exists = no }
			has_completed_focus = POL_monarchist_destroy_serbia
		}
		visible = {
			has_completed_focus = POL_monarchist_destroy_serbia
		}

		fire_only_once = yes

		cost = 50
		days_remove = 150

		modifier = {
			political_power_factor = -0.15
		}

		complete_effect = {

		}

		remove_effect = {
			every_state = {
				limit = { is_core_of = ROM }
				add_core_of = POL
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_monarchist_invite_to_faction_dec = {

		icon = GFX_decision_hol_draw_up_staff_plans

		allowed = {
			tag = POL
		}

		available = {
				AUS = {
					has_government = monarchist
				}
			}
		visible = {
				AUS = {
					has_government = monarchist
				}
			AUS = { exists = yes }
			has_country_flag = POL_unlocked_decision_to_support_austrian_monarchism
		}

		fire_only_once = no

		cost = 45
		days_remove = 15

		modifier = {

		}

		complete_effect = {
        
		}

		remove_effect = {
			AUS = { country_event = diplomatic_message.1 }
		}
	}
	
	POL_monarchist_invite_to_faction_dec2 = {

		icon = GFX_decision_hol_draw_up_staff_plans

		allowed = {
			tag = POL
		}

		available = {
				HUN = {
					has_government = monarchist
				}
			}
		visible = {
				HUN = {
					has_government = monarchist
				}
			HUN = { exists = yes }
			has_country_flag = POL_unlocked_decision_to_support_hungarian_monarchism
		}

		fire_only_once = no

		cost = 45
		days_remove = 15

		modifier = {

		}

		complete_effect = {
        
		}

		remove_effect = {
			HUN = { country_event = diplomatic_message.1 }
		}
	}
	
	POL_monarchist_refernedum_dec = {

		icon = GFX_decision_hol_draw_up_staff_plans

		allowed = {
			tag = POL
		}

		available = {
			AUS = { monarchist > 0.5 }
			NOT = {
				AUS = {
					has_government = monarchist
				}
			}
		}
		visible = {
			NOT = {
				AUS = {
					has_government = monarchist
				}
			}
			AUS = { exists = yes }
			has_country_flag = POL_unlocked_decision_to_support_austrian_monarchism
		}

		fire_only_once = no

		cost = 45
		days_remove = 15

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			AUS = {
				country_event = Poland_Events_News.93
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_political_support_for_austrian_monarchists_dec = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {
			tag = POL
		}

		available = {
			NOT = {
				AUS = {
					has_government = monarchist
				}
			}
		}
		visible = {
			NOT = {
				AUS = {
					has_government = monarchist
				}
			}
			AUS = { exists = yes }
			has_country_flag = POL_unlocked_decision_to_support_austrian_monarchism
		}

		fire_only_once = no

		cost = 45
		days_remove = 15

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			AUS = {
				fourth_estate_monarchist_increase = yes
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_fund_monarchist_movment_in_austria_dec = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {
			tag = POL
		}

		available = {
			NOT = {
				AUS = {
					has_government = monarchist
				}
			}
		}
		visible = {
			AUS = {
				has_government = monarchist
			}
			AUS = { exists = yes }
			has_country_flag = POL_unlocked_decision_to_support_austrian_monarchism
		}

		fire_only_once = no

		cost = 45
		days_remove = 15

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			AUS = {
				add_popularity = {
					ideology = monarchist
					popularity = 0.05
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_monarchist_refernedum_hungary_dec = {

		icon = GFX_decision_hol_draw_up_staff_plans

		allowed = {
			tag = POL
		}

		available = {
			HUN = { monarchist > 0.5 }
			NOT = {
				HUN = {
					has_government = monarchist
				}
			}
		}
		visible = {
			NOT = {
				HUN = {
					has_government = monarchist
				}
			}
			HUN = { exists = yes }
			has_country_flag = POL_unlocked_decision_to_support_hungarian_monarchism
		}

		fire_only_once = no

		cost = 45
		days_remove = 15

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			HUN = {
				country_event = Poland_Events_News.93
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_political_support_for_hungarian_monarchists_dec = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {
			tag = POL
		}

		available = {
			NOT = {
				HUN = {
					has_government = monarchist
				}
			}
		}
		visible = {
			NOT = {
				HUN = {
					has_government = monarchist
				}
			}
			AUS = { exists = yes }
			has_country_flag = POL_unlocked_decision_to_support_hungarian_monarchism
		}

		fire_only_once = no

		cost = 45
		days_remove = 15

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			HUN = {
				fourth_estate_monarchist_increase = yes
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_fund_monarchist_movment_in_hungary_dec = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {
			tag = POL
		}

		available = {
			NOT = {
				HUN = {
					has_government = monarchist
				}
			}
		}
		visible = {
			HUN = {
				has_government = monarchist
			}
			HUN = { exists = yes }
			has_country_flag = POL_unlocked_decision_to_support_hungarian_monarchism
		}

		fire_only_once = no

		cost = 45
		days_remove = 15

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			HUN = {
				add_popularity = {
					ideology = monarchist
					popularity = 0.05
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

}

POL_the_future_of_polish_monarchy_cat = {

	POL_increasing_opposition_influence_dec = {

		visible = {
			has_completed_focus = POL_a_more_peacful_may_coup
			NOT = {
				OR = {
					has_country_flag = POL_absolute_decisions_and_focus_unlocked
					has_country_flag = POL_constituional_decisions_and_focus_unlocked
				}
			}
		}
		icon = GFX_decision_generic_speech
		cancel_trigger = {
			OR = {
				OR = {
					has_completed_focus = POL_monarchist_the_dreams_of_Mieszko
					has_completed_focus = POL_monarchist_the_dreams_of_Poniatowski
				}
				NOT = { has_government = monarchist }
			}
		}
		days_mission_timeout = 10

		fixed_random_seed = no
		fire_only_once = no
		is_good = no
		activation = {
			OR = {
				has_country_flag = POL_absolute_decisions_and_focus_unlocked
				has_country_flag = POL_constituional_decisions_and_focus_unlocked
			}
			original_tag = POL
		}

		complete_effect = {
		}

		timeout_effect = {
			if = {
				limit = {
					has_country_flag = POL_absolute_decisions_and_focus_unlocked
				}
				add_to_variable = {
					var = POL_monarchy_support_for_constituional
					value = 2
				}
				custom_effect_tooltip = POL_monarchy_support_for_constituional_increase_tt
			}
			else_if = {
				limit = {
					has_country_flag = POL_constituional_decisions_and_focus_unlocked
				}
				add_to_variable = {
					var = POL_monarchy_support_for_absolute
					value = 2
				}
				custom_effect_tooltip = POL_POL_monarchy_support_for_absolute_increase_tt
			}
		}

	}

	POL_gather_support_support_for_our_cause_dec = {

		icon = GFX_decision_generic_speech

		allowed = {
			tag = POL
		}

		available = {
			OR = {
				has_country_flag = POL_absolute_decisions_and_focus_unlocked
				has_country_flag = POL_constituional_decisions_and_focus_unlocked
			}
		}


		visible = {
			OR = {
				has_country_flag = POL_absolute_decisions_and_focus_unlocked
				has_country_flag = POL_constituional_decisions_and_focus_unlocked
			}
		}

		fire_only_once = yes

		cost = 20
		days_remove = 10

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			if = {
				limit = {
					has_country_flag = POL_absolute_decisions_and_focus_unlocked
				}
				add_to_variable = {
					var = POL_monarchy_support_for_absolute
					value = 2
				}
				custom_effect_tooltip = POL_POL_monarchy_support_for_absolute_increase_tt
			}
			else_if = {
				limit = {
					has_country_flag = POL_constituional_decisions_and_focus_unlocked
				}
				add_to_variable = {
					var = POL_monarchy_support_for_constituional
					value = 2
				}
				custom_effect_tooltip = POL_monarchy_support_for_constituional_increase_tt
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_who_to_support_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			tag = POL
		}

		available = {
			has_completed_focus = POL_monarchist_and_to_his_loyal_man
		}


		visible = {
			has_completed_focus = POL_monarchist_and_to_his_loyal_man
		}

		fire_only_once = yes

		cost = 0

		modifier = {

		}

		complete_effect = {

		}

		remove_effect = {
			POL = {
				country_event = Poland_Events_News.90
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

}

POL_russian_influence_cat = {

	POL_work_with_russian_oligarchs_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			tag = POL
		}

		available = {
			has_completed_focus = POL_diplo_invite_russian_oligarchs
			NOT = { has_idea = POL_very_high_russian_influence }
			NOT = { has_country_flag = POL_not_doing_another_russia_decisions }
		}


		visible = {
			has_country_flag = POL_russian_influence_decisions_unlocked
		}

		fire_only_once = yes

		cost = 50
		days_remove = 40

		modifier = {
			political_power_factor = 0.05
			consumer_goods_expected_value = -0.05
			stability_factor = -0.1
		}

		complete_effect = {
			add_offsite_building = { type = industrial_complex level = 2 }
			set_country_flag = POL_not_doing_another_russia_decisions
		}

		remove_effect = {
			clr_country_flag = POL_not_doing_another_russia_decisions
			add_offsite_building = { type = industrial_complex level = -2 }
			POL_increase_russian_influence_effect = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_buy_russian_equipment_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			tag = POL
		}

		available = {
			OR = {
				has_completed_focus = POL_diplo_buy_russian_wepons
				has_completed_focus = POL_slavic_exports_and_imports_with_russia
			}
			NOT = { has_idea = POL_very_high_russian_influence }
			NOT = { has_country_flag = POL_not_doing_another_russia_decisions }
		}


		visible = {
			has_country_flag = POL_russian_influence_decisions_unlocked
		}

		fire_only_once = yes

		cost = 50
		days_remove = 40

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		complete_effect = {
			set_country_flag = POL_not_doing_another_russia_decisions
		}

		remove_effect = {
			clr_country_flag = POL_not_doing_another_russia_decisions
			random_list = {
				25 = {
					if = {
						limit = {
							NOT = {has_dlc = "By Blood Alone"}
						}
						add_equipment_to_stockpile = {
							type = fighter_equipment_2
							amount = 35
							producer = SOV
						}
					}
					else = {
						add_equipment_to_stockpile = {
							type = medium_plane_airframe_1
							amount = 35
							producer = SOV
						}
					}
				}
				25 = {
					add_equipment_to_stockpile = {
						type = motorized_equipment_1
						amount = 65
						producer = SOV
					}
				}
				25 = {
					add_equipment_to_stockpile = {
						type = infantry_equipment_2
						amount = 750
						producer = SOV
					}
				}
				25 = {
					add_equipment_to_stockpile = {
						type = artillery_equipment_2
						amount = 65
						producer = USA
					}
				}
			}
			POL_increase_russian_influence_effect = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_decrease_russian_influence_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			tag = POL
		}

		available = {
			NOT = { has_idea = POL_very_low_russian_influence }
			NOT = { has_country_flag = POL_not_doing_another_russia_decisions }
		}


		visible = {
			has_country_flag = POL_russian_influence_decisions_unlocked
		}

		fire_only_once = yes

		cost = 50
		days_remove = 40

		modifier = {
			political_power_factor = -0.1
		}

		complete_effect = {
			set_country_flag = POL_not_doing_another_russia_decisions
		}

		remove_effect = {
			clr_country_flag = POL_not_doing_another_russia_decisions
			POL_lower_russian_influence_effect = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

}

POL_the_future_of_trojmorze_cat = {

	POL_invite_country_to_trojmorze = {

		icon = GFX_decision_generic_decision

		allowed = {
			tag = POL
		}
		visible = {
			any_other_country = {
				exists = yes
				is_subject = no
			}
		}

		target_trigger = {
			exists = yes
			has_country_flag = POL_can_be_invited_to_trojmorze
		}

		available = {

		}

		complete_effect = {
			FROM = {
				country_event = Poland_Events_News.71
			}
			custom_effect_tooltip = NVX_decision_returns_days_35
		}

		days_re_enable = 35
		cost = 40
		fire_only_once = no

	}

}

POL_army_modernisation_cat = {

	POL_step_one_focus_on_the_army_dec = {

		icon = GFX_decision_generic_army_support

		allowed = {
			tag = POL
		}

		available = {
			has_completed_focus = POL_army_the_polish_army
		}


		visible = {
			has_completed_focus = POL_army_begin_the_5_year_plan
		}

		fire_only_once = yes

		cost = 35
		days_remove = 50

		modifier = {
			experience_gain_army = -0.05
			political_power_factor -0.05
		}

		complete_effect = {
		}

		remove_effect = {
			set_country_flag = POL_army_reform_first_step_complete
			swap_ideas = {
				remove_idea = POL_outdated_military
				add_idea = POL_outdated_military_2
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_step_two_develop_our_tactics_dec = {

		icon = GFX_decision_hol_draw_up_staff_plans

		allowed = {
			tag = POL
		}

		available = {
			OR = {
				has_completed_focus = POL_army_new_tactics
				has_completed_focus = POL_armythe_good_old_tactics
			}
			has_country_flag = POL_army_reform_first_step_complete
		}


		visible = {
			has_completed_focus = POL_army_begin_the_5_year_plan
		}

		fire_only_once = yes

		cost = 35
		days_remove = 50

		modifier = {
			experience_gain_army = -0.05
			political_power_factor -0.05
		}

		complete_effect = {
		}

		remove_effect = {
			set_country_flag = POL_army_reform_second_step_complete
			add_doctrine_cost_reduction = {
				name = armydoctrine_bonus
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			swap_ideas = {
				remove_idea = POL_outdated_military_2
				add_idea = POL_outdated_military_3
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_step_three_standarise_our_equipment_dec = {

		icon = GFX_decision_generic_prepare_civil_war

		allowed = {
			tag = POL
		}

		available = {
			OR = {
				has_completed_focus = POL_army_a_big_army
				has_completed_focus = POL_army_a_trully_modern_army
			}
			has_country_flag = POL_army_reform_second_step_complete
		}


		visible = {
			has_completed_focus = POL_army_begin_the_5_year_plan
		}

		fire_only_once = yes

		cost = 35
		days_remove = 50

		modifier = {
			experience_gain_army = -0.05
			political_power_factor -0.05
		}

		complete_effect = {
		}

		remove_effect = {
			set_country_flag = POL_army_reform_third_step_complete
			add_timed_idea = {
				idea = POL_small_arms_standarization_program
				days = 365
			}
			swap_ideas = {
				remove_idea = POL_outdated_military_3
				add_idea = POL_outdated_military_4
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_step_four_finish_the_modernisation_dec = {

		icon = GFX_decision_generic_research

		allowed = {
			tag = POL
		}

		available = {
			OR = {
				has_completed_focus = POL_army_a_big_army
				has_completed_focus = POL_army_a_trully_modern_army
			}
			has_completed_focus = POL_army_the_polish_army
			has_country_flag = POL_army_reform_third_step_complete
		}


		visible = {
			has_completed_focus = POL_army_begin_the_5_year_plan
		}

		fire_only_once = yes

		cost = 35
		days_remove = 50

		modifier = {
			experience_gain_army = -0.05
			political_power_factor -0.05
			research_speed_factor = 0.05
		}

		complete_effect = {
		}

		remove_effect = {
			set_country_flag = POL_army_reform_third_step_complete
			remove_ideas = POL_outdated_military_4
		}

		ai_will_do = {
			factor = 100
		}
	}

}

POL_wilk_program_cat = {

	POL_subsidy_tank_production_dec = {

		icon = GFX_decision_generic_tank

		allowed = {
			tag = POL
		}

		available = {
			NOT = { has_idea = POL_invested_in_tank_production }
		    NOT = { has_country_flag = POL_wilk_project_finished }
		}


		visible = {
			NOT = { has_country_flag = POL_wilk_project_finished }
			has_completed_focus = POL_army_wilk_program
			NOT = {
			check_variable = {
				POL_wilk_program_research_var = 100
			}
		}
		}

		fire_only_once = no

		cost = 35
		days_remove = 50

		modifier = {
		}

		complete_effect = {
			add_ideas = POL_invested_in_tank_production
		}

		remove_effect = {
			remove_ideas = POL_invested_in_tank_production
			custom_effect_tooltip = POL_wilk_research_increase
			add_to_variable = {
				var = POL_wilk_program_research_var
				value = 10
			}
			clamp_variable = { var = POL_wilk_program_research_var min = 0 max = 100 }
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_increase_research_fundings_dec = {

		icon = GFX_decision_generic_tank

		allowed = {
			tag = POL
		}

		available = {
        NOT = { has_country_flag = POL_wilk_project_finished }
		}


		visible = {
			NOT = { has_country_flag = POL_wilk_project_finished }
			has_completed_focus = POL_army_wilk_program
			NOT = {
			check_variable = {
				POL_wilk_program_research_var = 100
			}
		}
		}

		fire_only_once = no

		cost = 35
		days_remove = 50

		modifier = {
			consumer_goods_expected_value = 0.05
			research_speed_factor = 0.03
		}

		remove_effect = {
			custom_effect_tooltip = POL_wilk_research_increase
			clamp_variable = { var = POL_wilk_program_research_var min = 0 max = 100 }
			add_to_variable = {
				var = POL_wilk_program_research_var
				value = 10
			}
		}

		ai_will_do = {
			factor = 100
		}
	}
	
POL_finish_the_program_dec = {

		icon = GFX_decision_generic_tank

		allowed = {
			tag = POL
		}

		available = {
        NOT = { has_country_flag = POL_wilk_project_finished }
		}


		visible = {
			NOT = { has_country_flag = POL_wilk_project_finished }
			has_completed_focus = POL_army_wilk_program
			check_variable = {
				POL_wilk_program_research_var = 100
			}
		}

		fire_only_once = no

		cost = 35
		days_remove = 50

		modifier = {
			consumer_goods_factor = 0.05
			research_speed_factor = 0.03
		}

		remove_effect = {
			set_country_flag = POL_wilk_project_finished
			custom_effect_tooltip = POL_wilk_research_increase
			clamp_variable = { var = POL_wilk_program_research_var min = 0 max = 100 }
			add_to_variable = {
				var = POL_wilk_program_research_var
				value = 10
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

}

POL_establishing_new_air_bases_category = {

	POL_make_use_oflask_air_base_dec = {

		icon = GFX_decision_generic_air

		allowed = {
			tag = POL
		}

		available = {
			has_full_control_of_state = 87
		}


		visible = {
			has_completed_focus = POL_air_expand_the_air_bases
		}

		fire_only_once = yes

		cost = 35
		days_remove = 50

		modifier = {

		}

		remove_effect = {
			if = {
				limit = {
					87 = {
						free_building_slots = {
							building = air_base
							size > 0
							include_locked = yes
						}
					}
				}
				87 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = air_base
						level = 1
						instant_build = yes
					}
				}
			}
		}
		ai_will_do = {
			factor = 100
		}
	}

	POL_create_the_22_air_base_dec = {

		icon = GFX_decision_generic_air

		allowed = {
			tag = POL
		}

		available = {
			has_full_control_of_state = 85
		}


		visible = {
			has_completed_focus = POL_air_expand_the_air_bases
		}

		fire_only_once = yes

		cost = 35
		days_remove = 50

		modifier = {

		}

		remove_effect = {
			if = {
				limit = {
					85 = {
						free_building_slots = {
							building = air_base
							size > 0
							include_locked = yes
						}
					}
				}
				85 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = air_base
						level = 1
						instant_build = yes
					}
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}
}

POL_dockyard_expansion_category = {
	POL_create_msrg_dec = {

		icon = GFX_decision_generic_naval

		allowed = {
			tag = POL
		}

		available = {
			has_full_control_of_state = 742
		}


		visible = {
			OR = {
				has_completed_focus = POL_navy_build_up_the_dockyards
				has_completed_focus = POL_ancap_dockyard_expansion
			}
		}
		fire_only_once = yes

		cost = 45
		days_remove = 50

		modifier = {

		}

		remove_effect = {
			if = {
				limit = {
					742 = {
						free_building_slots = {
							building = dockyard
							size > 0
							include_locked = yes
						}
					}
				}
				742 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_expand_sw_dec = {

		icon = GFX_decision_generic_naval

		allowed = {
			tag = POL
		}

		available = {
			has_full_control_of_state = 85
		}


		visible = {
			OR = {
				has_completed_focus = POL_navy_build_up_the_dockyards
				has_completed_focus = POL_ancap_dockyard_expansion
			}
		}

		fire_only_once = yes

		cost = 45
		days_remove = 50

		modifier = {

		}

		remove_effect = {
			if = {
				limit = {
					85 = {
						free_building_slots = {
							building = dockyard
							size > 0
							include_locked = yes
						}
					}
				}
				85 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_expand_smw_dec = {

		icon = GFX_decision_generic_naval

		allowed = {
			tag = POL
		}

		available = {
			has_full_control_of_state = 85
		}


		visible = {
			OR = {
				has_completed_focus = POL_navy_build_up_the_dockyards
				has_completed_focus = POL_ancap_dockyard_expansion
			}
		}

		fire_only_once = yes

		cost = 75
		days_remove = 50

		modifier = {

		}

		remove_effect = {
			if = {
				limit = {
					85 = {
						free_building_slots = {
							building = dockyard
							size > 1
							include_locked = yes
						}
					}
				}
				85 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}
}

POL_matters_of_the_economy_cat = {

	POL_pis_privatisation_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		available = {

		}

		visible = {
			check_variable = {
				POL_pis_economic_interventionalism < 0
			}
			has_completed_focus = POL_pis_countinue_the_course
		}

		fire_only_once = yes

		cost = 40
		days_remove = 150

		modifier = {
			political_power_factor = -0.1
			production_factory_efficiency_gain_factor = 0.05
			consumer_goods_expected_value = -0.05
		}
		complete_effect = {
			POL_increase_national_debt = yes
		}

		remove_effect = {
			add_offsite_building = { type = industrial_complex level = 1 }
		}
	}

	POL_pis_encourage_foreign_investments_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		available = {

		}

		visible = {
			check_variable = {
				POL_pis_economic_interventionalism > 0
			}
			has_completed_focus = POL_pis_countinue_the_course
		}

		fire_only_once = yes

		cost = 40
		days_remove = 150

		modifier = {
			political_power_factor = -0.1
			production_speed_infrastructure_factor = 0.1
		}
		complete_effect = {
			POL_increase_national_debt = yes
		}

		remove_effect = {
			add_offsite_building = { type = industrial_complex level = 1 }
		}
	}

	POL_pis_work_with_the_bankers_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		available = {

		}

		visible = {
			has_completed_focus = POL_pis_countinue_the_course
		}

		fire_only_once = yes

		cost = 40
		days_remove = 150

		modifier = {
			stability_factor = -0.1
			political_power_factor = 0.05
			consumer_goods_expected_value -0.05
		}
		complete_effect = {
			POL_increase_national_debt = yes
		}

		remove_effect = {
		}
	}

	POL_pis_invest_into_the_road_system_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		available = {

		}

		visible = {
			check_variable = {
				POL_pis_economic_interventionalism > 0
			}
			has_completed_focus = POL_pis_countinue_the_course
		}

		fire_only_once = yes

		cost = 40
		days_remove = 150

		modifier = {
			political_power_factor = -0.1
			production_speed_infrastructure_factor = 0.1
		}
		complete_effect = {
			POL_increase_national_debt = yes
		}

		remove_effect = {
		}
	}

	POL_pis_strenghten_governemnt_companies_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		available = {

		}

		visible = {
			check_variable = {
				POL_pis_economic_interventionalism > 0
			}
			has_completed_focus = POL_pis_countinue_the_course
		}

		fire_only_once = yes

		cost = 40
		days_remove = 150

		modifier = {
			political_power_factor = -0.1
			production_speed_buildings_factor = 0.075
		}
		complete_effect = {
			POL_increase_national_debt = yes
			add_offsite_building = { type = industrial_complex level = 3 }
		}

		remove_effect = {
			add_offsite_building = { type = industrial_complex level = -3 }
		}
	}


	POL_pis_finishing_touches_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		available = {
			has_completed_focus = POL_pis_let_the_opposition_destroy_themsleves #for now...
		}

		visible = {
			has_completed_focus = POL_pis_stands_victorius
		}

		fire_only_once = yes

		cost = 40
		days_remove = 45

		modifier = {
			political_power_factor = 0.1
			production_speed_buildings_factor = 0.1
		}
		complete_effect = {
			set_country_flag = POL_pis_the_future_of_the_economy
		}

		remove_effect = {
			clr_country_flag = POL_pis_economic_decions
			add_offsite_building = { type = industrial_complex level = 1 }
		}
	}

	POL_pis_establish_kas_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_pis_the_future_of_the_economy
		}

		fire_only_once = yes

		cost = 50
		days_remove = 600

		modifier = {
			consumer_goods_expected_value = -0.03
		}
		complete_effect = {
			set_country_flag = POL_pis_economic_decions
		}

		remove_effect = {

		}
	}

	POL_pis_Vistula_Spit_canal_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_pis_stands_victorius
		}

		fire_only_once = yes

		cost = 50
		days_remove = 300

		modifier = {
			political_power_factor = -0.1
			production_speed_buildings_factor = 0.1
		}
		complete_effect = {
			set_country_flag = POL_pis_economic_decions
		}

		remove_effect = {
			clr_country_flag = POL_pis_economic_decions
			add_offsite_building = { type = industrial_complex level = 1 }
		}
	}

}

POL_party_matters_cat = {

	POL_pis_convince_the_people_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}

		available = {
			NOT = { has_country_flag = POL_taking_party_decision }
		}

		visible = {
			has_completed_focus = POL_pis_stands_victorius
		}

		fire_only_once = no

		cost = POL_convince_the_people_decisions_cost
		days_remove = POL_pis_days_remove_convince_the_people

		modifier = {
			political_power_factor = -0.05
			conservative_drift = 0.01
		}
		complete_effect = {
			set_country_flag = POL_taking_party_decision
		}

		remove_effect = {
			clr_country_flag = POL_taking_party_decision
			add_to_variable = {
				var = POL_pis_reform_supprt_var
				value = 5
			}
			clamp_variable = { var = POL_pis_reform_supprt_var min = 0 max = 100 }
			custom_effect_tooltip = POL_pis_increase_support_for_reforms_by_5
		}
	}

	POL_pis_strenghten_the_governemnt_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}

		available = {
			NOT = { has_country_flag = POL_taking_party_decision }
		}

		visible = {
			has_completed_focus = POL_pis_stands_victorius
		}

		fire_only_once = no

		cost = 40
		days_remove = 50

		modifier = {
			political_power_factor = -0.1
		}
		complete_effect = {
			set_country_flag = POL_taking_party_decision
		}

		remove_effect = {
			clr_country_flag = POL_taking_party_decision
			add_to_variable = {
				var = POL_SLD_government_strenght
				value = 4
			}
			clamp_variable = { var = POL_SLD_government_strenght min = 0 max = 100 }
			custom_effect_tooltip = POL_sld_strenghten_the_government
			POL_sld_check_party_strenght = yes
		}
	}

	POL_pis_reduce_control_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}

		available = {
			NOT = { has_country_flag = POL_taking_party_decision }
		}

		visible = {
			NOT = { has_completed_focus = POL_pis_flex_Kaczynskis_power }
			has_completed_focus = POL_pis_stands_victorius
		}

		fire_only_once = no

		cost = 40
		days_remove = 50

		modifier = {
			political_power_factor = -0.1
		}
		complete_effect = {
			set_country_flag = POL_taking_party_decision
		}

		remove_effect = {
			clr_country_flag = POL_taking_party_decision
			custom_effect_tooltip = POL_pis_slightly_decrease_party_control
			add_to_variable = { POL_PiS_party_control_var = -4 }
			clamp_variable = { var = POL_PiS_party_control_var min = 0 max = 100 }
			POL_pis_check_party_control = yes
		}
	}

	POL_pis_tighten_control_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		available = {
			NOT = { has_country_flag = POL_taking_party_decision }
		}

		visible = {
			has_completed_focus = POL_pis_stands_victorius
		}

		fire_only_once = no

		cost = 40
		days_remove = 50

		modifier = {
			political_power_factor = -0.1
		}
		complete_effect = {
			set_country_flag = POL_taking_party_decision
		}

		remove_effect = {
			clr_country_flag = POL_taking_party_decision
			custom_effect_tooltip = POL_pis_slightly_increase_party_control
			add_to_variable = { POL_PiS_party_control_var = 4 }
			clamp_variable = { var = POL_PiS_party_control_var min = 0 max = 100 }
			POL_pis_check_party_control = yes
		}
	}

	POL_pis_new_coal_mines_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_pis_make_big_big_promises
		}

		fire_only_once = yes

		cost = POL_pis_reform_decisions_cost
		days_remove = 200

		modifier = {
			political_power_factor = -0.1
			consumer_goods_expected_value = 0.05
			local_resources_factor = 0.15
		}
		complete_effect = {
			set_country_flag = POL_taking_reform_decision
		}

		remove_effect = {
			67 = {
				add_resource = {
					type = steel
					amount = 8
				}
			}
			clr_country_flag = POL_taking_reform_decision
		}
	}

	POL_pis_polish_buisness_over_foreign_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_pis_make_big_big_promises
		}

		fire_only_once = yes

		cost = POL_pis_reform_decisions_cost
		days_remove = 200

		modifier = {
			production_speed_buildings_factor = 0.1
			political_power_factor = -0.1
		}
		complete_effect = {
			set_country_flag = POL_taking_reform_decision
		}

		remove_effect = {
			add_offsite_building = { type = industrial_complex level = 1 }
			clr_country_flag = POL_taking_reform_decision
		}
	}

	POL_pis_the_country_knows_better_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_pis_make_big_big_promises
		}

		fire_only_once = yes

		cost = POL_pis_reform_decisions_cost
		days_remove = 200

		modifier = {
			stability_weekly = 0.005
			political_power_factor = 0.1
		}
		complete_effect = {
			set_country_flag = POL_taking_reform_decision
		}

		remove_effect = {
			clr_country_flag = POL_taking_reform_decision
		}
	}

	POL_pis_honour_our_legacy_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_pis_make_big_big_promises
		}

		fire_only_once = yes

		cost = POL_pis_reform_decisions_cost
		days_remove = 200

		modifier = {
			political_power_factor = 0.05
			weekly_manpower = 500
		}
		complete_effect = {
			set_country_flag = POL_taking_reform_decision
		}

		remove_effect = {
			add_war_support = 0.05
			clr_country_flag = POL_taking_reform_decision
		}
	}

	POL_pis_fight_against_tax_mafia_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_pis_make_big_big_promises
		}

		fire_only_once = yes

		cost = POL_pis_reform_decisions_cost
		days_remove = 200

		modifier = {
			political_power_factor = 0.05
			consumer_goods_expected_value = -0.05
		}
		complete_effect = {
			set_country_flag = POL_taking_reform_decision
		}

		remove_effect = {
			clr_country_flag = POL_taking_reform_decision
		}
	}

}

POL_reforms_of_upr_cat = {

	POL_upr_army_industry_investments_dec = {

		icon = GFX_decision_ger_military_buildup
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_upr_a_well_funded_army
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
			add_offsite_building = { type = arms_factory level = 1 }
		}
	}

	POL_upr_foreign_investments_dec = {

		icon = GFX_decision_generic_industry
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_upr_taxation_is_theaft
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
			add_offsite_building = { type = industrial_complex level = 1 }
		}
	}

	POL_upr_encourage_trade_dec = {

		icon = GFX_decision_generic_Gold_dec
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_upr_privatisation
		}

		fire_only_once = yes

		cost = 50
		days_remove = 300

		modifier = {
			political_power_factor = 0.05
			trade_opinion_factor = 0.1
			consumer_goods_expected_value = -0.02
		}

		remove_effect = {
		}
	}

	POL_upr_a_new_budget_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_upr_privatisation
		}

		fire_only_once = yes

		cost = 50
		days_remove = 35

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
			POL_decrease_national_debt = yes
		}
	}

	POL_upr_building_a_secure_Poland_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_upr_declaration_of_ideas
		}

		fire_only_once = yes

		cost = 50
		days_remove = 35

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
			law_change_increase_state_security = yes
		}
	}

}

POL_restoring_the_monarchy_cat = {

	POL_ask_for_support_of_other_politicians_dec = {

		icon = GFX_decision_generic_independence
		allowed = {
			tag = POL
		}


		visible = {
			has_country_flag = POL_korwins_monarchy_decisions_unlocked
		}

		fire_only_once = no

		cost = 35
		days_remove = 35

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
			custom_effect_tooltip = POL_upr_increase_popularity_of_korwin_becoming_king_by_5
			add_to_variable = { POL_korwin_monarchy_var = 5 }
		}
	}

	POL_memories_of_past_glory_dec = {

		icon = GFX_decision_category_generic_fascism
		allowed = {
			tag = POL
		}


		visible = {
			has_country_flag = POL_korwins_monarchy_decisions_unlocked
		}

		fire_only_once = no

		cost = 35
		days_remove = 35

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
			custom_effect_tooltip = POL_upr_increase_popularity_of_korwin_becoming_king_by_5
			add_to_variable = { POL_korwin_monarchy_var = 5 }
		}
	}

	POL_pro_monarchist_speeches_dec = {

		icon = GFX_decision_eng_propaganda_campaigns
		allowed = {
			tag = POL
		}


		visible = {
			has_country_flag = POL_korwins_monarchy_decisions_unlocked
		}

		fire_only_once = no

		cost = 35
		days_remove = 35

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
			custom_effect_tooltip = POL_upr_increase_popularity_of_korwin_becoming_king_by_5
			add_to_variable = { POL_korwin_monarchy_var = 5 }
		}
	}

}

POL_a_democracy_reborn_cat = {

	POL_control_the_stupid_people_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_upr_a_reformed_democracy
		}

		fire_only_once = yes

		cost = 50
		days_remove = 80

		modifier = {
			market_liberal_drift = 0.05
			stability_weekly = 0.03
		}

		remove_effect = {
		}
	}

	POL_concessions_to_buisnessman_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_upr_a_reformed_democracy
		}

		fire_only_once = yes

		cost = 50
		days_remove = 80

		modifier = {
			consumer_goods_expected_value = -0.05
		}

		complete_effect = {
			POL_increase_national_debt = yes
		}

		remove_effect = {
			add_offsite_building = { type = industrial_complex level = 1 }
		}
	}

	POL_concessions_to_intelectuals_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_upr_a_reformed_democracy
		}

		fire_only_once = yes

		cost = 50
		days_remove = 80

		modifier = {
			research_speed_factor = 0.05
		}

		remove_effect = {
			add_stability = 0.05
		}
	}

}

POL_korwins_catholic_values_cat = {

	POL_upr_attack_other_religions_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_upr_strenghten_catholicism
		}

		fire_only_once = yes

		cost = 50
		days_remove = 80

		modifier = {
			political_power_factor = 0.1
		}

		remove_effect = {
			add_stability = 0.05
		}
	}

	POL_upr_Korwin_is_a_true_catholic_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_upr_strenghten_catholicism
		}

		fire_only_once = yes

		cost = 50
		days_remove = 80

		modifier = {
			market_liberal_drift = 0.05
		}

		remove_effect = {

		}
	}

	POL_upr_encourage_traditional_families_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_upr_strenghten_catholicism
		}

		fire_only_once = yes

		cost = 50
		days_remove = 80

		modifier = {
			monthly_population = 0.1
		}

		remove_effect = {

		}
	}

	POL_upr_jesus_was_a_libertarian_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_upr_strenghten_catholicism
		}

		fire_only_once = yes

		cost = 50
		days_remove = 80

		modifier = {
			production_factory_efficiency_gain_factor = 0.1
			production_speed_buildings_factor = 0.1
		}

		remove_effect = {

		}
	}

}

POL_future_of_the_party_cat = {

	POL_upr_opposition_makes_their_moves_dec = {

		visible = {
			has_country_flag = POL_korwins_decisions_unlocked
			NOT = { has_country_flag = POL_korwin_decisions_over }
		}
		icon = GFX_decision_eng_propaganda_campaigns
		
		available = {
			NOT = { has_country_flag = POL_korwins_decisions_unlocked }
			NOT = { has_country_flag = POL_korwin_decisions_over }
		}
		days_mission_timeout = 5

		fixed_random_seed = no
		fire_only_once = no
		is_good = no
		activation = {
			has_country_flag = POL_korwins_decisions_unlocked
			NOT = { has_country_flag = POL_korwin_decisions_over }
			original_tag = POL
		}

		complete_effect = {
		}

		timeout_effect = {
			custom_effect_tooltip = POL_upr_increase_anti_korwinist_influence_bad
			add_to_variable = { POL_anti_Korwins_influence_var = 2 }
			add_to_variable = { POL_Korwins_influence_var = -2 }
		}
	}

	POL_upr_make_them_go_quiet_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}

		visible = {
			has_completed_focus = POL_upr_silence
			NOT = { has_country_flag = POL_korwin_decisions_over }
			has_country_flag = POL_korwins_decisions_unlocked
		}

		fire_only_once = no

		cost = 25
		days_remove = 10

		modifier = {
			market_liberal_drift = -0.01
		}

		remove_effect = {
			custom_effect_tooltip = POL_upr_increase_korwinist_influence
			add_to_variable = { POL_anti_Korwins_influence_var = -2 }
			add_to_variable = { POL_Korwins_influence_var = 2 }
		}
	}

	POL_upr_weaken_oppositon_influence_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_country_flag = POL_korwins_decisions_unlocked
			NOT = { has_country_flag = POL_korwin_decisions_over }
		}

		fire_only_once = no

		cost = 25
		days_remove = 10

		modifier = {
			market_liberal_drift = -0.01
		}

		remove_effect = {

			custom_effect_tooltip = POL_upr_increase_korwinist_influence
			add_to_variable = { POL_anti_Korwins_influence_var = -2 }
			add_to_variable = { POL_Korwins_influence_var = 2 }
		}
	}

	POL_upr_strenghten_korwins_influence_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_country_flag = POL_korwins_decisions_unlocked
			NOT = { has_country_flag = POL_korwin_decisions_over }
		}

		fire_only_once = no

		cost = 25
		days_remove = 10

		modifier = {
			political_power_factor = -0.05
		}

		remove_effect = {

			custom_effect_tooltip = POL_upr_increase_korwinist_influence
			add_to_variable = { POL_anti_Korwins_influence_var = 2 }
			add_to_variable = { POL_Korwins_influence_var = -2 }
		}
	}

	POL_upr_speak_our_against_korwin_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_completed_focus = POL_upr_in_the_open
			has_country_flag = POL_anti_korwin_decisions_unlocked
			NOT = { has_country_flag = POL_korwin_decisions_over }
		}

		fire_only_once = no

		cost = 25
		days_remove = 10

		modifier = {
			political_power_factor = 0.05
		}

		remove_effect = {

			custom_effect_tooltip = POL_upr_increase_anti_korwinist_influence
			add_to_variable = { POL_anti_Korwins_influence_var = 2 }
			add_to_variable = { POL_Korwins_influence_var = -2 }
		}
	}

	POL_upr_korwin_makes_his_moves_dec = {

		visible = {
			has_completed_focus = POL_upr_united_against_a_madman
		}
		icon = GFX_decision_eng_propaganda_campaigns
		available = {
			NOT = { has_country_flag = POL_anti_korwin_decisions_unlocked }
			has_country_flag = POL_korwin_decisions_over 
		}
		days_mission_timeout = 5

		visible = {
	    NOT = { has_country_flag = POL_korwin_decisions_over }
		}
		
		fixed_random_seed = no
		fire_only_once = no
		is_good = no
		activation = {
			has_country_flag = POL_anti_korwin_decisions_unlocked
			NOT = { has_country_flag = POL_korwin_decisions_over }
			original_tag = POL
		}

		complete_effect = {
		}

		timeout_effect = {
			custom_effect_tooltip = POL_upr_increase_korwinist_influence_bad
			add_to_variable = { POL_anti_Korwins_influence_var = -2 }
			add_to_variable = { POL_Korwins_influence_var = 2 }
		}
	}

	POL_upr_convince_pro_korwin_politicians_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_country_flag = POL_anti_korwin_decisions_unlocked
			NOT = { has_country_flag = POL_korwin_decisions_over }
		}

		fire_only_once = no

		cost = 25
		days_remove = 10

		modifier = {
			market_liberal_drift = 0.01
			political_power_factor = 0.035
		}

		remove_effect = {

			custom_effect_tooltip = POL_upr_increase_anti_korwinist_influence
			add_to_variable = { POL_anti_Korwins_influence_var = 2 }
			add_to_variable = { POL_Korwins_influence_var = -2 }
		}
	}

	POL_upr_stenghten_the_moderates_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_country_flag = POL_anti_korwin_decisions_unlocked
			NOT = { has_country_flag = POL_korwin_decisions_over }
		}

		fire_only_once = no

		cost = 25
		days_remove = 10

		modifier = {
			market_liberal_drift = -0.02
		}

		remove_effect = {

			custom_effect_tooltip = POL_upr_increase_anti_korwinist_influence
			add_to_variable = { POL_anti_Korwins_influence_var = 2 }
			add_to_variable = { POL_Korwins_influence_var = -2 }
		}
	}

	POL_upr_weaken_korwkins_position_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_country_flag = POL_anti_korwin_decisions_unlocked
			NOT = { has_country_flag = POL_korwin_decisions_over }
		}

		fire_only_once = no

		cost = 25
		days_remove = 10

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
			custom_effect_tooltip = POL_upr_increase_anti_korwinist_influence
			add_to_variable = { POL_anti_Korwins_influence_var = 2 }
			add_to_variable = { POL_Korwins_influence_var = -2 }
		}
	}

}

POL_future_of_the_polish_economy = {

	POL_sld_fixing_up_the_roads_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_country_flag = POL_sld_welfare_state_decisions_unlocked
		}

		fire_only_once = yes

		cost = 40
		days_remove = 100

		modifier = {
			production_speed_infrastructure_factor = 0.1
			stability_weekly = 0.002
		}

		remove_effect = {
			POL_increase_national_debt = yes

		}
	}

	POL_sld_limit_bureaucracy_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			has_country_flag = POL_sld_third_way_decisions_unlocked
		}

		fire_only_once = yes

		cost = 40
		days_remove = 100

		modifier = {
			consumer_goods_expected_value = -0.05
			production_speed_buildings_factor = 0.1
		}

		remove_effect = {

		}
	}

	POL_sld_increase_subsidies_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}


		visible = {
			OR = {
				has_country_flag = POL_sld_welfare_state_decisions_unlocked
				has_country_flag = POL_sld_third_way_decisions_unlocked
			}
		}

		fire_only_once = yes

		cost = 40
		days_remove = 75

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		remove_effect = {
			POL_increase_national_debt = yes
			custom_effect_tooltip = POL_sld_increase_subsidies_dec_tp
			add_to_variable = { POL_sld_production_speed_industrial_complex_factor = 0.05 }
			add_to_variable = { POL_sld_local_resources_factor = 0.05 }
		}
	}

	POL_sld_finalise_economic_refoms = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {
			OR = {
				has_completed_focus = POL_sld_the_new_role_of_the_state
				has_completed_focus = POL_sld_ensure_worker_rights
			}
		}

		visible = {
			has_completed_focus = POL_sld_to_win_tommorow
		}

		fire_only_once = yes

		cost = 40
		days_remove = 75

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		remove_effect = {
			POL_increase_national_debt = yes
			add_offsite_building = { type = industrial_complex level = 1 }
		}
	}

	POL_sld_make_starting_buisnes_easier_dec = {

		icon = GFX_decision_generic_decision
		allowed = {
			tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				check_variable = { POL_third_way_var > POL_welfare_state_var }
				tooltip = POL_third_way_idea_more_popular
			}
		}

		visible = {
			has_completed_focus = POL_sld_to_win_tommorow
		}

		fire_only_once = yes

		cost = 40
		days_remove = 75

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		remove_effect = {
			POL_increase_national_debt = yes
			custom_effect_tooltip = POL_sld_make_starting_buisnes_easier_dec_tp
			add_to_variable = { POL_sld_production_factory_efficiency_gain_factor = 0.05 }
		}
	}

	POL_sld_fund_state_comapnies_dec = {

		icon = GFX_decision_generic_factory

		allowed = {
			tag = POL
		}

		available = {
			custom_trigger_tooltip = {
				check_variable = { POL_welfare_state_var > POL_third_way_var }
				tooltip = POL_welfare_state_idea_more_popular
			}
		}

		visible = {
			has_completed_focus = POL_sld_to_win_tommorow
		}

		fire_only_once = yes

		cost = 40
		days_remove = 75

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		remove_effect = {
			add_offsite_building = { type = industrial_complex level = 1 }
		}
	}

}

POL_bringing_back_normality_cat = {

	POL_sld_the_economy_is_back_to_normal = {

		icon = GFX_decision_generic_factory

		allowed = {
			tag = POL
		}

		available = {
			has_country_flag = POL_has_selected_POL_sld_countinue_deflationary_policies_decision
		}

		visible = {
			has_completed_focus = POL_sld_bring_back_normality
		}

		fire_only_once = yes

		cost = 50
		days_remove = 75

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		remove_effect = {
			remove_ideas = POL_recovering_economy_idea_2
		}
	}

	POL_sld_countinue_deflationary_policies = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {

		}


		visible = {
			has_completed_focus = POL_sld_bring_back_normality
		}

		fire_only_once = yes

		cost = 50
		days_remove = 75

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		remove_effect = {
			set_country_flag = POL_has_selected_POL_sld_countinue_deflationary_policies_decision
			swap_ideas = {
				remove_idea = POL_recovering_economy_idea
				add_idea = POL_recovering_economy_idea_2
			}
		}
	}

}
POL_party_corruption_cat = {

	POL_sld_stand_against_party_corruption = {

		icon = GFX_decision_eng_propaganda_campaigns

		allowed = {

		}


		visible = {
			has_completed_focus = POL_sld_yet_another_victory
		}

		fire_only_once = no

		cost = 50
		days_remove = 75

		modifier = {
			political_power_factor = 0.05
		}

		complete_effect = {
			set_country_flag = POL_taking_party_corrutption_decision
		}

		remove_effect = {
			clr_country_flag = POL_taking_party_corrutption_decision
			add_to_variable = {
				var = POL_SLD_corruption_var
				value = -5
			}
			clamp_variable = { var = POL_SLD_corruption_var min = 0 max = 100 }
			custom_effect_tooltip = POL_sld_decrease_corruption
			POL_sld_check_party_corruption = yes
		}
	}

	POL_sld_deals_with_banks_dec = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {

		}


		visible = {
			NOT = { has_completed_focus = POL_sld_towards_a_party_without_corruption }
			has_completed_focus = POL_sld_yet_another_victory
		}

		fire_only_once = yes

		cost = 50
		days_remove = 75

		modifier = {
			political_power_factor = -0.15
			consumer_goods_expected_value = -0.075
		}

		complete_effect = {
			set_country_flag = POL_taking_party_corrutption_decision
		}

		remove_effect = {
			clr_country_flag = POL_taking_party_corrutption_decision
			add_to_variable = {
				var = POL_SLD_corruption_var
				value = -5
			}
			clamp_variable = { var = POL_SLD_corruption_var min = 0 max = 100 }
			custom_effect_tooltip = POL_sld_increase_corruption
			POL_sld_check_party_corruption = yes
			add_offsite_building = { type = industrial_complex level = 1 }
		}
	}

	POL_sld_take_bribes_dec = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {

		}


		visible = {
			NOT = { has_completed_focus = POL_sld_towards_a_party_without_corruption }
			has_completed_focus = POL_sld_yet_another_victory
		}

		fire_only_once = no

		cost = 50
		days_remove = 75

		modifier = {
			consumer_goods_expected_value = -0.075
		}

		complete_effect = {
			set_country_flag = POL_taking_party_corrutption_decision
		}

		remove_effect = {
			clr_country_flag = POL_taking_party_corrutption_decision
			add_to_variable = {
				var = POL_SLD_corruption_var
				value = 5
			}
			clamp_variable = { var = POL_SLD_corruption_var min = 0 max = 100 }
			custom_effect_tooltip = POL_sld_increase_corruption
			POL_sld_check_party_corruption = yes
		}
	}

}

POL_a_weak_government_cat = {

	POL_sld_ensure_party_unitedness = {

		icon = GFX_decision_gre_faction_management

		allowed = {

		}


		visible = {
			has_completed_focus = POL_sld_yet_another_victory
		}

		fire_only_once = yes

		cost = 40
		days_remove = 20

		modifier = {
			political_power_factor = 0.05
		}

		remove_effect = {
			add_to_variable = {
				var = POL_SLD_government_strenght
				value = 5
			}
			clamp_variable = { var = POL_SLD_corruption_var min = 0 max = 100 }
			custom_effect_tooltip = POL_sld_strenghten_the_government
			POL_sld_check_party_strenght = yes
		}
	}

	POL_opposition_getting_stronger_dec = {

		visible = {
			has_completed_focus = POL_sld_yet_another_victory
			NOT = { has_completed_focus = POL_sld_a_strong_united_government }
		}
		icon = GFX_decision_generic_political_rally
		cancel_trigger = {
			OR = {
				has_completed_focus = POL_sld_a_strong_united_government
				NOT = { has_government = social_democrat }
			}
		}
		days_mission_timeout = 40

		fixed_random_seed = no
		fire_only_once = no
		is_good = no
		activation = {
			has_country_flag = POL_opposition_get_stronger_flag
			original_tag = POL
		}

		complete_effect = {
		}

		timeout_effect = {
			add_popularity = {
				ideology = social_democrat
				popularity = -0.01
			}
			custom_effect_tooltip = POL_sld_weaken_the_government
			add_to_variable = {
				var = POL_SLD_government_strenght
				value = -6
			}
			clamp_variable = { var = POL_SLD_government_strenght min = 0 max = 100 }
			POL_sld_check_party_strenght = yes
		}
	}
	POL_get_people_on_our_side = {

		icon = GFX_decision_eng_propaganda_campaigns

		allowed = {

		}


		visible = {
			has_completed_focus = POL_sld_yet_another_victory
		}

		fire_only_once = yes

		cost = 40
		days_remove = 20

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		remove_effect = {
			add_popularity = {
				ideology = social_democrat
				popularity = 0.025
			}
			add_to_variable = {
				var = POL_SLD_government_strenght
				value = 5
			}
			clamp_variable = { var = POL_SLD_corruption_var min = 0 max = 100 }
			custom_effect_tooltip = POL_sld_strenghten_the_government
			POL_sld_check_party_strenght = yes
		}
	}


	POL_make_a_speech_dec = {

		icon = GFX_decision_generic_speech

		allowed = {

		}


		visible = {
			has_completed_focus = POL_sld_yet_another_victory
		}

		fire_only_once = yes

		cost = 40
		days_remove = 20

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		remove_effect = {
			custom_effect_tooltip = POL_sld_strenghten_the_government
			add_political_power = 20
			add_stability = 0.025
			add_to_variable = {
				var = POL_SLD_government_strenght
				value = 5
			}
			clamp_variable = { var = POL_SLD_corruption_var min = 0 max = 100 }
			POL_sld_check_party_strenght = yes
		}
	}

	POL_bribe_politicians_from_other_parties_dec = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {

		}


		visible = {
			has_completed_focus = POL_sld_yet_another_victory
		}

		fire_only_once = no

		cost = 40
		days_remove = 20

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		remove_effect = {
			custom_effect_tooltip = POL_sld_strenghten_the_government
			custom_effect_tooltip = POL_sld_increase_corruption_by_small_amount
		}
	}

}

POL_rebuilding_the_party_cat = {

	POL_po_attract_politicians_from_other_parties_dec = {

		icon = GFX_decision_eng_propaganda_campaigns

		allowed = {

		}


		visible = {
			NOT = { has_country_flag = POL_the_party_is_rebuild_flag }
			has_country_flag = POL_po_there_is_a_crisis_in_our_party_flag
		}

		fire_only_once = no

		days_re_enable = 60
		cost = 40
		days_remove = 20

		complete_effect = {
			custom_effect_tooltip = NVX_decision_returns_days_60
		}

		remove_effect = {
			add_popularity = {
				ideology = social_liberal
				popularity = 0.025
			}
			add_political_power = 10
			custom_effect_tooltip = POL_po_will_increase_progress_to_rebuild_by_5_tt
			add_to_variable = {
				var = POL_party_rebuild_var
				value = 5
			}
		}
	}

	POL_rebuilding_efforts_dec = {

		icon = GFX_decision_generic_decision

		allowed = {

		}


		visible = {
			NOT = { has_country_flag = POL_the_party_is_rebuild_flag }
			has_country_flag = POL_po_there_is_a_crisis_in_our_party_flag
		}

		fire_only_once = no

		cost = 35
		days_remove = 35

		modifier = {

		}

		remove_effect = {
			custom_effect_tooltip = POL_po_will_increase_progress_to_rebuild_by_5_tt
			add_to_variable = {
				var = POL_party_rebuild_var
				value = 5
			}
		}
	}

}

POL_healtcare_reforms_cat = {

	POL_mutually_created_healthcare_dec = {

		icon = GFX_decision_generic_decision

		allowed = {

		}

		available = {
			has_country_flag = POL_more_doctors_flag
			has_country_flag = POL_collectivised_healthcare_decisions_unlocked
		}


		visible = {
			has_country_flag = POL_collectivised_healthcare_decisions_unlocked
		}

		fire_only_once = yes

		cost = 100
		days_remove = 200

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
			remove_ideas = POL_nfz_2
		}
	}

	POL_partial_privatisation_of_healthcare_dec = {

		icon = GFX_decision_generic_decision

		allowed = {

		}

		available = {
			has_country_flag = POL_more_doctors_flag
			has_country_flag = POL_partial_healthcare_privatisation_reform_flag
		}


		visible = {
			has_country_flag = POL_partial_healthcare_privatisation_reform_flag
		}

		fire_only_once = yes

		cost = 100
		days_remove = 356

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
			swap_ideas = {
				remove_idea = POL_nfz_2
				add_idea = POL_private_healthcare
			}
		}
	}

	POL_privatise_healthcare_dec = {

		icon = GFX_decision_generic_decision

		allowed = {

		}

		available = {
			has_country_flag = POL_more_doctors_flag
			has_country_flag = POL_private_healthcare_decision_unlocked
		}


		visible = {
			has_country_flag = POL_private_healthcare_decision_unlocked
		}

		fire_only_once = yes

		cost = 100
		days_remove = 356

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
			swap_ideas = {
				remove_idea = POL_nfz_2
				add_idea = POL_private_healthcare
			}
		}
	}

	POL_easier_doctor_license_dec = {

		icon = GFX_decision_generic_decision

		allowed = {

		}

		available = {
			OR = {
				has_country_flag = POL_good_healthcare_decisions_unlocked
				has_country_flag = POL_partial_healthcare_privatisation_reform_flag
				has_country_flag = POL_private_healthcare_decision_unlocked
			}
		}

		visible = {
			OR = {
				has_country_flag = POL_good_healthcare_decisions_unlocked
				has_country_flag = POL_partial_healthcare_privatisation_reform_flag
				has_country_flag = POL_private_healthcare_decision_unlocked
			}
		}
		fire_only_once = yes

		cost = 100
		days_remove = 100

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
			swap_ideas = {
				remove_idea = POL_nfz
				add_idea = POL_nfz_2
			}
			set_country_flag = POL_more_doctors_flag
		}
	}

	POL_long_tearm_healtcare_reforms_dec = {

		icon = GFX_decision_generic_decision

		allowed = {

		}

		available = {
			has_country_flag = POL_more_doctors_flag
			has_country_flag = POL_good_healthcare_decisions_unlocked
		}


		visible = {
			has_country_flag = POL_good_healthcare_decisions_unlocked
		}

		fire_only_once = yes

		cost = 100
		days_remove = 356

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
			swap_ideas = {
				remove_idea = POL_nfz_2
				add_idea = POL_nfz_3
			}
		}
	}

	POL_healthcare_for_everyman_dec = {

		icon = GFX_decision_generic_decision

		allowed = {

		}

		available = {
			has_country_flag = POL_more_doctors_flag
			has_country_flag = POL_average_healthcare_decisions_unlocked
		}


		visible = {
			has_country_flag = POL_average_healthcare_decisions_unlocked
		}

		fire_only_once = yes

		cost = 100
		days_remove = 300

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
			remove_ideas = POL_nfz_2
		}
	}

	POL_train_more_doctors_dec = {

		icon = GFX_decision_generic_decision

		allowed = {

		}

		visible = {
			OR = {
				has_country_flag = POL_collectivised_healthcare_decisions_unlocked
				has_country_flag = POL_good_healthcare_decisions_unlocked
				has_country_flag = POL_average_healthcare_decisions_unlocked
			}
		}

		visible = {
			OR = {
				has_country_flag = POL_collectivised_healthcare_decisions_unlocked
				has_country_flag = POL_good_healthcare_decisions_unlocked
				has_country_flag = POL_average_healthcare_decisions_unlocked
			}
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {
		}

		remove_effect = {
			swap_ideas = {
				remove_idea = POL_nfz
				add_idea = POL_nfz_2
			}
			set_country_flag = POL_more_doctors_flag
		}
	}

}

POL_pos_reforms_cat = {

	POL_fund_the_arms_industry = {

		icon = GFX_decision_category_generic_arms_trade

		allowed = {

		}

		available = {
		}


		visible = {
			has_completed_focus = POL_an_army_that_works
		}

		fire_only_once = yes

		cost = 45
		days_remove = 50

		modifier = {
		}

		remove_effect = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	POL_po_train_the_army_dec = {

		icon = GFX_decision_generic_army_support

		allowed = {

		}

		available = {
		}


		visible = {
			has_completed_focus = POL_an_army_that_works
		}

		fire_only_once = yes

		cost = 45
		days_remove = 50

		modifier = {
		}

		remove_effect = {
			add_manpower = 5000
			add_doctrine_cost_reduction = {
				name = armydoctrine_bonus
				cost_reduction = 0.25
				uses = 1
				category = land_doctrine
			}
			army_experience = 15
		}
	}

	POL_po_partial_privatisation_of_healtcare = {

		icon = GFX_decision_generic_decision

		allowed = {

		}

		available = {
		}


		visible = {
			has_completed_focus = POL_po_countinue_with_the_liberal_policies
		}

		fire_only_once = yes

		cost = 45
		days_remove = 50

		modifier = {
		}

		remove_effect = {
			POL_decrease_national_debt = yes
			law_change_decrease_welfare = yes
		}
	}

	POL_po_a_simpler_tax_system_dec = {

		icon = GFX_decision_generic_decision

		allowed = {

		}

		available = {
		}


		visible = {
			OR = {
				has_completed_focus = POL_po_a_new_program
				has_completed_focus = POL_po_countinue_with_the_liberal_policies
			}
		}
		fire_only_once = yes

		cost = 45
		days_remove = 50

		modifier = {
		}

		remove_effect = {
			add_ideas = POL_a_simple_tax_system
		}
	}

	POL_po_better_wages_dec = {

		icon = GFX_decision_generic_decision

		allowed = {

		}

		available = {
			NOT = {
				OR = {
					has_idea = POL_Polish_national_debt_19
					has_idea = POL_Polish_national_debt_18
				}
			}
		}


		visible = {
			has_completed_focus = POL_po_a_new_program
		}

		fire_only_once = yes

		cost = 45
		days_remove = 50

		modifier = {
		}

		remove_effect = {
			POL_increase_national_debt_by_2 = yes
			add_ideas = HUN_better_wages
		}
	}

	POL_po_give_people_houses_dec = {

		icon = GFX_decision_generic_decision

		allowed = {

		}

		available = {
			NOT = {
				OR = {
					has_idea = POL_Polish_national_debt_19
					has_idea = POL_Polish_national_debt_18
				}
			}
		}


		visible = {
			has_completed_focus = POL_po_a_new_program
		}

		fire_only_once = yes

		cost = 45
		days_remove = 50

		modifier = {
		}

		remove_effect = {
			POL_increase_national_debt = yes
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
			}
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
			}
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
			}
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
			}
		}
	}

}


POL_coalition_with_pis_cat = {

	POL_ask_pis_to_support_amaciej_dec = {

		icon = GFX_decision_generic_decision

		allowed = {

		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_PiS_has_at_least_50_loyality_tt
				check_variable = { POL_loyality_of_pis_var > 49 }
			}
		}


		visible = {
			has_country_flag = POL_PO_Maciej_supported_flag
			NOT = { has_country_flag = POL_pis_integrated_flag }
			has_completed_focus = POL_PO_popis_coalition
		}

		fire_only_once = yes

		cost = 0
		days_remove = 15

		modifier = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_increase_popularity_of_this_politician
			add_to_variable = {
				var = POL_POMacjes_power_var
				value = 1
			}
		}
	}

	POL_ask_pis_to_support_andrzej_dec = {

		icon = GFX_decision_generic_decision

		allowed = {

		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_PiS_has_at_least_50_loyality_tt
				check_variable = { POL_loyality_of_pis_var > 49 }
			}
		}


		visible = {
			has_country_flag = POL_PO_Andrzej_supported_flag
			NOT = { has_country_flag = POL_pis_integrated_flag }
			has_completed_focus = POL_PO_popis_coalition
		}

		fire_only_once = yes

		cost = 0
		days_remove = 15

		modifier = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_increase_popularity_of_this_politician
			add_to_variable = {
				var = POL_POAndrzejs_power_var
				value = 1
			}
		}
	}

	POL_integrate_pis_dec = {

		icon = GFX_decision_generic_form_nation

		allowed = {

		}

		available = {

		}


		visible = {
			NOT = { has_country_flag = POL_pis_integrated_flag }
			has_completed_focus = POL_PO_popis_coalition
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50
		days_re_enable = 30

		complete_effect = {
			custom_effect_tooltip = NVX_decision_returns_days_30
		}

		remove_effect = {
			add_ideas = POL_pis_integrated_idea
			custom_effect_tooltip = POL_disables_all_coalition_decision
			set_country_flag = POL_pis_integrated_flag
		}
	}

	POL_work_with_pis_dec = {

		icon = GFX_decision_generic_political_discourse

		allowed = {

		}

		available = {

		}


		visible = {
			NOT = { has_country_flag = POL_pis_integrated_flag }
			has_completed_focus = POL_PO_popis_coalition
		}

		fire_only_once = no

		cost = 50
		days_remove = 50
		days_re_enable = 30

		complete_effect = {
			custom_effect_tooltip = NVX_decision_returns_days_30
		}

		remove_effect = {
			custom_effect_tooltip = POL_increase_loyality_of_pls_tt
			add_to_variable = {
				var = POL_loyality_of_pis_var
				value = 10
			}
		}
	}

	POL_expand_coperation_with_pis_dec = {

		icon = GFX_decision_generic_decision

		allowed = {

		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_PiS_has_at_least_50_loyality_tt
				check_variable = { POL_loyality_of_pis_var > 49 }
			}
		}


		visible = {
			NOT = { has_country_flag = POL_pis_integrated_flag }
			has_completed_focus = POL_PO_popis_coalition
		}

		fire_only_once = yes

		cost = 0
		days_remove = 15

		modifier = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_decrease_pis_loyality_by_40_tt
			add_to_variable = {
				var = POL_loyality_of_pis_var
				value = -40
			}
			add_political_power = 200
		}
	}

	POL_PIS_demands_dec = {
		icon = GFX_decision_eng_propaganda_campaigns
		available = {
			has_country_flag = POL_pis_integrated_flag
		}
		days_mission_timeout = 50

		fixed_random_seed = no
		fire_only_once = no
		is_good = no
		activation = {
			NOT = { has_country_flag = POL_pis_integrated_flag }
			has_completed_focus = POL_PO_popis_coalition
			original_tag = POL
		}

		complete_effect = {
		}

		timeout_effect = {
			random_list = {
				25 = {
					country_event = Poland_Events_News.38
				}
				25 = {
					country_event = Poland_Events_News.39
				}
				25 = {
					country_event = Poland_Events_News.40
				}
				25 = {
					country_event = Poland_Events_News.41
				}
			}
		}

	}
}
POL_coalition_with_psl_cat = {

	POL_PSL_demands_dec = {

		icon = GFX_decision_bul_legalize_bzns
		available = {
			has_country_flag = POL_psl_integrated_flag
		}
		days_mission_timeout = 50

		fixed_random_seed = no
		fire_only_once = no
		is_good = no
		activation = {
			NOT = { has_country_flag = POL_psl_integrated_flag }
			has_completed_focus = POL_PO_colition_with_psl
		}

		complete_effect = {
		}

		timeout_effect = {
			random_list = {
				25 = {
					country_event = Poland_Events_News.32
				}
				25 = {
					country_event = Poland_Events_News.33
				}
				25 = {
					country_event = Poland_Events_News.37
				}
				25 = {
					country_event = Poland_Events_News.36
				}
			}
		}

	}
	POL_ask_for_psls_support_dec = {

		icon = GFX_decision_bul_appoint_members_bzns

		allowed = {

		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_PSL_has_at_least_50_loyality_tt
				check_variable = { POL_loyality_of_psl_var > 49 }
			}
		}


		visible = {
			NOT = { has_country_flag = POL_psl_integrated_flag }
			has_completed_focus = POL_PO_colition_with_psl
		}

		fire_only_once = no

		cost = 0
		days_remove = 15
		days_re_enable = 120

		complete_effect = {
			custom_effect_tooltip = NVX_decision_returns_days_120
		}

		remove_effect = {
			custom_effect_tooltip = POL_decrease_psl_loyality_by_40_tt
			add_to_variable = {
				var = POL_loyality_of_psl_var
				value = -40
			}
			add_political_power = 200
		}
	}

	POL_fully_integrate_psl_dec = {

		icon = GFX_decision_bul_integrate_bzns

		allowed = {

		}

		available = {
			NOT = { has_country_flag = POL_psl_integrated_flag }
			custom_trigger_tooltip = {
				tooltip = POL_PSL_has_at_least_100_loyality_tt
				check_variable = { POL_loyality_of_psl_var > 99 }
			}
		}


		visible = {
			has_completed_focus = POL_PO_colition_with_psl
		}

		fire_only_once = yes

		cost = 15
		days_remove = 15

		modifier = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_disables_all_coalition_decision
			set_country_flag = POL_psl_integrated_flag
			add_ideas = POL_psl_integrated_idea
		}
	}

	POL_ask_psl_to_support_tusk_dec = {

		icon = GFX_decision_bul_joint_act_bzns

		allowed = {

		}

		available = {
			NOT = { has_country_flag = POL_psl_integrated_flag }
			custom_trigger_tooltip = {
				tooltip = POL_PSL_has_at_least_20_loyality_tt
				check_variable = { POL_loyality_of_psl_var > 19 }
			}
		}


		visible = {
			has_completed_focus = POL_PO_colition_with_psl
		}

		fire_only_once = yes

		cost = 15
		days_remove = 15

		modifier = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_increase_popularity_of_this_politician
			add_to_variable = {
				var = POL_PODonals_power_var
				value = 1
			}
		}
	}

	POL_work_with_psl_dec = {

		icon = GFX_decision_bul_speech_bzns

		allowed = {

		}

		available = {

		}


		visible = {
			NOT = { has_country_flag = POL_psl_integrated_flag }
			has_completed_focus = POL_PO_colition_with_psl
		}

		fire_only_once = no

		cost = 50
		days_remove = 50
		days_re_enable = 30

		complete_effect = {
			custom_effect_tooltip = NVX_decision_returns_days_30
		}

		remove_effect = {
			custom_effect_tooltip = POL_increase_loyality_of_pls_tt
			add_to_variable = {
				var = POL_loyality_of_psl_var
				value = 10
			}
		}
	}

}

POL_fate_of_PO_cat = {

	POL_work_with_big_dec = {

		icon = GFX_decision_generic_Gold_dec

		allowed = {

		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_Andrzej_has_at_least_5_influence_tt
				check_variable = { POL_POAndrzejs_power_var > 4 }
			}
		}


		visible = {
			has_country_flag = POL_PO_Andrzej_supported_flag
		}

		fire_only_once = yes

		cost = 50
		days_remove = 35

		modifier = {
		}

		remove_effect = {
			add_offsite_building = { type = industrial_complex level = 1 }
		}
	}

	POL_support_poles_abroad_dec = {

		icon = GFX_decision_POL_decision_support_polish_people

		allowed = {

		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_Maciej_has_at_least_5_influence_tt
				check_variable = { POL_POMacjes_power_var > 4 }
			}
		}


		visible = {
			has_country_flag = POL_PO_Maciej_supported_flag
		}

		fire_only_once = yes

		cost = 50
		days_remove = 35

		modifier = {
		}

		remove_effect = {
			add_timed_idea = {
				idea = POL_supporting_polish_dispora_idea
				days = 420
			}
		}
	}
	POL_attract_center_right_politicians_dec = {

		icon = GFX_decision_eng_propaganda_campaigns

		allowed = {

		}

		available = {
		}


		visible = {
			OR = {
				has_country_flag = POL_PO_Andrzej_supported_flag
				has_country_flag = POL_PO_Maciej_supported_flag
			}
		}
		fire_only_once = yes

		cost = 20
		days_remove = 35

		modifier = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_increase_popularity_of_Maciej_and_Andrzej_tt
			add_political_power = 25
			add_popularity = {
				ideology = social_liberal
				popularity = 0.05
			}
			add_to_variable = {
				var = POL_POMacjes_power_var
				value = 1
			}
			add_to_variable = {
				var = POL_POAndrzejs_power_var
				value = 1
			}
		}
	}

	POL_expand_the_public_administration_dec = {

		icon = GFX_decision_generic_political_discourse

		allowed = {

		}

		available = {
			custom_trigger_tooltip = {
				tooltip = POL_Tusk_has_at_least_5_influence_tt
				check_variable = { POL_PODonals_power_var > 4 }
			}
		}


		visible = {
			has_country_flag = POL_PO_Tusk_supported_flag
		}
		fire_only_once = yes

		cost = 0
		days_remove = 35

		modifier = {
		}

		remove_effect = {
			add_political_power = 50
		}
	}

	POL_attract_center_left_politicians_dec = {

		icon = GFX_decision_eng_propaganda_campaigns

		allowed = {

		}

		available = {
		}


		visible = {
			has_country_flag = POL_PO_Tusk_supported_flag
		}
		fire_only_once = yes

		cost = 20
		days_remove = 35

		modifier = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_increase_popularity_of_Donald_and_tt
			add_political_power = 25
			add_popularity = {
				ideology = social_liberal
				popularity = 0.05
			}
			add_to_variable = {
				var = POL_PODonals_power_var
				value = 1
			}
		}
	}

	POL_increase_Donald_Tusk_influence_dec = {

		icon = GFX_decision_generic_speech

		allowed = {

		}

		available = {
		}


		visible = {
			has_country_flag = POL_PO_Tusk_supported_flag
		}

		fire_only_once = no

		cost = 40
		days_remove = 35

		modifier = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_increase_popularity_of_this_politician
			add_to_variable = {
				var = POL_PODonals_power_var
				value = 1
			}
		}
	}

	POL_increase_Andrzej_Olechowski_influence_dec = {

		icon = GFX_decision_generic_speech

		allowed = {

		}

		available = {
		}


		visible = {
			has_country_flag = POL_PO_Andrzej_supported_flag
		}

		fire_only_once = no

		cost = 40
		days_remove = 35

		modifier = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_increase_popularity_of_this_politician
			add_to_variable = {
				var = POL_POAndrzejs_power_var
				value = 1
			}
		}
	}

	POL_increase_Maciej_Plazynskis_influence_dec = {

		icon = GFX_decision_generic_speech

		allowed = {

		}

		available = {
		}


		visible = {
			has_country_flag = POL_PO_Maciej_supported_flag
		}

		fire_only_once = no

		cost = 40
		days_remove = 35

		modifier = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_increase_popularity_of_this_politician
			add_to_variable = {
				var = POL_POMacjes_power_var
				value = 1
			}
		}
	}

	POL_choose_sides_dec = {
		icon = GFX_decision_category_POL_category_choose_sides

		visible = {
			has_completed_focus = POL_trzech_tenorow
		}

		fire_only_once = yes
		cost = 0

		complete_effect = {
			POL = { country_event = Poland_Events_News.31 }
		}
	}

}

POL_the_economy_of_poland = {

	develop_mines_in_upper_Sillesia = { #67

		icon = steel

		allowed = {

		}

		available = {
			num_of_civilian_factories_available_for_projects > 3
		}
		highlight_states = {
			highlight_state_targets = {
				state = 67
			}
		}
		visible = {
			has_full_control_of_state = 67
			OR = {
				has_completed_focus = POL_commie_a_platform_for_miners
				has_completed_focus = POL_goofy_maximise_resource_exploitations
				has_completed_focus = POL_economy_digging_deep
			}
		}

		fire_only_once = yes

		cost = 50
		days_remove = 100

		modifier = {
			civilian_factory_use = 4
		}

		remove_effect = {
			67 = {
				add_resource = {
					type = steel
					amount = 8
				}
			}
		}
	}
	develop_mines_in_lesser_Sillesia = { #66

		icon = aluminium

		allowed = {

		}

		available = {
			num_of_civilian_factories_available_for_projects > 3
		}
		highlight_states = {
			highlight_state_targets = {
				state = 66
			}
		}

		visible = {
			has_full_control_of_state = 66
			OR = {
				has_completed_focus = POL_commie_a_platform_for_miners
				has_completed_focus = POL_goofy_maximise_resource_exploitations
				has_completed_focus = POL_economy_digging_deep
			}
		}

		fire_only_once = yes

		cost = 50
		days_remove = 100

		modifier = {
			civilian_factory_use = 4
		}

		remove_effect = {
			66 = {
				add_resource = {
					type = aluminium
					amount = 12
				}
			}
		}
	}
	oil_in_cracov = { #88

		icon = oil

		allowed = {

		}

		available = {
			num_of_civilian_factories_available_for_projects > 3
		}
		highlight_states = {
			highlight_state_targets = {
				state = 88
			}
		}
		visible = {
			has_full_control_of_state = 88
			OR = {
				has_completed_focus = POL_commie_a_platform_for_miners
				has_completed_focus = POL_goofy_maximise_resource_exploitations
				has_completed_focus = POL_economy_digging_deep
			}
		}

		fire_only_once = yes

		cost = 50
		days_remove = 100

		modifier = {
			civilian_factory_use = 4
		}

		remove_effect = {
			88 = {
				add_resource = {
					type = oil
					amount = 5
				}
			}
		}
	}

	oil_in_baltic = { #85

		icon = oil

		allowed = {

		}

		available = {
			num_of_civilian_factories_available_for_projects > 3
		}
		highlight_states = {
			highlight_state_targets = {
				state = 85
			}
		}
		visible = {
			has_full_control_of_state = 85
			OR = {
				has_completed_focus = POL_commie_a_platform_for_miners
				has_completed_focus = POL_goofy_maximise_resource_exploitations
				has_completed_focus = POL_economy_digging_deep
			}
		}

		fire_only_once = yes

		cost = 50
		days_remove = 100

		modifier = {
			civilian_factory_use = 4
		}

		remove_effect = {
			85 = {
				add_resource = {
					type = oil
					amount = 4
				}
			}
		}
	}

	tungsten_in_Cracov = { #88

		icon = tungsten

		allowed = {

		}

		available = {
			num_of_civilian_factories_available_for_projects > 3
		}
		highlight_states = {
			highlight_state_targets = {
				state = 88
			}
		}
		visible = {
			has_full_control_of_state = 88
			OR = {
				has_completed_focus = POL_commie_a_platform_for_miners
				has_completed_focus = POL_goofy_maximise_resource_exploitations
				has_completed_focus = POL_economy_digging_deep
			}
		}
		fire_only_once = yes

		cost = 50
		days_remove = 100

		modifier = {
			civilian_factory_use = 4
		}

		remove_effect = {
			88 = {
				add_resource = {
					type = tungsten
					amount = 20
				}
			}
		}
	}

	POL_urbanise_90_dec = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {
			num_of_civilian_factories_available_for_projects > 2
			has_full_control_of_state = 90
		}


		visible = {
			OR = {
				has_completed_focus = POL_commie_socialist_city_planning
				has_completed_focus = POL_economy_modern_housing
			}
		}
		fire_only_once = yes

		cost = 35
		days_remove = 50

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {
			90 = {
				add_extra_state_shared_building_slots = 1
				set_state_category = state_level_10
				add_manpower = 35000
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_urbanise_97_dec = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {
			num_of_civilian_factories_available_for_projects > 2
			has_full_control_of_state = 97
		}


		visible = {
			OR = {
				has_completed_focus = POL_commie_socialist_city_planning
				has_completed_focus = POL_economy_modern_housing
			}
		}
		fire_only_once = yes

		cost = 35
		days_remove = 50

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {
			97 = {
				add_extra_state_shared_building_slots = 1
				set_state_category = state_level_10
				add_manpower = 35000
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_urbanise_66_dec = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {
			num_of_civilian_factories_available_for_projects > 2
			has_full_control_of_state = 66
		}


		visible = {
			OR = {
				has_completed_focus = POL_commie_socialist_city_planning
				has_completed_focus = POL_economy_modern_housing
			}
		}
		fire_only_once = yes

		cost = 35
		days_remove = 50

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {
			66 = {
				add_extra_state_shared_building_slots = 1
				set_state_category = state_level_10
				add_manpower = 35000
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_urbanise_98_dec = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {
			num_of_civilian_factories_available_for_projects > 2
			has_full_control_of_state = 98
		}


		visible = {
			OR = {
				has_completed_focus = POL_commie_socialist_city_planning
				has_completed_focus = POL_economy_modern_housing
			}
		}
		fire_only_once = yes

		cost = 35
		days_remove = 50

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {
			98 = {
				add_extra_state_shared_building_slots = 1
				set_state_category = state_level_10
				add_manpower = 35000
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_let_companies_do_their_job_dec = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {
			tag = POL
		}

		available = {

		}


		visible = {
			has_completed_focus = POL_economy_prioritise_big_buisness
		}

		fire_only_once = yes

		cost = 40
		days_remove = 50

		modifier = {

		}

		remove_effect = {
			swap_ideas = {
				remove_idea = ROM_mechanized_agriculture
				add_idea = POL_companies_over_farmers_idea
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_concessions_to_the_farmers_dec  = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {
			tag = POL
		}

		available = {

		}


		visible = {
			has_completed_focus = POL_economy_work_with_our_farmers
		}

		fire_only_once = yes

		cost = 40
		days_remove = 50

		modifier = {

		}

		remove_effect = {
			swap_ideas = {
				remove_idea = ROM_mechanized_agriculture
				add_idea = POL_farming_subsidies_idea
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_build_the_pgz_dockyard_dec  = {

		icon = GFX_decision_generic_naval

		allowed = {
			tag = POL
		}

		available = {
			num_of_civilian_factories_available_for_projects > 2
			has_full_control_of_state = 85
		}


		visible = {
			has_completed_focus = POL_economy_pgzs_dockyard
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {
			85 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_expand_pzl_dec = {

		icon = GFX_decision_ger_military_buildup

		allowed = {
			tag = POL
		}

		available = {
			num_of_civilian_factories_available_for_projects > 2
		}


		visible = {
			has_completed_focus = POL_economy_bolster_pzl
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_wzm_dec = {

		icon = GFX_decision_ger_military_buildup

		allowed = {
			tag = POL
		}

		available = {
			num_of_civilian_factories_available_for_projects > 2
		}


		visible = {
			has_completed_focus = POL_economy_create_pgz

		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_lucznik_dec = {

		icon = GFX_decision_ger_military_buildup

		allowed = {
			tag = POL
		}

		available = {
			num_of_civilian_factories_available_for_projects > 2
		}


		visible = {
			has_completed_focus = POL_economy_create_pgz
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_establish_pgz_dec  = {

		icon = GFX_decision_pol_coal_mining

		allowed = {
			tag = POL
		}

		available = {
			num_of_civilian_factories_available_for_projects > 2
			has_full_control_of_state = 67
		}


		visible = {
			has_completed_focus = POL_economy_coal_mining
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {
			67 = {
				add_resource = { type = steel amount = 5 }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_establish_pgg_dec  = {

		icon = GFX_decision_pol_coal_mining

		allowed = {
			tag = POL
		}

		available = {
			num_of_civilian_factories_available_for_projects > 2
			has_full_control_of_state = 67
		}


		visible = {
			has_completed_focus = POL_economy_coal_mining
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {
			67 = {
				add_resource = { type = steel amount = 7 }
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_jobs_for_the_people_dec  = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {
			tag = POL
		}

		available = {

		}


		visible = {
			has_completed_focus = POL_economy_fight_against_unemployment
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {
			production_speed_buildings_factor = 0.1
		}

		remove_effect = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_reform_the_labour_market  = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {
			tag = POL
		}

		available = {

		}


		visible = {
			has_completed_focus = POL_economy_fight_against_unemployment
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {
			political_power_factor = -0.15
		}

		remove_effect = {
			add_ideas = POL_employment_reforms
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_expand_s6  = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {
			num_of_civilian_factories_available_for_projects > 3
			has_full_control_of_state = 742
			has_full_control_of_state = 63
			has_full_control_of_state = 85
		}


		visible = {
			has_completed_focus = POL_economy_establish_gddika
		}

		fire_only_once = yes

		cost = 65
		days_remove = 100

		modifier = {
			civilian_factory_use = 4
		}

		remove_effect = {
			742 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			63 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			85 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_build_the_s8  = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {
			num_of_civilian_factories_available_for_projects > 3
			has_full_control_of_state = 87
			has_full_control_of_state = 10
			has_full_control_of_state = 97
			has_full_control_of_state = 66
		}


		visible = {
			has_completed_focus = POL_economy_establish_gddika
		}

		fire_only_once = yes

		cost = 65
		days_remove = 100

		modifier = {
			civilian_factory_use = 4
		}

		remove_effect = {
			66 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			97 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			10 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			87 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_build_the_s19  = {

		icon = GFX_decision_generic_construction

		allowed = {
			tag = POL
		}

		available = {
			num_of_civilian_factories_available_for_projects > 3
			has_full_control_of_state = 88
			has_full_control_of_state = 92
			has_full_control_of_state = 97
		}


		visible = {
			has_completed_focus = POL_economy_establish_gddika
		}

		fire_only_once = yes

		cost = 65
		days_remove = 100

		modifier = {
			civilian_factory_use = 4
		}

		remove_effect = {
			97 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			92 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			88 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

}

POL_nationalist_fighting_cat = {
	POL_increase_our_popularity_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag  = POL
		}

		available = {
			has_completed_focus = POL_the_right_is_right
		}


		visible = {
			OR = {
				has_country_flag = POL_nazi_supported
				has_country_flag = POL_falangist_supported
				has_country_flag = POL_pan_slavic_supported
				has_country_flag = POL_monarchist_supported
			}
		}
		fire_only_once = no

		cost = 10
		days_remove = 15

		modifier = {

		}

		complete_effect = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_increase_popularity_of_your_supported_party_tt
			if = {
				limit = {
					has_country_flag = POL_monarchist_supported
				}
				add_to_variable = {
					var = POL_popularity_of_PRM
					value = 1
				}
			}
			if = {
				limit = {
					has_country_flag = POL_pan_slavic_supported
				}
				add_to_variable = {
					var = POL_popularity_of_PWN
					value = 1
				}
			}
			if = {
				limit = {
					has_country_flag = POL_falangist_supported
				}
				add_to_variable = {
					var = POL_popularity_of_ONR
					value = 1
				}
			}
			if = {
				limit = {
					has_country_flag = POL_nazi_supported
				}
				add_to_variable = {
					var = POL_popularity_of_PFN
					value = 1
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
	}
}
POL_political_crisis_cat = {
	POL_increasing_instability_dec = {

		visible = {
			has_completed_focus = POL_a_more_peacful_may_coup
			NOT = { has_country_flag = POL_delete_old_sanation_decisions }
		}
		icon = GFX_decision_generic_speech
		cancel_trigger = {
			OR = {
				has_completed_focus = POL_power_is_secured
				NOT = { has_government = reactionary }
			}
		}
		days_mission_timeout = 7

		fixed_random_seed = no
		fire_only_once = no
		is_good = no
		activation = {
			has_completed_focus = POL_a_more_peacful_may_coup
			NOT = { has_country_flag = POL_delete_old_sanation_decisions }
			original_tag = POL
		}

		complete_effect = {
		}

		timeout_effect = {
			if = {
				limit = {
					check_variable = { POL_instability_var > 95 }
				}
				start_civil_war = {
					ideology = democratic_socialist
					size = 0.3
					capital = 362
					states = { 63 743 742 66 }
				}
				start_civil_war = {
					ideology = fascist
					size = 0.3
					capital = 362
					states = { 88 90 92 }
				}
				hidden_effect = {
					random_other_country = {
						limit = {
							original_tag = POL
							has_government = fascist
						}

						set_stability = 0.4
						set_war_support = 0.4
					}
					random_other_country = {
						limit = {
							original_tag = POL
							has_government = democratic_socialist
						}

						set_stability = 0.4
						set_war_support = 0.4
					}
				}
			}
			random_list = {
				50 = {
					custom_effect_tooltip = POL_decrease_stability_by_10_tt
					add_to_variable = {
						var = POL_instability_var
						value = 10
					}
				}
				50 = {
					custom_effect_tooltip = POL_decrease_stability_by_5_tt
					add_to_variable = {
						var = POL_instability_var
						value = 5
					}
				}
			}
		}
	}

	POL_destabilise_the_nation_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag  = POL
		}

		available = {

		}

		visible = {
			has_government = social_democrat
			has_country_flag = POL_able_to_destabilise
		}
		fire_only_once = no

		cost = 10
		days_remove = 5

		modifier = {

		}

		complete_effect = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_decrease_stability_tt
			add_to_variable = {
				var = POL_instability_var
				value = 5
			}
		}
		ai_will_do = {
			factor = 1
		}
	}

	POL_stabilise_the_nation_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag  = POL
		}

		available = {
			has_completed_focus = POL_a_more_peacful_may_coup
			has_completed_focus = POL_an_emergency_situation
		}


		visible = {
			NOT = {
				OR = {
					has_completed_focus = POL_an_attempt_at_enforcing_order
					has_completed_focus = POL_the_right_is_right
					has_completed_focus = POL_unite_leftist_parties
				}
			}
			has_country_flag = POL_kwasniewski_ded_flag
		}
		fire_only_once = no

		cost = 20
		days_remove = 10

		modifier = {

		}

		complete_effect = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_increase_stability_tt
			add_to_variable = {
				var = POL_instability_var
				value = -5
			}
		}
		ai_will_do = {
			factor = 1
		}
	}

}

POL_the_elections_cat = {

	POL_pis_and_po_is_created = {

		visible = {
			NOT ={ has_country_flag = POL_po_and_pis_created }
			has_government = social_democrat
		}
		icon = GFX_decision_generic_speech

		available = {
			NOT = { has_country_flag = POL_elections_in_progress_flag }
		}
		cancel_trigger = {
			OR = {
				has_country_flag = POL_po_and_pis_created
				has_country_flag = POL_disband_elections_flag
				NOT = { has_government = social_democrat }
			}
		}
		days_mission_timeout = 400

		fire_only_once = no
		is_good = no
		activation = {
			NOT = { has_country_flag = POL_po_and_pis_created }
			has_government = social_democrat
			original_tag = POL
		}

		complete_effect = {
		}

		timeout_effect = {
			hidden_effect = {
				POL_increase_po_popularity_10 = yes
				POL_increase_pis_popularity_10 = yes
			}
			set_country_flag = POL_po_and_pis_created
			set_party_name = { ideology = conservative  long_name = POL_conservative_party_PiS_long name = POL_conservative_party_PiS }
			set_country_flag = POL_pis_active_flag
			set_country_flag = POL_po_active_flag
			custom_effect_tooltip = POL_create_pis_and_po_tt
		}
	}

	POL_political_campaign = {

		icon = GFX_decision_eng_propaganda_campaigns

		allowed = {
			original_tag  = POL
		}

		available = {

		}


		visible = {
			has_country_flag = POL_elections_in_progress_flag
			NOT = {
				has_country_flag = POL_disband_elections_flag
			}
			has_government = social_democrat
		}
		fire_only_once = no

		cost = 35
		days_remove = 10

		modifier = {

		}

		complete_effect = {
		}

		remove_effect = {
			if = {
				limit = {
					has_country_flag = POL_sld_supported_flag
				}
				random_list = {
					40 = {
						POL_increase_sld_popularity_1 = yes
					}
					60 = {
						POL_increase_sld_popularity_2 = yes
					}
				}
			}
			else_if = {
				limit = {
					has_country_flag = POL_po_supported_flag
				}
				random_list = {
					30 = {
						POL_increase_po_popularity_3 = yes
					}
					10 = {
						POL_increase_po_popularity_1 = yes
					}
					10 = {
						POL_increase_po_popularity_5 = yes
					}
					50 = {
						POL_increase_po_popularity_2 = yes
					}
				}
			}
			else_if = {
				limit = {
					has_country_flag = POL_pis_supported_flag
				}
				random_list = {
					30 = {
						POL_increase_pis_popularity_3 = yes
					}
					10 = {
						POL_increase_pis_popularity_1 = yes
					}
					10 = {
						POL_increase_pis_popularity_5 = yes
					}
					50 = {
						POL_increase_pis_popularity_2 = yes
					}
				}
			}
			else_if = {
				limit = {
					has_country_flag = POL_upr_supported_flag
				}
				random_list = {
					30 = {
						POL_increase_upr_popularity_3 = yes
					}
					10 = {
						POL_increase_upr_popularity_1 = yes
					}
					10 = {
						POL_increase_upr_popularity_5 = yes
					}
					50 = {
						POL_increase_upr_popularity_2 = yes
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
	}

	POL_other_parties_makes_moves_dec = {

		visible = {
			has_government = social_democrat
		}
		icon = GFX_decision_generic_speech

		available = {
			NOT = { has_country_flag = POL_elections_in_progress_flag }
		}
		cancel_trigger = {
			OR = {
				has_country_flag = POL_disband_elections_flag
				NOT = { has_government = social_democrat }
			}
		}
		days_mission_timeout = 35

		fire_only_once = no
		is_good = no
		activation = {
			OR = {
				NOT = { has_country_flag = POL_disband_elections_flag }
				NOT = { has_country_flag = POL_elections_in_progress_flag }
			}
			has_government = social_democrat
			original_tag = POL
		}
		complete_effect = {
		}

		timeout_effect = {
		POL_random_party_selector = yes
		}
	}

	POL_the_elections_dec = {

		visible = {
			has_government = social_democrat
		}
		icon = GFX_decision_generic_speech

		available = {
			OR = {
				has_country_flag = POL_disband_elections_flag
				NOT = { has_government = social_democrat }
			}
		}
		cancel_trigger = {
			OR = {
				has_country_flag = POL_disband_elections_flag
				NOT = { has_government = social_democrat }
			}
		}
		days_mission_timeout = 631

		fire_only_once = yes
		is_good = no
		activation = {
			has_government = social_democrat
			original_tag = POL
		}

		complete_effect = {
		}

		timeout_effect = {
			clr_country_flag = POL_elections_in_progress_flag
			if = { #PO victory
				limit = {
					AND = {
						check_variable = { POL_popularity_of_PO > POL_popularity_of_SLD }
						check_variable = { POL_popularity_of_PO > POL_popularity_of_PiS }
						check_variable = { POL_popularity_of_PO > POL_popularity_of_UPR }
					}
				}
				POL = { country_event = Poland_Events_News.10 }
			}
			else_if = { #UPR victory
				limit = {
					AND = {
						check_variable = { POL_popularity_of_UPR > POL_popularity_of_PO }
						check_variable = { POL_popularity_of_UPR > POL_popularity_of_SLD }
						check_variable = { POL_popularity_of_UPR > POL_popularity_of_PiS }
					}
				}
				POL = { country_event = Poland_Events_News.9 }
			}
			else_if = { #PiS victory
				limit = {
					AND = {
						check_variable = { POL_popularity_of_PiS > POL_popularity_of_PO }
						check_variable = { POL_popularity_of_PiS > POL_popularity_of_SLD }
						check_variable = { POL_popularity_of_PiS > POL_popularity_of_UPR }
					}
				}
				POL = { country_event = Poland_Events_News.8 }
			}
			else = { #SLD victory
				POL = { country_event = Poland_Events_News.7 }
			}
			custom_effect_tooltip = POL_elections_shall_be_tt
		}
	}
	POL_chosing_political_party_dec = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag  = POL
		}

		available = {
			has_country_flag = POL_democratic_tree_unlocked
		}


		visible = {
			has_government = social_democrat
		}
		fire_only_once = yes

		cost = 0
		days_remove = 1

		modifier = {

		}

		complete_effect = {
		}

		remove_effect = {
			custom_effect_tooltip = POL_chosing_political_party_dec_tt
			POL = { country_event = Poland_Events_News.6 }
		}
		ai_will_do = {
			factor = 1
		}
	}

}

POL_the_coalition_cat = {

	POL_concessions_to_PLD = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag  = POL
		}

		available = {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = POL_this_member_is_already_fully_loyal_tt
					check_variable = { POL_relations_with_PLD = 2 compare = equals }
				}
			}
			NOT = { has_country_flag = POL_improving_ties_with_other_faction_ties }
		}


		visible = {
			has_government = social_democrat
		}
		fire_only_once = no

		cost = 50
		days_remove = 50

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_improving_ties_with_other_faction_ties
		}

		remove_effect = {
			clr_country_flag = POL_improving_ties_with_other_faction_ties
			POL_increase_relations_with_PLD = yes
		}
		ai_will_do = {
			factor = 1
		}
	}

	POL_concessions_to_SD = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag  = POL
		}

		available = {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = POL_this_member_is_already_fully_loyal_tt
					check_variable = { POL_relations_with_SD = 2 compare = equals }
				}
			}
			NOT = { has_country_flag = POL_improving_ties_with_other_faction_ties }
		}


		visible = {
			has_government = social_democrat
		}
		fire_only_once = no

		cost = 50
		days_remove = 50

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_improving_ties_with_other_faction_ties
		}

		remove_effect = {
			clr_country_flag = POL_improving_ties_with_other_faction_ties
			POL_increase_relations_with_SD = yes
		}
		ai_will_do = {
			factor = 1
		}
	}

	POL_concessions_to_KPEiR = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag  = POL
		}

		available = {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = POL_this_member_is_already_fully_loyal_tt
					check_variable = { POL_relations_with_KPEiR = 2 compare = equals }
				}
			}
			NOT = { has_country_flag = POL_improving_ties_with_other_faction_ties }
		}


		visible = {
			has_government = social_democrat
		}
		fire_only_once = no

		cost = 50
		days_remove = 50

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_improving_ties_with_other_faction_ties
		}

		remove_effect = {
			clr_country_flag = POL_improving_ties_with_other_faction_ties
			POL_increase_relations_with_KPEiR = yes
		}
		ai_will_do = {
			factor = 1
		}
	}

	POL_concessions_to_UP = {

		icon = GFX_decision_generic_decision

		allowed = {
			original_tag  = POL
		}

		available = {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = POL_this_member_is_already_fully_loyal_tt
					check_variable = { POL_relations_with_up = 2 compare = equals }
				}
			}
			NOT = { has_country_flag = POL_improving_ties_with_other_faction_ties }
		}


		visible = {
			has_government = social_democrat
		}
		fire_only_once = no

		cost = 50
		days_remove = 50

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_improving_ties_with_other_faction_ties
		}

		remove_effect = {
			clr_country_flag = POL_improving_ties_with_other_faction_ties
			POL_increase_relations_with_UP = yes
		}
		ai_will_do = {
			factor = 1
		}
	}

}

POL_national_debt_cat = {

	POL_take_a_loan = {

		icon = GFX_decision_hol_attract_foreign_investors

		allowed = {
			original_tag  = POL
		}

		available = {
			OR = {
				NOT = {
					has_idea = POL_Polish_national_debt_19
				}
				NOT = {
					has_idea = POL_Polish_national_debt_20
				}
			}
		}

		visible = {
			NOT = { has_country_flag = POL_disabled_debt_stuff_flag }
		}
		fire_only_once = no

		cost = 50
		days_remove = 5
		days_re_enable = 100

		complete_effect = {
			custom_effect_tooltip = NVX_decision_returns_days_100
		}

		remove_effect = {
			custom_effect_tooltip = POL_take_a_loan_tt
			POL = { country_event = Poland_Events_News.1 }
		}
		ai_will_do = {
			factor = 1
		}
	}

	POL_beg_for_debt_forgivness = {

		icon = GFX_decision_generic_speech

		allowed = {
			original_tag  = POL
		}

		available = {
			NOT = {
				OR = {
					has_idea = POL_Polish_national_debt_1
					has_idea = POL_Polish_national_debt_2
				}
			}
		}

		visible = {
			NOT = { has_country_flag = POL_disabled_debt_stuff_flag }
			POL_has_debt = yes
		}
		fire_only_once = no

		cost = 150
		days_remove = 40
		days_re_enable = 300

		modifier = {
			political_power_factor = -0.15
		}
		complete_effect = {
			custom_effect_tooltip = NVX_decision_returns_days_300
		}

		remove_effect = {
			POL_decrease_national_debt_by_2 = yes
		}
		ai_will_do = {
			factor = 100
		}
	}

	POL_temporary_tax_hike = {

		icon = GFX_decision_generic_fundraising

		allowed = {
			original_tag  = POL
		}

		available = {
			NOT = {
				has_government = market_liberal
				has_idea = POL_Polish_national_debt_1
			}
		}


		visible = {
			NOT = { has_country_flag = POL_disabled_debt_stuff_flag }
			POL_has_debt = yes
		}
		fire_only_once = no

		cost = 30
		days_remove = 40
		days_re_enable = 40

		modifier = {
			political_power_factor = -0.15
			stability_factor = -0.15
		}
		complete_effect = {
			custom_effect_tooltip = NVX_decision_returns_days_40
		}

		remove_effect = {
			POL_decrease_national_debt = yes
		}
		ai_will_do = {
			factor = 100
		}
	}
	
	POL_pay_of_the_debt = {

		icon = GFX_decision_gre_paying_ifc_debt

		allowed = {
			original_tag  = POL
		}

		available = {
			num_of_civilian_factories_available_for_projects > 3
			NOT = {
				has_idea = POL_Polish_national_debt_1
			}
		}


		visible = {
			NOT = { has_country_flag = POL_disabled_debt_stuff_flag }
			POL_has_debt = yes
		}
		fire_only_once = no

		cost = 30
		days_remove = 40
		days_re_enable = 40

		modifier = {
			civilian_factory_use = 3
		}
		complete_effect = {
			custom_effect_tooltip = NVX_decision_returns_days_40
		}

		remove_effect = {
			POL_decrease_national_debt = yes
		}
		ai_will_do = {
			factor = 100
		}
	}
}
