http
09-05-2009, 01:12 PM
I would like to calculate how to get some income the fastest way with a complex algorithm and therefore I need to know how the prices of the buildings are calculated exactly.
I know for example that the Refinery (when you already have ten of them) costs 300'000. The next ones cost 315'000, 330'000, 345'000, 360'000. I don't remember the initial price for the first one. Can someone tell me what the initial price was? Is this price always +15'000 or only for the cases I listed above?
I know that the Supply Depot (after owning 10) costs 36'000. Then 37'800, 39'600, 41'400, 43'200, 45'000, 46'800. So there is an increase of about 5% each time, but not exactly. It's probably rounded somehow. Any idea how? How was the initial price for the Supply Depot?
Also, what was the initial price for the Weapon Factory? And how's the increase there?
For the Power Plant, there seems to be an increase of 10% each time. I know the first is 2.7m, then 2.97m, 3.24m, 3.51m, 3.78K. But there is also the rounding problem, which I don't know how it works.
And is the current price calculated based on the previous (rounded) price or based on the initial price multiplied with a factor that depends on the number of buildings you own already?
Anybody knows how to calculate these values exactly? Storm8?
I know for example that the Refinery (when you already have ten of them) costs 300'000. The next ones cost 315'000, 330'000, 345'000, 360'000. I don't remember the initial price for the first one. Can someone tell me what the initial price was? Is this price always +15'000 or only for the cases I listed above?
I know that the Supply Depot (after owning 10) costs 36'000. Then 37'800, 39'600, 41'400, 43'200, 45'000, 46'800. So there is an increase of about 5% each time, but not exactly. It's probably rounded somehow. Any idea how? How was the initial price for the Supply Depot?
Also, what was the initial price for the Weapon Factory? And how's the increase there?
For the Power Plant, there seems to be an increase of 10% each time. I know the first is 2.7m, then 2.97m, 3.24m, 3.51m, 3.78K. But there is also the rounding problem, which I don't know how it works.
And is the current price calculated based on the previous (rounded) price or based on the initial price multiplied with a factor that depends on the number of buildings you own already?
Anybody knows how to calculate these values exactly? Storm8?