Description
Describe the bug
We have a number of non-grain related sources of flour now - cattail rhizome, acorns, chestnuts, starch from potato or dalia roots, etc. However, the "flour" item seems to obtain material of "wheat" regardless of its components and is always marked as health hazard to eat. The item carries information about the components which it was created from, but this seems to be used only for the calories information and not for the material or other flags.
Steps To Reproduce
- Give yourself grain intolerance mutation
- Get/spawn some roasted cattail rhizomes, make them into flour
- Observe the red tag of the warning for health hazard food
- Cook something with it, still has the same warning
Expected behavior
I expect that the material, especially one linked to potential intolerances, will be inherited or obtained directly from the components in the item. This would allow people to make grain-free bread and other food that will not trigger their intolerances.
Screenshots
Three different types of flour made from wheat, cattail and chestnuts in that order.
Versions and configuration
experimental, Linux, 208638b curses version
Additional context
I am still trying to track down where the flags/materials get inherited from so any suggestion to where in the code I should look at is appreciated.