Difference between revisions of "Talk:Minerals"

From Stardew Valley Wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
[[User:Atravita|Atravita]] ([[User talk:Atravita|talk]]) 20:34, 21 November 2023 (UTC)
 
[[User:Atravita|Atravita]] ([[User talk: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! [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 22:01, 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! [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 22:01, 21 November 2023 (UTC)
 +
::Oddly enough, this seems to be true, unless the level is infested. (Dangerous Mines not included in that statement.) But I would appreciate further research, especially since my time is being spent on v1.6 changes for the most part! Thank you! [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 22:38, 21 November 2023 (UTC)

Revision as of 22:38, 21 November 2023

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)
Oddly enough, this seems to be true, unless the level is infested. (Dangerous Mines not included in that statement.) But I would appreciate further research, especially since my time is being spent on v1.6 changes for the most part! Thank you! margotbean (talk) 22:38, 21 November 2023 (UTC)