Page 1 of 1

[1.1.19] Trains/wagons do not stack properly in chests

Posted: Sat Jan 30, 2021 2:28 am
by sonic
Minor issue with stacking of train engines/wagons.

See fig_1.jpg

The bottom row just shows two partial stacks of storage chests.

The middle row was initially the same as the bottom row, with a stack of 3 and another of 2 storage chests. When I pick up the stack of 2 and place it on the stack of 3 it places the chests normally, resulting in a stack of 5.

The top row shows that happens when I do the same with a cargo wagon. The partial stacks seem to be treated as different items, so when I place the stack of 2 on top of the stack of 3, it swaps them out instead of stacking normally. Engines, fluid and cargo wagons behave this way.

Right-clicking works normally and will add 1 to a partial stack. Shift clicking from player inventory to chest and vice versa also behaves as expected.

Re: [1.1.19] Trains/wagons do not stack properly in chests

Posted: Sat Jan 30, 2021 4:40 am
by Rseding91
Can you please post a save file showing the issue you're describing?

Re: [1.1.19] Trains/wagons do not stack properly in chests

Posted: Sat Jan 30, 2021 4:48 am
by Loewchen
I can reproduce this, its just convoluted explained. In chests you cannot combine stacks of wagons or trains with left click, the number in the chest will just swap with the number on hand instead building one summed up stack in the chest.

Re: [1.1.19] Trains/wagons do not stack properly in chests

Posted: Sat Jan 30, 2021 5:23 am
by NotRexButCaesar
Rseding91 wrote:
Sat Jan 30, 2021 4:40 am
Can you please post a save file showing the issue you're describing?
Split a stack with right click. Then left click on the same slot. The items are exchanged rather than placed.

Re: [1.1.19] Trains/wagons do not stack properly in chests

Posted: Sat Jan 30, 2021 6:04 am
by Rseding91
Thanks for the specific reproduction steps. It's now fixed for the next release.