Page 1 of 1

Base production calculations

Posted: Thu Aug 11, 2005 10:47 pm
by Lord Brazen
For those that have asked for production formulas, base production (what you see when you right click a planet) calculations are extremely simple.

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
Now lookup the planet production based on the planet mineral grade:

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.
Calculate the base_production (minimum of 1):

Code: Select all

Base_production = Planet_value + Microlite_bonus + Race_prod_bonus If Base_production = 0 then Base_production = 1