Difference between revisions of "Work formulas"

From Rival Regions Wiki
Jump to: navigation, search
(Marked this version for translation)
Line 1: Line 1:
 
<languages/>
 
<languages/>
 
<translate>
 
<translate>
 +
<!--T:1-->
 
'''PRODUCTIVITY = 20*POW(USER_LEVEL, 0.8)*POW(RESOURCE_KOEF/10, 0.8)*POW(FACTORY_LEVEL, 0.8)*POW(WORK_EXP/10, 0.6)'''
 
'''PRODUCTIVITY = 20*POW(USER_LEVEL, 0.8)*POW(RESOURCE_KOEF/10, 0.8)*POW(FACTORY_LEVEL, 0.8)*POW(WORK_EXP/10, 0.6)'''
  
 +
<!--T:2-->
 
(POW means raise to a power)
 
(POW means raise to a power)
  
  
 +
<!--T:3-->
 
RESOURCE_KOEF differs for each type of factory:
 
RESOURCE_KOEF differs for each type of factory:
  
 +
<!--T:4-->
 
''' Gold mine '''
 
''' Gold mine '''
  
 +
<!--T:5-->
 
RESOURCE_KOEF = Max region Gold resource (including deep exploration) * 0.4
 
RESOURCE_KOEF = Max region Gold resource (including deep exploration) * 0.4
  
 +
<!--T:6-->
 
''' Oil field '''
 
''' Oil field '''
  
 +
<!--T:7-->
 
RESOURCE_KOEF = Max region Oil resource (including deep exploration) * 0.65
 
RESOURCE_KOEF = Max region Oil resource (including deep exploration) * 0.65
  
 +
<!--T:8-->
 
''' Ore quarry '''
 
''' Ore quarry '''
  
 +
<!--T:9-->
 
RESOURCE_KOEF = Max region Ore resource (including deep exploration) * 0.65
 
RESOURCE_KOEF = Max region Ore resource (including deep exploration) * 0.65
  
 +
<!--T:10-->
 
''' Uranium quarry '''
 
''' Uranium quarry '''
  
 +
<!--T:11-->
 
RESOURCE_KOEF = Max region Uranium resource (including deep exploration) * 0.75
 
RESOURCE_KOEF = Max region Uranium resource (including deep exploration) * 0.75
  
 +
<!--T:12-->
 
''' Diamond mine '''
 
''' Diamond mine '''
  
 +
<!--T:13-->
 
RESOURCE_KOEF = Max region Diamonds resource (including deep exploration) * 0.75
 
RESOURCE_KOEF = Max region Diamonds resource (including deep exploration) * 0.75
  
 +
<!--T:14-->
 
''' Liquefaction plant '''
 
''' Liquefaction plant '''
  
 +
<!--T:15-->
 
RESOURCE_KOEF = POW(BUILDING_ELECTRO*2, 0.4)
 
RESOURCE_KOEF = POW(BUILDING_ELECTRO*2, 0.4)
  
 +
<!--T:16-->
 
''' Helium-3 lab '''
 
''' Helium-3 lab '''
  
 +
<!--T:17-->
 
RESOURCE_KOEF = POW(BUILDING_ELECTRO*2, 0.4)
 
RESOURCE_KOEF = POW(BUILDING_ELECTRO*2, 0.4)
  
  
 +
<!--T:18-->
 
'''PRODUCTIVITY = PRODUCTIVITY * 1.2'''
 
'''PRODUCTIVITY = PRODUCTIVITY * 1.2'''
  
 +
<!--T:19-->
 
This ads original nation bonus (which was left only for damage in wars many months ago and is now added regardless of the region)
 
This ads original nation bonus (which was left only for damage in wars many months ago and is now added regardless of the region)
  
  
 +
<!--T:20-->
 
'''PRODUCTIVITY = PRODUCTIVITY * (1 + DEP_OF_RES/100)'''
 
'''PRODUCTIVITY = PRODUCTIVITY * (1 + DEP_OF_RES/100)'''
  
 +
<!--T:21-->
 
This adds department of resources bonus.
 
This adds department of resources bonus.
  
  
 +
<!--T:22-->
 
''' Gold mine '''
 
''' Gold mine '''
  
 +
<!--T:23-->
 
'''PRODUCTIVITY = PRODUCTIVITY * 4'''
 
'''PRODUCTIVITY = PRODUCTIVITY * 4'''
  
 +
<!--T:24-->
 
''' Diamond mine '''
 
''' Diamond mine '''
  
 +
<!--T:25-->
 
'''PRODUCTIVITY = PRODUCTIVITY / 1000'''
 
'''PRODUCTIVITY = PRODUCTIVITY / 1000'''
  
 +
<!--T:26-->
 
''' Liquefaction plant '''
 
''' Liquefaction plant '''
  
 +
<!--T:27-->
 
'''PRODUCTIVITY = PRODUCTIVITY / 5'''
 
'''PRODUCTIVITY = PRODUCTIVITY / 5'''
  
 +
<!--T:28-->
 
''' Helium-3 lab '''
 
''' Helium-3 lab '''
  
 +
<!--T:29-->
 
'''PRODUCTIVITY = PRODUCTIVITY / 1000'''
 
'''PRODUCTIVITY = PRODUCTIVITY / 1000'''
  
 +
<!--T:30-->
 
These are just some additional coefficients "for balance"
 
These are just some additional coefficients "for balance"
  
  
 +
<!--T:31-->
 
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).
 
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).
  
  
 +
<!--T:32-->
 
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:
  
 +
<!--T:33-->
 
'''WITHDRAWN_POINTS = PRODUCTIVITY/40000000'''
 
'''WITHDRAWN_POINTS = PRODUCTIVITY/40000000'''
  
 +
<!--T:34-->
 
This, obviously, applies for Gold, Uranium, Diamonds, Oil and Ore.
 
This, obviously, applies for Gold, Uranium, Diamonds, Oil and Ore.
 
</translate>
 
</translate>

Revision as of 14:18, 19 January 2019

Other languages:
العربية • ‎azərbaycanca • ‎Čeština • ‎Deutsch • ‎English • ‎Español • ‎français • ‎Bahasa Indonesia • ‎Italiano • ‎qazaqşa (latın)‎ • ‎Português do Brasil • ‎Русский • ‎српски / srpski • ‎Türkçe • ‎Українська

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.