First define some of the variables:
Code: Select all
Race_prod_bonus = 0 when no production bonus race pick
= -1 when -1 production bonus race pick
= +1 when +1 production bonus race pick
= +2 when +2 production bonus race pick
Microlite_bonus = 0 when you do not have Microlite Construction
= 1 when you have Microlite Construction
Code: Select all
Table at offset 0x162B09 in Orion2.exe
01 02 03 05 08
Planet_value = nth value from the table above where n is the planet mineral grade.
Code: Select all
Base_production = Planet_value + Microlite_bonus + Race_prod_bonus
If Base_production = 0 then Base_production = 1