[0.16.3]Unexpected behavior of "transfer half"
Posted: Sat Dec 16, 2017 9:34 am
The way "transfer half" currently works is:
1) Player chooses item to transfer.
2) Game goes over all stacks of item.
3) For every stack, ceiling(0.5*StackSize) is computed, and this amount is transferred.
If this is the intended behavior - I suggest renaming it to "transfer half of every stack", since right now it can very easily be misunderstood as "transfer half of total amount".
If items are only stackable to 1, or for whichever reason an edge scenario like in the image below exists, the entire amount will be transferred. If the name remains, I suggest that the transferred amount becomes half of *the total amount* and not of each stack.

1) Player chooses item to transfer.
2) Game goes over all stacks of item.
3) For every stack, ceiling(0.5*StackSize) is computed, and this amount is transferred.
If this is the intended behavior - I suggest renaming it to "transfer half of every stack", since right now it can very easily be misunderstood as "transfer half of total amount".
If items are only stackable to 1, or for whichever reason an edge scenario like in the image below exists, the entire amount will be transferred. If the name remains, I suggest that the transferred amount becomes half of *the total amount* and not of each stack.
