#Russian American Company
company_alaskan_pelts = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_ALASKA }
	
	building_types = {
		building_fishing_wharf
	}
	
	extension_building_types = {
		building_whaling_station
		building_food_industry
	}

	possible_prestige_goods = {
		prestige_good_salmon_fillets
	}
		
	potential = {
		has_interest_marker_in_region = region_pacific_coast
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_ALASKA
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_ALASKA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_fishing_wharf
				level >= 5
			}
		}
		has_technology_researched = canneries
	}
	
	prosperity_modifier = {
		building_fishing_wharf_throughput_add = 0.1
		building_food_industry_throughput_add = 0.1
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_ALASKA
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_fishing_wharf = {
			level = 8
			state_trigger = {
				state_region = s:STATE_ALASKA
			}
		}
		building_food_industry = {
			level = 5
			state_trigger = {
				state_region = s:STATE_ALASKA
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
# Hudson's Bay Company (Furs)
company_hbc_furs = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_MANITOBA }
	
	building_types = {
		building_livestock_ranch
		building_textile_mills
	}
	
	extension_building_types = {
		building_furniture_manufacturies
	}

	possible_prestige_goods = {
		prestige_good_hbc_fur
	}
		
	potential = {
		has_interest_marker_in_region = region_canada
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_MANITOBA
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_MANITOBA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_textile_mills
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_livestock_ranch_throughput_add = 0.1
		building_textile_mills_throughput_add = 0.1
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_MANITOBA
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_textile_mills = {
			level = 5
			state_trigger = {
				state_region = s:STATE_MANITOBA
			}
		}
		building_textile_mills = {
			level = 5
			state_trigger = {
				state_region = s:STATE_ONTARIO
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
# Gilmour Lumber Company
company_gilmour_lumber = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_ONTARIO }
	
	building_types = {
		building_logging_camp
	}
	
	extension_building_types = {
		building_paper_mill
		building_furniture_manufacturies
	}

	possible_prestige_goods = {
		prestige_good_ontario_timber
	}
		
	potential = {
		has_interest_marker_in_region = region_canada
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_ONTARIO
			}
	}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_ONTARIO
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_logging_camp
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		state_infrastructure_from_population_add = 1
		state_infrastructure_from_population_max_add = 20
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_ONTARIO
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_logging_camp = {
			level = 5
			state_trigger = {
				state_region = s:STATE_ONTARIO
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
# Coopérative de Producteurs de Sirop d’Érable
company_quebec_syrup = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_QUEBEC }
	
	building_types = {
		building_wheat_farm
	}
	
	extension_building_types = {
		building_logging_camp
		building_sugar_plantation
		building_food_industry
	}

	possible_prestige_goods = {
		prestige_good_quebec_syrup
	}
		
	potential = {
		has_interest_marker_in_region = region_canada
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_QUEBEC
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_QUEBEC
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_food_industry
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_group_bg_agriculture_throughput_add = 0.15
		state_birth_rate_mult = 0.02
		
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_QUEBEC
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_wheat_farm = {
			level = 10
			state_trigger = {
				state_region = s:STATE_QUEBEC
			}
		}
		building_food_industry = {
			level = 5
			state_trigger = {
				state_region = s:STATE_QUEBEC
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
#Tsalagi Artisan Cooperative
company_it_beadwork = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_OKLAHOMA }
	
	building_types = {
		building_arts_academy
	}
	
	extension_building_types = {
		building_tobacco_plantation
	}

	possible_prestige_goods = {
		prestige_good_it_beadwork
	}
		
	potential = {
		has_interest_marker_in_region = region_dixie
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_OKLAHOMA
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_OKLAHOMA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_arts_academy
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_arts_academy_throughput_add = 0.15
		unit_army_defense_mult = 0.05
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_OKLAHOMA
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_food_industry = {
			level = 5
			state_trigger = {
				state_region = s:STATE_OKLAHOMA
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
# Halifax Shipyards
company_nb_steamers = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_NEW_BRUNSWICK }
	
	building_types = {
		building_shipyards
		building_military_shipyards
	}
	
	extension_building_types = {
		building_fishing_wharf
		building_whaling_station
	}

	possible_prestige_goods = {
		prestige_good_nb_steamers
	}
		
	potential = {
		has_interest_marker_in_region = region_new_england
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_NEW_BRUNSWICK
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_NEW_BRUNSWICK
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_shipyards
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_shipyards_throughput_add = 0.15
		building_military_shipyards_throughput_add = 0.05
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_NEW_BRUNSWICK
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_shipyards = {
			level = 5
			state_trigger = {
				state_region = s:STATE_NEW_BRUNSWICK
			}
		}
		building_military_shipyards = {
			level = 3
			state_trigger = {
				state_region = s:STATE_NEW_BRUNSWICK
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
# Cape Breton Mining Company
company_ns_coal = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_NEW_BRUNSWICK }
	
	building_types = {
		building_coal_mine
	}
	
	extension_building_types = {
		building_tooling_workshops
		building_iron_mine
		building_steel_mills
	}

	possible_prestige_goods = {
		prestige_good_ns_coal
	}
		
	potential = {
		has_interest_marker_in_region = region_new_england
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_NEW_BRUNSWICK
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_NEW_BRUNSWICK
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_fishing_wharf
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_coal_mine_throughput_add = 0.15
		building_tooling_workshops_throughput_add = 0.05
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_NEW_BRUNSWICK
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_coal_mine = {
			level = 10
			state_trigger = {
				state_region = s:STATE_NEW_BRUNSWICK
			}
		}
		building_tooling_workshops = {
			level = 5
			state_trigger = {
				state_region = s:STATE_NEW_BRUNSWICK
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
# Texas Jerky Company
company_texas_jerky = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_TEXAS }
	
	building_types = {
		building_livestock_ranch
	}
	
	extension_building_types = {
		building_wheat_farm
		building_maize_farm
		building_food_industry
	}

	possible_prestige_goods = {
		prestige_good_texas_jerky
	}
		
	potential = {
		has_interest_marker_in_region = region_dixie
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_TEXAS
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_TEXAS
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_livestock_ranch
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_livestock_ranch_throughput_add = 0.15
		unit_army_offense_mult = 0.05
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_TEXAS
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_shipyards = {
			level = 5
			state_trigger = {
				state_region = s:STATE_TEXAS
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
# Willamette Hops Company
company_oregon_hops = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_OREGON }
	
	building_types = {
		building_wheat_farm
		building_food_industry
	}
	
	extension_building_types = {
		building_livestock_ranch
	}

	possible_prestige_goods = {
		prestige_good_oregon_hops
	}
		
	potential = {
		has_interest_marker_in_region = region_pacific_coast
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_OREGON
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_OREGON
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_wheat_farm
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_group_bg_agriculture_throughput_add = 0.15
		building_food_industry_throughput_add = 0.05
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_OREGON
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_wheat_farm = {
			level = 5
			state_trigger = {
				state_region = s:STATE_OREGON
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
# United Cacao Plantations
company_brazil_cacao = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_RIO_DE_JANEIRO }
	
	building_types = {
		building_sugar_plantation
		building_food_industry
	}
	
	extension_building_types = {
		building_tea_plantation
		building_tobacco_plantation
		building_coffee_plantation
	}

	possible_prestige_goods = {
		prestige_good_brazil_cacao
	}
		
	potential = {
		has_interest_marker_in_region = region_brazil
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_RIO_DE_JANEIRO
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_RIO_DE_JANEIRO
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_sugar_plantation
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_group_bg_plantations_throughput_add = 0.1
		state_colony_growth_speed_mult = 0.05
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_RIO_DE_JANEIRO
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_sugar_plantation = {
			level = 5
			state_trigger = {
				state_region = s:STATE_RIO_DE_JANEIRO
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
#Cereva Pilsen
company_parag_pilsen = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_BAJO_PARAGUAY }
	
	building_types = {
		building_food_industry
		building_rice_farm
		building_maize_farm
	}
	
	extension_building_types = {
		building_sugar_plantation
	}

	possible_prestige_goods = {
		prestige_good_parag_pilsen
	}
		
	potential = {
		has_interest_marker_in_region = region_la_plata
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_BAJO_PARAGUAY
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BAJO_PARAGUAY
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_food_industry
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_food_industry_throughput_add = 0.2
		state_birth_rate_mult = 0.02
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_BAJO_PARAGUAY
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_food_industry = {
			level = 5
			state_trigger = {
				state_region = s:STATE_BAJO_PARAGUAY
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
#Uruguayan Wool Company
company_uruguay_wool = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_URUGUAY }
	
	building_types = {
		building_livestock_ranch
		building_maize_farm
	}
	
	extension_building_types = {
		building_textile_mills
	}

	possible_prestige_goods = {
		prestige_good_uruguay_wool
	}
		
	potential = {
		has_interest_marker_in_region = region_brazil
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_URUGUAY
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_URUGUAY
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_livestock_ranch
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_livestock_ranch_throughput_add = 0.1
		building_textile_mills_throughput_add = 0.1
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_URUGUAY
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_livestock_ranch = {
			level = 10
			state_trigger = {
				state_region = s:STATE_URUGUAY
			}
		}
		building_textile_mills = {
			level = 5
			state_trigger = s:STATE_URUGUAY
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
#Mahogany Hardwood Loggers
company_hon_mahogany = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_HONDURAS }
	
	building_types = {
		building_logging_camp
		building_tooling_workshops
	}
	
	extension_building_types = {
		building_furniture_manufacturies
	}

	possible_prestige_goods = {
		prestige_good_hon_mahogany
	}
		
	potential = {
		has_interest_marker_in_region = region_central_america
	}
	
	attainable = {
			any_scope_state = {
				state_region = sr:region_central_america
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = sr:region_central_america
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_logging_camp
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_group_bg_logging_throughput_add = 0.1
		state_infrastructure_from_population_add = 1
		
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_HONDURAS
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_logging_camp = {
			level = 10
			state_trigger = {
				state_region = s:STATE_HONDURAS
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
#Por Larrañaga
company_cuban_cigar = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_CUBA }
	
	building_types = {
		building_tobacco_plantation
	}
	
	extension_building_types = {
		building_sugar_plantation
		building_coffee_plantation
		building_banana_plantation
	}

	possible_prestige_goods = {
		prestige_good_cuban_cigar
	}
		
	potential = {
		has_interest_marker_in_region = region_caribbean
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_CUBA
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_CUBA	
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_tobacco_plantation
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_group_bg_plantations_throughput_add = 0.1
		country_prestige_mult = 0.05
		
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_CUBA
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_tobacco_plantation = {
			level = 10
			state_trigger = {
				state_region = s:STATE_CUBA
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
#Crusellas & Co.
company_haiti_vetiver = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_HAITI }
	
	building_types = {
		building_textile_mills
	}
	
	extension_building_types = {
		building_dye_plantation
	}

	possible_prestige_goods = {
		prestige_good_haiti_vetiver
	}
		
	potential = {
		has_interest_marker_in_region = region_caribbean
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_HAITI
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_HAITI	
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_textile_mills
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_group_bg_plantations_throughput_add = 0.05
		state_loyalists_from_sol_change_mult = 0.05
		building_textile_mills_throughput_add = 0.1
		
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_HAITI
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_textile_mills = {
			level = 10
			state_trigger = {
				state_region = s:STATE_HAITI
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
#Ibarra
company_mexico_chocolate = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_MEXICO }
	
	building_types = {
		building_sugar_plantation
	}
	
	extension_building_types = {
		building_maize_farm
		building_wheat_farm
		building_food_industry
	}

	possible_prestige_goods = {
		prestige_good_mexico_chocolate
	}
		
	potential = {
		has_interest_marker_in_region = region_mexico
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_MEXICO
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_MEXICO
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_sugar_plantation
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_group_bg_plantations_throughput_add = 0.15
		state_loyalists_from_sol_change_mult = 0.05
		
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_MEXICO
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_sugar_plantation = {
			level = 10
			state_trigger = {
				state_region = s:STATE_MEXICO
			}
		}
		building_food_industry = {
			level = 5
			state_trigger = {
				state_region = s:STATE_MEXICO
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
#United Olive Plantations
company_greek_olive = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_ATTICA }
	
	building_types = {
		building_vineyard_plantation
	}
	
	extension_building_types = {
		building_wheat_farm
		building_food_industry
	}

	possible_prestige_goods = {
		prestige_good_greek_olive
	}
		
	potential = {
		has_interest_marker_in_region = region_balkans
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_ATTICA
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_ATTICA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_vineyard_plantation
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_group_bg_plantations_throughput_add = 0.15
		state_birth_rate_mult = 0.02
		
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_ATTICA
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_vineyard_plantation = {
			level = 10
			state_trigger = {
				state_region = s:STATE_ATTICA
			}
		}
		building_food_industry = {
			level = 5
			state_trigger = {
				state_region = s:STATE_ATTICA
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
#United Quinoa Farmers
company_bolivia_quinoa = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_LA_PAZ }
	
	building_types = {
		building_millet_farm
		building_maize_farm
		building_rice_farm
	}
	
	extension_building_types = {
		building_livestock_ranch
		building_food_industry
	}

	possible_prestige_goods = {
		prestige_good_bolivia_quinoa
	}
		
	potential = {
		has_interest_marker_in_region = region_andes
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_LA_PAZ
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_LA_PAZ
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_rice_farm
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_group_bg_agriculture_throughput_add = 0.15
		state_birth_rate_mult = 0.02
		
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_LA_PAZ
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_rice_farm = {
			level = 15
			state_trigger = {
				state_region = s:STATE_LA_PAZ
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
#Yerba Mate Plantations
company_arg_yerba_mate = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_BUENOS_AIRES }
	
	building_types = {
		building_tea_plantation
	}
	
	extension_building_types = {
		building_tobacco_plantation
		building_dye_plantation
	}

	possible_prestige_goods = {
		prestige_good_arg_yerba
	}
		
	potential = {
		has_interest_marker_in_region = region_andes
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_BUENOS_AIRES
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BUENOS_AIRES
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_tea_plantation
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_group_bg_agriculture_throughput_add = 0.15
		state_birth_rate_mult = 0.02
		
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_BUENOS_AIRES
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_tea_plantation = {
			level = 10
			state_trigger = {
				state_region = s:STATE_BUENOS_AIRES
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
#Ossolineum Institute
company_krakow_book = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_WEST_GALICIA }
	
	building_types = {
		building_paper_mills
	}
	
	extension_building_types = {
		building_logging_camp
		building_university
	}

	possible_prestige_goods = {
		prestige_good_krakow_book
	}
		
	potential = {
		has_interest_marker_in_region = region_poland
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_WEST_GALICIA
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_WEST_GALICIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_university
				level >= 5
			}
			any_scope_building = {
				is_building_type = building_paper_mill
				level >= 1
			}
		}
	}
	
	prosperity_modifier = {
		building_paper_mills_throughput_add = 0.1
		country_weekly_innovation_mult = 0.1
		
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_WEST_GALICIA
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_university = {
			level = 10
			state_trigger = {
				state_region = s:STATE_WEST_GALICIA
			}
		}
		building_paper_mill = {
			level = 10
			state_trigger = {
				state_region = s:STATE_WEST_GALICIA
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
#La Rioja Vineyards
company_rioja_wine = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_CASTILE }
	
	building_types = {
		building_vineyard_plantation
	}
	
	extension_building_types = {
		building_tobacco_plantation
		building_coffee_plantation
		building_sugar_plantation
	}

	possible_prestige_goods = {
		prestige_good_rioja_wine
	}
		
	potential = {
		has_interest_marker_in_region = region_iberia
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_CASTILE
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_CASTILE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_vineyard_plantation
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_group_bg_plantations_throughput_add = 0.15
		country_prestige_mult = 0.05
		
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_CASTILE
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_vineyard_plantation = {
			level = 10
			state_trigger = {
				state_region = s:STATE_CASTILE
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
#Moroccan Leatherworks
company_morocco_leather = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_FEZ }
	
	building_types = {
		building_textile_mills
		building_livestock_ranch
	}
	
	extension_building_types = {
		building_cotton_plantation
		building_silk_plantation
	}

	possible_prestige_goods = {
		prestige_good_morocco_leather
	}
		
	potential = {
		has_interest_marker_in_region = region_north_africa
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_FEZ
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_FEZ
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_textile_mills
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_textile_mills_throughput_add = 0.15
		unit_army_defense_mult = 0.05
		
		
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_FEZ
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_textile_mills = {
			level = 10
			state_trigger = {
				state_region = s:STATE_FEZ
			}
		}
		building_livestock_ranch = {
			level = 10
			state_trigger = {
				state_region = s:STATE_FEZ
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
#Omani Frankincense Producers
company_oman_frank = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_OMAN }
	
	building_types = {
		building_tobacco_plantation
	}
	
	extension_building_types = {
		building_logging_camp
		building_wheat_farm
		building_coffee_plantation
	}

	possible_prestige_goods = {
		prestige_good_oman_frank
	}
		
	potential = {
		has_interest_marker_in_region = region_arabia
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_OMAN
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_OMAN
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_tobacco_plantation
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		building_group_bg_plantations_throughput_add = 0.1
		country_prestige_mult = 0.1
		
		
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_FEZ
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_textile_mills = {
			level = 10
			state_trigger = {
				state_region = s:STATE_FEZ
			}
		}
		building_livestock_ranch = {
			level = 10
			state_trigger = {
				state_region = s:STATE_FEZ
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}
#Azulejo Tile Workshops
company_azulejo_tile = {
	icon = "gfx/interface/icons/company_icons/custom_companies_placeholder.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_corn.dds"
	
	flavored_company = yes
	
	preferred_headquarters = { STATE_ESTREMADURA }
	
	building_types = {
		building_arts_academy
	}
	
	extension_building_types = {
		building_glassworks
		building_logging_camp
		building_lead_mine
	}

	possible_prestige_goods = {
		prestige_good_azulejo_tile
	}
		
	potential = {
		has_interest_marker_in_region = region_iberia
	}
	
	attainable = {
			any_scope_state = {
				state_region = s:STATE_ESTREMADURA
			}
		}
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_ESTREMADURA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_arts_academy
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		country_private_construction_allocation_mult = 0.05
		country_prestige_mult = 0.1
		
		
	}
	
	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_ESTREMADURA
			is_incorporated = yes
		}
	}
	
	ai_construction_targets = {
		building_arts_academy = {
			level = 10
			state_trigger = {
				state_region = s:STATE_ESTREMADURA
			}
		}
	}
	
	ai_weight = {
		value = 5 #AI will prioritize PGFM companies when available
	}
}