ARG_intervenciones_federales_decisions = {
	
	ARG_federal_intervention_in_state = {

		icon = GFX_decision_eng_trade_unions_demand

		ai_will_do = {
			base = 20
		}
	
		allowed = {
			original_tag = ARG
		}

		available = {
			has_completed_focus = ARG_intervenciones_federales
		} 

		visible = { 
			has_completed_focus = ARG_intervenciones_federales 
		}
		state_target = yes
		target_trigger = {
	        FROM = {
	           	has_dynamic_modifier = {
					modifier = ARG_military_owned_state
				}
	        }
	    }

	    on_map_mode = map_and_decisions_view 
		cost = 50
		
		fire_only_once = yes
		days_remove = 35
		
		modifier = {
			command_power_gain_mult = -0.1
		}

		remove_effect = {

		custom_effect_tooltip = ARG_federal_intervention_tt
		custom_effect_tooltip = CHL_skip_one_line_tt

			add_popularity = {
				ideology = neutrality 
				popularity = 0.02
			}

			IF = {
				limit = {
					FROM = {
						has_dynamic_modifier = {
							modifier = ARG_military_owned_state
						}
					}
				}
				FROM = {
					remove_dynamic_modifier = {
						modifier = ARG_military_owned_state
					}
				}
			}

			FROM = {
				add_dynamic_modifier = {
						modifier = ARG_federal_intervention_modifier
				}
			}

			hidden_effect = {
				IF = {
					limit = {
						has_country_flag = ARG_no_fedint_decision_done
					}
					clr_country_flag = ARG_no_fedint_decision_done
					set_country_flag = ARG_1_fedint_decision_done
					}
				ELSE_IF = {
					limit = {
						has_country_flag = ARG_1_fedint_decision_done
					}
					clr_country_flag = ARG_1_fedint_decision_done
					set_country_flag = ARG_2_fedint_decision_done
					}
				ELSE_IF = {
					limit = {
						has_country_flag = ARG_2_fedint_decision_done
					}
					clr_country_flag = ARG_2_fedint_decision_done
					set_country_flag = ARG_3_fedint_decision_done
				}
			}
		}
	}
}

ARG_international_loan_decisions = {
	
	ARG_loan_from_britain = {

		icon = GFX_decision_gre_paying_ifc_debt

		ai_will_do = {
			base = 40
		}
	
		allowed = {
			OR = {
				original_tag = ARG
				original_tag = BRA
			}
		}

		available = {
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			}
			ENG = {
				has_opinion = {
					target = ROOT
					value > 49
				} 
			}
		} 

		visible = { 
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			}
			NOT = {
				has_country_flag = ARG_british_loan_flag
			}
		}

		cost = 75
		
		days_remove = 70

		modifier = {
			consumer_goods_factor = 0.15
			political_power_factor = -0.1
		}

		remove_effect = {
				IF = {
					limit = {
						NOT = {
							has_dynamic_modifier = {
								modifier = ARG_international_loan_modifier
							}	
						}	
					}

					custom_effect_tooltip = ARG_international_loan_tt
					hidden_effect = {
					add_dynamic_modifier = {
						modifier = ARG_international_loan_modifier
					}

					set_variable = { ARG_loan_political_power_cost = 0.2 }
					set_variable = { ARG_loan_local_resources_factor = 0.05 }
					set_variable = { ARG_loan_production_speed_buildings_factor = 0.02 }
					set_variable = { ARG_loan_industrial_capacity_factory = 0.03 }
					set_variable = { ARG_loan_industrial_capacity_dockyard = 0.03 }

					}
				}

				ELSE_IF = {
					limit = {
						has_dynamic_modifier = {
							modifier = ARG_international_loan_modifier		
						}
					}
					custom_effect_tooltip = ARG_modify_international_loan_intro
						add_to_variable = { ARG_loan_political_power_cost = 0.2 tooltip = political_power_cost_tt }
						add_to_variable = { ARG_loan_local_resources_factor = 0.05 tooltip = local_resources_factor_tt }
						add_to_variable = { ARG_loan_production_speed_buildings_factor = 0.02 tooltip = production_speed_buildings_factor_tt }
						add_to_variable = { ARG_loan_industrial_capacity_factory = 0.03 tooltip = industrial_capacity_factory_tt }
						add_to_variable = { ARG_loan_industrial_capacity_dockyard = 0.03 tooltip = industrial_capacity_dockyard_tt }
				}

			hidden_effect = {
				set_country_flag = ARG_british_loan_flag

			}
		}
	}

	ARG_pay_back_britain = {

		icon = GFX_decision_gre_paying_ifc_debt

		ai_will_do = {
			base = 40
		}
	
		allowed = {
			OR = {
				original_tag = ARG
				original_tag = BRA
			}
		}

		available = {
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			}
			#ENG = {
			#	has_opinion = {
			#		target = ROOT
			#		value > 49
			#	} 
			#}
		} 

		visible = { 
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			}
			has_country_flag = ARG_british_loan_flag
			NOT = {
				has_country_flag = ARG_british_loan_repaid_flag
			}
		}

		cost = 75
		
		days_remove = 70

		modifier = {
			consumer_goods_factor = 0.15
			political_power_factor = -0.1
		}

		remove_effect = {

				IF = {
					limit = {
						has_dynamic_modifier = {
							modifier = ARG_international_loan_modifier		
						}
					}
					custom_effect_tooltip = ARG_modify_international_loan_intro
						add_to_variable = { ARG_loan_political_power_cost = -0.2 tooltip = political_power_cost_tt }
						add_to_variable = { ARG_loan_local_resources_factor = -0.05 tooltip = local_resources_factor_tt }
						add_to_variable = { ARG_loan_production_speed_buildings_factor = -0.02 tooltip = production_speed_buildings_factor_tt }
						add_to_variable = { ARG_loan_industrial_capacity_factory = -0.03 tooltip = industrial_capacity_factory_tt }
						add_to_variable = { ARG_loan_industrial_capacity_dockyard = -0.03 tooltip = industrial_capacity_dockyard_tt }
				}

			hidden_effect = {
				set_country_flag = ARG_british_loan_repaid_flag

			}
		}
	}

	ARG_loan_from_germany = {

		icon = GFX_decision_gre_paying_ifc_debt

		ai_will_do = {
			base = 40
		}
	
		allowed = {
			OR = {
				original_tag = ARG
				original_tag = BRA
			}
		}

		available = {
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			}
			GER = {
				has_opinion = {
					target = ROOT
					value > 49
				} 
			}
		} 

		visible = { 
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			}
			NOT = {
				has_country_flag = ARG_german_loan_flag
			}
		}

		cost = 75
		
		days_remove = 70

		modifier = {
			consumer_goods_factor = 0.15
			political_power_factor = -0.1
		}

		remove_effect = {
				IF = {
					limit = {
						NOT = {
							has_dynamic_modifier = {
								modifier = ARG_international_loan_modifier
							}	
						}	
					}

					custom_effect_tooltip = ARG_international_loan_tt
					hidden_effect = {
					add_dynamic_modifier = {
						modifier = ARG_international_loan_modifier
					}

					set_variable = { ARG_loan_political_power_cost = 0.2 }
					set_variable = { ARG_loan_local_resources_factor = 0.05 }
					set_variable = { ARG_loan_production_speed_buildings_factor = 0.02 }
					set_variable = { ARG_loan_industrial_capacity_factory = 0.03 }
					set_variable = { ARG_loan_industrial_capacity_dockyard = 0.03 }

					}
				}

				ELSE_IF = {
					limit = {
						has_dynamic_modifier = {
							modifier = ARG_international_loan_modifier		
						}
					}
					custom_effect_tooltip = ARG_modify_international_loan_intro
						add_to_variable = { ARG_loan_political_power_cost = 0.2 tooltip = political_power_cost_tt }
						add_to_variable = { ARG_loan_local_resources_factor = 0.05 tooltip = local_resources_factor_tt }
						add_to_variable = { ARG_loan_production_speed_buildings_factor = 0.02 tooltip = production_speed_buildings_factor_tt }
						add_to_variable = { ARG_loan_industrial_capacity_factory = 0.03 tooltip = industrial_capacity_factory_tt }
						add_to_variable = { ARG_loan_industrial_capacity_dockyard = 0.03 tooltip = industrial_capacity_dockyard_tt }
				}

			hidden_effect = {
				set_country_flag = ARG_german_loan_flag

			}
		}
	}

	ARG_pay_back_germany = {

		icon = GFX_decision_gre_paying_ifc_debt

		ai_will_do = {
			base = 40
		}
	
		allowed = {
			OR = {
				original_tag = ARG
				original_tag = BRA
			}
		}

		available = {
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			}
			#GER = {
			#	has_opinion = {
			#		target = ROOT
			#		value > 49
			#	} 
			#}
		} 

		visible = { 
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			} 
			has_country_flag = ARG_german_loan_flag
			NOT = {
				has_country_flag = ARG_german_loan_repaid_flag
			}
		}

		cost = 75
		
		days_remove = 70

		modifier = {
			consumer_goods_factor = 0.15
			political_power_factor = -0.1
		}

		remove_effect = {

				IF = {
					limit = {
						has_dynamic_modifier = {
							modifier = ARG_international_loan_modifier		
						}
					}
					custom_effect_tooltip = ARG_modify_international_loan_intro
						add_to_variable = { ARG_loan_political_power_cost = -0.2 tooltip = political_power_cost_tt }
						add_to_variable = { ARG_loan_local_resources_factor = -0.05 tooltip = local_resources_factor_tt }
						add_to_variable = { ARG_loan_production_speed_buildings_factor = -0.02 tooltip = production_speed_buildings_factor_tt }
						add_to_variable = { ARG_loan_industrial_capacity_factory = -0.03 tooltip = industrial_capacity_factory_tt }
						add_to_variable = { ARG_loan_industrial_capacity_dockyard = -0.03 tooltip = industrial_capacity_dockyard_tt }
				}

			hidden_effect = {
				set_country_flag = ARG_german_loan_repaid_flag

			}
		}
	}

	ARG_loan_from_usa = {

		icon = GFX_decision_gre_paying_ifc_debt

		ai_will_do = {
			base = 40
		}
	
		allowed = {
			OR = {
				original_tag = ARG
				original_tag = BRA
			}
		}

		available = {
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			}
			USA = {
				has_opinion = {
					target = ROOT
					value > 49
				} 
			}
		} 

		visible = { 
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			}
			NOT = {
				has_country_flag = ARG_usa_loan_flag
			}
		}

		cost = 75
		
		days_remove = 70

		modifier = {
			consumer_goods_factor = 0.15
			political_power_factor = -0.1
		}

		remove_effect = {
				IF = {
					limit = {
						NOT = {
							has_dynamic_modifier = {
								modifier = ARG_international_loan_modifier
							}	
						}	
					}

					custom_effect_tooltip = ARG_international_loan_tt
					hidden_effect = {
					add_dynamic_modifier = {
						modifier = ARG_international_loan_modifier
					}

					set_variable = { ARG_loan_political_power_cost = 0.2 }
					set_variable = { ARG_loan_local_resources_factor = 0.05 }
					set_variable = { ARG_loan_production_speed_buildings_factor = 0.02 }
					set_variable = { ARG_loan_industrial_capacity_factory = 0.03 }
					set_variable = { ARG_loan_industrial_capacity_dockyard = 0.03 }

					}
				}

				ELSE_IF = {
					limit = {
						has_dynamic_modifier = {
							modifier = ARG_international_loan_modifier		
						}
					}
					custom_effect_tooltip = ARG_modify_international_loan_intro
						add_to_variable = { ARG_loan_political_power_cost = 0.2 tooltip = political_power_cost_tt }
						add_to_variable = { ARG_loan_local_resources_factor = 0.05 tooltip = local_resources_factor_tt }
						add_to_variable = { ARG_loan_production_speed_buildings_factor = 0.02 tooltip = production_speed_buildings_factor_tt }
						add_to_variable = { ARG_loan_industrial_capacity_factory = 0.03 tooltip = industrial_capacity_factory_tt }
						add_to_variable = { ARG_loan_industrial_capacity_dockyard = 0.03 tooltip = industrial_capacity_dockyard_tt }
				}

			hidden_effect = {
				set_country_flag = ARG_usa_loan_flag

			}
		}
	}

	ARG_pay_back_usa = {

		icon = GFX_decision_gre_paying_ifc_debt

		ai_will_do = {
			base = 40
		}
	
		allowed = {
			OR = {
				original_tag = ARG
				original_tag = BRA
			}
		}

		available = {
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			}
			#USA = {
			#	has_opinion = {
			#		target = ROOT
			#		value > 49
			#	} 
			#}
		} 

		visible = { 
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			} 
			has_country_flag = ARG_usa_loan_flag
			NOT = {
				has_country_flag = ARG_usa_loan_repaid_flag
			}
		}

		cost = 75
		
		days_remove = 70

		modifier = {
			consumer_goods_factor = 0.15
			political_power_factor = -0.1
		}

		remove_effect = {

				IF = {
					limit = {
						has_dynamic_modifier = {
							modifier = ARG_international_loan_modifier		
						}
					}
					custom_effect_tooltip = ARG_modify_international_loan_intro
						add_to_variable = { ARG_loan_political_power_cost = -0.2 tooltip = political_power_cost_tt }
						add_to_variable = { ARG_loan_local_resources_factor = -0.05 tooltip = local_resources_factor_tt }
						add_to_variable = { ARG_loan_production_speed_buildings_factor = -0.02 tooltip = production_speed_buildings_factor_tt }
						add_to_variable = { ARG_loan_industrial_capacity_factory = -0.03 tooltip = industrial_capacity_factory_tt }
						add_to_variable = { ARG_loan_industrial_capacity_dockyard = -0.03 tooltip = industrial_capacity_dockyard_tt }
				}

			hidden_effect = {
				set_country_flag = ARG_usa_loan_repaid_flag

			}
		}
	}

	ARG_loan_from_italy = {

		icon = GFX_decision_gre_paying_ifc_debt

		ai_will_do = {
			base = 40
		}
	
		allowed = {
			OR = {
				original_tag = ARG
				original_tag = BRA
			}
		}

		available = {
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			}
			ITA = {
				has_opinion = {
					target = ROOT
					value > 49
				} 
			}
		} 

		visible = { 
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			}
			NOT = {
				has_country_flag = ARG_italy_loan_flag
			}
		}

		cost = 75
		
		days_remove = 70

		modifier = {
			consumer_goods_factor = 0.15
			political_power_factor = -0.1
		}

		remove_effect = {
				IF = {
					limit = {
						NOT = {
							has_dynamic_modifier = {
								modifier = ARG_international_loan_modifier
							}	
						}	
					}

					custom_effect_tooltip = ARG_international_loan_tt
					hidden_effect = {
					add_dynamic_modifier = {
						modifier = ARG_international_loan_modifier
					}

					set_variable = { ARG_loan_political_power_cost = 0.2 }
					set_variable = { ARG_loan_local_resources_factor = 0.05 }
					set_variable = { ARG_loan_production_speed_buildings_factor = 0.02 }
					set_variable = { ARG_loan_industrial_capacity_factory = 0.03 }
					set_variable = { ARG_loan_industrial_capacity_dockyard = 0.03 }

					}
				}

				ELSE_IF = {
					limit = {
						has_dynamic_modifier = {
							modifier = ARG_international_loan_modifier		
						}
					}
					custom_effect_tooltip = ARG_modify_international_loan_intro
						add_to_variable = { ARG_loan_political_power_cost = 0.2 tooltip = political_power_cost_tt }
						add_to_variable = { ARG_loan_local_resources_factor = 0.05 tooltip = local_resources_factor_tt }
						add_to_variable = { ARG_loan_production_speed_buildings_factor = 0.02 tooltip = production_speed_buildings_factor_tt }
						add_to_variable = { ARG_loan_industrial_capacity_factory = 0.03 tooltip = industrial_capacity_factory_tt }
						add_to_variable = { ARG_loan_industrial_capacity_dockyard = 0.03 tooltip = industrial_capacity_dockyard_tt }
				}

			hidden_effect = {
				set_country_flag = ARG_italy_loan_flag

			}
		}
	}

	ARG_pay_back_italy = {

		icon = GFX_decision_gre_paying_ifc_debt

		ai_will_do = {
			base = 40
		}
	
		allowed = {
			OR = {
				original_tag = ARG
				original_tag = BRA
			}
		}

		available = {
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			}
			#ITA = {
			#	has_opinion = {
			#		target = ROOT
			#		value > 49
			#	} 
			#}
		} 

		visible = { 
			OR = {
				has_completed_focus = ARG_reach_out_to_the_great_powers
				has_completed_focus = BRA_reach_out_to_the_great_powers
			} 
			has_country_flag = ARG_italy_loan_flag
			NOT = {
				has_country_flag = ARG_italy_loan_repaid_flag
			}
		}

		cost = 75
		
		days_remove = 70

		modifier = {
			consumer_goods_factor = 0.15
			political_power_factor = -0.1
		}

		remove_effect = {

				IF = {
					limit = {
						has_dynamic_modifier = {
							modifier = ARG_international_loan_modifier		
						}
					}
					custom_effect_tooltip = ARG_modify_international_loan_intro
						add_to_variable = { ARG_loan_political_power_cost = -0.2 tooltip = political_power_cost_tt }
						add_to_variable = { ARG_loan_local_resources_factor = -0.05 tooltip = local_resources_factor_tt }
						add_to_variable = { ARG_loan_production_speed_buildings_factor = -0.02 tooltip = production_speed_buildings_factor_tt }
						add_to_variable = { ARG_loan_industrial_capacity_factory = -0.03 tooltip = industrial_capacity_factory_tt }
						add_to_variable = { ARG_loan_industrial_capacity_dockyard = -0.03 tooltip = industrial_capacity_dockyard_tt }
				}

			hidden_effect = {
				set_country_flag = ARG_italy_loan_repaid_flag

			}
		}
	}
}



prospect_for_resources = {
	
	# Exploit La Vaca Muerta
	ARG_exploit_la_vaca_muerta = { #512

		icon = oil 

		allowed = {

		}
		highlight_states = {
			highlight_state_targets = {
				state = 512
			}
		}
		available = {
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 4
			512 = {
				is_owned_and_controlled_by = ROOT
			}
			511 = {
				is_owned_and_controlled_by = ROOT
			}
			958 = {
				is_owned_and_controlled_by = ROOT
			}
			has_completed_focus = ARG_yacimientos_petroliferos_fiscales
		}

		visible = {
			512 = {
				is_owned_and_controlled_by = ROOT
			}
			511 = {
				is_owned_and_controlled_by = ROOT
			}
			958 = {
				is_owned_and_controlled_by = ROOT
			}
			
			NOT = {
				has_country_flag = drill_for_oil_in_vaca_muerta_done
			}

			original_tag = ARG

			has_completed_focus = ARG_yacimientos_petroliferos_fiscales
			
		}

		fire_only_once = yes

		cost = 50
		days_remove = 60

		modifier = {
			civilian_factory_use = 5
		}

		ai_will_do = {
			base = 10
			modifier = {  # Too low PP
				factor = 0.5
				has_political_power < 75
			}
			modifier = { #We have plenty of PP, avanti!
				factor = 3
				has_political_power > 200
			}
			modifier = { #Running out of the stuff, need more!
				factor = 5
				has_resources_in_country = {
					resource = oil
					amount < 1
				}
			}
		}

		remove_effect = {
			set_country_flag = drill_for_oil_in_vaca_muerta_done
			512 = {
				add_resource = {
					type = oil
					amount = 10
				}
			}
			511 = {
				add_resource = {
					type = oil
					amount = 3
				}
			}
			958 = {
				add_resource = {
					type = oil
					amount = 2
				}
			}
		}
	}

}

ARG_balancing_act_decisions = {
	
	ARG_appease_the_allies = {

		icon = GFX_decision_SWI_swiss_democratic_tradition_campaign

		ai_will_do = {
			base = 20
		}
	
		allowed = {
			original_tag = ARG
		}

		available = {
			has_completed_focus = ARG_balancing_act
		} 

		visible = { 
			has_completed_focus = ARG_balancing_act 
		}
		 
		cost = 100
		
		days_remove = 70

		modifier = {
			political_power_factor = -0.2
		}

		remove_effect = {
			USA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = large_increase
				}	
			}
			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = large_increase 
				}	
			}
			GER = {
				add_opinion_modifier = {
					target = ROOT
					modifier = medium_decrease
				}	
			}
			ITA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = medium_decrease 
				}	
			}

			add_equipment_subsidy = {
				cic = 1500
				equipment_type = small_plane_airframe
				seller_tags = { USA ENG } 
			}

			add_equipment_subsidy = {
				cic = 1500
				equipment_type = motorized_equipment
				seller_tags = { USA ENG } 
			}

			add_equipment_subsidy = {
				cic = 1500
				equipment_type = artillery_equipment
				seller_tags = { USA ENG } 
			}
		}
	}

	ARG_appease_the_axis = {

		icon = GFX_decision_ger_reichskommissariats

		ai_will_do = {
			base = 20
		}
	
		allowed = {
			original_tag = ARG
		}

		available = {
			has_completed_focus = ARG_balancing_act
		} 

		visible = { 
			has_completed_focus = ARG_balancing_act 
		}
		 
		cost = 100
		
		days_remove = 70

		modifier = {
			political_power_factor = -0.2
		}

		remove_effect = {
			GER = {
				add_opinion_modifier = {
					target = ROOT
					modifier = large_increase
				}	
			}
			ITA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = large_increase 
				}	
			}
			USA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = medium_decrease 
				}	
			}
			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = medium_decrease 
				}	
			}

			add_equipment_subsidy = {
				cic = 1500
				equipment_type = light_tank_chassis
				seller_tags = { ITA GER } 
			}

			add_equipment_subsidy = {
				cic = 1500
				equipment_type = medium_tank_chassis
				seller_tags = { ITA GER } 
			}

			add_equipment_subsidy = {
				cic = 1500
				equipment_type = infantry_equipment
				seller_tags = { ITA GER } 
			}
		}
	}
}

ARG_military_coup_decisions = {
	
	### MISSIONS ###

	ARG_military_coup_attempt = {

		priority = 100

		icon = generic_ignite_civil_war 

		available = {
			hidden_trigger = { always = no }
		}

		days_mission_timeout = 365

		fire_only_once = yes

		activation = {
			original_tag = ARG
			has_completed_focus = ARG_the_castillo_cabinet
			NOT = {
				has_government = fascism
			}
			NOT = { has_global_flag = military_coup_attempt_happened }
			NOT = { has_completed_focus = ARG_subdue_dissension }
		}

		visible = {
			tag = ARG
			NOT = {
				has_government = fascism
			}
			NOT = { has_global_flag = military_coup_attempt_happened }
			NOT = { has_completed_focus = ARG_subdue_dissension } 
			NOT = { has_completed_focus = ARG_march_to_la_casa_rosada } 
		}

		cancel_if_not_visible = yes

		is_good = no

		timeout_effect = {
			IF = {
				limit = {
					has_completed_focus = ARG_consolidating_power
				}
				country_event = ARG_political_events.9
			}
			ELSE_IF = {
				limit = {
					has_completed_focus = ARG_subdue_dissension
				}
				country_event = ARG_political_events.10
			}
			ELSE = {
				country_event = ARG_political_events.11
			}
		}
	}

	ARG_military_state_absorption_mission = {

			priority = 99
	
			icon = GFX_decision_eng_blackshirt_speech 
	
			available = {
				hidden_trigger = { always = no }
			}
	
			days_mission_timeout = 75
			days_re_enable = 1
	
			fire_only_once = no
	
			activation = {
				original_tag = ARG
				has_completed_focus = ARG_the_castillo_cabinet
				NOT = {
					has_government = fascism
				}
				NOT = { has_global_flag = military_coup_attempt_happened }
				NOT = { has_completed_focus = ARG_subdue_dissension }
				NOT = { has_completed_focus = ARG_march_to_la_casa_rosada }
			}
	
			visible = {
				tag = ARG 
				NOT = {
					has_government = fascism
				}
				NOT = { has_global_flag = military_coup_attempt_happened }
				NOT = { has_completed_focus = ARG_subdue_dissension } 
				NOT = { has_completed_focus = ARG_march_to_la_casa_rosada }  

			}
	
			cancel_if_not_visible = yes
	
			timeout_effect = {
				custom_effect_tooltip = ARG_military_state_absorption_timer_tt
	
				random_owned_state = {
					limit = {
						NOT = {
							OR = {
								has_dynamic_modifier = {
								modifier = ARG_military_owned_state
								}
								has_dynamic_modifier = {
									modifier = ARG_federal_intervention_modifier
								}
							}
						}

						NOT = { state = 278 }
					}

					add_dynamic_modifier = {
						modifier = ARG_military_owned_state
					}
				}
			}
		}

		### DECISIONS ###

		ARG_sanction_the_generals = {

			priority = 98

			icon = GFX_decision_eng_trade_unions_support

			ai_will_do = {
				base = 50
			}

			allowed = {
				original_tag = ARG
			}

			available = {
				has_completed_focus = ARG_the_castillo_cabinet
				NOT = { has_government = fascism }
				NOT = { has_global_flag = military_coup_attempt_happened }
				NOT = { has_completed_focus = ARG_subdue_dissension } 
				NOT = { has_completed_focus = ARG_march_to_la_casa_rosada } 
			}

			visible = {
				tag = ARG
				has_completed_focus = ARG_the_castillo_cabinet
				NOT = { has_government = fascism }
				NOT = { has_global_flag = military_coup_attempt_happened }
				NOT = { has_completed_focus = ARG_subdue_dissension } 
				NOT = { has_completed_focus = ARG_march_to_la_casa_rosada }   
			}

			days_remove = 50

			cost = 100

			complete_effect = {

			}

			modifier = {
				political_power_factor = -0.15
			}

			remove_effect = {

				add_popularity = {
					ideology = fascism
					popularity = -0.05
				}

				custom_effect_tooltip = CHL_skip_one_line_tt

				add_days_mission_timeout = {
				mission = ARG_military_coup_attempt
				days = 75
			}

			custom_effect_tooltip = ARG_sanction_the_generals_tt
		}
	}

	ARG_increase_military_salaries = {

			priority = 97

			icon = GFX_decision_eng_trade_unions_support 

			ai_will_do = {
				base = 50
			}

			allowed = {
				original_tag = ARG
			}

			available = {
				has_completed_focus = ARG_the_castillo_cabinet
				NOT = { has_government = fascism }
				NOT = { has_global_flag = military_coup_attempt_happened }
				NOT = { has_completed_focus = ARG_subdue_dissension } 
				NOT = { has_completed_focus = ARG_march_to_la_casa_rosada } 
			}

			visible = {
				tag = ARG
				has_completed_focus = ARG_the_castillo_cabinet
				NOT = { has_government = fascism }
				NOT = { has_global_flag = military_coup_attempt_happened }
				NOT = { has_completed_focus = ARG_subdue_dissension } 
				NOT = { has_completed_focus = ARG_march_to_la_casa_rosada }   
			}

			days_remove = 50

			cost = 50

			complete_effect = {

			}

			modifier = {
				consumer_goods_factor = 0.15
			}

			remove_effect = {

				add_popularity = {
					ideology = fascism
					popularity = -0.05
				}

				custom_effect_tooltip = CHL_skip_one_line_tt

				add_days_mission_timeout = {
				mission = ARG_military_coup_attempt
				days = 75
			}

			custom_effect_tooltip = ARG_sanction_the_generals_tt
		}
	}
}

ARG_south_american_unity_decisions = {
	
	ARG_core_conquered_state = {

		icon = GFX_decision_generic_form_nation

		ai_will_do = {
			base = 50
			modifier = {
				add = 50
				FROM = { state_population_k > 3000 }
			}
			modifier = {
				add = 50
				FROM = { state_population_k > 2000 }
			}
			modifier = {
				add = 50
				FROM = { state_population_k > 1000 }
			}
			modifier = {
				add = 50
				FROM = { state_population_k > 500 }
			}
			modifier = {
				add = 50
				FROM = { state_population_k > 300 }
			}
			modifier = {
				add = 50
				FROM = { state_population_k > 200 }
			}
			modifier = {
				add = 500
				FROM = { has_state_category = megalopolis }
			}
			modifier = {
				add = 500
				FROM = { has_state_category = metropolis }
			}
			modifier = {
				add = 150
				FROM = { has_state_category = large_city }
			}
			modifier = {
				add = 100
				FROM = { has_state_category = city }
			}
		}
	
		allowed = {
			original_tag = ARG
		}

		available = {

			OR = {
				has_completed_focus = ARG_south_american_unity
				has_completed_focus = ARG_integrate_the_motherland
			}
		} 

		visible = { 
			OR = {
				has_completed_focus = ARG_south_american_unity
				has_completed_focus = ARG_integrate_the_motherland
			} 
		}
		state_target = yes
		target_trigger = {
			FROM = {
				impassable = no	
				AND = {
					OR = {
						is_on_continent = south_america
						state = 948
					}
					is_owned_and_controlled_by = ROOT
				}
			}
		}

	    on_map_mode = map_and_decisions_view 
		cost = 75
		
		fire_only_once = yes
		days_remove = 35

		modifier = {
			political_power_factor = -0.15
		}

		remove_effect = {

			FROM = {
				add_core_of = ROOT
			}
		}
	}
}

ARG_island_negotiations_decisions = {
	
	ARG_peace_out = {

		icon = GFX_decision_eng_trade_unions_support

		ai_will_do = {
			base = 50
		}
	
		allowed = {
			original_tag = ARG
		}

		available = {
			has_completed_focus = ARG_argentine_island_sovereignty
			299 = { is_controlled_by = ARG }
			720 = { is_controlled_by = ARG }
		} 

		visible = { 
			has_completed_focus = ARG_argentine_island_sovereignty 
		}

	    on_map_mode = map_and_decisions_view 
		cost = 75
		
		fire_only_once = yes
		days_remove = 5

		modifier = {
			political_power_factor = -0.15
		}

		remove_effect = {

			ENG = {
				country_event = {
				id = ARG_political_events.32
				hours = 1
				}
			}
		}
	}

	ARG_england_demands_peace = {

		icon = GFX_decision_eng_propaganda_campaigns

		ai_will_do = {
			base = 50
		}
	
		allowed = {
			original_tag = ENG
		}

		available = {
			299 = { is_controlled_by = ARG }
			720 = { is_controlled_by = ARG }
		} 

		visible = { 
			ARG = {
				has_completed_focus = ARG_argentine_island_sovereignty
			}
		}

	    on_map_mode = map_and_decisions_view 
		cost = 100
		
		fire_only_once = yes
		days_remove = 5

		modifier = {
			political_power_factor = -0.15
		}

		remove_effect = {

			ARG = {
				country_event = {
				id = ARG_political_events.35
				hours = 1
				}
			}
		}
	}
}

#ARG_unite_the_workers_decisions = {
#	
#	ARG_instigate_worker_strike = {
#
#		icon = GFX_decision_gre_paying_ifc_debt
#
#		ai_will_do = {
#			base = 50
#		}
#	
#		allowed = {
#			original_tag = ARG
#		}
#
#		available = {
#			NOT = {
#				has_country_flag = ARG_uniting_workers_in_progress
#			}
#		} 
#
#		visible = { 
#			has_completed_focus = ARG_unite_the_workers_of_argentina 
#		}
#
#		state_target = yes
#
#		target_trigger = {
#			FROM = {
#		    	is_fully_controlled_by = ROOT
#		       	NOT = {
#		       		has_state_flag = ARG_united_workers
#		       	}
#		       	OR = {
#		       		state = 278
#	           		state = 956
#	           		state = 958
#	           		state = 511
#	           		state = 508
#		       	} 
#		    }
#		}
#
#	    on_map_mode = map_and_decisions_view 
#		cost = 50
#		
#		fire_only_once = yes
#		days_remove = 10
#
#		complete_effect = {
#			set_country_flag = ARG_uniting_workers_in_progress
#		}
#
#		remove_effect = {
#
#			FROM = {
#				set_state_flag = ARG_united_workers
#			}
#
#			random_list = {
#				# Bad Rally
#				35 = {
#					country_event = { id = ARG_political_events.50 days = 1 }
#					effect_tooltip = {
#						add_popularity = { ideology = communism popularity = #0.01 }
#						add_manpower = 1000
#					}
#				}
#				# Average Rally
#				50 = {
#					country_event = { id = ARG_political_events.51 days = 1 }
#					effect_tooltip = {
#						add_popularity = { ideology = communism popularity = #0.03 }
#						add_manpower = 2000
#					}
#				}
#				# Good Rally
#				15 = {
#					country_event = { id = ARG_political_events.52 days = 1 }
#					effect_tooltip = {
#						add_popularity = { ideology = communism popularity = #0.05 }
#						add_manpower = 3000
#					}
#				}
#			}	
#		}
#	}
#}

#ARG_support_the_farmers_decisions = {
#	
#	ARG_implement_rural_reforms = {
#		
#		icon = GFX_decision_POL_looming_peasants_strike
#		cost = 100
#		allowed = {
#			original_tag = ARG
#		}
#		available = {
#			has_completed_focus = ARG_support_the_farmers
#			NOT = { 
#				has_country_flag = ARG_implemented_rural_reforms
#			}
#		}
#		
#		visible = {
#			has_completed_focus = ARG_support_the_farmers
#		}
#
#		complete_effect = {
#			custom_effect_tooltip = SWE_implemented_rural_reforms_tt
#			add_stability = 0.05
#			hidden_effect = {
#				set_country_flag = ARG_implemented_rural_reforms
#				random_owned_state = {
#					limit = {
#						is_controlled_by = ROOT
#						OR = {
#							has_state_category = wasteland
#							has_state_category = pastoral
#							has_state_category = rural
#							has_state_category = town
#						}
#					}
#					add_building_construction = {
#						type = infrastructure
#						level = 1
#						instant_build = yes
#					}
#					add_extra_state_shared_building_slots = 1
#				}
#				random_owned_state = {
#					limit = {
#						is_controlled_by = ROOT
#						OR = {
#							has_state_category = wasteland
#							has_state_category = pastoral
#							has_state_category = rural
#							has_state_category = town
#						}
#					}
#					add_building_construction = {
#						type = infrastructure
#						level = 1
#						instant_build = yes
#					}
#					add_extra_state_shared_building_slots = 1
#				}
#				random_owned_state = {
#					limit = {
#						is_controlled_by = ROOT
#						OR = {
#							has_state_category = wasteland
#							has_state_category = pastoral
#							has_state_category = rural
#							has_state_category = town
#						}
#					}
#					add_building_construction = {
#						type = infrastructure
#						level = 1
#						instant_build = yes
#					}
#					add_extra_state_shared_building_slots = 1
#				}
#			}
#		}	
#}	}
#
