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

# William Sandford Limited
TRY_REPLACE:company_william_sandford = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/william_sandford_limited.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_NEW_SOUTH_WALES }

	building_types = {
		building_steel_mill
	}

	extension_building_types = {
		building_iron_mine
		building_coal_mine
	}

	possible_prestige_goods = {
		prestige_good_generic_steel
	}
	
	prestige_goods_trigger = {
		custom_tooltip = {
			text = je_prestige_goods_steel_complete_tt
			has_variable = prestige_good_generic_steel_var
		}
	}
	
	potential = {
		has_interest_marker_in_region = sr:region_oceania
	}

	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_NEW_SOUTH_WALES
			}
		}
	}

	possible = {
		has_technology_researched = bessemer_process
		any_scope_state = {
			state_region = s:STATE_NEW_SOUTH_WALES
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_steel_mill
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		building_railway_throughput_add = 0.15
	}

	ai_will_do = {
		has_technology_researched = bessemer_process
		any_scope_state = {
			state_region = s:STATE_NEW_SOUTH_WALES
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_steel_mill = {
			level = 5
			state_trigger = {
				state_region = s:STATE_NEW_SOUTH_WALES
			}
		}
	}

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

# Broken Hill Proprietary Company Ltd.
TRY_REPLACE:company_broken_hill_proprietary_company = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/company_broken_hill_proprietary_company.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_mining.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_NEW_SOUTH_WALES }

	building_types = {
		building_gold_mine
		building_lead_mine
	}

	extension_building_types = {
		building_steel_mill
		building_automotive_industry
		building_iron_mine
	}

	possible_prestige_goods = {
	}

	prestige_goods_trigger = {
	}

	potential = {
		has_dlc_feature = ep2_content
		has_interest_marker_in_region = sr:region_oceania
	}

	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			s:STATE_NEW_SOUTH_WALES = {
				any_scope_state = {
					owner = root
				}
			}
		}
	}

	possible = {
		s:STATE_NEW_SOUTH_WALES = {
			any_scope_state = {
				owner = root
				any_scope_building = {
					OR = {
						is_building_type = building_gold_mine
						is_building_type = building_lead_mine
					}
					level >= 5
				}
			}
		}
	}

	prosperity_modifier = {
		country_production_tech_research_speed_mult = 0.05
		building_lead_mine_throughput_add = 0.1
	}

	ai_will_do = {
		any_scope_state = {
			state_region = s:STATE_NEW_SOUTH_WALES
		}
	}

	ai_construction_targets = {
		building_gold_mine = {
			level = 5
			state_trigger = {
				state_region = s:STATE_NEW_SOUTH_WALES
			}
		}
		building_lead_mine = {
			level = 5
			state_trigger = {
				state_region = s:STATE_NEW_SOUTH_WALES
			}
		}
	}

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

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

# AGL
company_AGL = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/agl.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_NEW_SOUTH_WALES }

	possible_prestige_goods = {
		prestige_good_australian_coal
	}

	
	building_types = {  #19
		building_coal_mine
		building_power_plant
	}
	
	extension_building_types = {
		building_oil_rig
	}
	
	potential = {
		has_interest_marker_in_region = sr:region_oceania
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_NEW_SOUTH_WALES
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_NEW_SOUTH_WALES
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_coal_mine
				level >= 3
			}
		}
		has_technology_researched = electrical_generation
	}
	
	prosperity_modifier = {
		building_urban_center_throughput_add = 0.1 #14
		state_loyalists_from_political_movements_mult = 0.05 #6
		state_lower_strata_expected_sol_add = -0.15
		state_middle_strata_expected_sol_add = -0.3
		state_upper_strata_expected_sol_add = -0.45
	}


	
	ai_will_do = {
		has_technology_researched = electrical_generation
		any_scope_state = {
			state_region = s:STATE_NEW_SOUTH_WALES
			is_incorporated = yes
		}
	}

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

# Elders Limited
company_Elders = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/elderslimited.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_wheat.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_SOUTH_AUSTRALIA }
	
	possible_prestige_goods = {
		prestige_good_generic_fertilizer
	}
	
	building_types = {  #23
		building_wheat_farm
		building_livestock_ranch
		building_chemical_plant
	}
	
	extension_building_types = {
		building_textile_mill
	}

	potential = {
		has_interest_marker_in_region = sr:region_oceania
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_SOUTH_AUSTRALIA
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_SOUTH_AUSTRALIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_wheat_farm
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		interest_group_ig_rural_folk_approval_add = 3 #12
		interest_group_ig_landowners_approval_add = 3 #12
	}


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

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

# Penfolds
company_Penfolds = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/penfolds.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_plantation.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_SOUTH_AUSTRALIA }
	

	possible_prestige_goods = {
		prestige_good_generic_groceries
	}
	
	building_types = {  #26
		building_vineyard
	}
	
	extension_building_types = {
		building_food_industry
	}
	
	potential = {
		has_interest_marker_in_region = sr:region_oceania
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_SOUTH_AUSTRALIA
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_SOUTH_AUSTRALIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_vineyard
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		country_prestige_mult = 0.15 #15
		state_loyalists_from_political_movements_mult = 0.09 #12
		state_lower_strata_expected_sol_add = -0.3
		state_middle_strata_expected_sol_add = -0.6
		state_upper_strata_expected_sol_add = -0.9
	}


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

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

# Gunns
company_Gunns = {
	icon = "gfx/interface/icons/company_icons/basic_forestry.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_TASMANIA }
	
	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}

	
	building_types = {  #17
		building_logging_camp
		building_rubber_plantation
	}
	
	extension_building_types = {
		building_paper_mill
		building_port
	}
	
	potential = {
		has_interest_marker_in_region = sr:region_oceania
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_TASMANIA
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_TASMANIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_logging_camp
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_group_bg_logging_throughput_add = 0.13 #17
	}


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

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

# Nerada Tea
company_NeradaTea = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/nerada.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_plantation.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_QUEENSLAND }

	possible_prestige_goods = {
		prestige_good_generic_tea
	}

	building_types = {  #22
		building_coffee_plantation
		building_tea_plantation
	}
	
	extension_building_types = {
		building_food_industry
	}
	
	potential = {
		has_interest_marker_in_region = sr:region_oceania
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_QUEENSLAND
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_QUEENSLAND
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_tea_plantation
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		state_migration_pull_mult = 0.10 #14
		state_loyalists_from_political_movements_mult = 0.06 #8
		state_lower_strata_expected_sol_add = -0.2
		state_middle_strata_expected_sol_add = -0.4
		state_upper_strata_expected_sol_add = -0.6
	}


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

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

# Colonial Sugar Refining Company later CSR Limited
company_Col_Sug_Ref = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/csrl.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_plantation.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_NEW_SOUTH_WALES }

	possible_prestige_goods = {
		prestige_good_generic_sugarcane
	}

	
	building_types = {  #27
		building_sugar_plantation
	}
	
	extension_building_types = {
		building_food_industry
		building_tooling_workshop
	}
	
	potential = {
		has_interest_marker_in_region = sr:region_oceania
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_NEW_SOUTH_WALES
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_NEW_SOUTH_WALES
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_sugar_plantation
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_food_industry_throughput_add = 0.17 #17
		country_ship_group_supply_ships_construction_efficiency_add = 0.15 #10
	}


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

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

# Howard Smith Limited
company_Howard_Smith = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/howardsmith.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_NEW_SOUTH_WALES }
	
	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}

	building_types = {  #26
		building_trade_center
		building_port
	}
	
	extension_building_types = {
		building_iron_mine
		building_steel_mill
		building_explosives_factory
		building_shipyard
	}
	
	potential = {
		has_interest_marker_in_region = sr:region_oceania
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_NEW_SOUTH_WALES
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_NEW_SOUTH_WALES
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_shipyard
					is_building_type = building_trade_center
					is_building_type = building_port
				}
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_iron_mine_throughput_add = 0.10 #16
        building_coal_mine_throughput_add = 0.07 #10
	}


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

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

# Tooheys Brewery, Tooheys Limited
company_Tooheys_Brewery = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/tooheys.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_NEW_SOUTH_WALES }
	
	possible_prestige_goods = {
		prestige_good_generic_beer
	}

	building_types = {  #25
		building_food_industry #liquor
		building_wheat_farm
	}
	
	extension_building_types = {
		building_glassworks
	}

	potential = {
		has_interest_marker_in_region = sr:region_oceania
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_NEW_SOUTH_WALES
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_NEW_SOUTH_WALES
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_food_industry
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		state_migration_pull_mult = 0.08 #10
		state_radicals_from_political_movements_mult = -0.12 #16
		state_lower_strata_expected_sol_add = -0.4
		state_middle_strata_expected_sol_add = -0.8
		state_upper_strata_expected_sol_add = -1.2
	}	
	

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

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

# Bendigo Pottery
company_Bendigo_Pottery = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/bendigo.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_VICTORIA }
	
	category = shopkeeper_owned
	
	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}

	building_types = {  #22
		building_glassworks
	}
	
	extension_building_types = {
		building_dye_plantation
		building_synthetics_plant
	}

	potential = {
		has_interest_marker_in_region = sr:region_oceania
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_VICTORIA
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_VICTORIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_glassworks
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_glassworks_throughput_add = 0.12 #20
		country_prestige_mult = 0.02 #2
	}	
	

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

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

# Consolidated Zinc
company_Consolidated_Zinc = {
	icon = "gfx/interface/icons/company_icons/basic_metal_mining.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_mining.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_VICTORIA }
	
	possible_prestige_goods = {
		prestige_good_generic_zinc
	}

	
	building_types = {  #16
		building_sulfur_mine
		building_gold_mine
		building_lead_mine
	}
	
	extension_building_types = {
		building_steel_mill
	}
	
	potential = {
		has_interest_marker_in_region = sr:region_oceania
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_VICTORIA
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_VICTORIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_sulfur_mine
				level >= 3
			}
		}
		has_technology_researched = dynamite
	}
	
	prosperity_modifier = {
		country_minting_mult = 0.05 #14
		interest_group_ig_industrialists_pop_attraction_mult = 0.03 #2
	}


	
	ai_will_do = {
		has_technology_researched = dynamite
		any_scope_state = {
			state_region = s:STATE_VICTORIA
			is_incorporated = yes
		}
	}

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

# Union Steam Ship Company
company_UnionSSC = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/unionsteamship.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_SOUTH_ISLAND }
	
	possible_prestige_goods = {
		prestige_good_generic_merchant_marine
	}

	building_types = {  #23
		building_trade_center
		building_port
	}
	
	extension_building_types = {
		building_coal_mine
		building_steel_mill
		building_automotive_industry
		building_shipyard
	}

	potential = {
		has_interest_marker_in_region = sr:region_oceania
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_SOUTH_ISLAND
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_SOUTH_ISLAND
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_port
					is_building_type = building_trade_center
				}
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		country_ship_group_supply_ships_construction_efficiency_add = 0.15 #10
		state_trade_advantage_mult = 0.15 #10
		state_non_homeland_colony_growth_speed_mult = 0.03 #3
	}


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

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

# Fletcher Construction
company_FletcherC = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/fletcher.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_NORTH_ISLAND }
	
	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}

	building_types = {  #15
		building_logging_camp
		building_steel_mill
	}
	
	extension_building_types = {
		building_furniture_manufactory
	}

	potential = {
		has_interest_marker_in_region = sr:region_oceania
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_NORTH_ISLAND
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_NORTH_ISLAND
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_construction_sector
				level >= 3
			}
		}
		has_technology_researched = steel_frame_buildings
	}
	
	prosperity_modifier = {
		country_max_weekly_construction_progress_add = 10 #12
		state_infrastructure_mult = 0.02 #4
	}


	
	ai_will_do = {
		has_technology_researched = steel_frame_buildings
		any_scope_state = {
			state_region = s:STATE_NORTH_ISLAND
			is_incorporated = yes
		}
	}

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

# The New Zealand Herald
company_NZH = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/newzealandherald.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_NORTH_ISLAND }
	
	category = academic_owned
	
	possible_prestige_goods = {
		prestige_good_generic_newspaper
	}

	building_types = {  #28
		building_paper_mill
	}
	
	extension_building_types = {
		building_logging_camp
	}

	potential = {
		has_interest_marker_in_region = sr:region_oceania
		has_game_rule = newspapers_enabled
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_NORTH_ISLAND
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_NORTH_ISLAND
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_paper_mill
				level >= 3
			}
		}
		has_technology_researched = realism
	}
	
	prosperity_modifier = {
		interest_group_ig_landowners_approval_add = 2 #8
		interest_group_ig_devout_approval_add = 2 #8
		interest_group_ig_rural_folk_approval_add = 2 #8
		state_radicals_from_political_movements_mult = -0.03 #4
		state_lower_strata_expected_sol_add = -0.1
		state_middle_strata_expected_sol_add = -0.2
		state_upper_strata_expected_sol_add = -0.3
	}


	
	ai_will_do = {
		has_technology_researched = realism
		any_scope_state = {
			state_region = s:STATE_NORTH_ISLAND
			is_incorporated = yes
		}
	}

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

# Kauri Timber
company_Kauri = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/kauritimber.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_NORTH_ISLAND }
	
	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}
	
	building_types = {  #23
		building_logging_camp
	}
	
	extension_building_types = {
		building_paper_mill
		building_rubber_plantation
		building_port
		building_shipyard
	}
	
	potential = {
		has_interest_marker_in_region = sr:region_oceania
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_NORTH_ISLAND
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_NORTH_ISLAND
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_logging_camp
				level >= 3
			}
		}
		has_technology_researched = mechanized_workshops
	}
	
	prosperity_modifier = {
		building_construction_sector_throughput_add = 0.15 #20
		country_ship_group_supply_ships_construction_efficiency_add = 0.03 #2
	}


	
	ai_will_do = {
		has_technology_researched = mechanized_workshops
		any_scope_state = {
			state_region = s:STATE_NORTH_ISLAND
			is_incorporated = yes
		}
	}

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

#Bank of New South Wales
company_Bank_BNSW = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/bankaustralia.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_NEW_SOUTH_WALES }
	
	category = bureaucrat_owned
	
	possible_prestige_goods = {
		#prestige_good_generic_currency_paper
	}
	
	building_types = {
		building_paper_mill
		building_livestock_ranch
		building_food_industry
	}
	
	extension_building_types = {	
		building_gold_mine	
		building_arms_industry
		building_railway
		building_fishing_wharf
	}
	
	potential = {
		has_game_rule = banks_enabled
		has_interest_marker_in_region = sr:region_oceania
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_NEW_SOUTH_WALES
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_NEW_SOUTH_WALES
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_financial_district
				level >= 10
			}
		}
		unique_companies_has_bank = no
	}
	
	prosperity_modifier = {
		state_trade_advantage_mult = 0.1
		interest_group_ig_rural_folk_approval_add = 2
		
		country_loan_interest_rate_mult = -0.025
        country_private_construction_allocation_mult = 0.1		
		
		state_farmers_investment_pool_contribution_add = 0.04 #<-- cattle was used as a currency at first
		state_shopkeepers_investment_pool_contribution_add = 0.015
		state_clergymen_investment_pool_contribution_add = 0.04
		state_aristocrats_investment_pool_contribution_add = 0.04
		state_capitalists_investment_pool_contribution_add = 0.07 #<--
		
		building_nationalization_investment_return_add = 0.05
		country_government_dividends_reinvestment_add = 0.05
		country_government_dividends_efficiency_add = 0.05
		
		country_max_companies_add = 1
	}
	
	
	ai_will_do = {
	    unique_companies_has_bank = no
		any_scope_state = {
			state_region = s:STATE_NEW_SOUTH_WALES
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_paper_mill = {
			level = 5
			state_trigger = {
				state_region = s:STATE_NEW_SOUTH_WALES
			}
		}
	}
	ai_weight = {
		value = 5 # Higher base value for flavored companies
	}
}