﻿##############################MODDED##############################

# Empresa do Caminho de Ferro de Benguela-E.P.
company_EmpresaDoCaminho = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/empresadocaminho.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_railways.dds"
	
	flavored_company = yes
	
	category = bureaucrat_owned
	
	preferred_headquarters = { STATE_SOUTH_ANGOLA }

	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}

	
	building_types = { #25
		building_railway
	}
	
	extension_building_types = {
		building_lead_mine
		building_iron_mine
	}
	
	potential = {
		has_interest_marker_in_region = sr:region_equatorial_africa
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_SOUTH_ANGOLA
			}
		}
	}			
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_SOUTH_ANGOLA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_railway
				level >= 3
			}
		}
		has_technology_researched = steel_railway_cars
	}
	
	prosperity_modifier = {
		military_formation_army_movement_speed_mult = 0.15 #15
		state_infrastructure_mult = 0.05 #10
	}	
	

	ai_will_do = {
		has_technology_researched = steel_railway_cars
		any_scope_state = {
			state_region = s:STATE_SOUTH_ANGOLA
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_railway = {
			level = 5
			state_trigger = {
				state_region = s:STATE_SOUTH_ANGOLA
			}
		}
	}
	ai_weight = {
		value = 3 # Higher base value for flavored companies
	}
}

#  Companhia de Diamantes de Angola
company_Diameng = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/diameng.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_mining.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_SOUTH_ANGOLA }
	
	category = aristocrat_owned

	possible_prestige_goods = {
		prestige_good_generic_gemstones
	}

	
	building_types = { #26
		building_gold_mine
	}
	
	extension_building_types = {
		building_coal_mine
	}
	
	potential = {
		has_interest_marker_in_region = sr:region_equatorial_africa
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_SOUTH_ANGOLA
			}
		}
	}			
	
	possible = { 
		any_scope_state = { 
			state_region = s:STATE_SOUTH_ANGOLA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_urban_center
				level >= 3
			}
		}
		has_technology_researched = pneumatic_tools
	}
	
	prosperity_modifier = {
		country_minting_mult = 0.1 #28
		state_radicalism_increases_violent_hostility_mult = 0.06 #+2
		state_radicalism_increases_cultural_erasure_mult = 0.04
		state_radicalism_increases_open_prejudice_mult = 0.02
	}	
	

	ai_will_do = {
		has_technology_researched = pneumatic_tools
		any_scope_state = {
			state_region = s:STATE_SOUTH_ANGOLA
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_urban_center = {
			level = 5
			state_trigger = {
				state_region = s:STATE_SOUTH_ANGOLA
			}
		}
	}
	ai_weight = {
		value = 3 # Higher base value for flavored companies
	}
}