﻿# Friedrich Krupp AG
TRY_REPLACE:company_krupp = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/german_krupp.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_RUHR }

	building_types = {
		building_arms_industry
		building_artillery_foundry
		building_steel_mill
	}

	extension_building_types = {
		building_iron_mine
	}

	possible_prestige_goods = {
		prestige_good_krupp_guns
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}

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

	possible = {
		has_technology_researched = steelworking
		any_scope_state = {
			state_region = s:STATE_RUHR
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_steel_mill
					is_building_type = building_arms_industry
					is_building_type = building_artillery_foundry
				}
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		building_railway_throughput_add = 0.1
		unit_kill_rate_add = 0.1
	}

	ai_will_do = {
		has_technology_researched = steelworking
		any_scope_state = {
			state_region = s:STATE_RUHR
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_steel_mill = {
			level = 5
			state_trigger = {
				state_region = s:STATE_RUHR
			}
		}
		building_arms_industry = {
			level = 5
			state_trigger = {
				state_region = s:STATE_RUHR
			}
		}
		building_artillery_foundry = {
			level = 5
			state_trigger = {
				state_region = s:STATE_RUHR
			}
		}
	}

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

# Rheinische Metallwaaren- und Maschinenfabrik Aktiengesellschaft
TRY_REPLACE:company_rheinmetall = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/german_rheinmetall.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_RUHR STATE_NORTH_RHINE }

	building_types = {
		building_artillery_foundry
		building_munition_plant
		building_explosives_factory
	}

	extension_building_types = {
		building_motor_industry
		building_steel_mill
	}

	possible_prestige_goods = {
		prestige_good_generic_artillery
	}

	prestige_goods_trigger = {
		custom_tooltip = {
			text = je_prestige_goods_artillery_complete_tt
			has_variable = prestige_good_generic_artillery_var
		}
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}

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

	possible = {
		has_technology_researched = automatic_machine_guns
		any_scope_state = {
			OR = {
				state_region = s:STATE_RUHR
				state_region = s:STATE_NORTH_RHINE
			}
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_arms_industry
					is_building_type = building_artillery_foundry
					is_building_type = building_munition_plant
				}
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		unit_combat_unit_type_siege_artillery_offense_mult = 0.1
		unit_combat_unit_type_shrapnel_artillery_offense_mult = 0.1
		unit_army_defense_mult = 0.05
	}

	ai_will_do = {
		has_technology_researched = automatic_machine_guns
		any_scope_state = {
			OR = {
				state_region = s:STATE_RUHR
				state_region = s:STATE_NORTH_RHINE
			}
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_munition_plant = {
			level = 5
			state_trigger = {
				OR = {
					state_region = s:STATE_RUHR
					state_region = s:STATE_NORTH_RHINE
				}
				is_incorporated = yes
			}
		}
		building_arms_industry = {
			level = 5
			state_trigger = {
				OR = {
					state_region = s:STATE_RUHR
					state_region = s:STATE_NORTH_RHINE
				}
				is_incorporated = yes
			}
		}
		building_artillery_foundry = {
			level = 5
			state_trigger = {
				OR = {
					state_region = s:STATE_RUHR
					state_region = s:STATE_NORTH_RHINE
				}
				is_incorporated = yes
			}
		}
	}

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

# F. Schichau, Maschinen- und Lokomotivfabrik, Schiffswerft und Eisengießerei GmbH
TRY_REPLACE:company_schichau = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/german_schichau.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_WEST_PRUSSIA }

	building_types = {
		building_motor_industry
		building_shipyard
	}

	possible_prestige_goods = {
		prestige_good_schichau_engines
	}

	extension_building_types = {
		building_railway
		building_steel_mill
	}

	potential = {
		has_interest_marker_in_region = sr:region_eastern_europe
	}

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

	possible = {
		has_technology_researched = railways
		any_scope_state = {
			state_region = s:STATE_WEST_PRUSSIA
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_motor_industry
					is_building_type = building_shipyard
				}
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		ship_hull_damage_mult = 0.025
		ship_ship_type_submarine_hull_damage_mult = 0.05
	}

	ai_will_do = {
		has_technology_researched = railways
		any_scope_state = {
			state_region = s:STATE_WEST_PRUSSIA
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_motor_industry = {
			level = 5
			state_trigger = {
				state_region = s:STATE_WEST_PRUSSIA
			}
		}
		building_shipyard = {
			level = 5
			state_trigger = {
				state_region = s:STATE_WEST_PRUSSIA
			}
		}
	}

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

# Siemens & Halske AG
TRY_REPLACE:company_siemens_and_halske = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/german_siemens_halske.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_BRANDENBURG }

	building_types = {
		building_electrics_industry
	}

	extension_building_types = {
		building_motor_industry
		building_railway
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}

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

	possible = {
		has_technology_researched = electric_telegraph
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_electrics_industry
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		building_power_plant_throughput_add = 0.15
	}

	ai_will_do = {
		has_technology_researched = electric_telegraph
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_electrics_industry = {
			level = 5
			state_trigger = {
				state_region = s:STATE_BRANDENBURG
			}
		}
	}

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

# Preußische Staatseisenbahnen
TRY_REPLACE:company_prussian_state_railways = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/german_kpev.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_railways.dds"

	category = bureaucrat_owned

	flavored_company = yes

	building_types = { #23
		building_railway
	}

	extension_building_types = {
		building_motor_industry
	}

	potential = {
		OR = {
			c:PRU ?= this
			was_formed_from = PRU
		}
	}

	possible = {
		has_technology_researched = railways
		any_scope_state = {
			is_in_geographic_region = geographic_region_greater_germany
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_railway
				level >= 5
			}
			count >= 3
		}
	}

	prosperity_modifier = {
		military_formation_army_movement_speed_mult = 0.1 #10
		unit_recovery_rate_add = 0.07 #14
		
	}

	ai_will_do = {
		has_technology_researched = railways
		any_scope_state = {
			is_in_geographic_region = geographic_region_greater_germany
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_railway = {
			level = 5
			state_trigger = {
				is_in_geographic_region = geographic_region_greater_germany
				is_incorporated = yes
			}
		}
	}

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

# BASF
TRY_REPLACE:company_basf = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/german_basf.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_BADEN }

	building_types = { #26
		building_synthetics_plant
		building_chemical_plant
	}

	extension_building_types = {
		building_dye_plantation
		building_sulfur_mine
	}

	possible_prestige_goods = {
		prestige_good_german_aniline
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
		NOT = {
			has_company = company_type:company_IG_Farben
		}
	}

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

	possible = {
		has_technology_researched = aniline
		any_scope_state = {
			state_region = s:STATE_BADEN
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_synthetics_plant
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		country_weekly_innovation_mult = 0.1 #14
		building_group_bg_oil_extraction_throughput_add = 0.06 #12
	}

	ai_will_do = {
		has_technology_researched = aniline
		any_scope_state = {
			state_region = s:STATE_BADEN
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_synthetics_plant = {
			level = 5
			state_trigger = {
				state_region = s:STATE_BADEN
			}
		}
	}

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

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

# Königliche Porzellan-Manufaktur Meissen
TRY_REPLACE:company_konigliche_porzellan_manufaktur_meissen = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/company_konigliche_porzellan_manufaktur_meissen.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"

	category = bureaucrat_owned

	flavored_company = yes

	preferred_headquarters = { STATE_SAXONY }

	building_types = {
		building_glassworks
	}

	extension_building_types = {
		building_lead_mine
	}

	possible_prestige_goods = {
		prestige_good_meissen_porcelain
	}

	potential = {
		has_dlc_feature = mp1_content
		has_interest_marker_in_region = sr:region_central_europe
	}

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

	possible = {
		has_technology_researched = chemical_bleaching
		any_scope_state = {
			state_region = s:STATE_SAXONY
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_glassworks
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		country_prestige_mult = 0.1
		building_art_academy_throughput_add = 0.05
		building_synthetics_plant_throughput_add = 0.05
	}

	ai_will_do = {
		has_technology_researched = chemical_bleaching
		any_scope_state = {
			state_region = s:STATE_SAXONY
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_glassworks = {
			level = 5
			state_trigger = {
				state_region = s:STATE_SAXONY
			}
		}
	}

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


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


company_Weihenstephan = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/weihenstephan.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_wheat.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BAVARIA }
	
	category = bureaucrat_owned
	
	possible_prestige_goods = {
		prestige_good_generic_beer
	}
	
	building_types = {  #27
		building_food_industry
	}
	
	extension_building_types = {
		building_livestock_ranch
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BAVARIA
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BAVARIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_food_industry
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		interest_group_ig_devout_approval_add = 3 #12
		interest_group_ig_devout_pop_attraction_mult = 0.10 #+5
        state_birth_rate_mult = 0.05 #20
	}


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

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

# Steamship company of the Rhine
company_SteamshipCompany = {
	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_NORTH_RHINE }
	
	possible_prestige_goods = {
		prestige_good_generic_merchant_marine
	}

	building_types = {  #26
		building_trade_center
		building_port
	}
	
	extension_building_types = {
		building_motor_industry
		building_shipyard
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_NORTH_RHINE
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_NORTH_RHINE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_urban_center
				level >= 10
			}
		}
	}
	
	prosperity_modifier = {
		building_trade_center_throughput_add = 0.1 #10
        building_shipyard_throughput_add = 0.13 #10
		state_trade_advantage_mult = 0.09 #6
	}


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

	ai_construction_targets = {
		building_urban_center = {
			level = 5
			state_trigger = {
				state_region = s:STATE_NORTH_RHINE
			}
		}
	}
	ai_weight = {
		value = 3 # Higher base value for flavored companies
	}	
}
# Hannover Waggonfabrik
company_HannoverWaggonfabrik = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/hannoverwaggon.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_HANNOVER }
	
	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}

	
	building_types = {  #21
		building_railway
		building_logging_camp
	}
	
	extension_building_types = {
		building_automotive_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_HANNOVER
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_HANNOVER
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_railway
					is_building_type = building_logging_camp
				}
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		interest_group_ig_armed_forces_approval_add = 3 #12
		unit_army_defense_mult = 0.04 #8
	}


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

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

# Royal Porcelain Factory of Berlin
company_RoyalPorcelainFactory = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/kpm2.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BRANDENBURG }
	
	category = aristocrat_owned
	
	possible_prestige_goods = {
		prestige_good_meissen_porcelain
	}

	building_types = {  #20
		building_glassworks
		building_furniture_manufactory
	}
	
	extension_building_types = {
		building_gold_mine
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BRANDENBURG
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_glassworks
					is_building_type = building_furniture_manufactory
				}
				level >= 3
			}
		}
		has_technology_researched = chemical_bleaching
	}
	
	prosperity_modifier = {
		interest_group_ig_landowners_approval_add = 2 #8                                      
		building_glassworks_throughput_add = 0.08 #12
	}


	ai_will_do = {
		has_technology_researched = chemical_bleaching
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
		}
	}

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

# Felix Schöller 
company_FelixS = {
	icon = "gfx/interface/icons/company_icons/basic_paper.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_WESTPHALIA }
	
	possible_prestige_goods = {
		prestige_good_generic_paper
	}

	building_types = {  #26
		building_paper_mill
	}
	
	extension_building_types = {
		building_logging_camp
		building_synthetics_plant
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_WESTPHALIA
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_WESTPHALIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_paper_mill
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_art_academy_throughput_add = 0.1 #10
		interest_group_ig_petty_bourgeoisie_approval_add = 1 #4
		building_group_bg_light_industry_throughput_add = 0.02 #12
	}	
	

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

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

# Howaldtswerke Deutsche Werft
company_HDW = {
	icon = "gfx/interface/icons/company_icons/basic_shipyards.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_SCHLESWIG_HOLSTEIN }
	
	possible_prestige_goods = {
		#prestige_good_german_kriegsmarine
	}
	
	building_types = {  #15
		building_shipyard
		building_iron_mine
	}
	
	extension_building_types = {
		building_artillery_foundry
	}

	potential = {
		country_has_primary_culture = cu:north_german
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_SCHLESWIG_HOLSTEIN
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_SCHLESWIG_HOLSTEIN
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_shipyard
				level >= 3
			}
		}
		has_technology_researched = watertube_boiler
	}
	
	prosperity_modifier = {
		building_steel_mill_throughput_add = 0.06 #8
		ship_armor_mult = 0.02 #8
	}	
	

	ai_will_do = {
		has_technology_researched = watertube_boiler
		any_scope_state = {
			state_region = s:STATE_SCHLESWIG_HOLSTEIN
			is_incorporated = yes
		}
	}

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

# Knorr
company_Knorr = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/knorr.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_wheat.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_WURTTEMBERG }
	
	category = shopkeeper_owned
	
	possible_prestige_goods = {
		prestige_good_generic_groceries
	}

	building_types = {  #25
		building_food_industry
		building_wheat_farm
	}
	
	extension_building_types = {
		building_rye_farm
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_WURTTEMBERG
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_WURTTEMBERG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_food_industry
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		unit_supply_consumption_mult = -0.05 #14
		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_WURTTEMBERG
			is_incorporated = yes
		}
	}

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

# Fissler
company_Fissler = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/fissler.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_RHINELAND }
	
	category = shopkeeper_owned
	
	possible_prestige_goods = {
		prestige_good_generic_tools
	}
	
	building_types = {  #22
		building_tooling_workshop
	}
	
	extension_building_types = {
		building_lead_mine
		building_food_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_western_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_RHINELAND
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_RHINELAND
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_tooling_workshop
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_food_industry_throughput_add = 0.18 #20
		state_pop_qualifications_mult = 0.02 #2
	}	
	

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

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

# A. Lange und Söhne
company_ALange = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/lange.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_SAXONY }
	
	category = shopkeeper_owned
	
	possible_prestige_goods = {
		prestige_good_generic_wristwatches
	}

	building_types = {  #26
		building_textile_mill
	}
	
	extension_building_types = {
		building_glassworks
	}
	
	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_SAXONY
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_SAXONY
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_glassworks
				level >= 3
			}
		}
		has_technology_researched = mechanized_workshops
	}
	
	prosperity_modifier = {
		interest_group_ig_landowners_approval_add = 2 #8
		interest_group_ig_petty_bourgeoisie_approval_add = 2 #8
        interest_group_ig_industrialists_approval_add = 2 #8
        building_urban_center_throughput_add = 0.02	#2	
	}	
	

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

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

company_Meindl = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/meindl.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_SAXONY }
	
	category = shopkeeper_owned
	
	possible_prestige_goods = {
		prestige_good_generic_uniforms
	}
	
	building_types = {  #30
		building_textile_mill
	}
	
	extension_building_types = {
		building_livestock_ranch
		building_synthetics_plant
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BAVARIA
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BAVARIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_textile_mill
				level >= 3
			}
		}
		has_technology_researched = vulcanization
	}
	
	prosperity_modifier = {
		military_formation_army_movement_speed_mult = 0.16 #16
		state_trade_advantage_mult = 0.21 #14
	}


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

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

# Vereinigte Maschinenfabrik Augsburg und Maschinenbaugesellschaft Nürnberg A.G.
company_MAN = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/man.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_FRANCONIA }
	
	possible_prestige_goods = {
		prestige_good_german_cars
	}

	building_types = {  #6
		building_tooling_workshop
		building_steel_mill
		building_iron_mine
	}
	
	extension_building_types = {
		building_motor_industry
		building_automotive_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_FRANCONIA
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_FRANCONIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_iron_mine
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		country_max_weekly_construction_progress_add = 5 #6
	}


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

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

# Faber-Castell
company_Faber = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/fabercastell.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_FRANCONIA }
	
	possible_prestige_goods = {
		prestige_good_generic_writing_utensils
	}

	building_types = {  #20
		building_tooling_workshop
		building_art_academy
	}
	
	extension_building_types = {
		building_synthetics_plant
		building_chemical_plant
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_FRANCONIA
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_FRANCONIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_tooling_workshop
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_art_academy_throughput_add = 0.1 #10
		country_society_tech_spread_mult = 0.10 #10
	}


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

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

# Meyer Werft
company_MeyerWerft = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/meyerwerft.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_HANNOVER }
	
	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}

	building_types = {  #23
		building_shipyard
	}
	
	extension_building_types = {
		building_motor_industry
		building_port
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_HANNOVER
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_HANNOVER
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_shipyard
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		country_prestige_mult = 0.13 #13
		ship_armor_mult = 0.025 #10
	}	
	

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

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

# Heraeus
company_Heraeus = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/heraeus.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_HESSE }
	
	possible_prestige_goods = {
		prestige_good_generic_medicine
	}

	building_types = {  #25
		building_chemical_plant
		building_rye_farm
	}
	
	extension_building_types = {
		building_tooling_workshop
		building_steel_mill
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_HESSE
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_HESSE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_chemical_plant
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		state_mortality_wealth_mult = -0.003 #14
		country_production_tech_spread_mult = 0.10 #10
	}	
	

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

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

# Bayer
company_Bayer = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/bayer.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_RUHR }
	
	possible_prestige_goods = {
		prestige_good_german_aniline
	}
	
	building_types = {  #26
		building_chemical_plant
		building_synthetics_plant
	}
	
	extension_building_types = {
		building_furniture_manufactory
		building_oil_rig
	}

	potential = {
		has_interest_marker_in_region = sr:region_western_europe
		NOT = {
			has_company = company_type:company_IG_Farben
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_RUHR
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_RUHR
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_chemical_plant
				level >= 3
			}
		}
		has_technology_researched = aniline
		
	}
	
	prosperity_modifier = {
		state_mortality_wealth_mult = -0.002 #10
		building_group_bg_agriculture_throughput_add = 0.04 #16
	}	
	

	ai_will_do = {
		has_technology_researched = aniline
		any_scope_state = {
			state_region = s:STATE_RUHR
			is_incorporated = yes
		}
	}

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

# Opel
company_Opel = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/opel.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_HESSE }
	
	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}
	
	building_types = {  #16
		building_tooling_workshop
		building_automotive_industry
	}
	
	extension_building_types = {
		building_textile_mill
		building_motor_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_HESSE
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_HESSE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_tooling_workshop
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_urban_center_throughput_add = 0.05 #6
		goods_output_automobiles_mult = 0.13 #10
	}	
	

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

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

# Deutsche Tiefbohr-Aktiengesellschaft
company_DTA = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/deutag.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_oil_drills.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_ANHALT }
	
	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}

	building_types = {  #16
		building_oil_rig
		building_coal_mine
	}
	
	extension_building_types = {
		building_chemical_plant
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_ANHALT
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_ANHALT
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_coal_mine
				level >= 3
			}
		}
		has_technology_researched = pumpjacks
	}
	
	prosperity_modifier = {
		building_chemical_plant_throughput_add = 0.02 #2
		state_pollution_reduction_health_mult = -0.1 #14
	}	
	

	ai_will_do = {
		has_technology_researched = pumpjacks
		any_scope_state = {
			state_region = s:STATE_ANHALT
			is_incorporated = yes
		}
	}

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

# Daimler-Motoren-Gesellschaft
company_DaimlerMG = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/daimler.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_WURTTEMBERG }
	
	possible_prestige_goods = {
		prestige_good_german_cars
	}
	
	building_types = {  #11
		building_railway
		building_motor_industry
		building_automotive_industry
	}
	
	extension_building_types = {
		building_steel_mill
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_WURTTEMBERG
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_WURTTEMBERG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_railway
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		country_production_tech_spread_mult = 0.11 #11
	}	
	

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

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

# Deutsche Edison-Gesellschaft für Angewandte Elektrizität
company_DeEdison = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/deutscheedison.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BRANDENBURG }
	
	category = academic_owned
	
	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}
	
	building_types = {  #23
		building_power_plant
		building_motor_industry
	}
	
	extension_building_types = {
		building_electrics_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BRANDENBURG
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_power_plant
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_power_plant_throughput_add = 0.15 #20
		building_urban_center_throughput_add = 0.02 #2
	}	
	

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

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

# Carl Zeiss AG
company_CarlZeiss = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/zeiss.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_SAXONY }
	
	possible_prestige_goods = {
		prestige_good_generic_specialized_glass
	}

	building_types = {  #14
		building_tooling_workshop
		building_glassworks
	}
	
	extension_building_types = {
		building_electrics_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_SAXONY
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_SAXONY
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_glassworks
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_university_throughput_add = 0.08 #4
		building_automotive_industry_throughput_add = 0.08 #10
	}	
	

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

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

# Mannesmann AG
company_Mannesmann = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/mannesmann.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_RUHR }
	
	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
		}
	}
	
	building_types = {  #22
		building_steel_mill
	}
	
	extension_building_types = {
		building_oil_rig
		building_tooling_workshop
		building_iron_mine
	}

	potential = {
		has_interest_marker_in_region = sr:region_western_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_RUHR
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_RUHR
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_steel_mill
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_steel_mill_throughput_add = 0.10 #16
		country_production_tech_spread_mult = 0.06 #6
	}	
	

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

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


# Aktien-Gesellschaft für Anilin-Fabrikation
company_AGFA = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/agfa.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BRANDENBURG }
	
	possible_prestige_goods = {
		prestige_good_german_aniline
	}
	
	building_types = {  #26
		building_chemical_plant
		building_synthetics_plant
	}
	
	extension_building_types = {
		building_art_academy
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
		NOT = {
			has_company = company_type:company_IG_Farben
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BRANDENBURG
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_chemical_plant
				level >= 3
			}
		}
		has_technology_researched = aniline
		
	}
	
	prosperity_modifier = {
		building_art_academy_throughput_add = 0.2 #18
		state_mortality_mult = -0.02 #8
	}	
	

	ai_will_do = {
		has_technology_researched = aniline
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
		}
	}

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

# Henkel & Cie
company_Henkel = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/henkel.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_NORTH_RHINE }
	
	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}
	
	building_types = {  #27
		building_chemical_plant
	}
	
	extension_building_types = {
		building_textile_mill
		building_synthetics_plant
	}

	potential = {
		has_interest_marker_in_region = sr:region_western_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_NORTH_RHINE
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_NORTH_RHINE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_chemical_plant
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
        state_radicals_from_political_movements_mult = -0.14 #18
		state_lower_strata_expected_sol_add = -0.45
		state_middle_strata_expected_sol_add = -0.9
		state_upper_strata_expected_sol_add = -1.35
		building_textile_mill_throughput_add = 0.11 #10
	}	
	

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

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

# Blohm & Voss
company_Blohm = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/blohmvoss.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_ELBE }
	
	possible_prestige_goods = {
		#prestige_good_german_kriegsmarine
	}

	building_types = { #23
		building_shipyard
	}
	
	extension_building_types = {
		building_automotive_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_ELBE
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_ELBE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_shipyard
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		ship_hull_damage_mult = 0.04 #18
		ship_armor_mult = 0.015 #6
	}


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

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

# Hugo Stinnes GmbH
company_HugoS = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/hugostinnes.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_mining.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_RUHR }
	
	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}
	
	building_types = {  #19
		building_coal_mine 
		building_port
		building_trade_center
	}
	
	extension_building_types = {
		building_steel_mill
		building_iron_mine
		building_power_plant
		building_railway
	}

	potential = {
		has_interest_marker_in_region = sr:region_western_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_RUHR
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_RUHR
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_coal_mine
				level >= 3
			}
		}
		has_technology_researched = corporate_management
	}
	
	prosperity_modifier = {
		building_group_bg_heavy_industry_throughput_add = 0.03 #14
		country_ship_group_supply_ships_construction_efficiency_add = 0.08 #5
	}	
	

	ai_will_do = {
	    has_technology_researched = corporate_management
		any_scope_state = {
			state_region = s:STATE_RUHR
			is_incorporated = yes
		}
	}

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

# Kraus-Maffei
company_Kraus_Maffei = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/krauss.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BAVARIA }
	
	possible_prestige_goods = {
		prestige_good_generic_machine_parts
	}

	building_types = {  #17
		building_railway
		building_motor_industry
	}
	
	extension_building_types = {
		building_tooling_workshop
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BAVARIA
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BAVARIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_railway
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_urban_center_throughput_add = 0.04 #5
		building_railway_throughput_add = 0.09 #12
	}


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

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

# Papierfabrik August Köhler
company_AugustK = {
	icon = "gfx/interface/icons/company_icons/basic_paper.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BADEN }
	
	category = shopkeeper_owned
	
	possible_prestige_goods = {
		prestige_good_generic_paper
	}

	building_types = {  #26
		building_paper_mill
	}
	
	extension_building_types = {
		building_logging_camp
		building_synthetics_plant
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BADEN
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BADEN
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_paper_mill
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		state_trade_advantage_mult = 0.12 #8
		building_group_bg_light_industry_throughput_add = 0.01 #10
		interest_group_ig_petty_bourgeoisie_approval_add = 2 #8
	}


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

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

# Harzer Bergbau AG
company_HarzerBergbau = {
	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_BRUNSWICK }
	
	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}

	building_types = {  #18
		building_gold_mine
		building_lead_mine
	}
	
	extension_building_types = {
		building_power_plant
		building_iron_mine
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BRUNSWICK
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BRUNSWICK
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_lead_mine
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		interest_group_ig_trade_unions_pop_attraction_mult = 0.27 #18
	}


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

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

# Alfred Nobel and Co
company_GermanNobel = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/nobel2.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_ELBE }
	
	possible_prestige_goods = {
		prestige_good_nobel_dynamite
	}
	
	building_types = {  #23
		building_explosives_factory
	}
	
	extension_building_types = {
		building_munition_plant
		building_synthetics_plant
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_ELBE
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_ELBE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_explosives_factory
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		unit_army_offense_mult = 0.05 #10
		building_munition_plant_throughput_add = 0.15 #14
	}


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

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

# Seeberger
company_Seeberger = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/seeberger.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_plantation.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BADEN }
	
	category = shopkeeper_owned
	
	possible_prestige_goods = {
		prestige_good_generic_coffee
	}
	
	building_types = {  #19
		building_coffee_plantation
		building_sugar_plantation
		building_tobacco_plantation
	}
	
	extension_building_types = {
		building_food_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BADEN
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BADEN
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_food_industry
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		state_colony_growth_speed_mult = 0.1 #10
		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_BADEN
			is_incorporated = yes
		}
	}

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

# Café Niederegger
company_Niederegger = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/niederegger.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_wheat.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_SCHLESWIG_HOLSTEIN }
	
	category = shopkeeper_owned
	
	possible_prestige_goods = {
		prestige_good_generic_sweets
	}

	building_types = {  #24
		building_food_industry
		building_sugar_plantation
	}
	
	extension_building_types = {
		building_rye_farm
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_SCHLESWIG_HOLSTEIN
				is_incorporated = yes
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_SCHLESWIG_HOLSTEIN
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_food_industry
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		state_colony_growth_speed_mult = 0.1 #10
		state_loyalists_from_political_movements_mult = 0.11 #14
		state_lower_strata_expected_sol_add = -0.35
		state_middle_strata_expected_sol_add = -0.7
		state_upper_strata_expected_sol_add = -1.05
	}


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

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

# Robert Bosch GmbH
company_Bosch = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/robertbosch.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_WURTTEMBERG }
	
	possible_prestige_goods = {
		prestige_good_generic_machine_parts
	}

	building_types = {  #20
		building_electrics_industry
		building_tooling_workshop
	}
	
	extension_building_types = {
		building_motor_industry
		building_automotive_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_WURTTEMBERG
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_WURTTEMBERG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_automotive_industry
				level >= 3
			}
		}
		has_technology_researched = combustion_engine
	}
	
	prosperity_modifier = {
		country_production_tech_spread_mult = 0.10 #10
		goods_output_automobiles_mult = 0.13 #10
	}


	ai_will_do = {
	    has_technology_researched = combustion_engine
		any_scope_state = {
			state_region = s:STATE_WURTTEMBERG
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_automotive_industry = {
			level = 5
			state_trigger = {
				state_region = s:STATE_WURTTEMBERG
			}
		}
		
		building_tooling_workshop = {
			level = 5
			state_trigger = {
				state_region = s:STATE_WURTTEMBERG
			}
		}
	}
	ai_weight = {
		value = 3 # Higher base value for flavored companies
	}	
}

# Königliche Preußische Gewehrfabrique
company_KPG = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/kpgf.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BRANDENBURG }
	
	category = aristocrat_owned
	
	possible_prestige_goods = {
		prestige_good_generic_small_arms
	}

	building_types = {  #22
		building_arms_industry
		building_munition_plant
		building_artillery_foundry
	}
	
	extension_building_types = {
		building_steel_mill
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BRANDENBURG
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_arms_industry
					is_building_type = building_munition_plant
					is_building_type = building_artillery_foundry
				}
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		ship_hull_damage_mult = 0.025 #10
        unit_army_defense_mult = 0.02 #4
		interest_group_ig_landowners_approval_add = 2 #8
	}	
	

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

	ai_construction_targets = {
		building_arms_industry = {
			level = 5
			state_trigger = {
				state_region = s:STATE_BRANDENBURG
			}
		}
	}
	ai_weight = {
		value = 3 # Higher base value for flavored companies
	}
}
# Mauser
company_mauser = {
    icon = "gfx/interface/icons/company_icons/historical_company_icons/german_mauser.png"
    background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"

    flavored_company = yes
	preferred_headquarters = { STATE_WURTTEMBERG }
	
	category = aristocrat_owned
	
	possible_prestige_goods = {
		prestige_good_mauser_ammunition
	}

    building_types = { #26
        building_arms_industry
		building_munition_plant
    }

	extension_building_types = {
		building_explosives_factory
		building_artillery_foundry
	}

    potential = {
        has_interest_marker_in_region = sr:region_central_europe
    }

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

    possible = {
        any_scope_state = {
            OR = {
                state_region = s:STATE_WURTTEMBERG
            }
            is_incorporated = yes
            any_scope_building = {
                OR = {
                    is_building_type = building_arms_industry
                    is_building_type = building_artillery_foundry
                }
                level >= 3
            }
        }
        has_technology_researched = breech_loading_artillery
    }

    prosperity_modifier = {
        state_trade_advantage_mult = 0.18 #12
        building_arms_industry_throughput_add = 0.20 #14
    }
	
	ai_will_do = {
	    has_technology_researched = breech_loading_artillery
		any_scope_state = {
			state_region = s:STATE_NORTH_RHINE
			is_incorporated = yes
		}
	}

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

# Glockengießerei Claren
company_Glockengiesserei_Claren = {
	icon = "gfx/interface/icons/company_icons/basic_home_goods.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_NORTH_RHINE }
	
	category = academic_owned
	
	possible_prestige_goods = {
		prestige_good_steel_bells
	}

	building_types = {  #16
		building_glassworks
		building_steel_mill
	}
	
	extension_building_types = {
		building_lead_mine
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
		OR = {
			country_has_state_religion = rel:catholic
			country_has_state_religion = rel:protestant
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_NORTH_RHINE
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_NORTH_RHINE
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_glassworks
					is_building_type = building_steel_mill
				}
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		state_loyalists_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_NORTH_RHINE
			is_incorporated = yes
		}
	}

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

# Elbwerft Boizenburg
company_Elbwerft = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/elbwerft.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_MECKLENBURG }
	
	possible_prestige_goods = {
		#prestige_good_german_kriegsmarine
	}
	
	building_types = {  #23
		building_shipyard
	}
	
	extension_building_types = {
		building_motor_industry
		building_automotive_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_MECKLENBURG			
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_MECKLENBURG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_shipyard
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_fishing_wharf_throughput_add = 0.16 #16
		country_military_tech_spread_mult = 0.08 #8
	}	
	

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

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

# Bäkerei Johann Bollhagen
company_JohannBollhagen = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/grabower.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_MECKLENBURG }
	
	category = shopkeeper_owned
	
	possible_prestige_goods = {
		prestige_good_generic_sweets
	}

	building_types = {  #24
		building_food_industry
		building_sugar_plantation
	}
	
	extension_building_types = {
		building_rye_farm
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_MECKLENBURG			
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_MECKLENBURG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_food_industry
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		state_loyalists_from_political_movements_mult = 0.15 #20
		state_lower_strata_expected_sol_add = -0.5
		state_middle_strata_expected_sol_add = -1
		state_upper_strata_expected_sol_add = -1.5
		state_migration_pull_mult = 0.03 #4
	}	
	

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

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

# Aktien-Gesellschaft Neptun
company_Neptun = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/neptun.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_MECKLENBURG }
	
	possible_prestige_goods = {
		#prestige_good_german_kriegsmarine
	}

	building_types = {  #15
		building_shipyard
		building_steel_mill
	}
	
	extension_building_types = {
		building_artillery_foundry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_MECKLENBURG			
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_MECKLENBURG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_shipyard
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		ship_armor_mult = 0.015 #6
		ship_ship_type_submarine_hull_damage_mult = 0.075 #10
	}	
	

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

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

# Röhm & Haas GmbH
company_Roehm = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/roehm.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_HESSE }
	
	possible_prestige_goods = {
		prestige_good_generic_specialized_glass
	}

	building_types = {  #26 
		building_glassworks
		building_chemical_plant
	}
	
	extension_building_types = {
		building_livestock_ranch
		building_food_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_HESSE
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_HESSE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_glassworks
				level >= 3
			}
		}
		has_technology_researched = plastics
	}
	
	prosperity_modifier = {
		building_glassworks_throughput_add = 0.10 #16
		building_university_throughput_add = 0.08 #4
		country_prestige_mult = 0.06 #6
	}	
	

	ai_will_do = {
	    has_technology_researched = plastics
		any_scope_state = {
			state_region = s:STATE_HESSE
			is_incorporated = yes
		}
	}

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

company_Rothschild_Bank_Europe = {
   icon = "gfx/interface/icons/company_icons/historical_company_icons/rothschild.png"
   background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_HOME_COUNTIES STATE_ILE_DE_FRANCE STATE_HESSE STATE_AUSTRIA STATE_CAMPANIA}
	
	category = aristocrat_owned
	
	possible_prestige_goods = {
		#prestige_good_generic_currency_paper
	}
	
	building_types = {  
		building_paper_mill
		building_arms_industry
		building_railway
	}
	
	extension_building_types = {
		building_glassworks
		building_art_academy
		building_munition_plant	
		building_iron_mine
	}
	
	potential = {
		has_game_rule = banks_enabled
		OR = {
			has_interest_marker_in_region = sr:region_western_europe
			has_interest_marker_in_region = sr:region_western_europe
			has_interest_marker_in_region = sr:region_central_europe
			has_interest_marker_in_region = sr:region_central_europe
			has_interest_marker_in_region = sr:region_southern_europe
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				OR = {
					state_region = s:STATE_HOME_COUNTIES
					state_region = s:STATE_ILE_DE_FRANCE
					state_region = s:STATE_HESSE
					state_region = s:STATE_AUSTRIA
					state_region = s:STATE_CAMPANIA
				}
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			OR = {
				state_region = s:STATE_HOME_COUNTIES
				state_region = s:STATE_ILE_DE_FRANCE
				state_region = s:STATE_HESSE	
				state_region = s:STATE_AUSTRIA
				state_region = s:STATE_CAMPANIA
			}
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_financial_district
				level >= 15
			}
		}
		unique_companies_has_bank = no
	}
	
	prosperity_modifier = {
		country_military_goods_cost_mult = -0.05 #War Financing
		country_max_weekly_construction_progress_add = 5 #Many Infrastructure Projects
		
		country_loan_interest_rate_mult = -0.025
        country_private_construction_allocation_mult = 0.1		
		
		state_farmers_investment_pool_contribution_add = 0.015 
		state_shopkeepers_investment_pool_contribution_add = 0.015 
		state_clergymen_investment_pool_contribution_add = 0.04 
		state_aristocrats_investment_pool_contribution_add = 0.07 
		state_capitalists_investment_pool_contribution_add = 0.05 
		
		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 = {
		any_scope_state = {
			OR = {
				state_region = s:STATE_HOME_COUNTIES
				state_region = s:STATE_ILE_DE_FRANCE
				state_region = s:STATE_HESSE	
				state_region = s:STATE_AUSTRIA
				state_region = s:STATE_CAMPANIA
			}
			is_incorporated = yes
		}
		unique_companies_has_bank = no
	}

	ai_construction_targets = {
		building_paper_mill = {
			level = 5
			state_trigger = {
				OR = {
					state_region = s:STATE_HOME_COUNTIES
					state_region = s:STATE_ILE_DE_FRANCE
					state_region = s:STATE_HESSE	
					state_region = s:STATE_AUSTRIA
					state_region = s:STATE_CAMPANIA
				}
			}
		}
	}
	ai_weight = {
		value = 4 # Higher base value for flavored companies
	}
}

company_Deutsche_Bank = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/deutschebank.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BRANDENBURG }
	
	possible_prestige_goods = {
		#prestige_good_generic_currency_paper
	}
	
	building_types = {  
		building_paper_mill
		building_chemical_plant
		building_electrics_industry
	}
	
	extension_building_types = {	
		building_arms_industry
		building_railway
		building_coal_mine
		building_iron_mine
	}
	
	potential = {
		has_game_rule = banks_enabled
		OR = {
			c:GER ?= this
			was_formed_from = GER
		}
	}
	
	possible = {
		any_scope_state = {
			OR = {
				region = sr:region_central_europe
				region = sr:region_central_europe
			}
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_financial_district
				level >= 20
			}
		}	
		has_technology_researched = investment_banks
		unique_companies_has_bank = no
	}
	
	prosperity_modifier = {		
		country_authority_mult = 0.1 #<-- they bought more and more banks, many big companies became Part of it (Basf, Krupp.....)
		state_political_strength_from_wealth_mult = 0.1
		
        country_private_construction_allocation_mult = 0.1		
		
		state_farmers_investment_pool_contribution_add = 0.015
		state_shopkeepers_investment_pool_contribution_add = 0.02 #<--
		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 = {
		OR = {
			c:GER ?= this
			was_formed_from = GER
		}
		has_technology_researched = investment_banks
		any_scope_state = {
			OR = {
				region = sr:region_central_europe
				region = sr:region_central_europe
			}
			is_incorporated = yes
		}
		unique_companies_has_bank = no
	}

	ai_construction_targets = {
		building_paper_mill = {
			level = 5
			state_trigger = {
				OR = {
					region = sr:region_central_europe
					region = sr:region_central_europe
				}
			}
		}
	}
	ai_weight = {
		value = 5 # Higher base value for flavored companies
	}
}

# Reichsdruckerei
company_reichsdruckerei = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/reichsdruckerei.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BRANDENBURG }
	
	category = bureaucrat_owned
	
	possible_prestige_goods = {
		prestige_good_generic_paper
	}
	
	building_types = {  #26
		building_paper_mill
	}
	
	extension_building_types = {
		building_art_academy
		building_synthetics_plant
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BRANDENBURG
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_paper_mill
				level >= 3
			}
		}
		has_technology_researched = postal_savings
	}
	
	prosperity_modifier = {
		building_art_academy_throughput_add = 0.1 #10
		building_university_throughput_add = 0.20 #10
		country_prestige_mult = 0.06 #6
	}	
	

	ai_will_do = {
	    has_technology_researched = postal_savings
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
		}
	}

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

# Volkswagen
company_Volkswagen = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/volkswagen.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BRANDENBURG }
	
	possible_prestige_goods = {
		prestige_good_german_cars
	}
	
	building_types = {  #36
		building_automotive_industry
	}
	
	extension_building_types = {
		building_motor_industry
		building_steel_mill
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BRANDENBURG
			}
		}
	}	
	
	possible = {
		NOT = {
			has_law_or_variant = law_type:law_monarchy
		}
		OR = {
			has_law_or_variant = law_type:law_autocracy
			has_law_or_variant = law_type:law_single_party_state
			has_law_or_variant = law_type:law_technocracy
		}
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_automotive_industry
				level >= 3
			}
		}
		has_technology_researched = combustion_engine
		has_technology_researched = political_agitation
	}
	
	prosperity_modifier = {
		country_loyalists_from_legitimacy_mult = 0.16 #16
        goods_output_automobiles_mult = 0.15 #12
		interest_group_in_government_attraction_mult = 0.08 #8
	}


	ai_will_do = {
	    has_technology_researched = combustion_engine
		has_technology_researched = political_agitation
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
		}
	}

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

# Porsche
company_Porsche = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/porsche.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_WURTTEMBERG }
	
	possible_prestige_goods = {
		prestige_good_porsche_tanks
	}
	
	building_types = {  #32
		building_automotive_industry	
	}
	
	extension_building_types = {
		building_motor_industry
		building_steel_mill
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_WURTTEMBERG
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_WURTTEMBERG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_automotive_industry
				level >= 3
			}
		}
		has_technology_researched = combustion_engine
		has_technology_researched = political_agitation
	}
	
	prosperity_modifier = {
		country_prestige_mult = 0.08 #8
		country_military_tech_spread_mult = 0.12 #12
		goods_output_automobiles_mult = 0.13 #10
	}


	ai_will_do = {
	    has_technology_researched = combustion_engine
		has_technology_researched = political_agitation
		any_scope_state = {
			state_region = s:STATE_WURTTEMBERG
			is_incorporated = yes
		}
	}

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

# Audi
company_Audi = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/audi.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_SAXONY }
	
	possible_prestige_goods = {
		prestige_good_german_cars
	}
	
	building_types = {  #30
		building_automotive_industry
	}
	
	extension_building_types = {
		building_motor_industry
		building_steel_mill
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_SAXONY
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_SAXONY
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_automotive_industry
				level >= 3
			}
		}
		has_technology_researched = combustion_engine
		has_technology_researched = investment_banks
	}
	
	prosperity_modifier = {
		state_assimilation_mult = 0.2 #10
		country_prestige_mult = 0.1 #10
		goods_output_automobiles_mult = 0.13 #10
	}


	ai_will_do = {
	    has_technology_researched = combustion_engine
		has_technology_researched = investment_banks
		any_scope_state = {
			state_region = s:STATE_SAXONY
			is_incorporated = yes
		}
	}

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

# Bayerische Motoren Werke / BMW
company_BMW = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/bmw.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BAVARIA }
	
	possible_prestige_goods = {
		prestige_good_german_cars
	}

	building_types = {  #24
		building_automotive_industry
		building_motor_industry
	}
	
	extension_building_types = {
		building_tooling_workshop
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BAVARIA
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BAVARIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_automotive_industry
				level >= 3
			}
		}
		has_technology_researched = combustion_engine
		has_technology_researched = investment_banks
	}
	
	prosperity_modifier = {
		goods_output_aeroplanes_mult = 0.20 #10
		goods_output_automobiles_mult = 0.13 #10
		state_pop_qualifications_mult = 0.03 #4
	}


	ai_will_do = {
	    has_technology_researched = combustion_engine
		has_technology_researched = investment_banks
		any_scope_state = {
			state_region = s:STATE_BAVARIA
			is_incorporated = yes
		}
	}

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

# Benz & Cie. - Rheinische Automobil- und Motorenfabrik
company_Benz = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/benz.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_RHINELAND }
	
	possible_prestige_goods = {
		prestige_good_german_cars
	}
	
	building_types = {  #24
		building_automotive_industry
		building_motor_industry
	}
	
	extension_building_types = {
		building_steel_mill
	}

	potential = {
		has_interest_marker_in_region = sr:region_western_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_RHINELAND
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_RHINELAND
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_motor_industry
				level >= 3
			}
		}
		has_technology_researched = combustion_engine
		has_technology_researched = investment_banks
	}
	
	prosperity_modifier = {
		state_political_strength_from_wealth_mult = 0.12 #12
		goods_output_automobiles_mult = 0.15 #12
	}


	ai_will_do = {
	    has_technology_researched = combustion_engine
		has_technology_researched = investment_banks
		any_scope_state = {
			state_region = s:STATE_RHINELAND
			is_incorporated = yes
		}
	}

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

# Maybach-Motorenbau GmbH
company_Maybach = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/maybach.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_WURTTEMBERG }
	
	possible_prestige_goods = {
		prestige_good_german_cars
	}
	
	building_types = {  #24
		building_motor_industry
		building_automotive_industry
	}
	
	extension_building_types = {
		building_shipyard
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_WURTTEMBERG
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_WURTTEMBERG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_motor_industry
				level >= 3
			}
		}
		has_technology_researched = combustion_engine
		has_technology_researched = investment_banks
	}
	
	prosperity_modifier = {
		goods_output_aeroplanes_mult = 0.15 #14
		goods_output_automobiles_mult = 0.13 #10
	}


	ai_will_do = {
	    has_technology_researched = combustion_engine
		has_technology_researched = investment_banks
		any_scope_state = {
			state_region = s:STATE_WURTTEMBERG
			is_incorporated = yes
		}
	}

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

# Waggonfabrik Görlitz Aktiengesellschaft
company_WaggonfabrikGoerlitz = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/waggongoerlitz.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_SAXONY }
	
	
	possible_prestige_goods = {
		prestige_good_generic_machine_parts
	}

	building_types = {  #24
		building_tooling_workshop
	}
	
	extension_building_types = {
		building_railway
		building_logging_camp
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_SAXONY
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_SAXONY
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_tooling_workshop
				level >= 5
			}
		}
		has_technology_researched = railways
	}
	
	prosperity_modifier = {
		building_railway_throughput_add = 0.15 #20
		state_aristocrats_investment_pool_contribution_add = 0.02 #4
	}	
	

	ai_will_do = {
	    has_technology_researched = railways
		any_scope_state = {
			state_region = s:STATE_SAXONY
			is_incorporated = yes
		}
	}

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

# Brennabor
company_Brennabor = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/brennabor.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BRANDENBURG }
	
	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}

	building_types = {  #20
		building_furniture_manufactory
		building_automotive_industry
	}
	
	extension_building_types = {
		building_motor_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BRANDENBURG
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_furniture_manufactory
				level >= 3
			}
		}
		has_technology_researched = rubber_mastication
	}
	
	prosperity_modifier = {
		state_trade_advantage_mult = 0.15 #10
		state_loyalists_from_political_movements_mult = 0.08 #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
	}	
	

	ai_will_do = {
	    has_technology_researched = rubber_mastication
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
		}
	}

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

# Kaiserliche Werften
company_Kaiserliche_Werften = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/kw_wilhelmshaven.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_HANNOVER }
	
	category = bureaucrat_owned
	
	possible_prestige_goods = {
		#prestige_good_german_kriegsmarine
	}

	building_types = {  #29
		building_shipyard
	}
	
	extension_building_types = {
		building_steel_mill
		building_motor_industry
		building_artillery_foundry
	}

	potential = {
		country_has_primary_culture = cu:north_german
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				OR = {
					state_region = s:STATE_HANNOVER
					state_region = s:STATE_SCHLESWIG_HOLSTEIN
					state_region = s:STATE_WEST_PRUSSIA
				}
			}
		}
	}	
	
	possible = { 
	    has_law_or_variant = law_type:law_monarchy
		any_scope_state = {
			OR = {
				state_region = s:STATE_HANNOVER
				state_region = s:STATE_SCHLESWIG_HOLSTEIN
				state_region = s:STATE_WEST_PRUSSIA
			}
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_shipyard
				level >= 3
			}
		}
		has_technology_researched = pan-nationalism
		has_technology_researched = gantry_cranes
	}
	
	prosperity_modifier = {
		building_shipyard_throughput_add = 0.5 #10
		ship_ship_type_submarine_hull_damage_mult = 0.075 #10
		country_war_exhaustion_casualties_mult = -0.05 #10
	}	
	

	ai_will_do = {
	    has_technology_researched = pan-nationalism
		has_technology_researched = gantry_cranes
		any_scope_state = {
			state_region = s:STATE_WEST_PRUSSIA
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_shipyard = {
			level = 5
			state_trigger = {
				OR = {
					state_region = s:STATE_HANNOVER
					state_region = s:STATE_SCHLESWIG_HOLSTEIN
					state_region = s:STATE_WEST_PRUSSIA
				}
			}
		}
	}
	ai_weight = {
		value = 3 # Higher base value for flavored companies
	}
}

# Süddeutsche Eisenbahn-Gesellschaft AG
company_sueddeutsche_eisenbahn = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/sueddeutscheeisenbahn.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_railways.dds"

	flavored_company = yes
	
	category = bureaucrat_owned
	
	preferred_headquarters = { STATE_HESSE }
	
	building_types = { #23
		building_railway
	}

	extension_building_types = {
		building_motor_industry
		building_power_plant
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				OR = {
					state_region = s:STATE_HESSE
					region = sr:region_central_europe
				}
			}
		}
	}

	possible = {
		any_scope_state = {
			OR = {
				state_region = s:STATE_HESSE
				region = sr:region_central_europe
			}
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_railway
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		military_formation_army_movement_speed_mult = 0.1 #10
		country_bureaucracy_mult = 0.08 #10
		state_infrastructure_mult = 0.02 #4
	}

	ai_will_do = {
		any_scope_state = {
			OR = {
				state_region = s:STATE_HESSE
				region = sr:region_central_europe
			}
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_railway = {
			level = 5
			state_trigger = {
				state_region = s:STATE_HESSE
			}
		}
		building_railway = {
			level = 5
			state_trigger = {
				region = sr:region_central_europe
			}
		}
	}

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

# Diehl
company_diehl = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/diehl.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"

	flavored_company = yes
	
	preferred_headquarters = { STATE_FRANCONIA }
	
	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
		}
	}
	
	building_types = { #18
		building_steel_mill
		building_art_academy
		building_tooling_workshop
	}

	extension_building_types = {
		building_munition_plant
		building_electrics_industry
		building_textile_mill
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_FRANCONIA
			}
		}
	}

	possible = {
		any_scope_state = {
			state_region = s:STATE_FRANCONIA
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_art_academy
					is_building_type = building_steel_mill
				}
				level >= 5
			}
		}
		has_technology_researched = electric_arc_process
		has_technology_researched = feminism
	}

	prosperity_modifier = {
		country_production_tech_spread_mult = 0.10 #10
		interest_group_in_government_approval_add = 1 #8
	}

	ai_will_do = {
	   has_technology_researched = electric_arc_process
		has_technology_researched = feminism
		any_scope_state = {
			state_region = s:STATE_FRANCONIA
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_art_academy = {
			level = 3
			state_trigger = {
				state_region = s:STATE_FRANCONIA
			}
		}
		
		building_steel_mill = {
			level = 3
			state_trigger = {
				state_region = s:STATE_FRANCONIA
			}
		}
	}

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

# Ernst Leitz Wetzlar
company_leitz_wetzlar = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/leitz.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"

	flavored_company = yes
	
	preferred_headquarters = { STATE_HESSE }
	
	category = academic_owned
	
	possible_prestige_goods = {
		prestige_good_generic_specialized_glass
	}
	
	building_types = { #24
		building_glassworks
	}

	extension_building_types = {
		building_art_academy
		building_textile_mill
		building_electrics_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_HESSE
			}
		}
	}

	possible = {
		any_scope_state = {
			state_region = s:STATE_HESSE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_glassworks
				level >= 5
			}
		}
		has_technology_researched = crystal_glass
		has_technology_researched = philosophical_pragmatism
	}

	prosperity_modifier = {
		country_society_tech_spread_mult = 0.12 #12
		interest_group_ig_intelligentsia_approval_add = 1 #4
		interest_group_ig_intelligentsia_pop_attraction_mult = 0.09 #6
	}

	ai_will_do = {
	    has_technology_researched = crystal_glass
		has_technology_researched = philosophical_pragmatism
		any_scope_state = {
			state_region = s:STATE_HESSE
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_glassworks = {
			level = 3
			state_trigger = {
				state_region = s:STATE_HESSE
			}
		}
	}

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

# J.P. Bemberg
company_j_p_bemberg = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/bemberg.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"

	flavored_company = yes
	
	preferred_headquarters = { STATE_RUHR }
	
	possible_prestige_goods = {
		prestige_good_german_aniline
	}
	
	building_types = { #18
		building_dye_plantation
		building_cotton_plantation
		building_livestock_ranch
	}

	extension_building_types = {
		building_synthetics_plant
	}

	potential = {
		has_interest_marker_in_region = sr:region_western_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_RUHR
			}
		}
	}

	possible = {
		any_scope_state = {
			state_region = s:STATE_RUHR
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_livestock_ranch
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		building_textile_mill_throughput_add = 0.09 #8
		building_synthetics_plant_throughput_add = 0.1 #10
	}

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

	ai_construction_targets = {
		building_livestock_ranch = {
			level = 5
			state_trigger = {
				state_region = s:STATE_RUHR
			}
		}
	}

	ai_weight = {
		value = 3 # Higher base value for flavored companies
	}
}
#Königliches Hofbräuhaus
company_hofbrauhaus = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/k_hofbrau.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_wheat.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BAVARIA }
	
	category = aristocrat_owned
	
	possible_prestige_goods = {
		prestige_good_generic_beer
	}
	
	building_types = {  #27
		building_food_industry
	}
	
	extension_building_types = {
		building_rye_farm
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BAVARIA
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BAVARIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_food_industry
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		interest_group_ig_landowners_approval_add = 2 #8
		state_radicals_from_political_movements_mult = -0.15 #20
		state_lower_strata_expected_sol_add = -0.5
		state_middle_strata_expected_sol_add = -1.0
		state_upper_strata_expected_sol_add = -1.5
	}


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

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

#Koenig & Bauer 
company_koenig_bauer = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/konig_bauer.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_FRANCONIA }
	
	possible_prestige_goods = {
		prestige_good_generic_machine_parts
	}
	
	building_types = {  #22
		building_tooling_workshop
	}
	
	extension_building_types = {
		building_iron_mine
		building_steel_mill
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_FRANCONIA
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_FRANCONIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_tooling_workshop
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_paper_mill_throughput_add = 0.15 #15
		country_minting_mult = 0.01 #6
	}


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

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

# Gesellschaft für Linde's Eismaschinen
company_linde = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/linde.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"

	flavored_company = yes
	
	preferred_headquarters = { STATE_HESSE }
	
	possible_prestige_goods = {
		prestige_good_generic_machine_parts
	}
	
	building_types = { #21
		building_tooling_workshop
		building_chemical_plant
	}

	extension_building_types = {
		building_automotive_industry
		building_synthetics_plant
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_HESSE
			}
		}
	}

	possible = {
		any_scope_state = {
			state_region = s:STATE_HESSE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_tooling_workshop
				level >= 5
			}
		}
		has_technology_researched = rotary_valve_engine
	}
	
	prosperity_modifier = {
		country_weekly_innovation_mult = 0.06 #10
		country_weekly_innovation_max_add = 5 #10
	}

	ai_will_do = {
	    has_technology_researched = rotary_valve_engine
		any_scope_state = {
			state_region = s:STATE_HESSE
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_tooling_workshop = {
			level = 3
			state_trigger = {
				state_region = s:STATE_HESSE
			}
		}
	}

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

# Hamburg-Amerikanische Packetfahrt-Actien-Gesellschaft
company_hamburg_america_line = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/hamburg_amerika.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_ELBE }
	
	possible_prestige_goods = {
		prestige_good_generic_merchant_marine
	}

	building_types = {  #23
		building_trade_center
		building_port
	}
	
	extension_building_types = {
		building_shipyard
		building_motor_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe	
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_ELBE
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_ELBE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_port
				level >= 3
			}
		}
		has_technology_researched = hydraulic_cranes
	}
	
	prosperity_modifier = {
		building_port_throughput_add = 0.1 #10
		state_migration_pull_mult = 0.03 #3
		building_trade_center_throughput_add = 0.1 #10
	}	
	

	ai_will_do = {
	    has_technology_researched = hydraulic_cranes
		any_scope_state = {
			state_region = s:STATE_ELBE
			is_incorporated = yes
		}
	}

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

# MontBlanc / Simplo Filler Pen Co.
company_MontBlanc = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/montblanc.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BRANDENBURG }
	
	possible_prestige_goods = {
		prestige_good_generic_writing_utensils
	}
	
	building_types = {  #24
		building_tooling_workshop
		building_art_academy
	}
	
	extension_building_types = {
		building_textile_mill
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BRANDENBURG
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_tooling_workshop
				level >= 3
			}
		}
		has_technology_researched = plastics
	}
	
	prosperity_modifier = {
		building_art_academy_throughput_add = 0.1 #10
		building_government_administration_throughput_add = 0.06 #4
		state_trade_advantage_mult = 0.15 #10
	}	
	

	ai_will_do = {
	    has_technology_researched = plastics
		any_scope_state = {
			state_region = s:STATE_BRANDENBURG
			is_incorporated = yes
		}
	}

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

# Hamburger Freihafen-Lagerhaus Gesellschaft
company_hamburg_lagerhaus_gesellschaft = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/hamburger_freihafen.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_ELBE }
	
	category = bureaucrat_owned
	
	possible_prestige_goods = {
		prestige_good_generic_merchant_marine
	}

	building_types = {  #25
		building_trade_center
		building_port
	}
	
	extension_building_types = {
		building_shipyard
		building_furniture_manufactory
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe	
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_ELBE
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_ELBE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_port
				level >= 3
			}
		}
		has_technology_researched = gantry_cranes
	}
	
	prosperity_modifier = {	
		building_port_throughput_add = 0.05 #5
		state_infrastructure_mult = 0.05 #10
		power_bloc_leverage_generation_mult = 0.10 #10
	}	
	

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

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

# Nürnberg-Fürther Straßenbahn-Gesellschaft
company_nuernberg_bahn = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/nürnberg_fürth.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_railways.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_FRANCONIA }
	
	possible_prestige_goods = {
		##
	}
	
	building_types = {  #23
		building_livestock_ranch
		building_railway
	}
	
	extension_building_types = {
		building_automotive_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_FRANCONIA
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_FRANCONIA
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_livestock_ranch
					is_building_type = building_railway
				}
				level >= 3
			}
		}
		has_technology_researched = steel_railway_cars
	}
	
	prosperity_modifier = {
		building_urban_center_throughput_add = 0.06 #8
		interest_group_in_government_attraction_mult = 0.1 #10
		state_infrastructure_from_population_add = 3 #6
	}


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

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

# J.S. Staedtler Bleistift-Fabrik
company_staedtler = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/staedtler.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_FRANCONIA }
	
	possible_prestige_goods = {
		prestige_good_generic_writing_utensils
	}
	
	building_types = {  #20
		building_tooling_workshop
		building_art_academy
	}
	
	extension_building_types = {
		building_logging_camp
		building_chemical_plant
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_FRANCONIA
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_FRANCONIA
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_tooling_workshop
					is_building_type = building_art_academy
				}
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_university_throughput_add = 0.10 #5
		country_prestige_mult = 0.05 #5
		building_art_academy_throughput_add = 0.1 #10
	}


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

	ai_construction_targets = {
		building_tooling_workshop = {
			level = 3
			state_trigger = {
				state_region = s:STATE_FRANCONIA
			}
		}
		
		building_art_academy = {
			level = 3
			state_trigger = {
				state_region = s:STATE_FRANCONIA
			}
		}
	}
	ai_weight = {
		value = 3 # Higher base value for flavored companies
	}	
}

# Georg von Giesche’sche Erben
company_Giesche_Erben = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/giesche_erben.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_mining.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_UPPER_SILESIA }
	
	possible_prestige_goods = {
		prestige_good_silesian_coal
	}
	
	building_types = {  #22
		building_coal_mine 
	}
	
	extension_building_types = {
		building_iron_mine
		building_lead_mine
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_UPPER_SILESIA
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_UPPER_SILESIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_coal_mine
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_steel_mill_throughput_add = 0.07 #10
		building_coal_mine_throughput_add = 0.08 #12
	}	
	

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

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

# Bayerische Flugzeugwerke AG / BFW
company_Bayerische_FlugzeugAG = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/bfw.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BAVARIA }
	
	possible_prestige_goods = {
		##
	}

	building_types = {  #30
		building_automotive_industry
	}
	
	extension_building_types = {
		building_motor_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BAVARIA
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BAVARIA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_automotive_industry
				level >= 3
			}
		}
		has_technology_researched = combustion_engine
		has_technology_researched = investment_banks
	}
	
	prosperity_modifier = {
		goods_output_aeroplanes_mult = 0.20 #10
		unit_occupation_mult = 0.1 #10
		unit_army_offense_mult = 0.05 #10
	}


	ai_will_do = {
	    has_technology_researched = combustion_engine
		has_technology_researched = investment_banks
		any_scope_state = {
			state_region = s:STATE_BAVARIA
			is_incorporated = yes
		}
	}

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

# Junkers Flugzeug- und Motorenwerke AG/ Junkers
company_Junkers = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/junkers.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_SAXONY }
	
	possible_prestige_goods = {
		prestige_good_junkers_planes
	}
	
	building_types = {  #24
		building_automotive_industry
		building_motor_industry
	}
	
	extension_building_types = {
		building_tooling_workshop
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_SAXONY
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_SAXONY
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_automotive_industry
				level >= 3
			}
		}
		has_technology_researched = combustion_engine
		has_technology_researched = investment_banks
	}
	
	prosperity_modifier = {
		goods_output_aeroplanes_mult = 0.20 #10
		country_military_tech_spread_mult = 0.14 #14
	}


	ai_will_do = {
	    has_technology_researched = combustion_engine
		has_technology_researched = investment_banks
		any_scope_state = {
			state_region = s:STATE_SAXONY
			is_incorporated = yes
		}
	}

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

# Thurn-und-Taxis Post
company_ThurnTaxis = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/thurntaxis.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_NORTH_RHINE }
	
	category = aristocrat_owned
	
	building_types = { #26
		building_paper_mill
	}
	
	extension_building_types = {
		building_railway
		building_port
	}

	potential = {
	   OR = {
		   country_has_primary_culture = cu:north_german
		   country_has_primary_culture = cu:south_german
		}
		NOR = {
			c:AUS ?= this
			was_formed_from = AUS
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
			    OR = {
					region = sr:region_western_europe
					region = sr:region_central_europe
					region = sr:region_central_europe
				}
			}
		}
	}
	
	possible = {
		any_scope_state = {
			OR = {
				region = sr:region_western_europe
				region = sr:region_central_europe
				region = sr:region_central_europe
			}
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_urban_center
				level >= 5
			}
		}
	}
	
	prosperity_modifier = {
		country_authority_mult = 0.1 #10
		state_assimilation_mult = 0.20 #10
		state_infrastructure_from_population_mult = 0.04 #6
	}


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

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

# IG Farben (Mega-Merger of Agfa, BASF, Bayer, Griesheim-Elektron, Höchst and Weilter-ter-Meer)
company_IG_Farben = { #Was the largest company in europe at the time
	icon = "gfx/interface/icons/company_icons/historical_company_icons/ig_farben.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_HESSE STATE_BADEN STATE_BRANDENBURG STATE_RHINELAND STATE_RUHR STATE_NORTH_RHINE}

	building_types = { #32 #+6 for 2 required companies
		building_synthetics_plant #+1
		building_chemical_plant #+1
		building_oil_rig #-4
	}

	extension_building_types = {
		building_coal_mine
		building_sulfur_mine
		building_furniture_manufactory
		building_art_academy
		building_textile_mill
		building_food_industry
	}

	possible_prestige_goods = {
		prestige_good_german_aniline
		prestige_good_generic_medicine
	}

	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_central_europe
			has_interest_marker_in_region = sr:region_central_europe
			has_interest_marker_in_region = sr:region_western_europe
		}
		always = no
	}

	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
			    OR = {
					region = sr:region_western_europe
					region = sr:region_central_europe
					region = sr:region_central_europe
				}
			}
		}
	}

	possible = {
		any_scope_state = {
			OR = {
				region = sr:region_western_europe
				region = sr:region_central_europe
				region = sr:region_central_europe
			}
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_synthetics_plant
					is_building_type = building_chemical_plant
				}
				level >= 7
			}
			count >=6
		}
		has_technology_researched = aniline
		has_technology_researched = political_agitation
		has_technology_researched = corporate_management		
	}

	prosperity_modifier = {
		unit_kill_rate_add = 0.04 #8
		state_mortality_wealth_mult = -0.003 #14
		building_art_academy_throughput_add = 0.1 #10
	}

	ai_will_do = {
		has_technology_researched = aniline
		has_technology_researched = political_agitation
		has_technology_researched = corporate_management
		any_scope_state = {
			state_region = s:STATE_HESSE
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_synthetics_plant = {
			level = 5
			state_trigger = {
				state_region = s:STATE_HESSE
			}
		}
		
		building_synthetics_plant = {
			level = 5
			state_trigger = {
				state_region = s:STATE_BADEN
			}
		}
		
		building_synthetics_plant = {
			level = 5
			state_trigger = {
				state_region = s:STATE_BRANDENBURG
			}
		}
		
		building_chemical_plant = {
			level = 5
			state_trigger = {
				state_region = s:STATE_RHINELAND
			}
		}
		
		building_chemical_plant = {
			level = 5
			state_trigger = {
				state_region = s:STATE_RUHR
			}
		}
	}

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

# Hoechst / Farbwerke Meister, Lucius & Brüning
company_Hoechst = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/hoechst.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_HESSE }
	
	possible_prestige_goods = {
		prestige_good_german_aniline
	}
	
	building_types = {  #26
		building_chemical_plant
		building_synthetics_plant
	}
	
	extension_building_types = {
		building_textile_mill
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
		NOT = {
			has_company = company_type:company_IG_Farben
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_HESSE
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_HESSE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_chemical_plant
				level >= 3
			}
		}
		has_technology_researched = aniline
		
	}
	
	prosperity_modifier = {
		state_trade_advantage_mult = 0.15 #10
		building_textile_mill_throughput_add = 0.15 #16
	}	
	

	ai_will_do = {
		has_technology_researched = aniline
		any_scope_state = {
			state_region = s:STATE_HESSE
			is_incorporated = yes
		}
	}

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

# Chemische Fabrik Griesheim-Elektron
company_Griesheim_Elektron = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/griesheim_elektron.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_HESSE }
	
	possible_prestige_goods = {
		prestige_good_generic_fertilizer
	}
	
	building_types = {  #24
		building_chemical_plant
		building_synthetics_plant
	}
	
	extension_building_types = {
		building_food_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
		NOT = {
			has_company = company_type:company_IG_Farben
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_HESSE
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_HESSE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_synthetics_plant
				level >= 3
			}
		}
		
	}
	
	prosperity_modifier = {
		building_group_bg_agriculture_throughput_add = 0.05 #18
		building_food_industry_throughput_add = 0.08 #6
	}	
	

	ai_will_do = {
		has_technology_researched = aniline
		any_scope_state = {
			state_region = s:STATE_HESSE
			is_incorporated = yes
		}
	}

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

# Dr. E. ter Meer & Cie.
company_MeerChemicals = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/meerchemical.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_NORTH_RHINE }
	
	possible_prestige_goods = {
		prestige_good_german_aniline
	}
	
	building_types = {  #26
		building_chemical_plant
		building_synthetics_plant
	}
	
	extension_building_types = {
		building_textile_mill
	}

	potential = {
		has_interest_marker_in_region = sr:region_western_europe
		NOT = {
			has_company = company_type:company_IG_Farben
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_NORTH_RHINE
			}
		}
	}	
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_NORTH_RHINE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_chemical_plant
				level >= 3
			}
		}
		has_technology_researched = aniline
		
	}
	
	prosperity_modifier = {
		country_weekly_innovation_mult = 0.1 #14
		state_pop_qualifications_mult = 0.09 #12
	}	
	

	ai_will_do = {
		has_technology_researched = aniline
		any_scope_state = {
			state_region = s:STATE_NORTH_RHINE
			is_incorporated = yes
		}
	}

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

# Großherzoglich Badische Staatseisenbahnen #Merged into Reichsbahn
company_Baden_eisenbahn = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/baden_bahn.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_railways.dds"

	flavored_company = yes
	
	category = bureaucrat_owned
	
	preferred_headquarters = { STATE_BADEN }
	
	building_types = { #23
		building_railway
	}

	extension_building_types = {
		building_motor_industry
		building_power_plant
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
		OR = {
			c:BAD ?= this
			was_formed_from = BAD
		}
		NOT = {
			has_company = company_type:company_Deutsche_Reichsbahn
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BADEN
			}
		}
	}

	possible = {
		any_scope_state = {
			state_region = s:STATE_BADEN
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_railway
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		military_formation_army_movement_speed_mult = 0.1 #10
		country_bureaucracy_mult = 0.08 #10
		state_infrastructure_mult = 0.02 #4
	}

	ai_will_do = {
		OR = {
			c:BAD ?= this
			was_formed_from = BAD
		}
		any_scope_state = {
			state_region = s:STATE_BADEN
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_railway = {
			level = 5
			state_trigger = {
				state_region = s:STATE_BADEN
			}
		}
	}

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

# Großherzoglich Mecklenburgische Friedrich-Franz-Eisenbahn #Merged into Reichsbahn
company_Mecklenburg_eisenbahn = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/mecklenburg_bahn.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_railways.dds"

	flavored_company = yes
	
	category = bureaucrat_owned
	
	preferred_headquarters = { STATE_MECKLENBURG }
	
	building_types = { #23
		building_railway
	}

	extension_building_types = {
		building_motor_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
		OR = {
			c:MEC ?= this
			was_formed_from = MEC
			c:MST ?= this
			was_formed_from = MST
		}
		NOT = {
			has_company = company_type:company_Deutsche_Reichsbahn
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_MECKLENBURG
			}
		}
	}

	possible = {
		any_scope_state = {
			state_region = s:STATE_MECKLENBURG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_railway
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		military_formation_army_movement_speed_mult = 0.2 #20
		state_infrastructure_mult = 0.02 #4
	}

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

	ai_construction_targets = {
		building_railway = {
			level = 5
			state_trigger = {
				state_region = s:STATE_MECKLENBURG
			}
		}
	}

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

# Großherzoglich Oldenburgische Staatseisenbahnen #Merged into Reichsbahn
company_Oldenburg_eisenbahn = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/oldenburg_bahn.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_railways.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_HANNOVER }
	
	category = bureaucrat_owned
	
	building_types = { #23
		building_railway
	}

	extension_building_types = {
		building_motor_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
		OR = {
			c:OLD ?= this
			was_formed_from = OLD
			c:HAN ?= this
			was_formed_from = HAN
		}
		NOT = {
			has_company = company_type:company_Deutsche_Reichsbahn
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_HANNOVER
			}
		}
	}

	possible = {
		any_scope_state = {
			state_region = s:STATE_HANNOVER
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_railway
				level >= 3
			}
		}
	}

	prosperity_modifier = {
		military_formation_army_movement_speed_mult = 0.1 #10
		ship_armor_mult = 0.035 #14
	}

	ai_will_do = {
		OR = {
			c:OLD ?= this
			was_formed_from = OLD
			c:HAN ?= this
			was_formed_from = HAN
		}
		any_scope_state = {
			state_region = s:STATE_HANNOVER
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_railway = {
			level = 5
			state_trigger = {
				state_region = s:STATE_HANNOVER
			}
		}
	}

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

# Königlich Bayerische Staatseisenbahnen #Merged into Reichsbahn
company_Bayern_eisenbahn = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/bayern_bahn.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_railways.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_BAVARIA }
	
	category = bureaucrat_owned
	
	building_types = { #23
		building_railway
	}

	extension_building_types = {
		building_motor_industry
		building_power_plant
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
		OR = {
			c:BAV ?= this
			was_formed_from = BAV
		}
		NOT = {
			has_company = company_type:company_Deutsche_Reichsbahn
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				OR = {
					state_region = s:STATE_BAVARIA
					state_region = s:STATE_FRANCONIA
				}
			}
		}
	}

	possible = {
		any_scope_state = {
			OR = {
				state_region = s:STATE_BAVARIA
				state_region = s:STATE_FRANCONIA
			}
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_railway
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		military_formation_army_movement_speed_mult = 0.05 #5
		state_construction_mult = 0.05 #18
	}

	ai_will_do = {
		OR = {
			c:BAV ?= this
			was_formed_from = BAV
		}
		any_scope_state = {
			state_region = s:STATE_BAVARIA
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_railway = {
			level = 5
			state_trigger = {
				state_region = s:STATE_BAVARIA
			}
		}
	}

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

# Königlich Sächsische Staatseisenbahnen #Merged into Reichsbahn
company_Sachsen_eisenbahn = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/sachsen_bahn.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_railways.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_SAXONY }
	
	category = bureaucrat_owned
	
	building_types = { #23
		building_railway
	}

	extension_building_types = {
		building_motor_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
		OR = {
			c:SAX ?= this
			was_formed_from = SAX
			c:WEI ?= this
			was_formed_from = WEI
			c:SCW ?= this
			was_formed_from = SCW
			c:COB ?= this
			was_formed_from = COB
			c:MEI ?= this
			was_formed_from = MEI
		}
		NOT = {
			has_company = company_type:company_Deutsche_Reichsbahn
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_SAXONY
			}
		}
	}

	possible = {
		any_scope_state = {
			state_region = s:STATE_SAXONY
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_railway
				level >= 3
			}
		}
	}

	prosperity_modifier = {
		military_formation_army_movement_speed_mult = 0.1 #10
		country_influence_mult = 0.21 #14
	}

	ai_will_do = {
		OR = {
			c:SAX ?= this
			was_formed_from = SAX
			c:WEI ?= this
			was_formed_from = WEI
			c:SCW ?= this
			was_formed_from = SCW
			c:COB ?= this
			was_formed_from = COB
			c:MEI ?= this
			was_formed_from = MEI
		}
		any_scope_state = {
			state_region = s:STATE_SAXONY
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_railway = {
			level = 5
			state_trigger = {
				state_region = s:STATE_SAXONY
			}
		}
	}

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

# Königlich Württembergische Staats-Eisenbahnen #Merged into Reichsbahn
company_Wurttemberg_eisenbahn = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/wurttemberg_bahn.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_railways.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_WURTTEMBERG }
	
	category = bureaucrat_owned
	
	building_types = { #23
		building_railway
	}

	extension_building_types = {
		building_motor_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_central_europe
		OR = {
			c:WUR ?= this
			was_formed_from = WUR
			c:HOH ?= this
			was_formed_from = HOH
		}
		NOT = {
			has_company = company_type:company_Deutsche_Reichsbahn
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_WURTTEMBERG
			}
		}
	}

	possible = {
		any_scope_state = {
			state_region = s:STATE_WURTTEMBERG
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_railway
				level >= 3
			}
		}
	}

	prosperity_modifier = {
		military_formation_army_movement_speed_mult = 0.1 #10
		interest_group_ig_landowners_approval_add = 2 #8
		state_infrastructure_mult = 0.03 #6
	}

	ai_will_do = {
		OR = {
			c:WUR ?= this
			was_formed_from = WUR
			c:HOH ?= this
			was_formed_from = HOH
		}
		any_scope_state = {
			state_region = s:STATE_WURTTEMBERG
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_railway = {
			level = 5
			state_trigger = {
				state_region = s:STATE_WURTTEMBERG
			}
		}
	}

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

# Deutsche Reichsbahn (Merger company)
company_Deutsche_Reichsbahn = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/deutsche_reichsbahn.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_railways.dds"
	
	preferred_headquarters = { STATE_BRANDENBURG }
	
	flavored_company = yes

	building_types = { #37 #+3 from 1 required company, +3 for germany JE
		building_railway
	}

	extension_building_types = {
		building_motor_industry
		building_power_plant
	}

	potential = {
		OR = {
			c:GER ?= this
			was_formed_from = GER
		}
		always = no
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				OR = {
				   region = sr:region_central_europe
				   region = sr:region_central_europe
			    }
				is_incorporated = yes
			}
		}
	}

	possible = {
		has_technology_researched = electric_railway
		has_technology_researched = pan-nationalism
		NOT = {
			has_law_or_variant = law_type:law_monarchy
		}
		any_scope_state = {
			OR = {
				region = sr:region_central_europe
				region = sr:region_central_europe
				region = sr:region_eastern_europe
				region = sr:region_western_europe
			}
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_railway
				level >= 3
			}
			count >= 20 
		}
	}

	prosperity_modifier = {
		military_formation_army_movement_speed_mult = 0.1 #10
		country_company_throughput_bonus_add = 0.05 #18
		unit_recovery_rate_add = 0.05 #10
	}

	ai_will_do = {
		has_technology_researched = electric_railway
		has_technology_researched = pan-nationalism
		any_scope_state = {
			OR = {
				region = sr:region_central_europe
				region = sr:region_central_europe
			}
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_railway = {
			level = 5
			state_trigger = {
				OR = {
					region = sr:region_central_europe
					region = sr:region_central_europe
				}
				is_incorporated = yes
			}
		}
	}

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

# Karlsberg Brauerei / Bayerische Bierbrauerei zum Karlsberg
company_Karlsberg = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/karlsberg.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_wheat.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_RHINELAND }
	
	possible_prestige_goods = {
		prestige_good_generic_beer
	}
	
	building_types = {  #27
		building_food_industry
	}
	
	extension_building_types = {
		building_rye_farm
		building_railway
	}

	potential = {
		has_interest_marker_in_region = sr:region_western_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_RHINELAND
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_RHINELAND
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_food_industry
				level >= 3
			}
		}
		has_technology_researched = fractional_distillation
	}
	
	prosperity_modifier = {
		interest_group_ig_industrialists_approval_add = 2 #8
		state_radicals_from_political_movements_mult = -0.15 #20
		state_lower_strata_expected_sol_add = -0.5
		state_middle_strata_expected_sol_add = -1.0
		state_upper_strata_expected_sol_add = -1.5
	}


	ai_will_do = {
	    has_technology_researched = fractional_distillation
		any_scope_state = {
			state_region = s:STATE_RHINELAND
			is_incorporated = yes
		}
	}

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

# Völklinger Hütte
company_Voelklinger = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/voelklinger.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_farm_wheat.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_RHINELAND }
	
	possible_prestige_goods = {
		#
	}
	
	building_types = {  #24
		building_steel_mill
	}
	
	extension_building_types = {
		building_iron_mine
	}

	potential = {
		has_interest_marker_in_region = sr:region_western_europe
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_RHINELAND
			}
		}
	}	
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_RHINELAND
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_food_industry
				level >= 3
			}
		}
		has_technology_researched = open_hearth_process
	}
	
	prosperity_modifier = {
		country_production_tech_spread_mult = 0.2 #20
		interest_group_ig_industrialists_approval_add = 1 #4
	}


	ai_will_do = {
	    has_technology_researched = open_hearth_process
		any_scope_state = {
			state_region = s:STATE_RHINELAND
			is_incorporated = yes
		}
	}

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