diff --git a/Changelog Grieg b/Changelog Grieg index bf7f9cf9cc..06b7f7229d 100644 --- a/Changelog Grieg +++ b/Changelog Grieg @@ -74,4 +74,5 @@ Characters (60) Companies - Ludwig von Roll'schen Eisenwerke (Switzerland) - Escher Wyss & Cie (Switzerland) -- Schweizerische Lokomotiv- und Maschinenfabrik (Switzerland) \ No newline at end of file +- Schweizerische Lokomotiv- und Maschinenfabrik (Switzerland) +- J. Maggi & Cie (Switzerland) \ No newline at end of file diff --git a/common/company_types/000_dufour_company_types.txt b/common/company_types/000_dufour_company_types.txt index 23d20ca450..1eb9b80340 100644 --- a/common/company_types/000_dufour_company_types.txt +++ b/common/company_types/000_dufour_company_types.txt @@ -101,11 +101,8 @@ dufour_company_slm = { state_region = s:STATE_EAST_SWITZERLAND is_incorporated = yes any_scope_building = { - OR = { - is_building_type = building_tooling_workshops - is_building_type = building_motor_industry - } - level >= 10 + is_building_type = building_motor_industry + level >= 5 } } } @@ -119,3 +116,41 @@ dufour_company_slm = { value = 3 # Higher base value for flavored companies } } + +# J. Maggi & Cie +dufour_company_maggi = { + icon = "gfx/interface/icons/company_icons/dufour_company_maggi_icon.dds" + background = "gfx/interface/icons/company_icons/company_backgrounds/comp_illu_manufacturing_heavy.dds" + + flavored_company = yes + + building_types = { + building_food_industry + } + + potential = { + OR = { + has_state_in_state_region = STATE_EAST_SWITZERLAND + } + } + + possible = { + any_scope_state = { + state_region = s:STATE_EAST_SWITZERLAND + is_incorporated = yes + any_scope_building = { + is_building_type = building_food_industry + level >= 5 + } + } + } + + prosperity_modifier = { + building_food_industry_throughput_add = 0.05 + state_mortality_mult = -0.025 + } + + ai_weight = { + value = 3 # Higher base value for flavored companies + } +} diff --git a/gfx/interface/icons/company_icons/dufour_company_maggi_icon.dds b/gfx/interface/icons/company_icons/dufour_company_maggi_icon.dds new file mode 100644 index 0000000000..24f25dfd63 Binary files /dev/null and b/gfx/interface/icons/company_icons/dufour_company_maggi_icon.dds differ diff --git a/localization/english/1_update_l_english.yml b/localization/english/1_update_l_english.yml index 6a27d08ff1..6e23ffeecb 100644 --- a/localization/english/1_update_l_english.yml +++ b/localization/english/1_update_l_english.yml @@ -485,4 +485,5 @@ ### DUFOUR ### dufour_company_von_roll: "Ludwig von Roll'sche Eisenwerke" dufour_company_escher_wyss: "Escher Wyss & Cie" - dufour_company_slm: "Schweizerische Lokomotiv- und Maschinenfabrik" \ No newline at end of file + dufour_company_slm: "Schweizerische Lokomotiv- und Maschinenfabrik" + dufour_company_maggi: "J. Maggi & Cie" \ No newline at end of file