# Companies in this file
# Steinway & Sons
# Yamaha
# Columbia Records
# Société Pathé Frères
# Warner Bros. Records
# Universal Records (Decca Records)
# Steinway & Sons
REPLACE_OR_CREATE:elgar_company_steinway = {
	# The logo of Steinway (without the frame) is a trademark owned by Steinway & Sons
	icon = "gfx/interface/icons/company_icons/historical_company_icons/elgar_instruments_steinway.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	flavored_company = yes
	preferred_headquarters = {
		STATE_NEW_YORK
		STATE_ELBE
	}
	building_types = {
		building_instrument_workshops
	}
	extension_building_types = {
		#building_tooling_workshop
		building_logging_camp
	}
	possible_prestige_goods = {
		prestige_good_generic_instruments
	}
	prestige_goods_trigger = {
		custom_tooltip = {
			text = je_ztr_prestige_good_generic_instruments_complete_tt
			has_variable = ztr_prestige_good_generic_instruments_var
		}
	}
	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_atlantic_coast
			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_NEW_YORK
					state_region = s:STATE_ELBE
				}
			}
		}
	}
	possible = {
		any_scope_state = {
			OR = {
				state_region = s:STATE_NEW_YORK
				state_region = s:STATE_ELBE
			}
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_instrument_workshops
				level >= 2
			}
		}
	}
	prosperity_modifier = {
		goods_output_elgar_instruments_mult = 0.1
		state_upper_strata_standard_of_living_add = 0.5
	}
	ai_will_do = {
		any_scope_state = {
			OR = {
				state_region = s:STATE_NEW_YORK
				state_region = s:STATE_ELBE
			}
			is_incorporated = yes
		}
	}
	ai_construction_targets = {
		building_instrument_workshops = {
			level = 5
			state_trigger = {
				OR = {
					state_region = s:STATE_NEW_YORK
					state_region = s:STATE_ELBE
				}
			}
		}
	}
	ai_weight = {
		value = 2
	}
}

# Yamaha
REPLACE_OR_CREATE:company_yamaha = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/yamaha.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_light.dds"
	flavored_company = yes
	preferred_headquarters = {
		STATE_TOKAI
	}
	building_types = {
		building_instrument_workshops
		building_art_academy
	}
	extension_building_types = {
		building_tooling_workshop
		building_automotive_industry		# Motorcycles
	}
	possible_prestige_goods = {
		prestige_good_generic_instruments
	}
	prestige_goods_trigger = {
		custom_tooltip = {
			text = je_ztr_prestige_good_generic_instruments_complete_tt
			has_variable = ztr_prestige_good_generic_instruments_var
		}
	}
	potential = {
		has_interest_marker_in_region = sr:region_northeast_asia
	}
	attainable = {
		hidden_trigger = {
			# Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_TOKAI
			}
		}
	}
	possible = {
		any_scope_state = {
			state_region = s:STATE_TOKAI
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_instrument_workshops
				level >= 3
			}
		}
		has_technology_researched = rubber_mastication
	}
	prosperity_modifier = {
		state_education_access_wealth_add = 0.005		#14
		goods_output_elgar_instruments_mult = 0.1
	}
	ai_will_do = {
		has_technology_researched = rubber_mastication
		any_scope_state = {
			state_region = s:STATE_TOKAI
			is_incorporated = yes
		}
	}
	ai_construction_targets = {
		building_instrument_workshops = {
			level = 5
			state_trigger = {
				state_region = s:STATE_TOKAI
			}
		}
	}
	ai_weight = {
		value = 3		# Higher base value for flavored companies
	}
}

#Columbia Records
REPLACE_OR_CREATE:company_columbia_records = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/columbia_records.dds"	#####
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_music.dds"
	flavored_company = yes
	preferred_headquarters = {
		STATE_DISTRICT_OF_COLUMBIA
		STATE_MARYLAND
	}
	building_types = {
		building_manzoni_publishing_industry
	}
	extension_building_types = {
		building_instrument_workshops
		building_art_academy
		building_elgar_opera
	}
	possible_prestige_goods = {
		prestige_good_generic_records_and_films
	}
	prestige_goods_trigger = {
		custom_tooltip = {
			text = je_ztr_prestige_good_generic_records_and_films_complete_tt
			has_variable = ztr_prestige_good_generic_records_and_films_var
		}
	}
	potential = {
		has_interest_marker_in_region = sr:region_atlantic_coast
	}
	attainable = {
		hidden_trigger = {
			# Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_DISTRICT_OF_COLUMBIA
			}
		}
	}
	possible = {
		has_technology_researched = elgar_modern_art_tech
		any_scope_state = {
			OR = {
				state_region = s:STATE_DISTRICT_OF_COLUMBIA
				state_region = s:STATE_MARYLAND
			}
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_manzoni_publishing_industry
				level >= 3
			}
		}
	}
	prosperity_modifier = {
		country_prestige_mult = 0.1
		#goods_output_elgar_music_mult = 0.05
		state_loyalists_from_political_movements_mult = 0.05
	}
	ai_will_do = {
		has_technology_researched = elgar_modern_art_tech
		any_scope_state = {
			OR = {
				state_region = s:STATE_DISTRICT_OF_COLUMBIA
				state_region = s:STATE_MARYLAND
			}
			is_incorporated = yes
		}
	}
	ai_construction_targets = {
		building_manzoni_publishing_industry = {
			level = 5
			state_trigger = {
				OR = {
					state_region = s:STATE_DISTRICT_OF_COLUMBIA
					state_region = s:STATE_MARYLAND
				}
			}
		}
	}
	ai_weight = {
		value = 3		# Higher base value for flavored companies
	}
}

#Société Pathé Frères
REPLACE_OR_CREATE:company_societe_pathe_freres = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/societe_pathe_freres.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_cinema.dds"
	flavored_company = yes
	preferred_headquarters = {
		STATE_ILE_DE_FRANCE
	}
	building_types = {
		building_manzoni_publishing_industry
	}
	extension_building_types = {
		#building_instrument_workshops
		building_elgar_opera
		building_art_academy
	}
	possible_prestige_goods = {
		prestige_good_generic_records_and_films
	}
	prestige_goods_trigger = {
		custom_tooltip = {
			text = je_ztr_prestige_good_generic_records_and_films_complete_tt
			has_variable = ztr_prestige_good_generic_records_and_films_var
		}
	}
	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_ILE_DE_FRANCE
			}
		}
	}
	possible = {
		has_technology_researched = elgar_mass_culture_tech
		any_scope_state = {
			state_region = s:STATE_ILE_DE_FRANCE
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_manzoni_publishing_industry
				level >= 3
			}
		}
	}
	prosperity_modifier = {
		country_prestige_mult = 0.1
		state_loyalists_from_political_movements_mult = 0.05
	}
	ai_will_do = {
		has_technology_researched = elgar_mass_culture_tech
		any_scope_state = {
			state_region = s:STATE_ILE_DE_FRANCE
			is_incorporated = yes
		}
	}
	ai_construction_targets = {
		building_manzoni_publishing_industry = {
			level = 5
			state_trigger = {
				state_region = s:STATE_ILE_DE_FRANCE
			}
		}
	}
	ai_weight = {
		value = 3		# Higher base value for flavored companies
	}
}

# Warner Bros. Records
REPLACE_OR_CREATE:company_warner_bros_records = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/warner_bros_records.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_cinema.dds"
	flavored_company = yes
	preferred_headquarters = {
		STATE_CALIFORNIA
	}
	building_types = {
		building_elgar_opera
		building_manzoni_publishing_industry
	}
	# extension_building_types = {  
	# 	building_art_academy
	# }
	possible_prestige_goods = {
		prestige_good_generic_records_and_films
	}
	prestige_goods_trigger = {
		custom_tooltip = {
			text = je_ztr_prestige_good_generic_records_and_films_complete_tt
			has_variable = ztr_prestige_good_generic_records_and_films_var
		}
	}
	potential = {
		has_interest_marker_in_region = sr:region_pacific_coast
	}
	attainable = {
		hidden_trigger = {
			# Hide attainable if it's always fulfilled by possible
			any_scope_state = {
				state_region = s:STATE_CALIFORNIA
			}
		}
	}
	possible = {
		any_scope_state = {
			is_incorporated = yes
			state_region = s:STATE_CALIFORNIA
			any_scope_building = {
				is_building_type = building_manzoni_publishing_industry
				level >= 3
			}
		}
		has_technology_researched = elgar_mass_culture_tech
	}
	prosperity_modifier = {
		country_prestige_mult = 0.05
		#goods_output_elgar_music_mult = 0.05
		state_loyalists_from_political_movements_mult = 0.05
	}
	ai_will_do = {
		has_technology_researched = elgar_mass_culture_tech
		any_scope_state = {
			is_incorporated = yes
			state_region = s:STATE_CALIFORNIA
			any_scope_building = {
				is_building_type = building_manzoni_publishing_industry
				level >= 3
			}
		}
	}
	ai_construction_targets = {
		building_manzoni_publishing_industry = {
			level = 5
			state_trigger = {
				state_region = s:STATE_CALIFORNIA
			}
		}
	}
	ai_weight = {
		value = 3		# Higher base value for flavored companies
	}
}

# Decca Records (Universal)
REPLACE_OR_CREATE:company_universal_records = {
	icon = "gfx/interface/icons/company_icons/historical_company_icons/universal_records.dds"
	background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_music.dds"
	flavored_company = yes
	preferred_headquarters = {
		STATE_HOME_COUNTIES
		STATE_CALIFORNIA
		STATE_HOLLAND
	}
	building_types = {
		building_elgar_opera
		building_manzoni_publishing_industry
	}
	extension_building_types = {
		building_art_academy
	}
	possible_prestige_goods = {
		prestige_good_generic_records_and_films
	}
	prestige_goods_trigger = {
		custom_tooltip = {
			text = je_ztr_prestige_good_generic_records_and_films_complete_tt
			has_variable = ztr_prestige_good_generic_records_and_films_var
		}
	}
	potential = {
		OR = {
			has_interest_marker_in_region = sr:region_pacific_coast
			has_interest_marker_in_region = sr:region_western_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_CALIFORNIA
					state_region = s:STATE_HOLLAND
				}
			}
		}
	}
	possible = {
		any_scope_state = {
			OR = {
				state_region = s:STATE_HOME_COUNTIES
				state_region = s:STATE_CALIFORNIA
				state_region = s:STATE_HOLLAND
			}
			is_incorporated = yes
			any_scope_building = {
				is_building_type = building_manzoni_publishing_industry
				level >= 3
			}
		}
		has_technology_researched = elgar_mass_culture_tech
	}
	prosperity_modifier = {
		country_prestige_mult = 0.05
		state_loyalists_from_political_movements_mult = 0.1
	}
	ai_will_do = {
		any_scope_state = {
			OR = {
				state_region = s:STATE_HOME_COUNTIES
				state_region = s:STATE_CALIFORNIA
				state_region = s:STATE_HOLLAND
			}
			is_incorporated = yes
		}
	}
	ai_construction_targets = {
		building_manzoni_publishing_industry = {
			level = 5
			state_trigger = {
				OR = {
					state_region = s:STATE_HOME_COUNTIES
					state_region = s:STATE_CALIFORNIA
					state_region = s:STATE_HOLLAND
				}
			}
		}
	}
	ai_weight = {
		value = 3		# Higher base value for flavored companies
	}
}
