Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
food items not stacking correctly in item container after cooling down #22094
Game version: 0.C-23389-gd993d6c
Operating system: Windows 10
Tiles or curses: Tiles
Same food items with different portions should either be in the same stack after adding up all of the portions, or in separate stacks after they are cooled down.
When player puts a hot food into a container that have the same food without (hot) status, they will stack together after the hot food has been cooled down but it will be "(2 or more) food (largest portion of food before adding them together)", and the weight and volume of the food stack will be multiples of the largest portion of food.
For example, if player puts a smoked meat (hot)(3) into a container with smoked meat (20) inside, after the meat has been cooled down, the stack of meat will be 2 smoked meat (20) instead of smoked meat (23) or smoked meat (20) and (3), .
Steps to reproduce the behavior
I haven't tested if the fake volume increase will actually fill up the container but it is annoying when I can't see the exact portions of food I have inside a container.
It's nothing to do with spoil values, it affects food without them. I've seen this bug too, and just managed to do it in my test world. It's tricky and seems to happen very intermittently with only 2 stacks. 3 stacks makes it happen reliably. Steps to reproduce: