﻿##############################VANILLA##############################

# None

##############################DLC-MP1##############################

# John Holt and Company
TRY_REPLACE:company_john_holt = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/company_john_holt.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_plantation.dds"

	flavored_company = yes

	building_types = {
		building_rubber_plantation
		building_logging_camp
		building_port
	}

	extension_building_types = {
		building_shipyard
	}

	potential = {
		has_interest_marker_in_region = sr:region_west_africa
	}

	attainable = {
	}

	possible = {
		has_technology_researched = rubber_mastication
		any_scope_state = {
			region = sr:region_west_africa
			any_scope_building = {
				is_building_type = building_rubber_plantation
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		building_group_bg_plantations_throughput_add = 0.1
		country_bureaucracy_investment_cost_factor_mult = -0.05
	}

	ai_will_do = {
		has_technology_researched = rubber_mastication
		any_scope_state = {
			region = sr:region_west_africa
		}
	}

	ai_construction_targets = {
		building_rubber_plantation = {
			level = 5
			state_trigger = {
				region = sr:region_west_africa
			}
		}
	}

	ai_weight = {
		value = 3 # Higher base value for flavored companies
	}
}

##############################MODDED##############################

# Liberian National Port Authority
company_LNPA = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/lnpa.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_LIBERIA }
	

	possible_prestige_goods = {
		prestige_good_generic_merchant_marine
	}
	
	building_types = { #22
		building_port
		building_shipyard
	}
	
	extension_building_types = {
		building_motor_industry
	}
	
	potential = {
		has_interest_marker_in_region = sr:region_west_africa
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_LIBERIA
			}
		}
	}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_LIBERIA
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_shipyard
					is_building_type = building_port
				}
				level >= 3
			}
		}
		has_technology_researched = gantry_cranes
	}
	
	prosperity_modifier = {
		ship_armor_mult = 0.03 #12
		country_ship_group_supply_ships_construction_efficiency_add = 0.15 #10
	}	
	

	ai_will_do = {
		has_technology_researched = gantry_cranes
		any_scope_state = {
			state_region = s:STATE_LIBERIA
			is_incorporated = yes
		}
	}

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

# The Guinea Company
company_GuineaCompany = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/guineacompany.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_GUINEA }
	

	possible_prestige_goods = {
		# prestige_good_saint_etienne_rifles
	}

	
	building_types = { #19
		building_logging_camp
		building_dye_plantation
	}
	
	extension_building_types = {
		building_rubber_plantation
	}
	
	potential = {
		has_interest_marker_in_region = sr:region_west_africa
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_GUINEA
			}
		}
	}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_GUINEA
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_dye_plantation
					is_building_type = building_logging_camp
				}
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		state_slave_import_mult = 0.25 #20
	}	
	

	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_GUINEA
			is_incorporated = yes
		}
	}

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