Kaiserreich / Kaiserreich-4-Bug-Reports

Issue tracker for Kaiserreich for Hearts of Iron 4
110 stars 40 forks source link

Naval refitting/repair speed shows on production efficiency interface and possibly even affects prod effy. #15658

Closed BugBot3000 closed 3 years ago

BugBot3000 commented 3 years ago

First off this is likely an unfixable vanilla bug. prodeff The national spirit "Davie Shipbuilding contract" is shown at production efficiency with a +25% effect, which has to be either from repair speed or naval refitting (my bet is on the latter). While quickly multiplying tells us that (4.5x0.1x2.02 = 0.9) the factory output is working as intended and completely ignores the +25% stated here I restarted in debug mode and without a bunch of other mods to make sure this isn't caused by those: prodeff2 Interestingly you start with a lack of resources so we have a 2nd modifier where only the supposed "UI bug" was before. Here we have 5 mils producing 10.32 per day. So assuming this still doesn't affect prod effy at all the formula should be: 4.5x0.48x0.91x5 = 9,828. which is a tad too far off to just be a machine rounding error. Assuming the davis company magically conjures the steel needed and negates the lack of resources: 4.5x0.54x0.91x5 = 11,0565. Which doesn't fit either. To summarize I don't know what and how it is affecting production efficiency but from my observations it does so unless it'd push production efficiency over the prod. effy cap. This also affects for dockyards the same, atleast in the UI, which just have 100% prod effy by default. convoys Here the equation functions again though, despite resources missing: 2,5x1,104x0,3 = 0,828

So either this doesn't affect dockyard production efficiency for whatever reason and only the mils while being in both of their UIs or I've just found a different bug where the factories don't produce what they should via equation.

Had to replace all with x in equations because else the text goes tilt*

formula's are 2,5 base output for 1 dockyard and 4,5 for one mil x output x production efficiency

BugBot3000 commented 3 years ago

refitting speed causes this, could double check this while playing Japan

Alpinia commented 3 years ago

As far as I could test, this doesn't seem to actually affect anything - it appears the loc for the tooltip just doesn't check whether the production line isn't a refit. Either way it's only fixable by PDX.