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

# Great Indian Peninsula Railway
TRY_REPLACE:company_great_indian_railway = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/india_great_indian_peninsula_railway.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_railways.dds"

	category = bureaucrat_owned

	flavored_company = yes

	building_types = {
		building_railway
	}

	extension_building_types = {
		building_iron_mine
	}

	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_south_india
			has_interest_marker_in_region = sr:region_north_india
		}
	}

	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				is_in_geographic_region = geographic_region_india
			}
		}
	}

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

	prosperity_modifier = {
		state_infrastructure_from_population_add = 0.5
		state_infrastructure_from_population_max_add = 20
	}

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

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

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

# Tata
TRY_REPLACE:company_tata = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/india_tata.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_BOMBAY }

	building_types = {
		building_textile_mill
		building_steel_mill
	}

	extension_building_types = {
		building_iron_mine
		building_motor_industry
	}

	possible_prestige_goods = {
		prestige_good_generic_clothes
	}

	prestige_goods_trigger = {
		custom_tooltip = {
			text = je_prestige_goods_clothes_complete_tt
			has_variable = prestige_good_generic_clothes_var
		}
	}

	potential = {
		has_interest_marker_in_region = sr:region_south_india
	}

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

	possible = {
		any_scope_state = {
			state_region = s:STATE_BOMBAY
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_textile_mill
					is_building_type = building_steel_mill
				}
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		building_construction_sector_throughput_add = 0.05
		country_max_weekly_construction_progress_add = 10
	}

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

	ai_construction_targets = {
		building_textile_mill = {
			level = 5
			state_trigger = {
				state_region = s:STATE_BOMBAY
			}
		}
		building_steel_mill = {
			level = 5
			state_trigger = {
				state_region = s:STATE_BOMBAY
			}
		}
	}

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

##############################DLC-IP2##############################

# Bengal Coal Company
TRY_REPLACE:company_bengal_coal_company = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/ip2_bengal_coal_company.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_mining.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_WEST_BENGAL }

	building_types = {
		building_coal_mine
	}

	extension_building_types = {
		building_iron_mine
	}

	potential = {
		has_interest_marker_in_region = sr:region_north_india
		has_dlc_feature = ip2_content
	}

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

	possible = {
		any_scope_state = {
			state_region = s:STATE_WEST_BENGAL
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_coal_mine
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		interest_group_ig_industrialists_pol_str_mult = 0.2
		building_iron_mine_throughput_add = 0.1
	}

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

	ai_construction_targets = {
		building_coal_mine = {
			level = 5
			state_trigger = {
				state_region = s:STATE_WEST_BENGAL
			}
		}
	}

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

# Bombay Dyeing and Manufacturing Company Limited
TRY_REPLACE:company_bombay_dyeing_company = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/ip2_bombay_dyeing.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_BOMBAY }

	building_types = { #26
		building_textile_mill
	}

	extension_building_types = {
		building_cotton_plantation
		building_dye_plantation
	}

	possible_prestige_goods = {
		prestige_good_indian_dyes
	}

	potential = {
		has_interest_marker_in_region = sr:region_south_india
		has_dlc_feature = ip2_content
	}

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

	possible = {
		has_technology_researched = cotton_gin
		any_scope_state = {
			state_region = s:STATE_BOMBAY
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_textile_mill
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		building_dye_plantation_throughput_add  = 0.2 #16
		building_cotton_plantation_throughput_add = 0.08 #10
	}

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

	ai_construction_targets = {
		building_textile_mill = {
			level = 5
			state_trigger = {
				state_region = s:STATE_BOMBAY
			}
		}
	}

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

# David Sassoon & Co., Ltd
TRY_REPLACE:company_david_sassoon = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/ip2_david_sasson_and_co.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_plantation.dds"

	category = shopkeeper_owned

	flavored_company = yes

	preferred_headquarters = { STATE_BOMBAY }

	building_types = {
		building_opium_plantation
		building_cotton_plantation
	}

	extension_building_types = {
		building_port
	}

	possible_prestige_goods = {
		prestige_good_generic_opium
	}

	prestige_goods_trigger = {
		custom_tooltip = {
			text = je_prestige_goods_opium_complete_tt
			has_variable = prestige_good_generic_opium_var
		}
	}

	potential = {
		has_interest_marker_in_region = sr:region_south_india
		has_dlc_feature = ip2_content
	}

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

	possible = {
		any_scope_state = {
			state_region = s:STATE_BOMBAY
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_cotton_plantation
				level >= 5
			}
		}
		any_scope_state = {
			is_in_geographic_region = geographic_region_india
			any_scope_building = {
				is_building_type = building_opium_plantation
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		state_trade_advantage_mult = 0.05
	}

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

	ai_construction_targets = {
		building_cotton_plantation = {
			level = 5
			state_trigger = {
				state_region = s:STATE_BOMBAY
			}
		}
		building_opium_plantation = {
			level = 5
			state_trigger = {
				state_region = s:STATE_BOMBAY
			}
		}
	}

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

# Bombay Burmah Trading Corporation
TRY_REPLACE:company_bombay_burmah_trading_corporation = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/ip2_bombay_burmah_trading.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_plantation.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_BOMBAY }

	building_types = {
		building_logging_camp
		building_rubber_plantation
	}

	extension_building_types = {
		building_tea_plantation
		building_cotton_plantation
		building_oil_rig
	}

	possible_prestige_goods = {
		prestige_good_burmese_teak
	}

	potential = {
		has_interest_marker_in_region = sr:region_south_india
		has_interest_marker_in_region = sr:region_indochina
	}

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

	possible = {
		OR = {
			any_scope_state = {
				state_region = s:STATE_BOMBAY
				is_incorporated = yes
			}
			s:STATE_BOMBAY ?= {
				any_scope_state = {
					owner = {
						OR = {
							any_scope_treaty = {
								binds = ROOT
								any_scope_article = {
									has_type = trade_privilege
								}
							}
							top_overlord ?= {
								any_scope_treaty = {
									binds = ROOT
									any_scope_article = {
										has_type = trade_privilege
									}
								}
							}
						}
					}
				}
			}
		}
		any_scope_state = {
			has_state_trait = state_trait_burmese_teak
			any_scope_building = {
				is_building_type = building_logging_camp
				level >= 5
			}
			count >= 2
		}
	}

	prosperity_modifier = {
		building_tea_plantation_throughput_add = 0.1
		building_coffee_plantation_throughput_add = 0.1
	}

	ai_will_do = {
		OR = {
			any_scope_state = {
				state_region = s:STATE_BOMBAY
				is_incorporated = yes
			}
			s:STATE_BOMBAY ?= {
				any_scope_state = {
					owner = {
						any_scope_treaty = {
							binds = root
							any_scope_article = {
								has_type = trade_privilege
							}
						}
					}
				}
			}
		}
	}

	ai_construction_targets = {
		building_logging_camp = {
			level = 5
			state_trigger = {
				has_state_trait = state_trait_burmese_teak
			}
		}
	}

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

# Madura Mills Co. Ltd
TRY_REPLACE:company_madura_mills = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/ip2_madura_mills.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_MADRAS }

	building_types = {
		building_textile_mill
	}

	extension_building_types = {
		building_rubber_plantation
		building_cotton_plantation
	}

	possible_prestige_goods = {
		prestige_good_generic_clothes
	}

	prestige_goods_trigger = {
		custom_tooltip = {
			text = je_prestige_goods_clothes_complete_tt
			has_variable = prestige_good_generic_clothes_var
		}
	}

	potential = {
		has_interest_marker_in_region = sr:region_south_india
		has_dlc_feature = ip2_content
	}

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

	possible = {
		any_scope_state = {
			state_region = s:STATE_MADRAS
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_textile_mill
				level >= 5
			}
		}
		has_technology_researched = cotton_gin
	}

	prosperity_modifier = {
		interest_group_ig_petty_bourgeoisie_pop_attraction_mult = 0.1
		building_textile_mill_throughput_add = 0.1
		country_state_religion_wages_mult = 0.05
	}

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

	ai_construction_targets = {
		building_textile_mill = {
			level = 5
			state_trigger = {
				state_region = s:STATE_MADRAS
			}
		}
	}

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

# Assam Company
TRY_REPLACE:company_assam_company = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/ip2_assam_company.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_plantation.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_ASSAM }

	building_types = {
		building_tea_plantation
	}

	extension_building_types = {
		building_logging_camp
	}

	possible_prestige_goods = {
		prestige_good_assam_tea
	}

	potential = {
		has_interest_marker_in_region = sr:region_north_india
	}

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

	possible = {
		any_scope_state = {
			state_region = s:STATE_ASSAM
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_tea_plantation
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		building_tea_plantation_throughput_add = 0.2
		state_radicals_from_political_movements_mult = -0.05
	}

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

	ai_construction_targets = {
		building_tea_plantation = {
			level = 5
			state_trigger = {
				state_region = s:STATE_ASSAM
			}
		}
	}

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

# Wadia Shipbuilders / Bombay Dockyard
TRY_REPLACE:company_wadia_shipbuilders = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/ip2_wadia_shipbuilders.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_harbor_shipbuilding.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_BOMBAY }

	building_types = {
		building_shipyard
		building_artillery_foundry
	}

	extension_building_types = {
		building_explosives_factory
		building_motor_industry
	}

	potential = {
		has_interest_marker_in_region = sr:region_south_india
		has_dlc_feature = ip2_content
	}

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

	possible = {
		any_scope_state = {
			state_region = s:STATE_BOMBAY
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_shipyard
				level >= 5
			}
		}
		has_technology_researched = gantry_cranes
	}

	prosperity_modifier = {
		interest_group_ig_petty_bourgeoisie_pop_attraction_mult = 0.1
		country_ship_group_supply_ships_construction_efficiency_add = 0.1
		state_radicalism_increases_violent_hostility_mult = -0.05
		state_radicalism_increases_cultural_erasure_mult = -0.05
		state_radicalism_increases_open_prejudice_mult = -0.05

	}

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

	ai_construction_targets = {
		building_shipyard = {
			level = 5
			state_trigger = {
				state_region = s:STATE_BOMBAY
			}
		}
	}

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

# Steel Brothers & Co. Ltd
TRY_REPLACE:company_steel_brothers = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/ip2_steel_brothers_and_co.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_oil_drills.dds"

	flavored_company = yes

	building_types = {
		building_oil_rig
		building_rice_farm
	}

	extension_building_types = {
		building_logging_camp
	}

	possible_prestige_goods = {
		prestige_good_generic_grain
	}

	prestige_goods_trigger = {
		custom_tooltip = {
			text = je_prestige_goods_grain_complete_tt
			has_variable = prestige_good_generic_grain_var
		}
	}

	potential = {
		has_interest_marker_in_region = sr:region_indochina
		has_dlc_feature = ip2_content
	}

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

	possible = {
		has_technology_researched = pumpjacks
		any_scope_state = {
			has_state_trait = state_trait_burmese_teak
			any_scope_building = {
				is_building_type = building_oil_rig
				level >= 5
			}
			any_scope_building = {
				is_building_type = building_rice_farm
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		building_group_bg_logging_throughput_add = 0.2
	}

	ai_will_do = {
		has_technology_researched = pumpjacks
		any_scope_state = {
			has_state_trait = state_trait_burmese_teak
			has_potential_resource = building_oil_rig
			any_scope_building = {
				is_building_type = building_rice_farm
				level >= 5
			}
		}
	}

	ai_construction_targets = {
		building_oil_rig = {
			level = 5
			state_trigger = {
				has_state_trait = state_trait_burmese_teak
				any_scope_building = {
					is_building_type = building_rice_farm
					level >= 5
				}
			}
		}
	}

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

# Ralli Brothers
TRY_REPLACE:company_ralli_brothers = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/ip2_ralli_brothers.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_plantation.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_BOMBAY STATE_WEST_BENGAL }

	building_types = {
		building_rice_farm
		building_wheat_farm
	}

	extension_building_types = {
		building_port
		building_cotton_plantation
		building_textile_mill
	}

	possible_prestige_goods = {
		prestige_good_generic_grain
	}

	prestige_goods_trigger = {
		custom_tooltip = {
			text = je_prestige_goods_grain_complete_tt
			has_variable = prestige_good_generic_grain_var
		}
	}

	potential = {
		has_interest_marker_in_region = sr:region_south_india
		has_dlc_feature = ip2_content
	}

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

	possible = {
		OR = {
			any_scope_state = {
				state_region = s:STATE_BOMBAY
				is_incorporated = yes
			}
			any_scope_state = {
				state_region = s:STATE_WEST_BENGAL
				is_incorporated = yes
			}
		}
		any_scope_state = {
			is_in_geographic_region = geographic_region_india
			OR = {
				any_scope_building = {
					is_building_type = building_rice_farm
					level >= 5
				}
				any_scope_building = {
					is_building_type = building_wheat_farm
					level >= 5
				}
			}
			count >= 4
		}
	}

	prosperity_modifier = {
		building_sulfur_mine_throughput_add = 0.1
		building_textile_mill_throughput_add = 0.1
		state_trade_advantage_mult = 0.05
	}

	ai_will_do = {
		OR = {
			any_scope_state = {
				state_region = s:STATE_BOMBAY
				is_incorporated = yes
			}
			any_scope_state = {
				state_region = s:STATE_WEST_BENGAL
				is_incorporated = yes
			}
		}
		any_scope_state = {
			is_in_geographic_region = geographic_region_india
			count >= 4
		}
	}

	ai_construction_targets = {
		building_rice_farm = {
			level = 5
			state_trigger = {
				is_in_geographic_region = geographic_region_india
			}
		}
		building_wheat_farm = {
			level = 5
			state_trigger = {
				is_in_geographic_region = geographic_region_india
			}
		}
	}

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

# Calcutta Electric Supply Corporation Limited
TRY_REPLACE:company_calcutta_electric = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/ip2_calcutta_electric.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"

	flavored_company = yes

	preferred_headquarters = { STATE_WEST_BENGAL }

	building_types = {
		building_power_plant
	}

	extension_building_types = {
		building_coal_mine
	}

	potential = {
		has_interest_marker_in_region = sr:region_north_india
	}

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

	possible = {
		has_technology_researched = electrical_generation
		any_scope_state = {
			state_region = s:STATE_WEST_BENGAL
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_power_plant
				level >= 5
			}
		}
	}

	prosperity_modifier = {
		state_infrastructure_from_population_add = 6
		state_infrastructure_from_population_max_add = 12
	}

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

	ai_construction_targets = {
		building_power_plant = {
			level = 5
			state_trigger = {
				state_region = s:STATE_WEST_BENGAL
			}
		}
	}

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

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

# Calcutta and Burma Steamship Navigation Company
company_CaBSNC = {
	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_WEST_BENGAL }
	
	possible_prestige_goods = {
		prestige_good_generic_merchant_marine
	}

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

	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_north_india
            has_interest_marker_in_region = sr:region_south_india
			has_interest_marker_in_region = sr:region_indochina
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				OR = {
			       state_region = s:STATE_WEST_BENGAL
			       state_region = s:STATE_PEGU
			    }
			}
		}
	}
	
	possible = {
		any_scope_state = {
		    OR = {
				state_region = s:STATE_WEST_BENGAL
				state_region = s:STATE_PEGU
			}
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_port
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		building_trade_center_throughput_add = 0.1 #10
		unit_offense_mult = 0.04 #16
	}	
	

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

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

# British India Corporation 
company_BIC = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/bic.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_WEST_BENGAL }
	
	possible_prestige_goods = {
		prestige_good_generic_clothes
	}

	prestige_goods_trigger = {
		custom_tooltip = {
			text = je_prestige_goods_clothes_complete_tt
			has_variable = prestige_good_generic_clothes_var
		}
	}

	building_types = {  #20
		building_textile_mill
		building_cotton_plantation
	}
	
	extension_building_types = {
		building_livestock_ranch
	}
	
	potential = {
		OR = {
            has_interest_marker_in_region = sr:region_south_india
            has_interest_marker_in_region = sr:region_north_india
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				OR = {
					region = sr:region_south_india
					region = sr:region_north_india
				}
				is_incorporated = yes
			}
		}
	}			
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_WEST_BENGAL
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_textile_mill
					is_building_type = building_cotton_plantation
				}
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		state_radicals_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
		interest_group_ig_armed_forces_approval_add = 2 #8
	}	
	

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

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

# Greaves-Cotton
company_GreavesCotton = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/greavescotton.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_WEST_BENGAL }
	
	possible_prestige_goods = {
		#prestige_good_saint_etienne_rifles
	}

	building_types = {  #8
		building_motor_industry
		building_tooling_workshop
		building_oil_rig
	}
	
	extension_building_types = {
		building_automotive_industry
	}

	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_north_india
            has_interest_marker_in_region = sr:region_south_india
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_WEST_BENGAL
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_WEST_BENGAL
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_motor_industry
					is_building_type = building_tooling_workshop
				}
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		state_radicals_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_WEST_BENGAL
			is_incorporated = yes
		}
	}

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

# Dabur
company_Dabur = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/dabur.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_WEST_BENGAL }
	
	possible_prestige_goods = {
		prestige_good_generic_medicine
	}

	building_types = {  #27
		building_chemical_plant
	}
	
	extension_building_types = {
		building_food_industry
	}

	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_north_india
            has_interest_marker_in_region = sr:region_south_india
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_WEST_BENGAL
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_WEST_BENGAL
			is_incorporated = yes
			any_scope_building = {
					is_building_type = building_chemical_plant
				level >= 3
			}
		}
		has_technology_researched = quinine
	}
	
	prosperity_modifier = {
		state_mortality_wealth_mult = -0.003 #14
		interest_group_ig_industrialists_pop_attraction_mult = 0.20 #13
	}	
	

	ai_will_do = {
	    has_technology_researched = quinine
		any_scope_state = {
			state_region = s:STATE_WEST_BENGAL
			is_incorporated = yes
		}
	}

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

# Parvathy Mills Limited 
company_Parvathy = {
	icon = "gfx/interface/icons/company_icons/basic_textiles.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_TRAVANCORE }
	
	category = aristocrat_owned
	
	possible_prestige_goods = {
		prestige_good_generic_clothes
	}

	prestige_goods_trigger = {
		custom_tooltip = {
			text = je_prestige_goods_clothes_complete_tt
			has_variable = prestige_good_generic_clothes_var
		}
	}

	building_types = {  #20
		building_textile_mill
		building_cotton_plantation
	}
	
	extension_building_types = {
		building_livestock_ranch
	}

	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_north_india
            has_interest_marker_in_region = sr:region_south_india
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_TRAVANCORE
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_TRAVANCORE
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_textile_mill
					is_building_type = building_cotton_plantation
				}
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		state_assimilation_mult = 0.2 #10
		interest_group_ig_landowners_approval_add = 2 #8
		state_pop_qualifications_mult = 0.02 #2
	}	
	

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

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

# Delhi Cloth & General Mills 
company_DelhiCloth = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/generalmills.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_DELHI }
	
	possible_prestige_goods = {
		prestige_good_generic_uniforms
	}

	building_types = {  #17
		building_textile_mill
		building_cotton_plantation
		building_sugar_plantation
	}
	
	extension_building_types = {
		building_chemical_plant
	}

	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_north_india
            has_interest_marker_in_region = sr:region_south_india
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_DELHI
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_DELHI
			is_incorporated = yes
			any_scope_building = {
				OR = {
					is_building_type = building_textile_mill
					is_building_type = building_cotton_plantation
				}
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		unit_morale_recovery_mult = 0.08 #16
	}	
	

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

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

# Bengal Chemicals and Pharmaceuticals
company_BengalChemicals = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/bengalchemicals.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_WEST_BENGAL }
	
	category = shopkeeper_owned
	
	possible_prestige_goods = {
		prestige_good_generic_medicine
	}

	building_types = {  #27
		building_chemical_plant
	}
	
	extension_building_types = {
		building_furniture_manufactory
	}

	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_north_india
            has_interest_marker_in_region = sr:region_south_india
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_WEST_BENGAL
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_WEST_BENGAL
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_chemical_plant
				level >= 3
			}
		}
		has_technology_researched = quinine
	}
	
	prosperity_modifier = {
		state_mortality_wealth_mult = -0.002 #10
		state_loyalists_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
	}	
	

	ai_will_do = {
	    has_technology_researched = quinine
		any_scope_state = {
			state_region = s:STATE_WEST_BENGAL
			is_incorporated = yes
		}
	}

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

# Aurora Film Corporation
company_Aurora = {
	icon = "gfx/interface/icons/company_icons/basic_chemicals.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_WEST_BENGAL }
	
	category = academic_owned
	
	possible_prestige_goods = {
		prestige_good_generic_animation
	}
	
	building_types = {  #32
		building_art_academy
	}
	
	extension_building_types = {
		building_paper_mill
	}
	
	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_north_india
            has_interest_marker_in_region = sr:region_south_india
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_WEST_BENGAL
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_WEST_BENGAL
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_art_academy
				level >= 3
			}
		}
		has_technology_researched = film
	}
	
	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
		country_society_tech_spread_mult = 0.10 #10
		interest_group_ig_armed_forces_pop_attraction_mult = 0.12 #6
	}	
	

	ai_will_do = {
	    has_technology_researched = film
		any_scope_state = {
			state_region = s:STATE_WEST_BENGAL
			is_incorporated = yes
		}
	}

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

# Gita Press
company_GitaPress = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/gita.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_AGRA }
	
	category = academic_owned
	
	possible_prestige_goods = {
		prestige_good_generic_newspaper
	}

	building_types = {  #30
		building_paper_mill
	}
	
	extension_building_types = {
		building_art_academy
	}

	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_north_india
            has_interest_marker_in_region = sr:region_south_india
		}
		has_game_rule = newspapers_enabled
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_AGRA
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_AGRA
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_paper_mill
				level >= 3
			}
		}
		has_technology_researched = political_agitation
	}
	
	prosperity_modifier = {
		interest_group_ig_devout_pop_attraction_mult = 0.2 #+10
		interest_group_ig_devout_approval_add = 4 #16
		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
		state_clergymen_investment_pool_contribution_add = 0.05 #10
	}	
	

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

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

# MTR Foods
company_MTR = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/mtr_foods.png"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_MYSORE }
	
	possible_prestige_goods = {
		prestige_good_generic_groceries
	}

	building_types = {  #31
		building_food_industry
	}
	
	extension_building_types = {
		building_rice_farm
		building_wheat_farm
	}

	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_north_india
            has_interest_marker_in_region = sr:region_south_india
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_MYSORE
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_MYSORE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_food_industry
				level >= 3
			}
		}
		has_technology_researched = conveyors
	}
	
	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
		country_prestige_mult = 0.13 #13
		interest_group_ig_devout_pop_attraction_mult = 0.2 #+10
		interest_group_ig_devout_approval_add = 2 #8
	}	
	

	ai_will_do = {
	    has_technology_researched = conveyors
		any_scope_state = {
			state_region = s:STATE_MYSORE
			is_incorporated = yes
		}
	}

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

# Khoja Mithabhai Nathoo & Sons
company_Khoja = {
	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_BOMBAY }
	
	possible_prestige_goods = {
		prestige_good_generic_merchant_marine
	}

	building_types = {  #23
		building_trade_center
		building_port
	}
	
	extension_building_types = {
		building_shipyard
		building_tooling_workshop
		building_lead_mine
		building_steel_mill
	}

	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_north_india
            has_interest_marker_in_region = sr:region_south_india
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BOMBAY
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BOMBAY
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_urban_center
				level >= 3
			}
		}
	}
	
	prosperity_modifier = {
		interest_group_ig_petty_bourgeoisie_pop_attraction_mult = 0.12 #6
		building_port_throughput_add = 0.08 #8
		state_trade_advantage_mult = 0.15 #10
	}	
	

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

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

# Imperial Bank of India
company_Imperial_Bank_of_India = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/imperial_bank_of_india.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_WEST_BENGAL }
	
	category = academic_owned
	
	possible_prestige_goods = {
		#prestige_good_generic_currency_paper
	}
	
	building_types = {  
		building_paper_mill
		building_dye_plantation
		building_cotton_plantation
	}
	
	extension_building_types = {	
		building_railway
		building_textile_mill
		building_tooling_workshop
		building_power_plant
	}
	
	potential = {
		has_game_rule = banks_enabled
		OR = {
			has_interest_marker_in_region = sr:region_north_india
            has_interest_marker_in_region = sr:region_south_india
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_WEST_BENGAL
			}
		}
	}
	
	possible = { 
		any_scope_state = {
			state_region = s:STATE_WEST_BENGAL
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_financial_district
				level >= 20
			}
		}
		OR = {
			AND = {
				exists = c:GBR
				c:GBR = { relations:root >= relations_threshold:amicable }
				has_technology_researched = investment_banks
			}
			AND = {
				has_technology_researched = investment_banks
				has_technology_researched = central_planning
			}
		}
		unique_companies_has_bank = no
	}
	
	prosperity_modifier = { 
		state_education_access_add = 0.05 #the bank was created to pay teachers and schools at first
		interest_group_ig_intelligentsia_approval_add = 2
		
		country_loan_interest_rate_mult = -0.025
        country_private_construction_allocation_mult = 0.15 #<-- 
		
		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.05 #<-- 
		state_capitalists_investment_pool_contribution_add = 0.07 #<--
		
		country_government_dividends_reinvestment_add = 0.075 #<-- 
		country_government_dividends_efficiency_add = 0.075 #<-- 
		
		country_max_companies_add = 1
	}
	
	ai_will_do = {
		OR = {
			AND = {
				exists = c:GBR
				c:GBR = { relations:root >= relations_threshold:amicable }
				has_technology_researched = investment_banks
			}
			AND = {
				has_technology_researched = investment_banks
				has_technology_researched = central_planning
			}
		}
		any_scope_state = {
			state_region = s:STATE_WEST_BENGAL
			is_incorporated = yes
		}
		unique_companies_has_bank = no
	}

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


# Parle Products
company_parle = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/parle.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_BOMBAY }
	
	category = shopkeeper_owned
	
	possible_prestige_goods = {
		prestige_good_generic_groceries
	}

	building_types = {  #31
		building_food_industry
	}
	
	extension_building_types = {
		building_sugar_plantation
		building_wheat_farm
	}

	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_north_india
            has_interest_marker_in_region = sr:region_south_india
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_BOMBAY
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_BOMBAY
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_food_industry
				level >= 3
			}
		}
		has_technology_researched = conveyors
	}
	
	prosperity_modifier = {
		interest_group_ig_armed_forces_approval_add = 2 #8
		country_loyalists_from_legitimacy_mult = 0.1 #10
		state_radicalism_increases_violent_hostility_mult = -0.18 #12
		state_radicalism_increases_cultural_erasure_mult = -0.12
		state_radicalism_increases_open_prejudice_mult = -0.06
	}	
	

	ai_will_do = {
	    has_technology_researched = conveyors
		any_scope_state = {
			state_region = s:STATE_BOMBAY
			is_incorporated = yes
		}
	}

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

# The Britannia Biscuit Company Limited 
company_britannia_biscuit = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/britannia.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_WEST_BENGAL }
	
	possible_prestige_goods = {
		prestige_good_generic_groceries
	}

	building_types = {  #29
		building_food_industry
	}
	
	extension_building_types = {
		building_rice_farm
		building_wheat_farm
	}

	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_north_india
            has_interest_marker_in_region = sr:region_south_india
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_WEST_BENGAL
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			state_region = s:STATE_WEST_BENGAL
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_food_industry
				level >= 3
			}
		}
		has_technology_researched = vacuum_canning
	}
	
	prosperity_modifier = {
		unit_supply_consumption_mult = -0.06 #16
		interest_group_ig_armed_forces_approval_add = 2 #8
		state_loyalists_from_political_movements_mult = 0.05 #6
		state_lower_strata_expected_sol_add = -0.15
		state_middle_strata_expected_sol_add = -0.3
		state_upper_strata_expected_sol_add = -0.45
	}	
	

	ai_will_do = {
		has_technology_researched = vacuum_canning
		any_scope_state = {
			state_region = s:STATE_WEST_BENGAL
			is_incorporated = yes
		}
	}

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

# Polson
company_Polson_food = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/polsen.png" 
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	
	flavored_company = yes
	preferred_headquarters = { STATE_GUJARAT STATE_BOMBAY }
	
	possible_prestige_goods = {
		prestige_good_generic_groceries
	}

	building_types = {  #28
		building_coffee_plantation
		building_livestock_ranch
	}
	
	extension_building_types = {
		building_food_industry
		building_dye_plantation
	}

	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_north_india
            has_interest_marker_in_region = sr:region_south_india
		}
	}
	
	attainable = {
		hidden_trigger = { # Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				OR = {
					state_region = s:STATE_GUJARAT
					state_region = s:STATE_BOMBAY
				}
			}
		}
	}		
	
	possible = {
		any_scope_state = {
			OR = {
				state_region = s:STATE_GUJARAT
				state_region = s:STATE_BOMBAY
			}
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_livestock_ranch
				level >= 3
			}
		}
		has_technology_researched = pasteurization
	}
	
	prosperity_modifier = {
		unit_morale_recovery_mult = 0.05 #10
		interest_group_ig_armed_forces_approval_add = 2 #8
		interest_group_ig_trade_unions_pop_attraction_mult = 0.15 #10
	}	
	

	ai_will_do = {
		has_technology_researched = pasteurization
		any_scope_state = {
			OR = {
				state_region = s:STATE_GUJARAT
				state_region = s:STATE_BOMBAY
			}
			is_incorporated = yes
		}
	}

	ai_construction_targets = {
		building_livestock_ranch = {
			level = 5
			state_trigger = {
				state_region = s:STATE_GUJARAT
			}
		}
		building_livestock_ranch = {
			level = 5
			state_trigger = {
				state_region = s:STATE_BOMBAY
			}
		}
	}
	ai_weight = {
		value = 3 # Higher base value for flavored companies
	}
}