Skip to content

Commit

Permalink
(Aegis) new parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ahyangyi committed Nov 5, 2023
1 parent 678ed4e commit 3fc4178
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions industry/lang/english-uk.lng
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ STR_PARAM_WORKFORCE_YETI_PASSENGERS :Exclusive (Passengers)
STR_PARAM_WORKFORCE_YETI_MAIL :Exclusive (Mail)
STR_PARAM_WORKFORCE_YETI_TIRED :Exclusive (Tired Worker)

STR_PARAM_TOWN_GOODS :Towns - Growth Requirements
STR_PARAM_TOWN_GOODS_DESC :Choose whether food and/or water are required for town growth. Note that this only functions in the appropriate climate.
STR_PARAM_TOWN_GOODS_PRESET :Preset
STR_PARAM_TOWN_GOODS_ORGANIC :Organic
STR_PARAM_TOWN_GOODS_NONE :None
STR_PARAM_TOWN_GOODS_FOOD :Food
STR_PARAM_TOWN_GOODS_FOOD_AND_WATER:Food and Water

STR_PARAM_PRIMARY_INDUSTRY_GROWTH :Primary Industry - Growth
STR_PARAM_PRIMARY_INDUSTRY_GROWTH_DESC :Choose how does primary industries change their production.{}{}None - No change{}Universal Supplies - productions are boosted when supplied with a universal type of supplies{}Generic Supplies - productions are boosted when supplied with Farming/Engineering Supplies{}Specific Supplies - productions are boosted when supplied with specific cargos{}Workers - productions are boosted when supplied with workers{}Discrete - productions change randomly, depending on whether its output is used{}Continuous - production change randomly, with many levels possible.
STR_PARAM_PRIMARY_INDUSTRY_GROWTH_PRESET :Preset
Expand Down
11 changes: 11 additions & 0 deletions industry/lib/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@
9: "YETI_TIRED",
},
),
Parameter(
"TOWN_GOODS",
0,
{
0: "PRESET",
1: "ORGANIC",
2: "NONE",
3: "FOOD",
4: "FOOD_AND_WATER",
},
),
Parameter(
"PRIMARY_INDUSTRY_GROWTH",
0,
Expand Down

0 comments on commit 3fc4178

Please sign in to comment.