Callback: Set initial production level on construction
From GRFSpecs
Revision as of 17:03, 28 April 2012 by Frosch (talk | contribs) (→Set initial production level on construction (15F))
Set initial production level on construction (15F)
This callback is called on constructon of industries, if bit 6 of property 22 is set. Similar to callback 29 result 0F it sets the production rate. You can use variable B3 to check the reason for the construction of the industry.
Variable 18 contains 32 random bits.
The result of the callback consists of:
Bits | Meaning |
---|---|
0-7 | Production level; must be in range 04..80h; default value when not using this callback is 10h. |
8-14 | Reserved, must be set to zero. |