This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
modding:constructiontypes [2020/07/14 10:43] yoshi [Industry Properties] |
modding:constructiontypes [2020/09/02 14:17] kjell [UpdateFn Parameters] |
||
---|---|---|---|
Line 170: | Line 170: | ||
* '' | * '' | ||
- | It is recommended to support these additional parameters to allow mission or game scripts to adjust the production and consumption of industries. The '' | + | It is recommended to support these additional parameters to allow mission or game scripts to adjust the production and consumption of industries. The '' |
==== UpdateFn Return Properties ==== | ==== UpdateFn Return Properties ==== | ||
Line 212: | Line 212: | ||
<code lua> | <code lua> | ||
result.stocks = { } | result.stocks = { } | ||
- | result.rule = { input = { { 0 } }, output = { COAL = 1 }, capacity = 200 } | + | result.rule = { input = { { } }, output = { COAL = 1 }, capacity = 200 } |
</ | </ | ||