This wiki is a read-only version of the Stardew Valley Wiki. The official editable wiki maintained by ConcernedApe can be found at stardewvalleywiki.com

Talk:Roe

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

What profession?

Does anyone know what profession Roe benefits in sell price from? Is it a fish, an artisan good or neither? I'll try and check and update. Numberland (talk) 10:17, 28 December 2019 (UTC)

Experimentation suggests none but Aged Roe benefits from Artisan.Numberland (talk) 23:06, 3 January 2020 (UTC)

Sell Price

The sell price equation can be found in FishPond::GetFishProduce. The relevant code (from ILSpy) is o.Price += Convert.ToInt32(Game1.objectInformation[this.fishType.Value].Split(new char[]{'/'})[1]) / 2;. The base sell price of Roe is in ObjectInformation.xnb, which is 30g. This results in 30 + base fish sell price/2, rounded to the nearest integer.

The sell price for Aged Roe is set in Object::performObjectDropInAction, where it simply multiplies the sell price of Roe by 2.
--margotbean (talk) 17:09, 31 December 2019 (UTC)

A bit of testing in game means, no, we are just rounding down, whether it is to the nearest integer or not. E.g. for Salmon we round 67.5 to 67 for roe, which becomes 134 for aged roe, not artisan. Multiplying 134 by 1.4 gives 187.6 which I (and you) had guessed would round up to 188 but, it also rounds down to 187. So I conclude we are using rounding down. Certainly we are not using banker's rounding which is the default for C#. Numberland (talk) 23:37, 3 January 2020 (UTC)
Please real this @Margotbean all not integer values in game are rounded down. Often leads to double rounding. As a mathematician "rounded down to the next nearest integer" is very unclear. I've made several valid changes, please pick one. Numberland (talk) 00:26, 4 January 2020 (UTC)
Or "rounded down to ensure an integer value" or "rounded downwards" or "truncated" or well anything that doesn't say "nearest" because e.g. 87.6 rounds to 87 in Stardew despite 88 being nearer value.Numberland (talk) 01:06, 4 January 2020 (UTC)

Fish Producing Roe With Only One Fish in Pond?

The page notes that roe is produced when there are two or more of the same fish in a pond. However, today I received roe from my pond with only one Octopus in it. I double checked to make sure there wasn't another fish. I'm frightened to edit the wiki page myself, so I felt I should mention the experience here.

Chubbymonkey (talk) 03:57, 1 March 2020 (UTC)

Thanks for pointing that out! It may have been true in some earlier version of 1.4, but I've removed the statement, because it's not true anymore.  :) margotbean (talk) 05:31, 1 March 2020 (UTC)
No problem! And thank you for taking swift action! Chubbymonkey (talk) 03:13, 2 March 2020 (UTC)