Page 1 of 1

What is the formula to determine the total amount oil extractable from a single node

Posted: Sat Jul 16, 2016 7:48 am
by Glockshna
I would like to know the formula used to determine how much oil I'll get from a node of a given yield before it reaches 10%

I've tried several different formulas based on the wiki's information but they all come out to (the same) ludicrous number that doesnt materialize in game.

Code: Select all

richness = 1000
cycles = richness * 75
output = 0
print("Cycles = " + "{:,}".format(cycles))

while cycles > 750:
    i = 75
    while i > 0:
        output += 1*richness
        i -= 1
        cycles -= 1
    richness -= 1
print("{:,}".format(output))

That is the latest script I made to calculate the total output of a node with 1000% richness. This returned 37,553,375 oil. I know for a fact this is not how much ends up coming out of the node, yet based on the numbers provided by the wiki that's how much I should be getting.

Any insight?

Re: What is the formula to determine the total amount oil extractable from a single node

Posted: Sat Jul 16, 2016 8:25 am
by DaveMcW
1. Richness is measured in %, you get 37,553,375% or 375,534 oil. This matches previous calculations.
2. In 0.13 the decay delay was increased from 75 to 150. This means twice as much oil!

Re: What is the formula to determine the total amount oil extractable from a single node

Posted: Sat Jul 16, 2016 9:24 am
by Glockshna
DaveMcW wrote:1. Richness is measured in %, you get 37,553,375% or 375,534 oil. This matches previous calculations.
2. In 0.13 the decay delay was increased from 75 to 150. This means twice as much oil!
derp. I knew it was something stupid.

(richness / 100) * 150

Hurpadurp

Re: What is the formula to determine the total amount oil extractable from a single node

Posted: Sat Jul 16, 2016 10:23 am
by Frightning
DaveMcW wrote:1. Richness is measured in %, you get 37,553,375% or 375,534 oil. This matches previous calculations.
2. In 0.13 the decay delay was increased from 75 to 150. This means twice as much oil!
You get slightly more than twice, because the amount provided each cycle decreases by 1/150 of a % (that is, it doesn't give 150 cycles at k% and then 150 at (k-1)%, etc.) But it's close to exactly double.