Talk:Minerals

From Stardew Valley Wiki
Revision as of 22:01, 21 November 2023 by Margotbean (talk | contribs)
Jump to navigation Jump to search
This talk page is for discussing Minerals.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

Foraged Minerals

MineShaft.adjustLevelChances

else if (this.mineLevel % 5 == 0 && this.getMineArea() != 121)
		{
			itemChance = 0.0; // forage chance
			gemStoneChance = 0.0;
			if (this.mineLevel % 10 == 0)
			{
				monsterChance = 0.0;
			}
		}

so no forage on elevator levels, if I'm reading the code correctly. Atravita (talk) 20:34, 21 November 2023 (UTC)

Would be better to step through the code, tracing it with ILSpy may or may not account for all variables. Thank you for giving the code indicating where to set a breakpoint, though! margotbean (talk) 22:01, 21 November 2023 (UTC)