Talk:Fish

From Stardew Valley Wiki
Revision as of 19:24, 19 March 2024 by Seajelly (talk | contribs) (→‎sea jelly: new section)
Jump to navigation Jump to search
This talk page is for discussing Fish.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

Night Market Fish without submarine

Currently the segment states that all 3 of the night market fish can be fished at any time when using Magic Bait. I wanted to see the exact tiles (and maybe percentages) but when I looked through the code I can only see an entry for 798/Midnight Squid. In Beach.cs:getFish there is the additional if (using_magic_bait && bobberTile.X < 12f && bobberTile.Y > 31f && waterDepth >= 3 && Game1.random.NextDouble() < 0.1 + (double)(bobberAddition * 1.5f)) return new Object(798 + Game1.random.Next(3), 1); but I didn't find any entries for blobfish (800) or spookfish (799). Does anyone know where those are hidden? Dubesor (talk) 14:46, 4 May 2021 (UTC)

They are hiding in the last line random.Next(3) returns either 0, 1 or 2, so 798 + 1 = 799 and 798 + 2 = 800. margotbean (talk) 17:28, 4 May 2021 (UTC)
Ah, that makes sense. I was constantly scanning all the .cs files for objects 799 and 800, I didn't even notice it just alters the ID! thanks. Dubesor (talk) 18:23, 4 May 2021 (UTC)

sea jelly

New 1.6.0 fish!

Found: 5pm, Spring, Sunny, Ocean "A rare jelly found in the ocean." +88 Energy, +39 Health, +1 Fishing for 7m

Doesn't have the fish subtype, might list near algae? Seajelly (talk) 19:24, 19 March 2024 (UTC)