So I'm planning on writing a mod that scales the terraform cost and duration but how do I apply this as a modifier? What would be the most effecient way to do this? Can it even be done as a quadratic equation.
I have the following formula:
y = (3/840)x² - 0.025x + (33/84)
With y as the modifier for terraform cost and duration and x the planet size. The result of this equation should be a terraform cost and duration modifier of 1 for size 17 planets, 2 for size 25 planets and 0.5 for size 10 moons. Can this be applied? What would be the most effecient way to do so? If I would work with a formula to change the energy cost and duration directly instead of with a modifier those formulas would look like this respectively:
y = (600/84)x² - 50x + (66000/84)
y = (540/84)x² - 45x + (59400/84)
I have the following formula:
y = (3/840)x² - 0.025x + (33/84)
With y as the modifier for terraform cost and duration and x the planet size. The result of this equation should be a terraform cost and duration modifier of 1 for size 17 planets, 2 for size 25 planets and 0.5 for size 10 moons. Can this be applied? What would be the most effecient way to do so? If I would work with a formula to change the energy cost and duration directly instead of with a modifier those formulas would look like this respectively:
y = (600/84)x² - 50x + (66000/84)
y = (540/84)x² - 45x + (59400/84)
Last edited: