
xpx_papa_opora_stabilnosti_decis = {
	xpx_rech_stabilnost_i_protsvetanie = {
		icon = generic_political_discourse
		available = {
			has_stability < 1.0			
		}
		visible = {
			
		}
		fire_only_once = no
		modifier = {
			stability_weekly = 0.005			
			industrial_capacity_factory = 0.05
			resistance_target = -0.05
			production_speed_buildings_factor = 0.1
		}
		days_remove = 180
		days_re_enable = 360
		cost = 80
		complete_effect = {
			custom_effect_tooltip = povtoryaemoe_reshenie_360 
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 1
				has_stability < 0.6
			}			
		}
	}

}

xpx_papa_vozzvanie_k_katolikam_decis = {
	xpx_rech_vozzvanie_k_katolikam = {
		icon = generic_political_discourse
		available = {
						
		}
		visible = {
			
		}
		fire_only_once = no
		modifier = {
			war_support_weekly = 0.005			
			mobilization_speed = 0.2
			defence = 0.05
			offence = 0.05
			attrition = -0.08
		}
		days_remove = 180
		days_re_enable = 360
		cost = 80
		complete_effect = {
			custom_effect_tooltip = povtoryaemoe_reshenie_360 
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 1
				has_war_support < 0.6
			}			
		}
	}
}

xpx_prizvat_katolikov_v_allians_decis = {
	xpx_reshenie_prizvat_katolikov = {
		icon = generic_political_discourse
		available = {
						
		}
		visible = {
			is_faction_leader = yes
		}
		fire_only_once = no			
		days_re_enable = 200
		cost = 48
		complete_effect = {
			custom_effect_tooltip = povtoryaemoe_reshenie_200
			custom_effect_tooltip = xpx_reshenie_prizvat_katolikov_tt			
			every_other_country = {
				limit = {
					OR = { original_tag = ZWI original_tag = XAU original_tag = ZRI original_tag = ZKL original_tag = ZKA original_tag = ZAV original_tag = ZGL original_tag = ZBE original_tag = ZAU original_tag = ZDU original_tag = XMZ original_tag = ZDI original_tag = TRA original_tag = ZLS original_tag = ZAL }
					is_subject = no
					is_in_faction = no
					has_civil_war = no
					NOT = {
						has_war_with = XPX
						has_government = communism
						has_government = democratic
					}
					has_opinion = {
						target = XPX
						value > -10
					}
				}
				country_event = { id = papas_state.6 }		
			}
		}
		ai_will_do = {
			base = 90
			modifier = {
				add = -100
				num_faction_members > 14
			}			
		}
	}
	xpx_reshenie_prizvat_katolikov_v_tevtonsy = {
		icon = generic_political_discourse
		available = {
						
		}
		visible = {
			is_faction_leader = no
			is_in_faction = yes
		}
		fire_only_once = no			
		days_re_enable = 240
		cost = 80
		complete_effect = {
			custom_effect_tooltip = povtoryaemoe_reshenie_240
			custom_effect_tooltip = xpx_reshenie_prizvat_katolikov_v_tevtonsy_tt			
			every_other_country = {
				limit = {
					is_in_faction_with = XPX
					is_faction_leader = yes
				}
				country_event = { id = papas_state.10 }		
			}
		}
		ai_will_do = {
			base = 60
			modifier = {
				add = -100
				num_faction_members > 14
			}			
		}
	}
	xpx_priglasit_bergmana_zbo_v_ally_dec = {
		icon = generic_political_discourse
		available = {
			is_faction_leader = yes
			ZBR = {
				is_in_faction = yes
			}			
		}
		visible = {
			is_faction_leader = yes
			ZBR = {
				has_country_leader = {
					character = ZBR_jens_gerhard_bergman
					ruling_only = yes
				}
			}
		}
		fire_only_once = no			
		days_re_enable = 200
		cost = 5
		complete_effect = {
			custom_effect_tooltip = povtoryaemoe_reshenie_200
			ZBR = {
				country_event = { id = papas_state.18 }
			}
		}
		ai_will_do = {
			base = 500						
		}
	}
}