Non-spoiled items sometimes create spoiled results
RiverC opened this issue ยท 4 comments
Describe the bug
Food items that are old enough, when used to produce a quicker-spoiling product, may produce an already-spoiled product even though none of the inputs are spoiled.
To Reproduce
Example: Take older corn and mill it into flour. If the corn is old enough (it need not be spoiled;) when you try to make dough out of it, the dough to be output will be green (it will be spoiled before even being made.)
It makes sense that flour which is nearer to being spoiled will produce dough that will spoil even sooner, but it doesn't make sense that unspoiled flour would ever produce spoiled dough.
Meta Info
- TFC Version: MC1.12.2-0.27.6.106
- No mods that affect this were added.
What specific operations can cause this to happen? I spent a while proving mathematically that the system we use to adjust decay dates keeps the decay percentage invariant, so if this is happening it's likely not getting called from something that creates new stacks.
Just had it happen with wolf meat.
Steps
- Have a piece of meat that expires today, but isn't yet expired.
- Cook it in the firepit
- The resulting cooked meat will be spoiled.