Skip to content

flour is triggering grain-intolerance even when made from non-grain materials #52226

Open
@atealein

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

  1. Give yourself grain intolerance mutation
  2. Get/spawn some roasted cattail rhizomes, make them into flour
  3. Observe the red tag of the warning for health hazard food
  4. 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

Screenshot from 2021-10-10 21-58-43
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.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions