Question to PlanetaryProjectDefs.xml

In PlanetaryProjectDefs.xml per project there are line like that:

    <ManufacturingPerBonus>10</ManufacturingPerBonus>
    <BonusMax>1</BonusMax>

What does that mean exactly? I would suspect that means that principally one gets the bonus defined in the project for every 10 manufacturing points, but since BonusMax = 1 every manufacturing point over 10 doesn't have an effect.

That seems to be what I observed until now, seeing the projects having mostly only a very small effect. But I now have begun a new game (with a Steam Workshop faction) and I actually can see a difference according to manufacturing the planet produces as if BonusMax was not factored in in my above assumption. Has there something changed in the game of late?

5,736 views 3 replies
Reply #1 Top

If you have X manufacturing points being funneled into a project, then you get a modifier of min([BonusMax], [Value defined within the Bonus tags]*ceiling(X/[ManufacturingPerBonus]) from the project, where ceiling(X) is the function which returns the smallest integer Y such that Y >= X.

For example, if you funnel 103 manufacturing points into an Economic Project, you would add min(1, 0.05 * ceiling(103/10) = 0.55 to the colony's income multiplier.

At any rate, that was how it worked the last time I checked.

Reply #2 Top

Quoting joeball123, reply 1

If you have X manufacturing points being funneled into a project, then you get a modifier of min([BonusMax], [Value defined within the Bonus tags]*ceiling(X/[ManufacturingPerBonus]) from the project, where ceiling(X) is the function which returns the smallest integer Y such that Y >= X.

For example, if you funnel 103 manufacturing points into an Economic Project, you would add min(1, 0.05 * ceiling(103/10) = 0.55 to the colony's income multiplier.

At any rate, that was how it worked the last time I checked.
End of joeball123's quote

It still does, the only thing that changed is the added limit <BonusMax>1</BonusMax>,

meaning you dont get more than 100%

Reply #3 Top

Ok, I see, thanks, will check that out.

Edit: ok, I checked, it's like you both said. Thanks again :)