foe-helfer-extension icon indicating copy to clipboard operation
foe-helfer-extension copied to clipboard

Building efficiency - include BG in evaluation

Open Beelzebob6666 opened this issue 2 years ago • 1 comments

add a checkbox (or similar) per building that allows to include the BG factor into the efficiency evaluation

when selected - either change the evaluation of the current line or add a line with the same building but evaluated with BG

Beelzebob6666 avatar Mar 18 '22 15:03 Beelzebob6666

This could be a bit more complicated.

Lets assume you have a winter train that gives you 20FP. If you take BG into account this will give you for example a 60% chance for double production => 12FP But this also means you have one less charge for the BG so you might not be able to use it on one of your terrace farms lvl2, so your actual reward from the BG is only (20-12)*60% = 4.8FP

So basically we would need to create a second BG helper just to calculate the reward for the next building weighted by all the different resources (like FP, goods, supplies etc.)

We cant use the same code as in BG helper because BG helper is based on current production (even if it is not finished yet) while building efficiency is based on average production. Also the problem is that when calculating average production on chain buildings I can not tell which buildings are chained together. For example if you have 2 winter trains + 10 waggons I cannot tell if they are split 10+0 or 5+5. In building efficiency this does not matter because chains/set buildings are grouped together so I just assume the waggons are all connected to something, but for BG efficiency this makes a huge difference.

Gindi4711 avatar Apr 09 '22 12:04 Gindi4711