Difference between revisions of "Work formulas"
| Line 5: | Line 5: | ||
RESOURCE_KOEF differs for each type of factory: | RESOURCE_KOEF differs for each type of factory: | ||
| − | + | ''' Gold mine ''' | |
RESOURCE_KOEF = Max region Gold resource (including deep exploration) * 0.4 | RESOURCE_KOEF = Max region Gold resource (including deep exploration) * 0.4 | ||
| − | + | ''' Oil field ''' | |
RESOURCE_KOEF = Max region Oil resource (including deep exploration) * 0.65 | RESOURCE_KOEF = Max region Oil resource (including deep exploration) * 0.65 | ||
| − | + | ''' Ore quarry ''' | |
RESOURCE_KOEF = Max region Ore resource (including deep exploration) * 0.65 | RESOURCE_KOEF = Max region Ore resource (including deep exploration) * 0.65 | ||
| − | + | ''' Uranium quarry ''' | |
RESOURCE_KOEF = Max region Uranium resource (including deep exploration) * 0.75 | RESOURCE_KOEF = Max region Uranium resource (including deep exploration) * 0.75 | ||
| − | + | ''' Diamond mine ''' | |
RESOURCE_KOEF = Max region Diamonds resource (including deep exploration) * 0.75 | RESOURCE_KOEF = Max region Diamonds resource (including deep exploration) * 0.75 | ||
| − | + | ''' Liquefaction plant ''' | |
RESOURCE_KOEF = POW(BUILDING_ELECTRO*2, 0.4) | RESOURCE_KOEF = POW(BUILDING_ELECTRO*2, 0.4) | ||
| − | + | ''' Helium-3 lab ''' | |
RESOURCE_KOEF = POW(BUILDING_ELECTRO*2, 0.4) | RESOURCE_KOEF = POW(BUILDING_ELECTRO*2, 0.4) | ||
| Line 29: | Line 29: | ||
This adds department of resources bonus. | This adds department of resources bonus. | ||
| − | + | ''' Gold mine ''' | |
| − | '''PRODUCTIVITY = PRODUCTIVITY * 4'' | + | '''PRODUCTIVITY = PRODUCTIVITY * 4''' |
| − | + | ''' Diamond mine ''' | |
| − | '''PRODUCTIVITY = PRODUCTIVITY / 1000'' | + | '''PRODUCTIVITY = PRODUCTIVITY / 1000''' |
| − | + | ''' Liquefaction plant ''' | |
| − | '''PRODUCTIVITY = PRODUCTIVITY / 5'' | + | '''PRODUCTIVITY = PRODUCTIVITY / 5''' |
| − | + | ''' Helium-3 lab ''' | |
| − | '''PRODUCTIVITY = PRODUCTIVITY / 1000'' | + | '''PRODUCTIVITY = PRODUCTIVITY / 1000''' |
These are just some additional coefficients "for balance" | These are just some additional coefficients "for balance" | ||
| Line 44: | Line 44: | ||
Now let's count the amount of resources points that will be withdrawn from the region: | Now let's count the amount of resources points that will be withdrawn from the region: | ||
| − | WITHDRAWN_POINTS = PRODUCTIVITY/40000000 | + | '''WITHDRAWN_POINTS = PRODUCTIVITY/40000000''' |
This, obviously, applies for Gold, Uranium, Diamonds, Oil and Ore. | This, obviously, applies for Gold, Uranium, Diamonds, Oil and Ore. | ||
Revision as of 10:09, 11 November 2018
PRODUCTIVITY = 20*POW(USER_LEVEL, 0.8)*POW(RESOURCE_KOEF/10, 0.8)*POW(FACTORY_LEVEL, 0.8)*POW(WORK_EXP/10, 0.6)
(POW means raise to a power)
RESOURCE_KOEF differs for each type of factory:
Gold mine RESOURCE_KOEF = Max region Gold resource (including deep exploration) * 0.4 Oil field RESOURCE_KOEF = Max region Oil resource (including deep exploration) * 0.65 Ore quarry RESOURCE_KOEF = Max region Ore resource (including deep exploration) * 0.65 Uranium quarry RESOURCE_KOEF = Max region Uranium resource (including deep exploration) * 0.75 Diamond mine RESOURCE_KOEF = Max region Diamonds resource (including deep exploration) * 0.75 Liquefaction plant RESOURCE_KOEF = POW(BUILDING_ELECTRO*2, 0.4) Helium-3 lab RESOURCE_KOEF = POW(BUILDING_ELECTRO*2, 0.4)
PRODUCTIVITY = PRODUCTIVITY * 1.2
This ads original nation bonus (which was left only for damage in wars many months ago and is now added regardless of the region)
PRODUCTIVITY = PRODUCTIVITY * (1 + DEP_OF_RES/100)
This adds department of resources bonus.
Gold mine PRODUCTIVITY = PRODUCTIVITY * 4 Diamond mine PRODUCTIVITY = PRODUCTIVITY / 1000 Liquefaction plant PRODUCTIVITY = PRODUCTIVITY / 5 Helium-3 lab PRODUCTIVITY = PRODUCTIVITY / 1000
These are just some additional coefficients "for balance"
This PRODUCTIVITY is the total gross amount of resources that will be produced by 1 (!) Energy step (for example, 10 E, not all 300 E).
Now let's count the amount of resources points that will be withdrawn from the region:
WITHDRAWN_POINTS = PRODUCTIVITY/40000000
This, obviously, applies for Gold, Uranium, Diamonds, Oil and Ore.