Skip to content

Commit

Permalink
Maggi added
Browse files Browse the repository at this point in the history
  • Loading branch information
LordR19 committed Jan 7, 2024
1 parent 1f5989e commit 0812f4b
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Changelog Grieg
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ Characters (60)
Companies
- Ludwig von Roll'schen Eisenwerke (Switzerland)
- Escher Wyss & Cie (Switzerland)
- Schweizerische Lokomotiv- und Maschinenfabrik (Switzerland)
- Schweizerische Lokomotiv- und Maschinenfabrik (Switzerland)
- J. Maggi & Cie (Switzerland)
45 changes: 40 additions & 5 deletions common/company_types/000_dufour_company_types.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
Expand All @@ -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
}
}
Binary file not shown.
3 changes: 2 additions & 1 deletion localization/english/1_update_l_english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
dufour_company_slm: "Schweizerische Lokomotiv- und Maschinenfabrik"
dufour_company_maggi: "J. Maggi & Cie"

0 comments on commit 0812f4b

Please sign in to comment.