ECU_border_skirmishes = { 

 ECU_attack_zarumilla = { 
		
		icon = border_war

		allowed = {
			
		}

		available = {
		    original_tag = ECU
			date > 1941.1.10
		}

		visible = {
		date > 1941.1.1
		}

		fire_only_once = yes

		cost = 25
		days_remove = 25

		modifier = {
		}

		ai_will_do = {
			factor = 1000
			modifier = {
			factor = 0
			PRU = { is_in_faction = yes }
		}
		}
		
		complete_effect = {
		hidden_effect = {
			490 = { 
		add_manpower = -100 
		damage_building = {
         type = infrastructure
         damage = 2
         }
		 damage_building = {
         type = industrial_complex
         damage = 1
         }
		 damage_building = {
         type = arms_factory
         damage = 1
         }
		 damage_building = {
         type = rail_way
         damage = 2
         }
		 }
		 }
		 PRU = { country_event = ecuper_war.1 }
		}
		
		remove_effect = { 
		}
	}
	
 }
 
 ECU_integrate_peru = { 

 ECU_integrate_piura = { 
		
		icon = infiltrate_state

		allowed = {
			
		}

		available = {
		  490 = {
				not = { is_core_of = ROOT }
			}
		}

		visible = {
		490 = {
				is_fully_controlled_by = ECU
			}
		}

		fire_only_once = yes

		cost = 25
		days_remove = 120

		modifier = {
		}

		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
		}
		
		remove_effect = { 
		ECU = { add_state_core = 490 }
		}
	}
	
	ECU_integrate_loreto = { 
		
		icon = infiltrate_state

		allowed = {
			
		}

		available = {
		  491 = {
				not = { is_core_of = ROOT }
			}
		}

		visible = {
		491 = {
				is_fully_controlled_by = ECU
			}
		}

		fire_only_once = yes

		cost = 25
		days_remove = 120

		modifier = {
		}

		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
		}
		
		remove_effect = { 
		ECU = { add_state_core = 491 }
		}
	}
	
 }


  