Callback: Set initial production level on construction
From GRFSpecs
Jump to navigationJump to searchSet 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 level. 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. |