prca_operation_distribute_hostile_leaflets = {
	icon = GFX_operations_prca_distribute_hostile_leaflets
	map_icon = GFX_operations_prca_distribute_hostile_leaflets_map
	name = prca_distribute_hostile_leaflets
	desc = prca_distribute_hostile_leaflets_desc
	priority = 1

	days = 75
	network_strength = 35
	operatives = 2

	visible = {
		network_national_coverage = {
				target = FROM
				value > 0
		}
		prca_leaflets_visible_trigger = yes
	}

	available = {
		FROM = {
			prca_has_available_leaflet_operation = yes
		}
	}

	risk_chance = 0.2
	outcome_extra_chance = 0.25
	risk_modifiers = { operation_coup_government_risk operation_risk }
	cost_modifiers = { operation_coup_government_cost operation_cost }

	on_start = {
		FROM = {
			add_to_variable = { THIS.ongoing_hostile_leaflet_operations = 1 }
		}
	}

	outcome_execute = {
		FROM = {
			custom_effect_tooltip = distribute_hostile_leaflets_outcome_tt
			hidden_effect = {
				country_event = prca.2
			}
		}
	}

	outcome_extra_execute = {	# Enemy soldier has carelessly revealed information
		FROM = {
			custom_effect_tooltip = distribute_hostile_leaflets_outcome_tt
			hidden_effect = {
				country_event = prca.2
			}
		}
		ROOT = {
			random_list = {
				25 = {
					add_intel = {
						target = FROM
						civilian_intel = 10
					}
				}
				25 = {
					add_intel = {
						target = FROM
						army_intel = 10
					}
				}
				25 = {
					add_intel = {
						target = FROM
						navy_intel = 10
					}
				}
				25 = {
					add_intel = {
						target = FROM
						airforce_intel = 10
					}
				}
			}
		}
	}

	outcome_potential = {
		custom_effect_tooltip = distribute_hostile_leaflets_tt
	}

	phases = { #infiltration
		infiltration_border = { base = 25 }
		infiltration_submarine = { base = 25 }
		infiltration_paradrop = {
			base = 25
			modifier = {
				ROOT = { has_equipment = { transport_plane_equipment < 1 } }
				factor = 0.1
			}
		}
	}
	phases = {
		prca_distribute_leaflets_airborne = { base = 40 } # Increased chance due to being the most common way
		prca_distribute_leaflets_resistance = { base = 30 }
		prca_distribute_leaflets_artillery = { base = 30 }
	}
	phases = { #exfiltration
		exfiltration_air_pickup = {
			base = 15
			modifier = {
				ROOT = { has_equipment = { transport_plane_equipment < 1 } }
				factor = 0.1
			}
		}
		exfiltration_border = { base = 30 }
		exfiltration_go_to_ground = { base = 30 }
		exfiltration_submarine_pickup = { base = 25 }
	}
}
