

I wanted to help clarify that many fungi do actually produce anti-fungal compounds. It doesn’t make sense at first, but mycelium can be insanely competitive and it’s usually “at war” with other types of fungi where growing conditions are ideal.
Edible mushroom growers may have to deal with trichoderma infections from time to time. That little bastard fights mainly by mass multiplication and rapid growth. It’ll choke out and dominate other strains before they have a chance to produce any effective defense.
When starting a mushroom grow, it’s basically just tilting the initial mycelium battles in the favor of the strain you want so it has a chance to dominate and kill other strains of fungi.
It’s not a far stretch to assume that fungi developed odd chemical compounds if it even slightly increased survival odds. Any psychedelic aspects could be just an unintentional side effect that helped promote cultivation.
https://www.idahostatejournal.com/community/isu-researchers-use-cockroaches-to-search-for-narcotics/article_85a9e420-dece-537d-b124-9b1037296ef0.html
They could probably just give them more lines of blow… just sayin’…