﻿###########################
# Argentinian Events
###########################

add_namespace = britain

#purchase falklands
country_event = { 
	id = britain.1000
	title = britain.1000.t
	desc = britain.1000.d
	picture = GFX_report_argentina_britain_1_image
	
	is_triggered_only = yes
	
	option = { 
		name = britain.1000.a
		ai_chance = { factor = 90 }
		ARG = { transfer_state = 299 
		        add_opinion_modifier = {
					target = ENG
					modifier = successful_deal
				   }
			}
		ENG = { add_offsite_building = { type = industrial_complex level = 2 } }
		hidden_effect = { news_event = { id = argentina_news.1 days = 3 } }
	}
	option = { 
		name = britain.1000.b
		ai_chance = { 
		factor = 10 
		modifier = {
				factor = 5
				OR = {
				has_government = fascism
				has_government = neutrality
				}
			}
		}
		ARG = { 
		        add_opinion_modifier = {
					target = ENG
					modifier = refused_offer
				   }
			}
		hidden_effect = { ARG = { news_event = argentina_news.2 } }
	}
}

#purchase south georgia
country_event = { 
	id = britain.1001
	title = britain.1001.t
	desc = britain.1001.d
	picture = GFX_report_argentina_britain_2_image
	
	is_triggered_only = yes
	
	option = { 
		name = britain.1001.a
		ai_chance = { 
		factor = 60 }
		ARG = { transfer_state = 720
		        add_opinion_modifier = {
					target = ENG
					modifier = successful_deal
				   }
			}
		ENG = { add_offsite_building = { type = industrial_complex level = 1 } }
		hidden_effect = { ARG = { news_event = argentina_news.3 } }
	}
	option = { 
		name = britain.1001.b
		ai_chance = { factor = 30 }
		ARG = { country_event = argentina.event_1 }
	}
	option = { 
		name = britain.1001.c
		ai_chance = { 
		factor = 10 
		modifier = {
				factor = 5
				OR = {
				has_government = fascism
				has_government = neutrality
				}
			}
			}
		ARG = { 
		        add_opinion_modifier = {
					target = ENG
					modifier = refused_offer
				   }
			}
		hidden_effect = { ARG = { news_event = argentina_news.4 } }
	}
}

#ARG demands british islands
country_event = { 
	id = britain.1002
	title = britain.1002.t
	desc = britain.1002.d
	picture = GFX_report_argentina_britain_1_image
	
	is_triggered_only = yes
	
	#accept
	option = { 
		name = britain.1002.a
		ai_chance = { 
		factor = 99 
		modifier = {
				factor = 2
				has_government = fascism
			}
		}
		ARG = { 
		transfer_state = 299 
		transfer_state = 720
		        add_opinion_modifier = {
					target = ENG
					modifier = cleared_past
				   }
			}
			299 = { add_core_of = ARG }
			720 = { add_core_of = ARG }
		
		hidden_effect = { ARG = { news_event = { id = argentina_news.60 days = 1 } } }
	}
	#deny
	option = { 
		name = britain.1002.b
		ai_chance = { 
		factor = 1
		modifier = {
				factor = 60
				has_government = communism
			}
		modifier = {
				factor = 80
				has_war = yes
			}
		}
		ARG = { 
		        add_opinion_modifier = {
					target = ENG
					modifier = refused_offer
				   }
				   create_wargoal = {
                    type = take_state_focus
                    target = ENG
					generator = { 299 720 }
                    expire = 730
                }
			}
		hidden_effect = {  ARG = { news_event = { id = argentina_news.61 days = 1 } } }
	}
}

add_namespace = usa

#ARG wants to join the allies
country_event = { 
	id = usa.event_1
	title = usa_event.1.t
	desc = usa_event.1.d
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes
	
	option = { 
		name = usa_event.1.a
		ai_chance = { factor = 90 }
		USA = { add_to_faction = ARG }
		hidden_effect = { ARG = { news_event = argentina_news.7 } news_event = { id = argentina_news.8 days = 3 } }
	}
	option = { 
		name = usa_event.1.b
		ai_chance = { factor = 10 }
		hidden_effect = { ARG = { news_event = argentina_news.9 } }
	}
}

#ARG seeks backing of claims
country_event = { 
	id = usa.2
	title = usa_event.2.t
	desc = usa_event.2.d
	picture = GFX_report_event_argentina_brazil_1_image
	
	is_triggered_only = yes
	
	#backs
	option = { 
		name = usa_event.2.a
		ai_chance = { 
		factor = 20 
		modifier = {
				factor = 0
				has_war_with = ARG
			}
		modifier = {
				factor = 0
				is_in_faction_with = BRA
			}
		modifier = {
				factor = 0
				GER = { has_war = no }
			}
		modifier = {
				factor = 4
				BRA = { has_war_with = GER }
			}
		modifier = {
				factor = 4
				ARG = { has_stability > 0.7 }
			}
		modifier = {
				factor = 5
				has_war_with = BRA
			}
		modifier = {
				factor = 5
				BRA = { has_government = fascism }
			}
		modifier = { 
		        factor = 5
		        has_opinion = {
					      target = ARG
					       value > 79
		 		        } 
		}
		}
		ARG = { 
		 add_opinion_modifier = {
					target = USA
					modifier = political_cooperations
				   }
		}
		hidden_effect = { 
		set_country_flag = USA_backs_ARG  
		ARG = { news_event = argentina_news.65 } 
		502 = {
					controller = {
						country_event = { id = southamerica.7 }
					}
				}
		}
	}
	#refuses
	option = { 
		name = usa_event.2.b
		ai_chance = { factor = 80 }
		ARG = { 
		 add_opinion_modifier = {
					target = USA
					modifier = political_separation
				   }
		}
		hidden_effect = { 
		      502 = {
					controller = {
						country_event = { id = southamerica.7 }
					}
				} 
				}
	}
}

add_namespace = australia

#ARG demands Solomon Islands
country_event = { 
	id = australia.event_1
	title = australia_event.1.t
	desc = australia_event.1.d
	picture = GFX_report_event_argentina_solomon_image
	
	is_triggered_only = yes
	
	#accept
	option = { 
		name = australia_event.1.a
		ai_chance = { 
		factor = 30 
		modifier = {
				factor = 2
				ARG = { controls_state = 299 }
			}
		modifier = {
				factor = 2
				is_puppet = yes
			}
		}
		ARG = { 
		transfer_state = 634
		        add_opinion_modifier = {
					target = ROOT
					modifier = successful_deal
				   }
			}
		ROOT = { add_offsite_building = { type = industrial_complex level = 2 } }
		hidden_effect = { ARG = { news_event = argentina_news.62 } }
	}
	#puppet
	option = { 
		name = australia_event.1.b
		ai_chance = { 
		factor = 55 
		modifier = {
				factor = 1.5
				is_puppet = no
			}
		modifier = {
				factor = 0.1
				original_tag = SOL
			}
		}
		release = SOL
		ARG = { puppet = SOL }
		hidden_effect = { ARG = { news_event = argentina_news.63 } }
	}
	#refuse
	option = { 
		name = australia_event.1.c
		ai_chance = { 
		factor = 15 
		modifier = {
				factor = 10
				original_tag = SOL
			}
		}
		ARG = { 
		        add_opinion_modifier = {
					target = ROOT
					modifier = refused_offer
				   }
				   create_wargoal = {
                    type = take_state_focus
                    target = ROOT
					generator = { 634 }
                    expire = 730
                }
			}
		hidden_effect = { ARG = { news_event = argentina_news.64 } }
	}
}


add_namespace = cuba

#ARG approaches Cuba
country_event = { 
	id = cuba.1
	title = cuba_event.1.t
	desc = cuba_event.1.d
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes
	
	#agree
	option = { 
		name = cuba_event.1.a
		ai_chance = { factor = 10 
		modifier = {
				factor = 10
				has_government = communism
			}
		modifier = {
				factor = 5
				ARG = { is_in_faction = yes }
			}
		modifier = {
				factor = 8
				ARG = { controls_state = 301 }
			}
		}
		CUB = {
			every_unit_leader = {
				set_nationality = ARG
			}
		}
		  ARG = { annex_country = { target = CUB transfer_troops = yes } }
		hidden_effect = { 
		ARG = { news_event = argentina_news.58  }
		set_country_flag = peacefully_annex_by_arg
		}
	}
	#refuse
	option = { 
		name = cuba_event.1.b
		ai_chance = { factor = 90 }
		add_stability = -0.05
		ARG = { 
		        add_war_support = 0.1
		        add_opinion_modifier = {
					target = CUB
					modifier = refused_alliance2
				   }
			}
		hidden_effect = { ARG = { news_event = argentina_news.59 } }
	}
}


add_namespace = chile

#ARG wants magallanes oil
country_event = { 
	id = chile.event_1
	title = chile_event.1.t
	desc = chile_event.1.d
	picture = GFX_report_argentina_chile_1_image
	
	is_triggered_only = yes
	
	option = { 
		name = chile_event.1.a
		ai_chance = { factor = 80 }
		if = { limit = {
					has_dlc = "Man the Guns"
				}
			CHL = { 
		  give_resource_rights = { receiver = ARG state = 507 }
		}
				}
		507 = { remove_core_of = ARG }
		hidden_effect = { ARG = { news_event = argentina_news.10 } }
	}
	option = { 
		name = chile_event.1.b
		ai_chance = { factor = 20 }
		hidden_effect = { ARG = { news_event = argentina_news.11 } }
	}
}

#ARG demands magallanes
country_event = { 
	id = chile.2
	title = chile_event.2.t
	desc = chile_event.2.d
	picture = GFX_report_argentina_chile_1_image
	
	is_triggered_only = yes
	
	option = { 
		name = chile_event.2.a
		ai_chance = { 
		factor = 10 
		modifier = { 
		factor = 5
		has_opinion = {
					      target = ARG
					       value > 59
				         } 
		}
		modifier = { 
		factor = 8
		strength_ratio = {
          tag = ARG
          ratio < 0.5
          } 
		}
		}
		ARG = { 
		transfer_state = 507  
		diplomatic_relation = { 
	      country = CHL
	      relation = non_aggression_pact 
        }
		}
		hidden_effect = { ARG = { news_event = argentina_news.27 } }
	}
	option = { 
		name = chile_event.2.b
		ai_chance = { 
		factor = 90 
		}
		ARG = {
		create_wargoal = {
                    type = take_state_focus
                    target = CHL
					generator = { 507 }
                    expire = 0
                }
				}
		hidden_effect = { ARG = { news_event = argentina_news.28 } }
	}
}

#ARG pushes Magallanes decision
country_event = { 
	id = chile.3
	title = chile_event.3.t
	desc = chile_event.3.d
	picture = GFX_report_argentina_chile_1_image
	
	is_triggered_only = yes
	
	#accept
	option = { 
		name = chile_event.3.a
		ai_chance = { 
		factor = 50
		modifier = { 
		factor = 1.5
		has_opinion = {
					      target = ARG
					       value > 59
				         } 
		}
		modifier = { 
		factor = 2
		OR = { 
		ARG = { has_war_with = GER }
		ARG = { has_war_with = JAP }
		} 
		}
		}
		ARG = { 
		transfer_state = 507  
		diplomatic_relation = { 
	      country = CHL
	      relation = non_aggression_pact 
        }
		}
		507 = { set_demilitarized_zone = yes }
		hidden_effect = { ARG = { news_event = argentina_news.27 } }
	}
	#ressource rights
	option = { 
		name = chile_event.3.b
		ai_chance = { 
		factor = 35
		modifier = { 
		factor = 0
		NOT = { has_dlc = "Man the Guns" }
		}
		}
		ARG = { country_event = argentina.29 } 
	}
	#refuse
	option = { 
		name = chile_event.3.c
		ai_chance = { 
		factor = 15
	    }
		ARG = {
		create_wargoal = {
                    type = take_state_focus
                    target = CHL
					generator = { 507 }
                    expire = 0
                }
				}
		hidden_effect = { ARG = { news_event = argentina_news.28 } }
	}
}


add_namespace = spain

#alliance for guinea
country_event = { 
	id = spain.event_1
	title = spain_event.1.t
	desc = spain_event.1.d
	picture = GFX_report_argentina_spanish_alliance_image
	
	is_triggered_only = yes
	
	option = { 
		name = spain_event.1.a
		ai_chance = { 
		factor = 80
		modifier = {
				factor = 0.75
				has_government = democratic
			}
		}
		if = { 
		limit = { SPR = { is_faction_leader = yes } }
		add_to_faction = ARG
		else = {
		SPR ={
		set_rule = { can_create_factions = yes }
		create_faction = faction_greater_spanish_alliance
		add_to_faction = ARG
		}
		}
		}
		ARG = { transfer_state = 297 }
		hidden_effect = { ARG = { news_event = argentina_news.13 } news_event = { id = argentina_news.14 days = 3 } }
	}
	option = { 
		name = spain_event.1.b
		ai_chance = { 
		factor = 20
		modifier = {
				factor = 2
				has_government = democratic
			}
		}
		297 = { add_claim_by = ARG }
		ARG = {
		        add_opinion_modifier = {
					target = SPR
					modifier = refused_alliance2
				   }
			}
		hidden_effect = { ARG = { news_event = { id = argentina_news.15 days = 3 } } }
	}
}


add_namespace = portugal

#ARG demands Angola
country_event = { 
	id = portugal.event_1
	title = portugal_event.1.t
	desc = portugal_event.1.d
	picture = GFX_report_argentina_portugal_angola_image
	
	is_triggered_only = yes
	
	option = { 
		name = portugal_event.1.a
		ai_chance = { factor = 20 }
		 ARG = { 
			  transfer_state = 796
			  transfer_state = 540
			}
		hidden_effect = { ARG = { news_event = argentina_news.16 } }
	}
	option = { 
		name = portugal_event.1.b
		ai_chance = { factor = 60 }
		ARG = { country_event = argentina.2 }
	}
	option = { 
		name = portugal_event.1.c
		ai_chance = { factor = 20 }
		ARG = {
		create_wargoal = {
                    type = annex_everything
                    target = POR
                    expire = 0
                }
			}
		hidden_effect = { ARG = { news_event = { id = argentina_news.17 days = 3 } } }
	}
}

#invitation to the G S A
country_event = { 
	id = portugal.2
	title = portugal_event.2.t
	desc = portugal_event.2.d
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes
	
	option = { 
		name = portugal_event.2.a
		ai_chance = { factor = 80 }
		 SPR = { add_to_faction = POR }
		hidden_effect = { news_event = { id = argentina_news.21 days = 3 } }
	}
	option = { 
		name = portugal_event.2.b
		ai_chance = { factor = 20 }
		hidden_effect = { ARG = { news_event = { id = argentina_news.22 days= 3 } } }
	}
}


add_namespace = patagonia

#collaboration with argentina
country_event = { 
	id = patagonia.event_1
	title = patagonia_event.1.t
	desc = patagonia_event.1.d
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes
	
	option = { 
		name = patagonia_event.1.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.75
				has_opinion = {
					target = ARG
					value > 49
				} 	
			}
		}
		ARG = { puppet = PAT }
		hidden_effect = {
		PAT = {
		if = {
				limit = {
					NOT = {
						has_government = democratic
					}
				}				
				set_politics = {
					ruling_party = democratic
					elections_allowed = yes
				}
			}
		add_popularity = {
					ideology = democratic
					popularity = 0.8
				}
			  add_popularity = {
					ideology = neutrality
					popularity = 0.1
				}
			  add_popularity = {
					ideology = communism
					popularity = 0.1
				}
				}
		ARG = { news_event = { id = argentina_news.23 days = 3 } }
		}  
	}
	option = { 
		name = patagonia_event.1.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0.25
				has_opinion = {
					target = ARG
					value > 49
				} 	
			}}
		ARG = { 
		        add_opinion_modifier = {
					target = PAT
					modifier = political_separation
				   }
			}
		hidden_effect = { ARG = { news_event = argentina_news.24  } } 
	}
}


add_namespace = russia

#ARG wants to join comintern
country_event = { 
	id = russia.event_1
	title = russia_event.1.t
	desc = russia_event.1.d
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes
	
	option = { 
		name = russia_event.1.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.75
				has_opinion = {
					target = ARG
					value > 49
				} 	
			}
		}
		SOV = { add_to_faction = ARG }
		hidden_effect = { news_event = { id = argentina_news.25 days = 3 } }
	}
	option = { 
		name = russia_event.1.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0.25
				has_opinion = {
					target = ARG
					value > 49
				} 	
			}}
		hidden_effect = { ARG = { news_event = { id = argentina_news.26 days = 3 } } }
	}
}

add_namespace = germany

#ARG wants to join axis
country_event = { 
	id = germany.event_1
	title = germany_event.1.t
	desc = germany_event.1.d
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes
	
	option = { 
		name = germany_event.1.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.75
				has_opinion = {
					target = ARG
					value > 49
				} 	
			}	
			}
		GER = { add_to_faction = ARG }
		hidden_effect = { news_event = { id = argentina_news.29 days = 3 } }
	}
	option = { 
		name = germany_event.1.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0.25
				has_opinion = {
					target = ARG
					value > 49
				} 	
			}}
		hidden_effect = { ARG = { news_event = { id = argentina_news.30 days = 3 } } }
	}
}


add_namespace = italy

#ARG wants to join faction
country_event = { 
	id = italy.event_1
	title = italy_event.1.t
	desc = italy_event.1.d
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes
	
	option = { 
		name = italy_event.1.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.75
				has_opinion = {
					target = ARG
					value > 49
				} 	
			} 	
			}
		ITA = { add_to_faction = ARG }
		hidden_effect = { news_event = { id = argentina_news.31 days = 3 } }
	}
	option = { 
		name = italy_event.1.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0.25
				has_opinion = {
					target = ARG
					value > 49
				} 	
			}}
		hidden_effect = { ARG = { news_event = { id = argentina_news.32 days = 3 } } }
	}
}

add_namespace = southamerica

#ARG expands S A U
country_event = { 
	id = southamerica.event_1
	title = southamerica_event.1.t
	desc = southamerica_event.1.d
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes
	
	option = { 
		name = southamerica_event.1.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.5
				communism > 29
			}
		}
		trigger = { TAG = URG }
		ARG = { add_to_faction = URG }
		hidden_effect = { ARG = { news_event = { id = argentina_news.35 days = 1 } } }
	}
	option = { 
		name = southamerica_event.1.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0.5
				communism > 29
			}
		}
		trigger = { TAG = URG }
		add_stability = -0.1
		hidden_effect = { ARG = { news_event = { id = argentina_news.36 days = 1 } } }
	}
	
	option = { 
		name = southamerica_event.1.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.5
				communism > 29
			}
		}
		trigger = { TAG = PRU }
		ARG = { add_to_faction = PRU }
		hidden_effect = { ARG = { news_event = { id = argentina_news.37 days = 2 } } }
	}
	option = { 
		name = southamerica_event.1.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0.5
				communism > 29
			}}
			trigger = { TAG = PRU }
		add_stability = -0.1
		hidden_effect = { ARG = { news_event = { id = argentina_news.38 days = 2 } } }
	}
	
	option = { 
		name = southamerica_event.1.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.5
				communism > 29
			}
		}
		trigger = { TAG = BOL }
		ARG = { add_to_faction = BOL }
		hidden_effect = { ARG = { news_event = { id = argentina_news.39 days = 3 } } }
	}
	option = { 
		name = southamerica_event.1.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0.5
				communism > 29
			}}
		trigger = { TAG = BOL }
		add_stability = -0.1
		hidden_effect = { ARG = { news_event = { id = argentina_news.40 days = 3 } } }
	}
}

#ARG forms LoSA
country_event = { 
	id = southamerica.2
	title = southamerica_event.2.t
	desc = southamerica_event.2.d
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes
	
	option = { 
		name = southamerica_event.2.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.5
				has_government = fascism
			}
		}
		trigger = { TAG = PRU }
		ARG = { add_to_faction = PRU }
	}
	option = { 
		name = southamerica_event.2.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0.5
				has_government = fascism
			}
		}
		trigger = { TAG = PRU }
		add_stability = -0.1
		hidden_effect = { ARG = { news_event = { id = argentina_news.42 days = 1 } } }
	}
	
	option = { 
		name = southamerica_event.2.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.5
				has_government = fascism
			}
		}
		trigger = { TAG = VEN }
		ARG = { add_to_faction = VEN }
	}
	option = { 
		name = southamerica_event.2.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0.5
				has_government = fascism
			}
		}
		trigger = { TAG = VEN }
		add_stability = -0.1
		hidden_effect = { ARG = { news_event = { id = argentina_news.43 days = 2 } } }
	}
	
	option = { 
		name = southamerica_event.2.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.5
				has_government = fascism
			}
		}
		trigger = { TAG = ELS }
		ARG = { add_to_faction = ELS }
	}
	option = { 
		name = southamerica_event.2.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0.5
				has_government = fascism
			}
		}
		trigger = { TAG = ELS }
		add_stability = -0.1
		hidden_effect = { ARG = { news_event = { id = argentina_news.44 days = 3 } } }
	}
	option = { 
		name = southamerica_event.2.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.5
				has_government = fascism
			}
		}
		trigger = { TAG = DOM }
		ARG = { add_to_faction = DOM }
	}
	option = { 
		name = southamerica_event.2.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0.5
				has_government = fascism
			}
		}
		trigger = { TAG = DOM }
		add_stability = -0.1
		hidden_effect = { ARG = { news_event = { id = argentina_news.45 days = 4 } } }
	}
}

#ARG expands LoSA
country_event = { 
	id = southamerica.3
	title = southamerica_event.3.t
	desc = southamerica_event.3.d
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes
	
	option = { 
		name = southamerica_event.3.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.5
				fascism > 0.39
			}
		}
		trigger = { TAG = PAR }
		ARG = { add_to_faction = PAR }
	}
	option = { 
		name = southamerica_event.3.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0.5
				fascism > 0.39
			}
		}
		trigger = { TAG = PAR }
		add_stability = -0.1
		hidden_effect = { ARG = { news_event = { id = argentina_news.46 days = 1 } } }
	}
	
	option = { 
		name = southamerica_event.3.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.5
				fascism > 0.39
			}
		}
		trigger = { TAG = URG }
		ARG = { add_to_faction = URG }
	}
	option = { 
		name = southamerica_event.3.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0.5
				fascism > 0.39
			}
		}
		trigger = { TAG = URG }
		add_stability = -0.1
		hidden_effect = { ARG = { news_event = { id = argentina_news.47 days = 2 } } }
	}
	
	option = { 
		name = southamerica_event.3.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.5
				fascism > 0.39
			}
		}
		trigger = { TAG = BOL }
		ARG = { add_to_faction = BOL }
	}
	option = { 
		name = southamerica_event.3.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0.5
				fascism > 0.39
			}
		}
		trigger = { TAG = BOL }
		add_stability = -0.1
		hidden_effect = { ARG = { news_event = { id = argentina_news.48 days = 3 } } }
	}
	option = { 
		name = southamerica_event.3.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.5
				fascism > 0.39
			}
		}
		trigger = { TAG = CHL }
		ARG = { add_to_faction = CHL }
	}
	option = { 
		name = southamerica_event.3.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0.5
				fascism > 0.39
			}
		}
		trigger = { TAG = CHL }
		add_stability = -0.1
		hidden_effect = { ARG = { news_event = { id = argentina_news.49 days = 4 } } }
	}
}

#ARG attacks  Triple Alliance
country_event = { 
	id = southamerica.4
	title = southamerica_event.4.t
	desc = southamerica_event.4.d
	picture = GFX_report_event_generic_sign_treaty1
	
	trigger = {
	AND = {
	  original_tag = BRA
      OR = { 
	    ARG = { has_war_with = PAR }
		ARG = { has_war_with = URG }
		ARG = { has_war_with = BRA }
	   }
	   OR = { 
	   ARG = { has_government = fascism }
	   ARG = { has_government = communism }
	   }
	   NOT = { has_country_flag = defensive_alliance }
	  }
    }
	
	fire_only_once = yes
	
	option = { 
		name = southamerica_event.4.a
		ai_chance = { factor = 90 }
		BRA = { set_rule = { can_create_factions = yes }  create_faction = faction_triple_alliance  
		declare_war_on = {
			target = ARG
			type = topple_government
		}
		}
		
		  hidden_effect = { 
		  set_country_flag = defensive_alliance
		  if = { 
		  limit = { 
		   URG = { is_subject = no exists = yes NOT = { is_in_faction_with = ARG } }
		  }
		  BRA = { add_to_faction = URG }
		  URG = { 
		  declare_war_on = {
			target = ARG
			type = topple_government
		    }
		   }
		  }
		  
		  if = { 
		  limit = { 
		   PAR = { is_subject = no exists = yes NOT = { is_in_faction_with = ARG } }
		  }
		  BRA = { add_to_faction = PAR }
		   PAR = { 
		    declare_war_on = {
			target = ARG
			type = topple_government
		    }
		   }
		  }
		  }
	}
	
	option = { 
		name = southamerica_event.4.b
		ai_chance = { factor = 10 }
		set_country_flag = defensive_alliance
	}
}

#ARG attacks  Rio Pact
country_event = { 
	id = southamerica.5
	title = southamerica_event.5.t
	desc = southamerica_event.5.d
	picture = GFX_report_event_generic_sign_treaty1
	
	trigger = {
	AND = {
	  original_tag = BRA
	   ARG = { has_war_with = BOL }
	   OR = { 
	   ARG = { has_government = fascism }
	   ARG = { has_government = communism }
	   }
	   NOT = { has_country_flag = defensive_alliance }
	  }
    }
	
	fire_only_once = yes
	
	option = { 
		name = southamerica_event.5.a
		ai_chance = { factor = 90 }
		BRA = { set_rule = { can_create_factions = yes }  create_faction = faction_rio_pact 
		declare_war_on = {
			target = ARG
			type = topple_government
		}
		}
		
		  hidden_effect = { 
		  set_country_flag = defensive_alliance
		  
		  if = { 
		  limit = { 
		   BOL = { is_subject = no exists = yes NOT = { is_in_faction_with = ARG } }
		  }
		  BRA = { add_to_faction = BOL }
		  BOL = { 
		  declare_war_on = {
			target = ARG
			type = topple_government
		    }
		   }
		  }
		  
		  if = { 
		  limit = { 
		   URG = { is_subject = no exists = yes NOT = { is_in_faction_with = ARG } }
		  }
		  BRA = { add_to_faction = URG }
		  URG = { 
		  declare_war_on = {
			target = ARG
			type = topple_government
		    }
		   }
		  }
		  
		  if = { 
		  limit = { 
		   PAR = { is_subject = no exists = yes NOT = { is_in_faction_with = ARG } }
		  }
		  BRA = { add_to_faction = PAR }
		   PAR = { 
		    declare_war_on = {
			target = ARG
			type = topple_government
		    }
		   }
		  }
		  }
	}
	
	option = { 
		name = southamerica_event.5.b
		ai_chance = { factor = 10 }
		set_country_flag = defensive_alliance
	}
}

#ARG pushs for closer relations
country_event = { 
	id = southamerica.6
	title = southamerica_event.6.t
	desc = southamerica_event.6.d
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes
	
	#give in
	option = { 
		name = southamerica_event.6.a
		ai_chance = { 
		factor = 5 
		modifier = {
				factor = 10
				communism > 24
			}
		modifier = {
				factor = 20
				communism > 39
			}
		}
		ARG = { puppet = ROOT }
		hidden_effect = { ARG = { news_event = { id = argentina_news.56 days = 1 } } }
	}
	#deny
	option = { 
		name = southamerica_event.6.b
		ai_chance = { 
		factor = 95
		}
		add_stability = -0.05
		hidden_effect = { ARG = { news_event = { id = argentina_news.57 days = 1 } } }
	}
}

#ARG demands southern BRA
country_event = { 
	id = southamerica.7
	title = southamerica_event.7.t
	desc = southamerica_event.7.d
	picture = GFX_report_event_argentina_brazil_1_image
	
	is_triggered_only = yes
	
	#give in
	option = { 
		name = southamerica_event.7.a
		ai_chance = { 
		factor = 10
		modifier = {
				factor = 15
				USA = { has_country_flag = USA_backs_ARG }
			}
		modifier = {
				factor = 15
				strength_ratio = {
                  tag = ARG
                  ratio < 0.5
               }
			}
		modifier = {
				factor = 0
				has_war_with = ARG
			}
		modifier = {
				factor = 5
				is_in_faction_with = ARG
			}
		}
		ARG = { transfer_state = 502 }
		ARG = { transfer_state = 503 }
		hidden_effect = { ARG = { news_event = { id = argentina_news.66 days = 1 } } }
	}
	#deny
	option = { 
		name = southamerica_event.7.b
		ai_chance = { 
		factor = 90
		modifier = {
				factor = 0.1
				USA = { has_country_flag = USA_backs_ARG }
			}
		modifier = {
				factor = 0.1
				strength_ratio = {
                  tag = ARG
                  ratio < 0.5
               }
			}
		}
		ARG = { 
		create_wargoal = {
                    type = take_state_focus
                    target = ROOT
					generator = { 502 503 }
                    expire = 730
                }
		}
		hidden_effect = { ARG = { news_event = { id = argentina_news.67 days = 1 } } }
	}
}


add_namespace = paraguay

#ARG proposes south american union
country_event = { 
	id = paraguay.event_1
	title = paraguay_event.1.t
	desc = paraguay_event.1.d
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = { 
		name = paraguay_event.1.a
		ai_chance = { 
		factor = 10 
		modifier = {
				factor = 10
				has_government = communism
		}
		}
		ARG = { set_rule = { can_create_factions = yes }
		create_faction = faction_south_american_union
		add_to_faction = PAR }
		hidden_effect = { news_event = { id = argentina_news.33 days = 3 } 509 = { remove_claim_by = PAR } 931 = { remove_claim_by = PAR } 939 = { remove_claim_by = PAR } }
	}
	option = { 
		name = paraguay_event.1.b
		ai_chance = { 
		factor = 90 
		modifier = {
				factor = 0
				has_government = communism
		}
		}
		hidden_effect = { ARG = { country_event = argentina.3 } }
	}
}


add_namespace = argentina

#invitaion to the allies
country_event = { 
	id = argentina.event_1
	title = argentina_event.1.t
	desc = argentina_event.1.d
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes
	
	option = { 
		name = argentina_event.1.a
		ai_chance = { factor = 60 }
		ARG = { transfer_state = 720
		        add_opinion_modifier = {
					target = ENG
					modifier = shared_ideals
				   }
			}
		ENG = { add_to_faction = ARG }
		hidden_effect = { news_event = { id = argentina_news.5 days = 3 } }
	}
	option = { 
		name = argentina_event.1.b
		ai_chance = { factor = 40 }
		hidden_effect = { ENG = { news_event = argentina_news.6  } } 
	}
}

#portugal wants a compromise
country_event = { 
	id = argentina.2
	title = argentina_event.2.t
	desc = argentina_event.2.d
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes
	
	option = { 
		name = argentina_event.2.a
		ai_chance = { factor = 80 }
		ARG = { transfer_state = 796
		        add_opinion_modifier = {
					target = POR
					modifier = successful_deal
				   }
			}
		SPR = { add_to_faction = POR }
		hidden_effect = { POR = { news_event = { id = argentina_news.18 days = 3 } } news_event = { id = argentina_news.19 days = 5 } }
	}
	option = { 
		name = argentina_event.2.b
		ai_chance = { factor = 20 }
		hidden_effect = { POR = { news_event = { id = argentina_news.20 days = 5 } } }
	}
}

#paraguay denies S A U
country_event = { 
	id = argentina.3
	title = argentina_event.3.t
	desc = argentina_event.3.d
	picture = GFX_report_event_journalists_speech
	
	is_triggered_only = yes
	
	option = { 
		name = argentina_event.3.a
		ai_chance = { factor = 50 }
		ARG = { set_rule = { can_create_factions = yes }
		create_faction = faction_south_american_union
		}
		hidden_effect = { news_event = { id = argentina_news.34 days = 3 } }
	}
	option = { 
		name = argentina_event.3.b
		ai_chance = { factor = 50 }
		
	}
}

#ARG USA influences our politics fascism
country_event = { 
	id = argentina.4
	title = argentina_event.4.t
	desc = argentina_event.4.d
	picture = GFX_report_event_generic_usa_treaty
	
	#is_triggered_only = yes
	
	trigger = {
	  original_tag = ARG
	  fascism > 0.5
	  }
	
	fire_only_once = yes
	
	option = { 
		name = argentina_event.4.a
		ai_chance = { factor = 20 }
		ARG = {
		add_timed_idea = { 
		idea = us_influence
        days = 365	
		}
		add_opinion_modifier = {
					target = USA
					modifier = disliked_political_influence
				   }
		}
	}
	option = { 
		name = argentina_event.4.b
		ai_chance = { factor = 80 }
		ARG = {
		add_timed_idea = { 
		idea = industry_wothout_us
        days = 365	
		}
		}
		USA = {
		add_opinion_modifier = {
					target = ARG
					modifier = backstabbers2
				   }
				   }
		
	}
}

#ARG USA influences our politics communism
country_event = { 
	id = argentina.5
	title = argentina_event.5.t
	desc = argentina_event.5.d
	picture = GFX_report_event_generic_usa_treaty
	
	#is_triggered_only = yes
	
	trigger = {
	  original_tag = ARG
	  communism > 0.5
	  }
	
	fire_only_once = yes
	
	option = { 
		name = argentina_event.5.a
		ai_chance = { factor = 20 }
		ARG = {
		add_timed_idea = { 
		idea = us_influence
        days = 365	
		}
		add_opinion_modifier = {
					target = USA
					modifier = disliked_political_influence
				   }
		}
	}
	option = { 
		name = argentina_event.5.b
		ai_chance = { factor = 80 }
		ARG = {
		add_timed_idea = { 
		idea = industry_wothout_us
        days = 365	
		}
		}
		USA = {
		add_opinion_modifier = {
					target = ARG
					modifier = backstabbers2
				   }
				   }
		
	}
}

#ARG SOMISA works are finished
country_event = { 
	id = argentina.6
	title = argentina_event.6.t
	desc = argentina_event.6.d
	picture = GFX_report_argentina_6_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = { 
		name = argentina_event.6.a
		ai_chance = { factor = 80 }
		278 = { 
		  add_resource = {
					type = steel
					amount = 12
				}
		  add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
		}
	}
	option = { 
		name = argentina_event.6.b
		ai_chance = { factor = 20 }
		add_political_power = -150
		278 = { 
		  add_resource = {
					type = steel
					amount = 20
				}
		  add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
		}
        }
		
	}
	
#ARG Altos Hornos Zapla works are finished
country_event = { 
	id = argentina.7
	title = argentina_event.7.t
	desc = argentina_event.7.d
	picture = GFX_report_argentina_7_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = { 
		name = argentina_event.7.a
		ai_chance = { factor = 80 }
		hidden_effect = { set_country_flag = altos_hornos_finished }
		931 = { 
		  add_resource = {
					type = steel
					amount = 8
				}
		  add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
		}
	}
	option = { 
		name = argentina_event.7.b
		ai_chance = { factor = 20 }
		hidden_effect = { set_country_flag = altos_hornos_finished }
		add_political_power = -50
		add_stability = -0.05
		931 = { 
		  add_resource = {
					type = steel
					amount = 14
				}
		  add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
		}
        }
		
	}
	
#ARG Neuquén Basin oilfield
country_event = { 
	id = argentina.8
	title = argentina_event.8.t
	desc = argentina_event.8.d
	picture = GFX_report_argentina_8_image
	
	trigger = {
	if = {
	AND = {
	  original_tag = ARG
      date > 1938.4.16
	   has_tech = excavation3
	  }
	  }
    }
	
	fire_only_once = yes
	
	option = { 
		name = argentina_event.8.a
		ai_chance = { factor = 80 }
		add_political_power = -75
		936 = { 
		  add_resource = {
					type = oil
					amount = 32
				}
		  add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
		}
	}
	option = { 
		name = argentina_event.8.b
		ai_chance = { factor = 20 }
		custom_effect_tooltip = neuquen_oil_recessed_tt
		hidden_effect = { set_country_flag = neuquen_expansion_recessed }
        }
		
	}
	
#ARG fascism immigrants
country_event = { 
	id = argentina.9
	title = argentina_event.9.t
	desc = argentina_event.9.d
	picture = GFX_report_argentina_9_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = { 
		name = argentina_event.9.a
		ai_chance = { factor = 50 }
		add_ideas = ARG_german_immigrants_4
	}
	option = { 
		name = argentina_event.9.b
		ai_chance = { factor = 50 }
		add_ideas = ARG_croatian_immigrants_4
        }
		
	}
	
#ARG neutral immigrants
country_event = { 
	id = argentina.10
	title = argentina_event.10.t
	desc = argentina_event.10.d
	picture = GFX_report_argentina_10_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = { 
		name = argentina_event.10.a
		ai_chance = { factor = 50 }
		add_ideas = ARG_greek_immigrants_4
	}
	option = { 
		name = argentina_event.10.b
		ai_chance = { factor = 50 }
		add_ideas = ARG_bulgarian_immigrants_4
        }
		
	}
	
#ARG communism immigrants
country_event = { 
	id = argentina.11
	title = argentina_event.11.t
	desc = argentina_event.11.d
	picture = GFX_report_argentina_11_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = { 
		name = argentina_event.11.a
		ai_chance = { factor = 50 }
		add_ideas = ARG_spanish_immigrants_4
	}
	option = { 
		name = argentina_event.11.b
		ai_chance = { factor = 50 }
		add_ideas = ARG_french_immigrants_4
        }
		
	}
	
#ARG democratic immigrants
country_event = { 
	id = argentina.12
	title = argentina_event.12.t
	desc = argentina_event.12.d
	picture = GFX_report_argentina_12_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = { 
		name = argentina_event.12.a
		ai_chance = { factor = 50 }
		add_ideas = ARG_dutch_immigrants_4
	}
	option = { 
		name = argentina_event.12.b
		ai_chance = { factor = 50 }
		add_ideas = ARG_belgian_immigrants_4
        }
		
	}
	
#ARG facist new rigged election
country_event = { 
	id = argentina.13
	title = argentina_event.13.t
	desc = argentina_event.13.d
	picture = GFX_report_argentina_13_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	#Peron
	option = { 
		name = argentina_event.13.a
		ai_chance = { factor = 50 }
		complete_national_focus = ARG_peron_for_president 
		hidden_effect = { news_event = argentina_news.51 }
	}
	#Farrell
	option = { 
		name = argentina_event.13.b
		ai_chance = { 
		factor = 50
		modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		complete_national_focus = ARG_farrell_for_president
		hidden_effect = { news_event = argentina_news.52 }
        }
		
	}
	
#ARG tarding event
country_event = { 
	id = argentina.14
	title = argentina_event.14.t
	desc = argentina_event.14.d
	picture = GFX_report_argentina_14_image
	
	is_triggered_only = yes
	
	
	option = { 
		name = argentina_event.14.a
		ai_chance = { 
		factor = 25 
		modifier = {
			factor = 4
			has_government = democratic
		}
		}
		add_popularity = {
					ideology = democratic
					popularity = 0.05
				}
		USA = {
		add_opinion_modifier = {
					target = ARG
					modifier = trading_mission
				   }
				   }
		add_timed_idea = { 
		         idea = active_trading_mission
                 days = 90
		        }
		add_offsite_building = { type = industrial_complex level = 1 }
	}
	
	option = { 
		name = argentina_event.14.b
		ai_chance = { 
		factor = 25 
		modifier = {
			factor = 4
			has_government = neutrality
		}
		}
		add_popularity = {
					ideology = neutrality
					popularity = 0.05
				}
		POR = {
		add_opinion_modifier = {
					target = ARG
					modifier = trading_mission
				   }
				   }
		add_timed_idea = { 
		         idea = active_trading_mission
                 days = 90
		        }
		add_offsite_building = { type = industrial_complex level = 1 }
        }
		
	option = { 
		name = argentina_event.14.c
		ai_chance = { 
		factor = 25 
		modifier = {
			factor = 4
			has_government = communism
		}
		}
		add_popularity = {
					ideology = communism
					popularity = 0.05
				}
		SPR = {
		add_opinion_modifier = {
					target = ARG
					modifier = trading_mission
				   }
				   }
		add_timed_idea = { 
		         idea = active_trading_mission
                 days = 90
		        }
		add_offsite_building = { type = industrial_complex level = 1 }
        }
		
	option = { 
		name = argentina_event.14.e
		ai_chance = { 
		factor = 25 
		modifier = {
			factor = 4
			has_government = fascism
		}
		}
		add_popularity = {
					ideology = fascism
					popularity = 0.05
				}
		GER = {
		add_opinion_modifier = {
					target = ARG
					modifier = trading_mission
				   }
				   }
		add_timed_idea = { 
		         idea = active_trading_mission
                 days = 90
		        }
		add_offsite_building = { type = industrial_complex level = 1 }
        }
		
	}
	
#ARG new military schools
country_event = { 
	id = argentina.15
	title = argentina_event.15.t
	desc = argentina_event.15.d
	picture = GFX_report_argentina_15_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	#ESSC
	option = { 
		name = argentina_event.15.a
		ai_chance = { factor = 50 }
		if = { 
		limit = { has_idea = new_military_facilities }
		swap_ideas = {
          remove_idea = new_military_facilities
          add_idea = new_military_facilities_1_0
             }
		}
		
		if = { 
		limit = { has_idea = new_military_facilities_0_1 }
		swap_ideas = {
          remove_idea = new_military_facilities_0_1
          add_idea = new_military_facilities_1_1
             }
		}
		
		if = { 
		limit = { has_idea = new_military_facilities_0_2 }
		swap_ideas = {
          remove_idea = new_military_facilities_0_2
          add_idea = new_military_facilities_1_2
             }
		}
		
	}
	
	#Colegio Militar de la Nación
	option = { 
		name = argentina_event.15.b
		ai_chance = { factor = 50 }
		if = { 
		limit = { has_idea = new_military_facilities }
		swap_ideas = {
          remove_idea = new_military_facilities
          add_idea = new_military_facilities_2_0
             }
		}
		
		if = { 
		limit = { has_idea = new_military_facilities_0_1 }
		swap_ideas = {
          remove_idea = new_military_facilities_0_1
          add_idea = new_military_facilities_2_1
             }
		}
		
		if = { 
		limit = { has_idea = new_military_facilities_0_2 }
		swap_ideas = {
          remove_idea = new_military_facilities_0_2
          add_idea = new_military_facilities_2_2
             }
		}
		
        }
		
	}
	

#ARG new naval schools
country_event = { 
	id = argentina.16
	title = argentina_event.16.t
	desc = argentina_event.16.d
	picture = GFX_report_argentina_16_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	#ESMA
	option = { 
		name = argentina_event.16.a
		ai_chance = { factor = 50 }
		if = { 
		limit = { has_idea = new_military_facilities }
		swap_ideas = {
          remove_idea = new_military_facilities
          add_idea = new_military_facilities_0_1
             }
		}
		
		if = { 
		limit = { has_idea = new_military_facilities_1_0 }
		swap_ideas = {
          remove_idea = new_military_facilities_1_0
          add_idea = new_military_facilities_1_1
             }
		}
		
		if = { 
		limit = { has_idea = new_military_facilities_2_0 }
		swap_ideas = {
          remove_idea = new_military_facilities_2_0
          add_idea = new_military_facilities_2_1
             }
		}
		
	}
	
	#Escuela Naval Militar
	option = { 
		name = argentina_event.16.b
		ai_chance = { factor = 50 }
		if = { 
		limit = { has_idea = new_military_facilities }
		swap_ideas = {
          remove_idea = new_military_facilities
          add_idea = new_military_facilities_0_2
             }
		}
		
		if = { 
		limit = { has_idea = new_military_facilities_1_0 }
		swap_ideas = {
          remove_idea = new_military_facilities_1_0
          add_idea = new_military_facilities_1_2
             }
		}
		
		if = { 
		limit = { has_idea = new_military_facilities_2_0 }
		swap_ideas = {
          remove_idea = new_military_facilities_2_0
          add_idea = new_military_facilities_2_2
             }
		}
		
        }
		
	}
	
#ARG communist new election
country_event = { 
	id = argentina.17
	title = argentina_event.17.t
	desc = argentina_event.17.d
	picture = GFX_report_argentina_13_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	#Alvarez
	option = { 
		name = argentina_event.17.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 2
				has_completed_focus = ARG_legalize_the_partido_communsita
			}
		modifier = {
				factor = 0
				has_completed_focus = ARG_collaboration_with_the_partido_socialista
			}
		}
		complete_national_focus = ARG_a_communist_president 
		#hidden_effect = { news_event = argentina_news. }
	}
	#Peron
	option = { 
		name = argentina_event.17.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 0
				has_completed_focus = ARG_legalize_the_partido_communsita
			}
		modifier = {
				factor = 2
				has_completed_focus = ARG_collaboration_with_the_partido_socialista
			}
		}
		complete_national_focus = ARG_peron_for_president 
		hidden_effect = { news_event = argentina_news.51 }
        }
		
	}
	
	#ARG fate of Paraguay for PAR
country_event = { 
	id = argentina.18
	title = argentina.18.t
	desc = argentina.18.d
	picture = GFX_report_argentina_17_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	#Gives in
	option = { 
		name = argentina.18.a
		ai_chance = { 
		factor = 10 
		modifier = {
				factor = 8
			ARG = {	has_government = communism }
		}
		modifier = {
				factor = 4
			BOL = {	is_subject_of = ARG }
		}
		modifier = {
				factor = 6
			strength_ratio = {
              tag = ARG
              ratio < 0.5
             }
		}
		}
		ARG = { country_event = argentina.20 }
		hidden_effect = { 509 = { remove_claim_by = PAR } 931 = { remove_claim_by = PAR } 939 = { remove_claim_by = PAR } }
	}
	#Denies
	option = { 
		name = argentina.18.b
		ai_chance = { 
		factor = 90 
		modifier = {
				factor = 1.5
			ARG = {	has_government = fascism }
		}
		}
		ARG = { 
		create_wargoal = {
                    type = annex_everything
                    target = PAR
                    expire = 0
                }
		country_event = argentina.19
		}
	}
}

#ARG fate of Paraguay PAR denies -> for ARG
country_event = { 
	id = argentina.19
	title = argentina.19.t
	desc = argentina.19.d
	picture = GFX_report_argentina_17_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = { 
		name = argentina.19.a
		ai_chance = { 
		factor = 100 
		}
	}
}

#ARG fate of Paraguay PAR accepts -> for ARG
country_event = { 
	id = argentina.20
	title = argentina.20.t
	desc = argentina.20.d
	picture = GFX_report_argentina_17_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	#Set up a puppet
	option = { 
		name = argentina.20.a
		ai_chance = { 
		factor = 70 
		}
		if = { 
		limit = { 
		AND = {
		OR = {
			has_dlc = "Together for Victory"
			has_dlc = "Man the Guns"
		}
		ARG = { has_government = fascism } 
		}
		}
		set_autonomy = {
		target = PAR
		autonomous_state = autonomy_reichsprotectorate
	  }
		}
	  if = { 
		limit = { 
		AND = {
		OR = {
			has_dlc = "Together for Victory"
			has_dlc = "Man the Guns"
		}
		ARG = { has_government = communism } 
		}
		}
		set_autonomy = {
		target = PAR
		autonomous_state = autonomy_colony
	  }
		}
	  if = { 
		limit = { 
		AND = {
		NOT = { has_dlc = "Together for Victory" }
		NOT = { has_dlc = "Man the Guns" }
		}
		}
		puppet = PAR
		}
	}
	#Annex all
	option = { 
		name = argentina.20.b
		ai_chance = { 
		factor = 29 
		modifier = {
				factor = 2
			ARG = {	has_government = communism }
		}
		}
		ARG = { transfer_state = 301 transfer_state = 914 transfer_state = 688 transfer_state = 913 }
	}
	#Share with Bolivia
	option = { 
		name = argentina.20.c
		ai_chance = { 
		factor = 1 
		modifier = {
				factor = 100
			BOL = {	is_subject_of = ARG }
		}
		}
		ARG = { transfer_state = 301 transfer_state = 914 }
		BOL = { transfer_state = 688 transfer_state = 913 country_event = argentina.21 }
		
	}
}

#ARG shares PAR with BOL -> for BOL
country_event = { 
	id = argentina.21
	title = argentina.21.t
	desc = argentina.21.d
	picture = GFX_report_argentina_17_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = { 
		name = argentina.21.a
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 2
			BOL = {	is_subject_of = ARG }
		}
		modifier = {
				factor = 2
			BOL = {	has_government = fascism }
		}
		}
		688 = { add_core_of = BOL }
		913 = { add_core_of = BOL }
		BOL = { 
		     add_opinion_modifier = {
					target = ARG
					modifier = returned_the_chaco
				}
		  }
	}
	option = { 
		name = argentina.21.b
		ai_chance = { 
		factor = 50 
		}
		ARG = { transfer_state = 688 transfer_state = 913 country_event = { id = argentina.22 days = 1 } }
	}
}

#ARG BOL returns Chaco
country_event = { 
	id = argentina.22
	title = argentina.22.t
	desc = argentina.22.d
	picture = GFX_report_argentina_17_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = { 
		name = argentina.22.a
		ai_chance = { 
		factor = 100 
		}
	}
}

#ARG pressure uruguay for URG
country_event = { 
	id = argentina.23
	title = argentina.23.t
	desc = argentina.23.d
	picture = GFX_report_argentina_18_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	#Gives in
	option = { 
		name = argentina.23.a
		ai_chance = { 
		factor = 10 
		modifier = {
				factor = 5
			ARG = {	has_government = communism }
		}
		modifier = {
				factor = 2
			BOL = {	is_subject_of = ARG }
		}
		modifier = {
				factor = 6
			strength_ratio = {
              tag = ARG
              ratio < 0.5
             }
		}
		}
		if = { 
		limit = { 
		AND = {
		OR = {
			has_dlc = "Together for Victory"
			has_dlc = "Man the Guns"
		}
		ARG = { has_government = fascism } 
		}
		}
		ARG = {
		set_autonomy = {
		target = URG
		autonomous_state = autonomy_satellite
		 }
		country_event = argentina.24
	    }
		}
	  if = { 
		limit = { 
		AND = {
		OR = {
			has_dlc = "Together for Victory"
			has_dlc = "Man the Guns"
		}
		ARG = { has_government = communism } 
		}
		}
		ARG = {
		set_autonomy = {
		target = URG
		autonomous_state = autonomy_dominion
		  }
		 country_event = argentina.24
	    }
		}
	  if = { 
		limit = { 
		AND = {
		NOT = { has_dlc = "Together for Victory" }
		NOT = { has_dlc = "Man the Guns" }
		}
		}
		ARG = {
		puppet = URG
		country_event = argentina.24
		}
		}
	}
	#Denies
	option = { 
		name = argentina.23.b
		ai_chance = { 
		factor = 90 
		modifier = {
				factor = 1.5
			ARG = {	has_government = fascism }
		}
		}
		ARG = { 
		create_wargoal = {
                    type = annex_everything
                    target = URG
                    expire = 0
                }
		country_event = argentina.25
		}
	}
}

#ARG pressure URG accepts -> for ARG
country_event = { 
	id = argentina.24
	title = argentina.24.t
	desc = argentina.24.d
	picture = GFX_report_argentina_18_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = { 
		name = argentina.24.a
		ai_chance = { 
		factor = 100 
		}
	}
}

#ARG pressure URG denies -> for ARG
country_event = { 
	id = argentina.25
	title = argentina.25.t
	desc = argentina.25.d
	picture = GFX_report_argentina_18_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = { 
		name = argentina.25.a
		ai_chance = { 
		factor = 100 
		}
	}
}

#ARG deal with US' pressure
country_event = { 
	id = argentina.26
	title = argentina.26.t
	desc = argentina.26.d
	picture = GFX_report_argentina_19_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	#accept
	option = { 
		name = argentina.26.a
		ai_chance = { 
		factor = 50
		modifier = {
				factor = 1.5
			has_opinion = {
            target = USA
            value > 50
           }
		}
		}
		remove_ideas = promise_of_neutral_foreign_policy
		hidden_effect = { set_country_flag = promise_to_the_us }
	}
	#deny
	option = { 
		name = argentina.26.b
		ai_chance = { 
		factor = 50 
		modifier = {
				factor = 1.5
			has_completed_focus = ARG_pro_german_propaganda
           }
		}
		add_ideas = uncontrolled_exports
		hidden_effect = { set_country_flag = embargoed_by_us }
	}
}

#ARG USA demands help against Japan
country_event = { 
	id = argentina.27
	title = argentina.27.t
	desc = argentina.27.d
	picture = GFX_report_event_usa_pearl_harbor_airphoto
	
	trigger = { 
	AND = { 
	tag = ARG
	USA = { has_war_with = JAP }
	ARG = { has_country_flag = promise_to_the_us }
	NOT = { ARG = { is_in_faction_with = JAP } }
	NOT = { ARG = { has_war_with = USA } }
	}
	}
	
	fire_only_once = yes
	
	#accept
	option = { 
		name = argentina.27.a
		ai_chance = { 
		factor = 99
		}
		complete_national_focus = ARG_join_the_war_against_japan
	}
	#deny
	option = { 
		name = argentina.27.b
		ai_chance = { 
		factor = 1 
		}
		USA = { 
		create_wargoal = {
                    type = topple_government
                    target = ARG
                    expire = 0
                }
		}
	}
}

#ARG USA demands help against Germany
country_event = { 
	id = argentina.28
	title = argentina.28.t
	desc = argentina.28.d
	picture = GFX_report_event_military_planning
	
	trigger = { 
	AND = { 
	tag = ARG
	USA = { has_war_with = GER }
	ARG = { has_country_flag = promise_to_the_us }
	NOT = { ARG = { is_in_faction_with = GER } }
	NOT = { ARG = { has_war_with = USA } }
	}
	}
	
	fire_only_once = yes
	
	#accept
	option = { 
		name = argentina.28.a
		ai_chance = { 
		factor = 99
		}
		complete_national_focus = ARG_join_the_war_against_germany
	}
	#deny
	option = { 
		name = argentina.28.b
		ai_chance = { 
		factor = 1 
		}
		USA = { 
		create_wargoal = {
                    type = topple_government
                    target = ARG
                    expire = 0
                }
		}
	}
}

#ARG CHL shared ressources compromiss
country_event = { 
	id = argentina.29
	title = argentina.29.t
	desc = argentina.29.d
	picture = GFX_report_argentina_chile_1_image
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	#accept
	option = { 
		name = argentina.29.a
		ai_chance = { 
		factor = 100
		}
		diplomatic_relation = { 
	      country = CHL
	      relation = non_aggression_pact 
        }
		if = { limit = {
					has_dlc = "Man the Guns"
				}
			CHL = { 
		  give_resource_rights = { receiver = ARG state = 507 }
		}
				}
	}
	#deny
	option = { 
		name = argentina.29.b
		ai_chance = { 
		factor = 0
		}
		create_wargoal = {
                    type = take_state_focus
                    target = CHL
					generator = { 507 }
                    expire = 0
                }
	}
}

#ARG start election
country_event = { 
	id = argentina.30
	title = argentina.30.t
	desc = argentina.30.d
	picture = GFX_report_event_election_vote
	
	is_triggered_only = yes
	
	fire_only_once = yes
	
	#Ortiz
	option = { 
		name = argentina.30.a
		ai_chance = { factor = 35 }
		complete_national_focus = ARG_progressive_politics
	}
	#Castillo
	option = { 
		name = argentina.30.b
		ai_chance = { 
		factor = 65
		modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		complete_national_focus = ARG_suppressive_politics
        }
		
	}
	
	#ARG democratic election 1937
country_event = { 
	id = argentina.31
	title = argentina.31.t
	desc = argentina.31.d
	picture = GFX_report_event_election_vote
	
	trigger = {
	AND = {
	  original_tag = ARG
	  date > 1937.10.30
	  has_government = democratic
	  }
	  }
	
	fire_only_once = yes
	
	#Tamborini
	option = { 
		name = argentina.31.a
		ai_chance = { factor = 50 }
		create_country_leader = {
	name = "José Pascual Tamborini"
	desc = "POLITICS_JOSE_TAMBORINI_DESC"
	picture = "GFX_portrait_jose_tamborini_pres"
	expire = "1955.9.25"
	ideology = conservatism
	traits = {
	conservative_grandee
	}
      }
		hidden_effect = { set_country_flag = second_democratic_elections_held }
	}
	#Mosca
	option = { 
		name = argentina.31.b
		ai_chance = { 
		factor = 50
		modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		create_country_leader = {
	name = "Enrique Mosca"
	desc = "POLITICS_ENRIQUE_MOSCA_DESC"
	picture = "GFX_portrait_enrique_mosca_president"
	expire = "1950.7.22"
	ideology = socialism
	traits = {
	economy_reformer
	}
      }
		hidden_effect = { set_country_flag = second_democratic_elections_held }
        }
		
	}
	
	#ARG communist election 1937
country_event = { 
	id = argentina.32
	title = argentina.32.t
	desc = argentina.32.d
	picture = GFX_report_event_election_vote
	
	trigger = {
	AND = {
	  original_tag = ARG
	  date > 1937.10.30
	  has_government = communism
	  NOT = { has_completed_focus = ARG_peron_for_president }
	  }
	  }
	
	fire_only_once = yes
	
	#Codovilla
	option = { 
		name = argentina.32.a
		ai_chance = { factor = 50 }
		create_country_leader = {
	name = "Victorio Codovilla"
	desc = "POLITICS_VICTORIO_CODOVILLA_DESC"
	picture = "GFX_portrait_vittorio_codovilla"
	expire = "1970.4.15"
	ideology = stalinism
	traits = {
	staunch_stalinist
	}
      }
	}
	#Alvarez
	option = { 
		name = argentina.32.b
		ai_chance = { 
		factor = 50
		modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		create_country_leader = {
	name = "Gerónimo Arnedo Álvarez"
	desc = "POLITICS_GERONIMO_ARNEDO_ALVAREZ_DESC"
	picture = "GFX_portrait_geronimo_alvarez"
	expire = "1980.6.12"
	ideology = marxism
	traits = {
	  economic_reformer
	}
      }
        }
		
	}
	
#ARG non-aligned election 1937
country_event = { 
	id = argentina.33
	title = argentina.33.t
	desc = argentina.33.d
	picture = GFX_report_event_election_vote
	
	trigger = {
	AND = {
	  original_tag = ARG
	  date > 1937.10.30
	  has_government = neutrality
	  NOT = { 
	  OR = { 
	  has_completed_focus = ARG_progressive_politics 
	  has_completed_focus = ARG_royalist_takeover
	  has_completed_focus = ARG_offer_the_throne_to_jaime_de_borbon
	   }
	  }
	  }
	  }
	
	fire_only_once = yes
	
	#Justo
	option = { 
		name = argentina.33.a
		ai_chance = { factor = 25 }
		create_country_leader = {
	name = "Agustín Pedro Justo"
	desc = "POLITICS_AUGUSTIN_PEDRO_JUSTO_DESC"
	picture = "GFX_portrait_Agustin_Pedro_Justo"
	expire = "1943.1.11"
	ideology = despotism
	traits = {
	}
      }
	}
	#Castillo
	option = { 
		name = argentina.33.b
		ai_chance = { 
		factor = 75
		modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		create_country_leader = {
	name = "Ramón Castillo"
	desc = "POLITICS_RAMON_CASTILLO_DESC"
	picture = "GFX_portrait_ramon_castillo"
	expire = "1944.8.12"
	ideology = despotism
	traits = {
	}
      }
        }
		
	}
	
	
#ARG neutrality election (2) 1937
country_event = { 
	id = argentina.34
	title = argentina.34.t
	desc = argentina.34.d
	picture = GFX_report_event_election_vote
	
	trigger = {
	AND = {
	  original_tag = ARG
	  date > 1937.10.30
	  has_government = neutrality
	  has_completed_focus = ARG_progressive_politics
	  }
	  }
	
	fire_only_once = yes
	
	#Tamborini
	option = { 
		name = argentina.34.a
		ai_chance = { factor = 50 }
		set_politics = {
					ruling_party = democratic
					elections_allowed = yes
				}
		create_country_leader = {
	name = "José Pascual Tamborini"
	desc = "POLITICS_JOSE_TAMBORINI_DESC"
	picture = "GFX_portrait_jose_tamborini_pres"
	expire = "1955.9.25"
	ideology = conservatism
	traits = {
	conservative_grandee
	}
      }
		hidden_effect = { set_country_flag = second_democratic_elections_held }
	}
	#Mosca
	option = { 
		name = argentina.34.b
		ai_chance = { 
		factor = 50
		modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		set_politics = {
					ruling_party = democratic
					elections_allowed = yes
				}
		create_country_leader = {
	name = "Enrique Mosca"
	desc = "POLITICS_ENRIQUE_MOSCA_DESC"
	picture = "GFX_portrait_enrique_mosca_president"
	expire = "1950.7.22"
	ideology = socialism
	traits = {
	economy_reformer
	}
      }
		hidden_effect = { set_country_flag = second_democratic_elections_held }
        }
		
	}
	
#ARG democratic election 1943
country_event = { 
	id = argentina.35
	title = argentina.35.t
	desc = argentina.35.d
	picture = GFX_report_event_election_vote
	
	trigger = {
	AND = {
	  original_tag = ARG
	  date > 1943.10.30
	  has_government = democratic
	  }
	  }
	
	fire_only_once = yes
	
	#Tamborini
	option = { 
		name = argentina.35.a
		ai_chance = { 
		factor = 50
		modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		create_country_leader = {
	name = "José Pascual Tamborini"
	desc = "POLITICS_JOSE_TAMBORINI_DESC"
	picture = "GFX_portrait_jose_tamborini_pres"
	expire = "1955.9.25"
	ideology = conservatism
	traits = {
	conservative_grandee
	}
      }
	}
	#Balbin
	option = { 
		name = argentina.35.b
		ai_chance = { factor = 50 }
		create_country_leader = {
	name = "Ricardo Balbín"
	desc = "POLITICS_RICARDO_BALBIN_DESC"
	picture = "GFX_portrait_ricardo_balbin"
	expire = "1981.9.9"
	ideology = liberalism
	traits = {
	socialite_connections
	}
      }
        }
		
	}
	
#ARG communist election 1943
country_event = { 
	id = argentina.36
	title = argentina.36.t
	desc = argentina.36.d
	picture = GFX_report_event_election_vote
	
	trigger = {
	AND = {
	  original_tag = ARG
	  date > 1943.10.30
	  has_government = communism
	  NOT = { has_completed_focus = ARG_peron_for_president }
	  }
	  }
	
	fire_only_once = yes
	
	#Codovilla
	option = { 
		name = argentina.36.a
		ai_chance = { factor = 50 }
		create_country_leader = {
	name = "Victorio Codovilla"
	desc = "POLITICS_VICTORIO_CODOVILLA_DESC"
	picture = "GFX_portrait_vittorio_codovilla"
	expire = "1970.4.15"
	ideology = stalinism
	traits = {
	staunch_stalinist
	}
      }
	}
	#Alvarez
	option = { 
		name = argentina.36.b
		ai_chance = { 
		factor = 50
		modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		create_country_leader = {
	name = "Gerónimo Arnedo Álvarez"
	desc = "POLITICS_GERONIMO_ARNEDO_ALVAREZ_DESC"
	picture = "GFX_portrait_geronimo_alvarez"
	expire = "1980.6.12"
	ideology = marxism
	traits = {
	  economic_reformer
	}
      }
        }
		
	}
	
	

