Talk:Red Mushroom

From Stardew Valley Wiki
Jump to: navigation, search
This talk page is for discussing Red Mushroom.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

Locations in the mines

I'm not a code diver, so I don't know if there is a floor above which the red mushroom cannot appear, but if there is a limit, it's not 26. I've started countless farms and found a red mushroom on many occasions on my first day of mining, even though I almost never go beyond floor 25 on that first day, because when I get to 25 it's usually too late for me to even bother trying for the next elevator and I don't want to waste time and energy. I think I've only made floor 30 maybe twice. Anyway, if there is a limit on where this spawns then maybe it isn't above floor 20, because I'm not sure I've ever seen it before the spiral floor either, it's usually late in the day when I do see it.

FWIW, I don't recall ever seeing it in the ice section of the mines either, and I've spent an unhealthily large number of IRL hours mining in SDV. I suspect the profile is probably 21-39, and 81+, but I'm not going to put that in the page as fact either, because as I said, I don't have any coding skill to check it out, I only have my own observations. Maybe someone can confirm with code. One More Day (talk) 10:23, 1 March 2019 (UTC)

In MineShaft::getRandomItemForThisLevel, we have
  if (this.mineRandom.NextDouble() < 0.05 && level > 80)
    parentSheetIndex = 422; //Purple Mushroom
  else if (this.mineRandom.NextDouble() < 0.1 && level > 20 && this.getMineArea(-1) != 40)
    parentSheetIndex = 420; //Red Mushroom
    //spawn forage gem (earth crystal, quartz, etc.)
In MineShaft::getMineArea we have
    public int getMineArea(int level = -1)
      if (level == -1)
        level = this.mineLevel;
      if (level >= 80 && level <= 120)
        return 80;
      if (level > 120)
        return 121;
      if (level >= 40)
        return 40;
      return level > 10 && this.mineLevel < 30 ? 10 : 0;
So it appears that Red Mushrooms ought to appear at any level > 20 (other than 40, which is a weird exception to add, since nothing spawns on elevator floors). Maybe I'm missing something; I'm trying to fight off the flu at the moment. margotbean (talk) 11:17, 1 March 2019 (UTC)