Skip to content

Commit

Permalink
Add new industries
Browse files Browse the repository at this point in the history
  • Loading branch information
ahyangyi committed Nov 20, 2023
1 parent aecb831 commit 14ade7e
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 2 deletions.
8 changes: 8 additions & 0 deletions industry/industries/arable_farm.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from industry.lib.industry import AIndustry, SplitDefinition, transcribe, symmetrize

the_industry = AIndustry(
id=0x10,
translation_name="ARABLE_FARM",
mapgen_probability=9,
ingame_probability=4,
)
8 changes: 8 additions & 0 deletions industry/industries/coffee_estate.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from industry.lib.industry import AIndustry, SplitDefinition, transcribe, symmetrize

the_industry = AIndustry(
id=0x17,
translation_name="COFFEE_ESTATE",
mapgen_probability=7,
ingame_probability=4,
)
3 changes: 3 additions & 0 deletions industry/industries/copper_smelter.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from industry.lib.industry import AIndustry

the_industry = AIndustry(id=0x2C, translation_name="COPPER_SMELTER", mapgen_probability=5, ingame_probability=3)
4 changes: 4 additions & 0 deletions industry/industries/flour_mill.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from industry.lib.industry import AIndustry


the_industry = AIndustry(translation_name="FLOUR_MILL", id=0x1B, mapgen_probability=5, ingame_probability=3)
4 changes: 4 additions & 0 deletions industry/industries/nitrate_mine.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from industry.lib.industry import AIndustry


the_industry = AIndustry(translation_name="NITRATE_MINE", id=0x18, mapgen_probability=7, ingame_probability=4)
4 changes: 4 additions & 0 deletions industry/industries/ranch.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from industry.lib.industry import AIndustry


the_industry = AIndustry(translation_name="RANCH", id=0x1A, mapgen_probability=7, ingame_probability=4)
4 changes: 4 additions & 0 deletions industry/industries/vineyard.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from industry.lib.industry import AIndustry


the_industry = AIndustry(translation_name="RANCH", id=0x1C, mapgen_probability=7, ingame_probability=4)
11 changes: 9 additions & 2 deletions industry/lang/english-uk.lng
Original file line number Diff line number Diff line change
Expand Up @@ -223,21 +223,25 @@ STR_CARGO_UNIT_WRKR :{SIGNED_WORD} worker{P 0 "" s}
STR_CARGO_UNIT_ZINC :{WEIGHT} of zinc

STR_INDUSTRY_NAME_AMMONIA_PLANT :Ammonia Plant
STR_INDUSTRY_NAME_ARABLE_FARM :Arable Farm
STR_INDUSTRY_NAME_BANK :Bank
STR_INDUSTRY_NAME_CHEMICAL_PLANT :Chemical Plant
STR_INDUSTRY_NAME_CIDER_MILL :Cider Mill
STR_INDUSTRY_NAME_CLAY_PIT :Clay Pit
STR_INDUSTRY_NAME_COAL_MINE :Coal Mine
STR_INDUSTRY_NAME_COFFEE_ESTATE :Coffee Estate
STR_INDUSTRY_NAME_COPPER_ORE_MINE :Copper Ore Mine
STR_INDUSTRY_NAME_COPPER_SMELTER :Copper Smelter
STR_INDUSTRY_NAME_DAIRY :Dairy
STR_INDUSTRY_NAME_DIARY_FARM :Dairy Farm
STR_INDUSTRY_NAME_DIAMOND_MINE :Diamond Mine
STR_INDUSTRY_NAME_DIARY_FARM :Dairy Farm
STR_INDUSTRY_NAME_DREDGING_SITE :Dredging Site
STR_INDUSTRY_NAME_FACTORY :Factory
STR_INDUSTRY_NAME_FARM :Farm
STR_INDUSTRY_NAME_FISH_FARM :Fish Farm
STR_INDUSTRY_NAME_FISHING_GROUNDS :Fishing Grounds
STR_INDUSTRY_NAME_FISHING_HARBOR :Fishing Harbor
STR_INDUSTRY_NAME_FISH_FARM :Fish Farm
STR_INDUSTRY_NAME_FLOUR_MILL :Flour Mill
STR_INDUSTRY_NAME_FOOD_PROCESSING_PLANT :Food Processing Plant
STR_INDUSTRY_NAME_FOREST :Forest
STR_INDUSTRY_NAME_FRUIT_PLANTATION :Fruit Plantation
Expand All @@ -248,6 +252,7 @@ STR_INDUSTRY_NAME_HERDING_CO_OP :Herding Co-op
STR_INDUSTRY_NAME_IRON_ORE_MINE :Iron Ore Mine
STR_INDUSTRY_NAME_LUMBER_MILL :Lumber Mill
STR_INDUSTRY_NAME_METAL_WORKSHOP :Metal Workshop
STR_INDUSTRY_NAME_NITRATE_MINE :Nitrate Mine
STR_INDUSTRY_NAME_OIL_REFINERY :Oil Refinery
STR_INDUSTRY_NAME_OIL_RIG :Oil Rig
STR_INDUSTRY_NAME_OIL_WELLS :Oil Wells
Expand All @@ -261,13 +266,15 @@ STR_INDUSTRY_NAME_POWER_STATION :Power Station
STR_INDUSTRY_NAME_PRINTING_WORKS :Printing Works
STR_INDUSTRY_NAME_PYRITE_MINE :Pyrite Mine
STR_INDUSTRY_NAME_PYRITE_SMELTER :Pyrite Smelter
STR_INDUSTRY_NAME_RANCH :Ranch
STR_INDUSTRY_NAME_RUBBER_PLANTATION :Rubber Plantation
STR_INDUSTRY_NAME_SAWMILL :Sawmill
STR_INDUSTRY_NAME_SCRAP_YARD :Scrap Yard
STR_INDUSTRY_NAME_STEEL_MILL :Steel Mill
STR_INDUSTRY_NAME_STOCKYARD :Stockyard
STR_INDUSTRY_NAME_TOWNS :Towns
STR_INDUSTRY_NAME_TRADING_CENTRE :Trading Centre
STR_INDUSTRY_NAME_VINEYARD :Vineyard
STR_INDUSTRY_NAME_WATER_SUPPLY :Water Supply
STR_INDUSTRY_NAME_WATER_TOWER :Water Tower
STR_INDUSTRY_NAME_WHARF :Wharf
Expand Down

0 comments on commit 14ade7e

Please sign in to comment.