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

# None

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

# Hafnarfjörður Fish Canning Factory
company_HFCF = {
	icon = "gfx/interface/icons/company_icons/basic_fishing.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_ICELAND }
	
	category = shopkeeper_owned

	possible_prestige_goods = {
		prestige_good_icelandic_fish
	}

	
	building_types = { #21
		building_fishing_wharf
		building_whaling_station
		building_food_industry
	}
	
	extension_building_types = {
		building_shipyard
	}
	
	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_western_europe
			has_interest_marker_in_region = sr:region_northern_europe
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_ICELAND			
			}		
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_ICELAND
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_food_industry
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		state_loyalists_from_political_movements_mult = 0.07 #10
		state_lower_strata_expected_sol_add = -0.25
		state_middle_strata_expected_sol_add = -0.5
		state_upper_strata_expected_sol_add = -0.75
		building_shipyard_throughput_add = 0.15 # 12
	}	
	

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

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