Production

Goods are generally classified into Trade Goods, one of 13 categories of goods traded internationally. Provinces produce through industries, in a number of capped slots, consuming a combination trade goods, labour and land/property to produce their own trade goods. Industries pay for their labor and material costs and distribute the rest to property holders.

Every province has 16 slots that each can contain an industry or be empty. At startup every province is assigned industries based on a group of factors including vanilla tradegood, population distribution, modifiers, and flags. Industries are set with initial values from a template.

Industries
All industries do the following things. Hire laborers and pay wages. Use land or property and pay dividends. Buy and consume required input goods. Produce and sell output goods.

Every industry has a size. Their size represents how large a given industry is, and changes mainly based on what is more profitable. If it is profitable to expand, they will, and if not they won't.

Depending on their size, they get labor demand. They fulfill their labor demand by hiring people, which cost wages. They also take space, which is provided by one of 7 buildings. Industries pay dividend to whoever owns the buildings that they occupy.

Depending on how much labor and land each industry were able to acquire, their throughput is set, where throughput <= size. Depending on their throughput, industries demand input material. Depending on how much of their last year’s input material demand was met, they set this year’s supplies.

When industry expands, it will decrease profitability, as hiring more labor means increase wage per labor, buying more input means increased price per input, and selling more output means decreased price per output. When industry shrinks, it will increase in profitability for the opposite reason.