Page 1 of 1

[2.0.21] Item count for underground belts is 4 less than expected

Posted: Mon Nov 25, 2024 12:33 pm
by anno4862
Minor issue (IMO), but nonetheless... The item count for all underground belts (all types) seems to be 4 less than expected (always).

For example, given this belt with a length of 8 (2 normal belt tiles and 6 underground tiles):
2024-11-25 12_39_43-Factorio 2.0.21.png
2024-11-25 12_39_43-Factorio 2.0.21.png (494.43 KiB) Viewed 386 times

The item count via the Circuit Connection is as expected (8 * 8 = 64). However when hovering over the underground the item count is 4 less than it should be. When hovering over the start of the belt it is 44 (expected 48 (5*8)):
2024-11-25 12_40_05-Factorio 2.0.21.png
2024-11-25 12_40_05-Factorio 2.0.21.png (530.54 KiB) Viewed 386 times

And at the end of the belt it is 4 (expected 8):
2024-11-25 12_40_18-Factorio 2.0.21.png
2024-11-25 12_40_18-Factorio 2.0.21.png (570.82 KiB) Viewed 386 times

This example is for vanilla 2.0.x (only 'Base mod', no 'Space Age'). Only a yellow underground is shown but the other types have the same issue (regardless of their length). Reproducible by creating (any) underground belt, filling it with (any) item and hover for the item count (which is 4 less than expected).

Re: [2.0.21] Item count for underground belts is 4 less than expected

Posted: Mon Nov 25, 2024 1:17 pm
by Rseding91
Thanks for the report however this is not a bug. The tooltip only shows the items for that belt and for the underground contents. It does not include the above ground contents if the other belt which is where the “rest” of the items are that you are expecting to be in the tooltip.

Re: [2.0.21] Item count for underground belts is 4 less than expected

Posted: Mon Nov 25, 2024 1:28 pm
by anno4862
Sorry, I'm not sure I understand what you are saying. In this situation:
2024-11-25 12_40_18-Factorio 2.0.21.png
2024-11-25 12_40_18-Factorio 2.0.21.png (570.82 KiB) Viewed 372 times

I'm hovering over the last tile of the underground which is one belt tile. One belt tile contains a maximum of 8 items, shouldn't the tooltip show 8 instead of 4?

Re: [2.0.21] Item count for underground belts is 4 less than expected

Posted: Mon Nov 25, 2024 1:53 pm
by Rseding91
anno4862 wrote: Mon Nov 25, 2024 1:28 pm I'm hovering over the last tile of the underground which is one belt tile. One belt tile contains a maximum of 8 items, shouldn't the tooltip show 8 instead of 4?
No. Each end of the belt has half a tile of "above ground" belt and the underground portion is shared between the two ends. One end of the belt gets to count the underground portion in its tooltip and the other does not.