r/rotp • u/Chaotic_Hunter_Tiger • 12d ago
Bug Ultra Poor planet output-to-reserve not working as intended?
O hai. So, I've got the itch of peeking into Java scripts lately, and also noticed something weird in my current match (which promises to suck with the Silicoids around).
I have an Ultra Poor planet with maxed 55 population, 1 single factory, and a total of 33 net BC output (0.7 per worker, 0.6 per factory = 39.1 BC minus the usual empire expenses). It's the only planet I have sending BC to the reserve from the Ecology bar. It's only sending 5 BC, like applying that x0.33 modifier even for the Ecology bar, which in theory it shouldn't do according to the ColonyEcology.NextTurn function, line 220 comment and beyond.
Checking and unchecking the checkbox to divert excess colony spending to research displays a 33 BC difference, expecting around 16 BC, but the real amount is reduced to 5 BC (one third). Is the problem in line 226 because of applying the planetAdj modifier for Poor and Ultra Poor planets? Am I finally learning something of Java after all this time? I have a saved game if needed too.
Thanks for your time.
P. S: As a trivial request, it would be possible to see the amount of BC placed on each bar on the left side of the bar when rollovering on them or something? Like to know the amount of BC put into Ecology to know how many waste units I'm clearing. I do that now by putting into Research and counting the clicks (2% each, yeah), but it's a bit annoying. And the non-integer part of the population. Never know if I send 1 population surplus with transports. Well, nothing important here.


