#	Example:
#
#	example_dynamic_modifier = {
#		icon = "GFX_idea_unknown" # optional, will show up in guis if icon is specified
#		enable = { always = yes } #optional, the modifier won't apply if not enabled
#		remove_trigger = { always = no } #optional, will remove the modifier if true
#       attacker_modifier = no  # if yes this modifier will also be read in combat for
#                               # people engaging in the combat even if not in the state
#
#		# list of modifiers
#		fuel_cost = 321
#		max_fuel = var_max_fuel # will be taken from a variable
#	}
#
#
#	In a script file:
#
#	effect = {
#		add_dynamic_modifier = {
#			modifier = example_dynamic_modifier
#			scope = GER # optional, if you specify this your dynamic modifier scoped to this scope (root is the effect scope)
#			days = 14 # optional, will be removed after this many days passes
#		}
#	}
#
#	can be added to countries, states or unit leaders
#	will only updated daily, unless forced by force_update_dynamic_modifier effect


###### COUNTRY MODIFIERS

#The Chilean Army
CHL_army_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }

	icon = GFX_idea_CHL_ejercito_de_chile

	experience_gain_army_factor = JUNO_army_modifier_experience_gain_army_factor
	experience_loss_factor = JUNO_army_modifier_experience_loss_factor
	experience_gain_army = JUNO_army_modifier_experience_gain_army
	production_speed_arms_factory_factor = JUNO_army_production_speed_arms_factory_factor
	army_org_factor = JUNO_army_modifier_army_org_factor
	operative_slot = JUNO_army_operative_slot
	supply_combat_penalties_on_core_factor = JUNO_supply_combat_penalties_on_core_factor
	production_speed_supply_node_factor = JUNO_modifier_production_speed_supply_node_factor
	army_core_defence_factor = JUNO_army_modifier_army_core_defence_factor
	army_armor_defence_factor = JUNO_army_modifier_army_armor_defence_factor
	army_armor_attack_factor = JUNO_army_modifier_army_armor_attack_factor
	army_attack_speed_factor = JUNO_army_modifier_army_attack_speed_factor
	army_artillery_attack_factor = JUNO_army_modifier_army_artillery_attack_factor
	army_artillery_defence_factor = JUNO_army_modifier_army_artillery_defence_factor
	production_speed_anti_air_building_factor = JUNO_army_modifier_production_speed_anti_air_building_factor
	conscription_factor = JUNO_army_modifier_conscription_factor
	training_time_factor = JUNO_army_modifier_training_time_factor
	conscription = JUNO_army_modifier_conscription
	army_defence_factor = JUNO_army_modifier_army_defence_factor
	army_attack_factor = JUNO_army_modifier_army_attack_factor
	special_forces_cap = JUNO_army_modifier_special_forces_cap
	industrial_capacity_factory = JUNO_army_modifier_industrial_capacity_factory
	special_forces_out_of_supply_factor = JUNO_army_modifier_special_forces_out_of_supply_factor
	extra_marine_supply_grace = JUNO_army_modifier_extra_marine_supply_grace
	max_planning_factor = JUNO_army_modifier_max_planning_factor
	planning_speed = JUNO_army_modifier_planning_speed_factor
	max_command_power_mult = JUNO_army_modifier_max_command_power_mult
	command_power_gain_mult = JUNO_army_modifier_command_power_gain_mult
	acclimatization_cold_climate_gain_factor = JUNO_army_modifier_acclimatization_cold_climate_gain_factor
	acclimatization_hot_climate_gain_factor = JUNO_army_modifier_acclimatization_hot_climate_gain_factor
}

#The Brazilian Army
BRA_army_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }

	icon = GFX_idea_BRA_army

	experience_gain_army_factor = JUNO_army_modifier_experience_gain_army_factor
	experience_loss_factor = JUNO_army_modifier_experience_loss_factor
	experience_gain_army = JUNO_army_modifier_experience_gain_army
	production_speed_arms_factory_factor = JUNO_army_production_speed_arms_factory_factor
	army_org_factor = JUNO_army_modifier_army_org_factor
	operative_slot = JUNO_army_operative_slot
	supply_combat_penalties_on_core_factor = JUNO_supply_combat_penalties_on_core_factor
	production_speed_supply_node_factor = JUNO_modifier_production_speed_supply_node_factor
	army_core_defence_factor = JUNO_army_modifier_army_core_defence_factor
	army_armor_defence_factor = JUNO_army_modifier_army_armor_defence_factor
	army_armor_attack_factor = JUNO_army_modifier_army_armor_attack_factor
	army_attack_speed_factor = JUNO_army_modifier_army_attack_speed_factor
	army_artillery_attack_factor = JUNO_army_modifier_army_artillery_attack_factor
	army_artillery_defence_factor = JUNO_army_modifier_army_artillery_defence_factor
	production_speed_anti_air_building_factor = JUNO_army_modifier_production_speed_anti_air_building_factor
	conscription_factor = JUNO_army_modifier_conscription_factor
	training_time_factor = JUNO_army_modifier_training_time_factor
	conscription = JUNO_army_modifier_conscription
	army_defence_factor = JUNO_army_modifier_army_defence_factor
	army_attack_factor = JUNO_army_modifier_army_attack_factor
	special_forces_cap = JUNO_army_modifier_special_forces_cap
	industrial_capacity_factory = JUNO_army_modifier_industrial_capacity_factory
	special_forces_out_of_supply_factor = JUNO_army_modifier_special_forces_out_of_supply_factor
	extra_marine_supply_grace = JUNO_army_modifier_extra_marine_supply_grace
	max_planning_factor = JUNO_army_modifier_max_planning_factor
	planning_speed = JUNO_army_modifier_planning_speed_factor
	max_command_power_mult = JUNO_army_modifier_max_command_power_mult
	command_power_gain_mult = JUNO_army_modifier_command_power_gain_mult
	acclimatization_cold_climate_gain_factor = JUNO_army_modifier_acclimatization_cold_climate_gain_factor
	acclimatization_hot_climate_gain_factor = JUNO_army_modifier_acclimatization_hot_climate_gain_factor
}

# The Argentine Army
ARG_army_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }

	icon = GFX_idea_ARG_army

	experience_gain_army_factor = JUNO_army_modifier_experience_gain_army_factor
	experience_loss_factor = JUNO_army_modifier_experience_loss_factor
	experience_gain_army = JUNO_army_modifier_experience_gain_army
	production_speed_arms_factory_factor = JUNO_army_production_speed_arms_factory_factor
	army_org_factor = JUNO_army_modifier_army_org_factor
	operative_slot = JUNO_army_operative_slot
	supply_combat_penalties_on_core_factor = JUNO_supply_combat_penalties_on_core_factor
	production_speed_supply_node_factor = JUNO_modifier_production_speed_supply_node_factor
	army_core_defence_factor = JUNO_army_modifier_army_core_defence_factor
	army_armor_defence_factor = JUNO_army_modifier_army_armor_defence_factor
	army_armor_attack_factor = JUNO_army_modifier_army_armor_attack_factor
	army_attack_speed_factor = JUNO_army_modifier_army_attack_speed_factor
	army_artillery_attack_factor = JUNO_army_modifier_army_artillery_attack_factor
	army_artillery_defence_factor = JUNO_army_modifier_army_artillery_defence_factor
	production_speed_anti_air_building_factor = JUNO_army_modifier_production_speed_anti_air_building_factor
	conscription_factor = JUNO_army_modifier_conscription_factor
	training_time_factor = JUNO_army_modifier_training_time_factor
	conscription = JUNO_army_modifier_conscription
	army_defence_factor = JUNO_army_modifier_army_defence_factor
	army_attack_factor = JUNO_army_modifier_army_attack_factor
	special_forces_cap = JUNO_army_modifier_special_forces_cap
	industrial_capacity_factory = JUNO_army_modifier_industrial_capacity_factory
	special_forces_out_of_supply_factor = JUNO_army_modifier_special_forces_out_of_supply_factor
	extra_marine_supply_grace = JUNO_army_modifier_extra_marine_supply_grace
	max_planning_factor = JUNO_army_modifier_max_planning_factor
	planning_speed = JUNO_army_modifier_planning_speed_factor
	max_command_power_mult = JUNO_army_modifier_max_command_power_mult
	command_power_gain_mult = JUNO_army_modifier_command_power_gain_mult
	acclimatization_cold_climate_gain_factor = JUNO_army_modifier_acclimatization_cold_climate_gain_factor
	acclimatization_hot_climate_gain_factor = JUNO_army_modifier_acclimatization_hot_climate_gain_factor
}

# Other South American Armies
south_american_army_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }

	icon = GFX_idea_MEX_politicised_army_2

	experience_gain_army_factor = JUNO_army_modifier_experience_gain_army_factor
	experience_loss_factor = JUNO_army_modifier_experience_loss_factor
	experience_gain_army = JUNO_army_modifier_experience_gain_army
	production_speed_arms_factory_factor = JUNO_army_production_speed_arms_factory_factor
	army_org_factor = JUNO_army_modifier_army_org_factor
	operative_slot = JUNO_army_operative_slot
	supply_combat_penalties_on_core_factor = JUNO_supply_combat_penalties_on_core_factor
	production_speed_supply_node_factor = JUNO_modifier_production_speed_supply_node_factor
	army_core_defence_factor = JUNO_army_modifier_army_core_defence_factor
	army_armor_defence_factor = JUNO_army_modifier_army_armor_defence_factor
	army_armor_attack_factor = JUNO_army_modifier_army_armor_attack_factor
	army_attack_speed_factor = JUNO_army_modifier_army_attack_speed_factor
	army_artillery_attack_factor = JUNO_army_modifier_army_artillery_attack_factor
	army_artillery_defence_factor = JUNO_army_modifier_army_artillery_defence_factor
	production_speed_anti_air_building_factor = JUNO_army_modifier_production_speed_anti_air_building_factor
	conscription_factor = JUNO_army_modifier_conscription_factor
	training_time_factor = JUNO_army_modifier_training_time_factor
	conscription = JUNO_army_modifier_conscription
	army_defence_factor = JUNO_army_modifier_army_defence_factor
	army_attack_factor = JUNO_army_modifier_army_attack_factor
	special_forces_cap = JUNO_army_modifier_special_forces_cap
	industrial_capacity_factory = JUNO_army_modifier_industrial_capacity_factory
	special_forces_out_of_supply_factor = JUNO_army_modifier_special_forces_out_of_supply_factor
	extra_marine_supply_grace = JUNO_army_modifier_extra_marine_supply_grace
	max_planning_factor = JUNO_army_modifier_max_planning_factor
	planning_speed = JUNO_army_modifier_planning_speed_factor
	max_command_power_mult = JUNO_army_modifier_max_command_power_mult
	command_power_gain_mult = JUNO_army_modifier_command_power_gain_mult
	acclimatization_cold_climate_gain_factor = JUNO_army_modifier_acclimatization_cold_climate_gain_factor
	acclimatization_hot_climate_gain_factor = JUNO_army_modifier_acclimatization_hot_climate_gain_factor
}

# Air Modifiers

#The Chilean Airforce
CHL_airforce_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }

	icon = GFX_idea_CHL_fuerza_aerea_de_chile

	air_doctrine_cost_factor =  JUNO_airforce_modifier_air_doctrine_cost_factor
	air_ace_generation_chance_factor = JUNO_airforce_modifier_air_ace_generation_chance_factor
	air_range_factor = JUNO_airforce_modifier_air_range_factor
	air_superiority_efficiency = JUNO_airforce_modifier_air_superiority_efficiency
	air_intercept_efficiency = JUNO_airforce_modifier_air_intercept_efficiency
	air_mission_xp_gain_factor = JUNO_airforce_modifier_air_mission_xp_gain_factor
	air_agility_factor = JUNO_airforce_modifier_air_agility_factor
	ground_attack_factor = JUNO_airforce_modifier_ground_attack_factor
	experience_gain_air = JUNO_airforce_modifier_experience_gain_air
	industrial_capacity_factory = JUNO_army_modifier_industrial_capacity_factory_airfoce
	conscription_factor = JUNO_airforce_modifier_conscription_factor
	air_strategic_bomber_bombing_factor = JUNO_airforce_modifier_air_strategic_bomber_bombing_factor
	air_cas_present_factor = JUNO_airforce_modifier_air_cas_present_factor
	#ground_attack_factor = JUNO_airforce_modifier_ground_attack_factor
	air_defence_factor = JUNO_airforce_modifier_air_defence_factor
}

#The Brazilian Airforce
BRA_airforce_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }

	icon = GFX_idea_BRA_air_force

	air_doctrine_cost_factor =  JUNO_airforce_modifier_air_doctrine_cost_factor
	air_ace_generation_chance_factor = JUNO_airforce_modifier_air_ace_generation_chance_factor
	air_range_factor = JUNO_airforce_modifier_air_range_factor
	air_superiority_efficiency = JUNO_airforce_modifier_air_superiority_efficiency
	air_intercept_efficiency = JUNO_airforce_modifier_air_intercept_efficiency
	air_mission_xp_gain_factor = JUNO_airforce_modifier_air_mission_xp_gain_factor
	air_agility_factor = JUNO_airforce_modifier_air_agility_factor
	ground_attack_factor = JUNO_airforce_modifier_ground_attack_factor
	experience_gain_air = JUNO_airforce_modifier_experience_gain_air
	industrial_capacity_factory = JUNO_army_modifier_industrial_capacity_factory_airfoce
	conscription_factor = JUNO_airforce_modifier_conscription_factor
	air_strategic_bomber_bombing_factor = JUNO_airforce_modifier_air_strategic_bomber_bombing_factor
	air_cas_present_factor = JUNO_airforce_modifier_air_cas_present_factor
	#ground_attack_factor = JUNO_airforce_modifier_ground_attack_factor
	air_defence_factor = JUNO_airforce_modifier_air_defence_factor
}

# The Argentine Airforce
ARG_airforce_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }

	icon = GFX_idea_ARG_air_force

	air_doctrine_cost_factor =  JUNO_airforce_modifier_air_doctrine_cost_factor
	air_ace_generation_chance_factor = JUNO_airforce_modifier_air_ace_generation_chance_factor
	air_range_factor = JUNO_airforce_modifier_air_range_factor
	air_superiority_efficiency = JUNO_airforce_modifier_air_superiority_efficiency
	air_intercept_efficiency = JUNO_airforce_modifier_air_intercept_efficiency
	air_mission_xp_gain_factor = JUNO_airforce_modifier_air_mission_xp_gain_factor
	air_agility_factor = JUNO_airforce_modifier_air_agility_factor
	ground_attack_factor = JUNO_airforce_modifier_ground_attack_factor
	experience_gain_air = JUNO_airforce_modifier_experience_gain_air
	industrial_capacity_factory = JUNO_army_modifier_industrial_capacity_factory_airfoce
	conscription_factor = JUNO_airforce_modifier_conscription_factor
	air_strategic_bomber_bombing_factor = JUNO_airforce_modifier_air_strategic_bomber_bombing_factor
	air_cas_present_factor = JUNO_airforce_modifier_air_cas_present_factor
	#ground_attack_factor = JUNO_airforce_modifier_ground_attack_factor
	air_defence_factor = JUNO_airforce_modifier_air_defence_factor
}

# Other South American Airforces
south_american_airforce_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }

	icon = GFX_idea_generic_air_bonus

	air_doctrine_cost_factor =  JUNO_airforce_modifier_air_doctrine_cost_factor
	air_ace_generation_chance_factor = JUNO_airforce_modifier_air_ace_generation_chance_factor
	air_range_factor = JUNO_airforce_modifier_air_range_factor
	air_superiority_efficiency = JUNO_airforce_modifier_air_superiority_efficiency
	air_intercept_efficiency = JUNO_airforce_modifier_air_intercept_efficiency
	air_mission_xp_gain_factor = JUNO_airforce_modifier_air_mission_xp_gain_factor
	air_agility_factor = JUNO_airforce_modifier_air_agility_factor
	ground_attack_factor = JUNO_airforce_modifier_ground_attack_factor
	experience_gain_air = JUNO_airforce_modifier_experience_gain_air
	industrial_capacity_factory = JUNO_army_modifier_industrial_capacity_factory_airfoce
	conscription_factor = JUNO_airforce_modifier_conscription_factor
	air_strategic_bomber_bombing_factor = JUNO_airforce_modifier_air_strategic_bomber_bombing_factor
	air_cas_present_factor = JUNO_airforce_modifier_air_cas_present_factor
	#ground_attack_factor = JUNO_airforce_modifier_ground_attack_factor
	air_defence_factor = JUNO_airforce_modifier_air_defence_factor
}

### Navy Modifiers ###

#The Chilean Navy
CHL_navy_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }

	icon = GFX_idea_CHL_armada_de_chile

	experience_gain_navy = JUNO_navy_experience_gain_navy_factor 
	mines_planting_by_fleets_factor = JUNO_navy_mines_planting_by_fleets_factor
	navy_anti_air_attack_factor = JUNO_navy_navy_anti_air_attack_factor
	navy_spirit_category_type_cost_factor = JUNO_navy_navy_spirit_category_type_cost_factor
	convoy_retreat_speed = JUNO_navy_convoy_retreat_speed
	refit_speed = JUNO_navy_refit_speed
	spotting_chance = JUNO_navy_spotting_chance
	repair_speed_factor = JUNO_navy_repair_speed_factor
	production_speed_dockyard_factor = JUNO_navy_production_speed_dockyard_factor
	industrial_capacity_dockyard = JUNO_navy_industrial_capacity_dockyard
	extra_marine_supply_grace = JUNO_navy_extra_marine_supply_grace
	naval_invasion_capacity = JUNO_navy_naval_invasion_capacity
	naval_mines_effect_reduction = JUNO_navy_naval_mines_effect_reduction
	experience_gain_navy_unit_factor = JUNO_navy_experience_gain_navy_unit_factor
	naval_coordination = JUNO_navy_naval_coordination
	naval_equipment_upgrade_xp_cost = JUNO_navy_naval_equipment_upgrade_xp_cost
	naval_morale_factor = JUNO_naval_morale_factor
	screening_efficiency =	JUNO_screening_efficiency
	convoy_escort_efficiency =	JUNO_convoy_escort_efficiency		
	navy_capital_ship_defence_factor =	JUNO_navy_capital_ship_defence_factor  
	naval_accidents_chance = JUNO_naval_accidents_chance
	navy_screen_defence_factor = JUNO_navy_screen_defence_factor
	production_speed_coastal_bunker_factor = JUNO_modifier_production_speed_coastal_bunker_factor

}

#The Brazilian Navy
BRA_navy_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }

	icon = GFX_idea_BRA_navy

	experience_gain_navy = JUNO_navy_experience_gain_navy_factor 
	mines_planting_by_fleets_factor = JUNO_navy_mines_planting_by_fleets_factor
	navy_anti_air_attack_factor = JUNO_navy_navy_anti_air_attack_factor
	navy_spirit_category_type_cost_factor = JUNO_navy_navy_spirit_category_type_cost_factor
	convoy_retreat_speed = JUNO_navy_convoy_retreat_speed
	refit_speed = JUNO_navy_refit_speed
	spotting_chance = JUNO_navy_spotting_chance
	repair_speed_factor = JUNO_navy_repair_speed_factor
	production_speed_dockyard_factor = JUNO_navy_production_speed_dockyard_factor
	industrial_capacity_dockyard = JUNO_navy_industrial_capacity_dockyard
	extra_marine_supply_grace = JUNO_navy_extra_marine_supply_grace
	naval_invasion_capacity = JUNO_navy_naval_invasion_capacity
	naval_mines_effect_reduction = JUNO_navy_naval_mines_effect_reduction
	experience_gain_navy_unit_factor = JUNO_navy_experience_gain_navy_unit_factor
	naval_coordination = JUNO_navy_naval_coordination
	naval_equipment_upgrade_xp_cost = JUNO_navy_naval_equipment_upgrade_xp_cost
	naval_morale_factor = JUNO_naval_morale_factor
	screening_efficiency =	JUNO_screening_efficiency
	convoy_escort_efficiency =	JUNO_convoy_escort_efficiency		
	navy_capital_ship_defence_factor =	JUNO_navy_capital_ship_defence_factor  
	naval_accidents_chance = JUNO_naval_accidents_chance
	navy_screen_defence_factor = JUNO_navy_screen_defence_factor
	production_speed_coastal_bunker_factor = JUNO_modifier_production_speed_coastal_bunker_factor
}

# The Argentine Navy
ARG_navy_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }

	icon = GFX_idea_ARG_navy

	experience_gain_navy = JUNO_navy_experience_gain_navy_factor 
	mines_planting_by_fleets_factor = JUNO_navy_mines_planting_by_fleets_factor
	navy_anti_air_attack_factor = JUNO_navy_navy_anti_air_attack_factor
	navy_spirit_category_type_cost_factor = JUNO_navy_navy_spirit_category_type_cost_factor
	convoy_retreat_speed = JUNO_navy_convoy_retreat_speed
	refit_speed = JUNO_navy_refit_speed
	spotting_chance = JUNO_navy_spotting_chance
	repair_speed_factor = JUNO_navy_repair_speed_factor
	production_speed_dockyard_factor = JUNO_navy_production_speed_dockyard_factor
	industrial_capacity_dockyard = JUNO_navy_industrial_capacity_dockyard
	extra_marine_supply_grace = JUNO_navy_extra_marine_supply_grace
	naval_invasion_capacity = JUNO_navy_naval_invasion_capacity
	naval_mines_effect_reduction = JUNO_navy_naval_mines_effect_reduction
	experience_gain_navy_unit_factor = JUNO_navy_experience_gain_navy_unit_factor
	naval_coordination = JUNO_navy_naval_coordination
	naval_equipment_upgrade_xp_cost = JUNO_navy_naval_equipment_upgrade_xp_cost
	naval_morale_factor = JUNO_naval_morale_factor
	screening_efficiency =	JUNO_screening_efficiency
	convoy_escort_efficiency =	JUNO_convoy_escort_efficiency		
	navy_capital_ship_defence_factor =	JUNO_navy_capital_ship_defence_factor  
	naval_accidents_chance = JUNO_naval_accidents_chance
	navy_screen_defence_factor = JUNO_navy_screen_defence_factor
	#production_speed_bunker_factor = JUNO_modifier_production_speed_bunker_factor
	production_speed_coastal_bunker_factor = JUNO_modifier_production_speed_coastal_bunker_factor
}

# Other South American Navy
south_american_navy_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }

	icon = GFX_idea_generic_navy_bonus

	experience_gain_navy = JUNO_navy_experience_gain_navy_factor 
	mines_planting_by_fleets_factor = JUNO_navy_mines_planting_by_fleets_factor
	navy_anti_air_attack_factor = JUNO_navy_navy_anti_air_attack_factor
	navy_spirit_category_type_cost_factor = JUNO_navy_navy_spirit_category_type_cost_factor
	convoy_retreat_speed = JUNO_navy_convoy_retreat_speed
	refit_speed = JUNO_navy_refit_speed
	spotting_chance = JUNO_navy_spotting_chance
	repair_speed_factor = JUNO_navy_repair_speed_factor
	production_speed_dockyard_factor = JUNO_navy_production_speed_dockyard_factor
	industrial_capacity_dockyard = JUNO_navy_industrial_capacity_dockyard
	extra_marine_supply_grace = JUNO_navy_extra_marine_supply_grace
	naval_invasion_capacity = JUNO_navy_naval_invasion_capacity
	naval_mines_effect_reduction = JUNO_navy_naval_mines_effect_reduction
	experience_gain_navy_unit_factor = JUNO_navy_experience_gain_navy_unit_factor
	naval_coordination = JUNO_navy_naval_coordination
	naval_equipment_upgrade_xp_cost = JUNO_navy_naval_equipment_upgrade_xp_cost
	naval_morale_factor = JUNO_naval_morale_factor
	screening_efficiency =	JUNO_screening_efficiency
	convoy_escort_efficiency =	JUNO_convoy_escort_efficiency		
	navy_capital_ship_defence_factor =	JUNO_navy_capital_ship_defence_factor  
	naval_accidents_chance = JUNO_naval_accidents_chance
	navy_screen_defence_factor = JUNO_navy_screen_defence_factor
	production_speed_coastal_bunker_factor = JUNO_modifier_production_speed_coastal_bunker_factor
}

### POLITICAL MODIFIERS ###

CHL_mapuche_nationalism_dynamic_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }
	icon = GFX_idea_CHL_mapuche_nationalism_dynamic_modifier
	stability_factor = CHL_mapuche_nationalism_stability_factor
	production_speed_buildings_factor = CHL_mapuche_nationalism_production_speed_buildings_factor
	war_support_factor = CHL_mapuche_nationalism_war_support_factor
	conscription_factor = CHL_mapuche_nationalism_recruitable_population_factor
	consumer_goods_factor = CHL_mapuche_nationalism_consumer_goods_factor
	political_power_factor = CHL_mapuche_nationalism_political_power_factor
	industrial_capacity_dockyard = CHL_mapuche_nationalism_industrial_capacity_dockyard
	industrial_capacity_factory = CHL_mapuche_nationalism_industrial_capacity_factory
	research_speed_factor = CHL_mapuche_nationalism_research_speed_factor
	army_core_defence_factor = CHL_mapuche_nationalism_army_core_defence_factor
	compliance_gain = CHL_mapuche_nationalism_modifier_compliance_gain
	resistance_target_on_our_occupied_states = CHL_mapuche_nationalism_resistance_target_on_our_occupied_states
	army_org_factor = CHL_mapuche_nationalism_army_org_factor
	army_morale_factor = CHL_mapuche_nationalism_army_morale_factor
}

### Economic Modifiers ###

#The Chilean Economy
CHL_chilean_economy_dynamic_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }

	icon = GFX_idea_CHL_chilean_economy

	stability_factor = CHL_economy_stability_factor
	consumer_goods_factor = CHL_economy_consumer_goods_factor
	production_speed_buildings_factor = CHL_economy_production_speed_buildings_factor
	local_resources_factor = CHL_economy_local_resources_factor
	industrial_capacity_dockyard = CHL_economy_industrial_capacity_dockyard
	industrial_capacity_factory = CHL_economy_industrial_capacity_factory
	political_advisor_cost_factor = CHL_economy_political_advisor_cost_factor
	min_export = CHL_economy_min_export_factor
}

BRA_undiversified_economy_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }
	icon = GFX_idea_great_depression
	production_factory_efficiency_gain_factor = BRA_economy_production_efficiency_gain_factor
	production_factory_max_efficiency_factor = BRA_economy_production_max_efficiency_factor
	industrial_capacity_factory = BRA_economy_industrial_capacity_factor
}

BRA_weak_government = { #NATIONAL SPIRIT
	enable = { always = yes }
	icon = GFX_idea_FRA_scw_intervention_republicans_focus
	stability_factor = BRA_weak_government_stability_factor
	political_power_factor = BRA_weak_government_pp_factor
	neutrality_drift = BRA_weak_government_neutrality_factor
	command_power_gain_mult = BRA_weak_government_command_power_factor
}

BRA_aftermath_of_the_coup = { #NATIONAL SPIRIT
	enable = { always = yes }
	icon = GFX_idea_trotskyite_plot
	stability_factor = BRA_coup_stability_factor
	communism_drift = BRA_coup_communism_factor
	democratic_drift = BRA_coup_democratic_factor
	fascism_drift = BRA_coup_fascism_factor
	neutrality_drift = BRA_coup_neutrality_factor
}

BRA_estado_novo_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }
	icon = GFX_idea_BRA_estado_novo
	stability_factor = BRA_estado_novo_stability_factor
	neutrality_drift = BRA_estado_novo_neutrality_factor
	communism_drift = BRA_estado_novo_communism_factor
	democratic_drift = BRA_estado_novo_democratic_factor
	fascism_drift = BRA_estado_novo_fascism_factor
	production_speed_buildings_factor = BRA_estado_novo_production_speed_buildings_factor
	war_support_factor = BRA_estado_novo_war_support_factor
	conscription_factor = BRA_estado_novo_recruitable_population_factor
	consumer_goods_factor = BRA_estado_novo_consumer_goods_factor
	political_power_factor = BRA_estado_novo_political_power_factor
	production_factory_max_efficiency_factor = BRA_estado_novo_production_factory_max_efficiency_factor
	industrial_capacity_factory = BRA_estado_novo_industrial_capacity_factory
	industrial_capacity_dockyard = BRA_estado_novo_industrial_capacity_dockyard
	production_speed_arms_factory_factor = BRA_estado_novo_production_speed_arms_factory_factor
	production_speed_dockyard_factor = BRA_estado_novo_production_speed_dockyard_factor
	production_speed_industrial_complex_factor = BRA_estado_novo_production_speed_industrial_complex_factor
}

BRA_estado_moderno_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }
	icon = GFX_idea_BRA_estado_moderno
	stability_factor = BRA_estado_moderno_stability_factor
	neutrality_drift = BRA_estado_moderno_neutrality_factor
	communism_drift = BRA_estado_moderno_communism_factor
	democratic_drift = BRA_estado_moderno_democratic_factor
	fascism_drift = BRA_estado_moderno_fascism_factor
	production_speed_buildings_factor = BRA_estado_moderno_production_speed_buildings_factor
	war_support_factor = BRA_estado_moderno_war_support_factor
	conscription_factor = BRA_estado_moderno_recruitable_population_factor
	consumer_goods_factor = BRA_estado_moderno_consumer_goods_factor
	political_power_factor = BRA_estado_moderno_political_power_factor
	production_factory_max_efficiency_factor = BRA_estado_moderno_production_factory_max_efficiency_factor
	industrial_capacity_factory = BRA_estado_moderno_industrial_capacity_factory
	industrial_capacity_dockyard = BRA_estado_moderno_industrial_capacity_dockyard
	production_speed_arms_factory_factor = BRA_estado_moderno_production_speed_arms_factory_factor
	production_speed_dockyard_factor = BRA_estado_moderno_production_speed_dockyard_factor
	production_speed_industrial_complex_factor = BRA_estado_moderno_production_speed_industrial_complex_factor
}

ARG_political_corruption_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }
	icon = GFX_idea_ARG_political_corruption_modifier 
	political_power_factor = ARG_corruption_political_power_factor
	production_factory_max_efficiency_factor = ARG_corruption_production_factory_max_efficiency_factor
	production_speed_buildings_factor = ARG_corruption_production_speed_buildings_factor
	war_support_factor = ARG_corruption_war_support_factor
}

ARG_corruption_crackdown_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }
	icon = GFX_idea_great_depression 
	stability_factor = ARG_corruption_crackdown_stability_factor
	production_factory_max_efficiency_factor = ARG_corruption_crackdown_production_factory_max_efficiency_factor
	neutrality_drift = ARG_corruption_crackdown_neutrality_factor
	fascism_drift = ARG_corruption_crackdown_fascism_factor
	war_support_factor = ARG_corruption_crackdown_war_support_factor
}

ARG_anti_corruption_modifier = { #NATIONAL SPIRIT
	enable = { always = yes }
	icon = GFX_idea_great_depression 
	stability_factor = ARG_anti_corruption_stability_factor
	production_factory_max_efficiency_factor = ARG_anti_corruption_production_factory_max_efficiency_factor
	neutrality_drift = ARG_anti_corruption_neutrality_factor
	democratic_drift = ARG_anti_corruption_democratic_factor
	war_support_factor = ARG_anti_corruption_war_support_factor
}

ARG_international_loan_modifier = {
	enable = { always = yes }
	icon = GFX_idea_NOR_printing_money
	political_power_cost = ARG_loan_political_power_cost
	local_resources_factor = ARG_loan_local_resources_factor
	production_speed_buildings_factor = ARG_loan_production_speed_buildings_factor
	industrial_capacity_factory = ARG_loan_industrial_capacity_factory
	industrial_capacity_dockyard = ARG_loan_industrial_capacity_dockyard
}

ARG_growing_nationalism_modifier = {
	enable = { always = yes }
	icon = GFX_idea_ARG_growing_nationalism_modifier
	fascism_drift = ARG_growing_nationalism_fascism_drift
	conscription_factor = ARG_growing_nationalism_recruitable_population_factor
	stability_factor = ARG_growing_nationalism_stability_factor
	war_support_factor = ARG_growing_nationalism_war_support_factor
	democratic_drift = ARG_growing_nationalism_democratic_drift
	political_power_factor = ARG_growing_nationalism_political_power_factor
}

###### STATE MODIFIERS #####

BRA_neglected_state_dynamic_modifier = { #STATE MODIFIER
	enable = { always = yes }
	icon = GFX_modifiers_BRA_neglected_state
	state_production_speed_buildings_factor = BRA_state_development_production_speed # $MODIFIER_STATE_PRODUCTION_SPEED_BUILDINGS_FACTOR$
	local_building_slots_factor = BRA_state_development_local_building_slots_factor # $MODIFIER_LOCAL_BUILDING_SLOTS$
	# Later
	local_factories = BRA_state_development_local_factories
	state_resources_factor = BRA_state_development_state_resources_factor
	remove_trigger = {
		NOT = { OWNER = { original_tag = BRA } }
	}
}

BRA_growing_state_dynamic_modifier = {
	enable = { always = yes }
	icon = GFX_modifiers_ETH_state_development
	state_production_speed_buildings_factor = BRA_state_development_production_speed # $MODIFIER_STATE_PRODUCTION_SPEED_BUILDINGS_FACTOR$
	local_building_slots_factor = BRA_state_development_local_building_slots_factor # $MODIFIER_LOCAL_BUILDING_SLOTS$
	# Later
	local_factories = BRA_state_development_local_factories
	state_resources_factor = BRA_state_development_state_resources_factor
}

CHL_public_works_modifier = {
	enable = { always = yes }
	icon = GFX_modifiers_SOV_civilian_labor_in_defense

	state_production_speed_infrastructure_factor = 0.15
	state_production_speed_buildings_factor = 0.1
}

CHL_protecting_mapuche_lands_modifier = {
	enable = { always = yes }
	icon = GFX_modifiers_demilitarize_zone

	state_production_speed_buildings_factor = -1
	local_resources = -0.75
	army_core_defence_factor = 0.2
}

CHL_state_supporting_resistance_modifier = {
	enable = { always = yes  }
	icon = GFX_modifiers_bul_macedonian_revolutionaries
	resistance_damage_to_garrison = 0.2
	resistance_activity = 0.25
	resistance_growth = 0.5
	resistance_target = 0.85
	compliance_growth = -0.2
}

CHL_deeper_mines_modifier = {
	enable = { always = yes }
	icon = GFX_modifiers_SOV_civilian_labor_in_defense

	state_resources_factor = 0.15
	state_production_speed_infrastructure_factor = 0.15
	state_production_speed_buildings_factor = -0.1
}


BRA_new_capital_modifier = { #State Modifier
	enable = { always = yes }
	icon = GFX_decision_generic_electricity
	
	state_production_speed_infrastructure_factor = 0.1
	state_production_speed_rail_way_factor = 0.1
	local_manpower = 0.1

}

BRA_cangaceiro_state = {
	enable = { always = yes }
	icon = GFX_modifiers_BRA_cangaco_state
	state_resources_factor = -0.1
	state_production_speed_infrastructure_factor = -0.1
	state_production_speed_buildings_factor = -0.1
	local_manpower = -0.2
	remove_trigger = {
		NOT = { OWNER = { original_tag = BRA } }
	}
}

ARG_federal_intervention_modifier = {
	enable = { always = yes }
	icon = GFX_modifiers_generic_defense 
	army_core_defence_factor = 0.05
	local_manpower = 0.04
	local_org_regain = 0.05
}

ARG_military_owned_state = {
	enable = { always = yes }
	icon = GFX_modifiers_SOV_invaders_must_die
	conscription_factor = -0.02
	state_production_speed_buildings_factor = -0.1
	army_speed_factor_for_controller = -0.1
}

BRA_amazonian_settlement_modifier = {
	enable = { always = yes }
	icon = GFX_modifiers_SOV_civilian_labor_in_defense 
	local_supplies = 0.1
	local_resources = 0.1
	state_production_speed_infrastructure_factor = 0.15
}

JUNO_immigration_promoted = {
	enable = { always = yes }
	icon = GFX_modifiers_generic_immigration_promoted 
	local_manpower = 0.4
	state_production_speed_buildings_factor = 0.05
}


idea_PAR_river_navy = { #STATE MODIFIER
	remove_trigger = { 
		PAR = { has_capitulated = yes } 

	}
	icon = GFX_MODIFIER_NAVAL_INVASION_CAPACITY
	army_core_defence_factor = 0.2
	resistance_target = 0.5
	resistance_growth_on_our_occupied_states = 0.25
	resistance_activity = 1
	resistance_damage_to_garrison_on_our_occupied_states = 1
	resistance_garrison_penetration_chance = 1
}

idea_URG_ruralism_good = { #STATE MODIFIER
	remove_trigger = { 
		URG = { has_capitulated = yes } 

	}

	icon = GFX_modifiers_ETH_state_development
	local_building_slots_factor = 0.5

	local_manpower = 2
	local_resources_factor = 0.5
	state_production_speed_buildings_factor = 0.25
}

idea_URG_ruralism_good_2 = { #STATE MODIFIER
	remove_trigger = { 
		URG = { has_capitulated = yes } 

	}

	icon = GFX_modifiers_ETH_state_development
	local_building_slots_factor = 0.75

	local_manpower = 3
	local_resources_factor = 1
	state_production_speed_buildings_factor = 0.35
}

idea_URG_ruralism_bad = { #STATE MODIFIER
	remove_trigger = { 
		URG = { has_capitulated = yes } 

	}
	icon = BRA_neglected_state_dynamic_modifier
	state_production_speed_buildings_factor = -0.1
}

idea_URG_ruralism_bad_2 = { #STATE MODIFIER
	remove_trigger = { 
		URG = { has_capitulated = yes } 

	}
	icon = BRA_neglected_state_dynamic_modifier
	state_production_speed_buildings_factor = -0.18
}