CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.69k stars 4.2k forks source link

More mushrooms #78194

Open ampersand55 opened 3 days ago

ampersand55 commented 3 days ago

Is your feature request related to a problem? Please describe.

There are lots of berries and forest fruits that can be harvested, but not enough mushrooms. Mushrooms are a staple of foraging, but currently there are only generic mushroom and the morel.

See #78176.

Solution you would like.

I would like more mushrooms added to the game, both foraging mushrooms and some toxic/poisonous ones that could trip up a survivor.

Maybe also add some poisonous berries, like black nightshade berries, baneberries or winterberries.

The poisonous mushrooms can have the HIDDEN_POISON flag making them display as poisonous at >= 3 survival skill level.

Describe alternatives you have considered.

No response

Additional context

I made a table of 10 mushrooms that are commonly foraged in New England:

Name When to Harvest Where They Grow Can Be Confused With Poisonous Mushroom? How Poisonous?
Oyster Mushrooms Fall to early Spring On decaying hardwoods like beech or oak Yes, with Jack-O'-Lantern Mushroom (Omphalotus olearius) Causes gastrointestinal distress; not fatal.
Chicken of the Woods Late Summer to Fall On dead or dying hardwoods (oak, cherry) Rarely, if growing on toxic hosts like yew Can absorb toxins from the host tree, leading to nausea and vomiting.
Hen of the Woods Late Summer to Fall At the base of hardwoods, especially oak No N/A
Chanterelles Summer to Early Fall On forest floors near hardwoods like oak or beech Yes, with Jack-O'-Lantern Mushroom (Omphalotus spp.) or False Chanterelle Jack-O'-Lantern causes severe gastrointestinal distress; False Chanterelle is mildly upsetting.
Black Trumpet Summer to Fall Leaf litter in deciduous forests No N/A
Lion's Mane Late Summer to Fall On decaying hardwood logs or stumps No N/A
Boletes Summer to Fall Near oaks, pines, or birches Yes, with Satan’s Bolete (Boletus satanas) or other toxic boletes Causes gastrointestinal distress; symptoms range from mild to severe.
Lobster Mushroom Summer to Fall On forest floors near hardwoods and conifers No N/A
Puffballs Summer to Fall Open fields, lawns, and forest floors Yes, with immature Amanita mushrooms Amanita species (e.g., Death Cap) are extremely toxic and can be fatal if misidentified.
Winecap Spring to Fall In mulched gardens, wood chips, or compost piles Rarely, with some toxic brown-spored mushrooms Can cause gastrointestinal distress if misidentified.

It should also be noted that the morel mushroom in the game can be confused with false morels, some of which are toxic such as Gyromitra esculenta

NetSysFire commented 2 days ago

There are multiple technical issues that will prevent some of the proper implementation currently.

  1. Harvest location: Underbrushes do not care at which location they are and making them spawn would only make sense as furniture, but that makes them not regrow. For more underbrush functionality, see #77288
  2. Identification: There are no conditional names (#60196). Sure, making puffballs and those deadly amanita mushrooms both look like puffballs could work though. However, see below regarding the type of poison.
  3. Harvest time: This is limited to seasons. No fine grained control. Only spring, summer, autumn and winter.
  4. Type of poison: In order for them to show up as poisonous they need specific flags and this goes into a hardcoded poison effect. Have no gastrointestinal distress and thus entirely use vitamins, e.g for those amanita ones? No way to identify those as poisonous for the player. I played with that thought before and came to the conclusion that it might work using effect on conditions and transforming items but the solution is quite complex. You'd have e.g mushroom_puffball_unindentified and mushroom_deathcap_unindentified. These items are identical except for the deathcap having some fun extra vitamins. Using a a mushroom identification guide, an item doing effect on conditions, these can turn into mushroom_puffball and mushroom_deathcap when you use that guide. However, at low survival skill or maybe even a new proficiency you may fail to identify them correctly and a failure leads to e.g mushroom_deathcap_idfailed, being displayed exactly like an identified puffball but behaves like a deathcap. Then there are other circumstances to consider. What if you do not have an id guide? A spell could do but that is also kind of ugly. How about the item selection dialogue? I have no experience with that kind of eoc and it may or may not work.
PatrikLundell commented 2 days ago

Another thing complicating this is that if you have a rudimentary understanding of mushroom picking, you won't pick ones you're not sure you can identify, at least as to whether they're poisonous or not: there are some groups that have traits you can use, even if you don't know the exact species). Thus, you'd need some way of informing the player about the PC's level of certainty in identification in a way that doesn't rely on player knowledge.