Difference between revisions of "Talk:Pans"

From Stardew Valley Wiki
Jump to navigation Jump to search
Line 54: Line 54:
 
I can't decompile the game myself right now, so I cannot say for certain. However, it seems that the Lucky Ring is NOT exclusive to Ginger Island. As of Version 1.5.4, I panned at the Mountain Lake and got a Lucky Ring, along with a Diamond and two Copper Ore.
 
I can't decompile the game myself right now, so I cannot say for certain. However, it seems that the Lucky Ring is NOT exclusive to Ginger Island. As of Version 1.5.4, I panned at the Mountain Lake and got a Lucky Ring, along with a Diamond and two Copper Ore.
 
[[User:Bluie|Bluie]] ([[User talk:Bluie|talk]]) 09:05, 27 November 2021 (UTC)
 
[[User:Bluie|Bluie]] ([[User talk:Bluie|talk]]) 09:05, 27 November 2021 (UTC)
 +
:You're absolutely correct, the Lucky Ring can be found anywhere. I've updated the page accordingly. Thanks so much for pointing this out! [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 21:12, 27 November 2021 (UTC)

Revision as of 21:12, 27 November 2021

This talk page is for discussing Pans.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

Difficulty

Is it just me or is panning really, REALLY hard? StardewValley4eva (talk) 12:12, 4 April 2021

Game Code

Pan ores points seem to be updated every 10 minutes in each Location, except the Beach. Island North has an overriding method with one line changing.

GameLocation::performOrePanTenMinuteUpdate

public virtual void performOrePanTenMinuteUpdate(Random r)
{
	if (((NetList<string, NetString>)(object)Game1.MasterPlayer.mailReceived).Contains("ccFishTank") && !(this is Beach) && ((NetFieldBase<Point, NetPoint>)(object)orePanPoint).get_Value().Equals(Point.Zero) && r.NextDouble() < 0.5)
	{
		for (int i = 0; i < 6; i++)
		{
			Point point = new Point(r.Next(0, Map.GetLayer("Back").get_LayerWidth()), r.Next(0, Map.GetLayer("Back").get_LayerHeight()));
			if (isOpenWater(point.X, point.Y) && FishingRod.distanceToLand(point.X, point.Y, this) <= 1 && getTileIndexAt(point, "Buildings") == -1)
			{
				if (Game1.player.currentLocation.Equals(this))
				{
					playSound("slosh");
				}
				((NetFieldBase<Point, NetPoint>)(object)orePanPoint).set_Value(point);
				break;
			}
		}
	}
	else if (!((NetFieldBase<Point, NetPoint>)(object)orePanPoint).get_Value().Equals(Point.Zero) && r.NextDouble() < 0.1)
	{
		((NetFieldBase<Point, NetPoint>)(object)orePanPoint).set_Value(Point.Zero);
	}
}

IslandNorth::performOrePanTenMinuteUpdate

Point point = new Point(r.Next(4, 15), r.Next(45, 70));

Not 100% sure, but from what I understand:

  1. There can be only one OrePanPoint per Location
  2. Every 10 minutes, the ongoing Point has a 10% chance to disappear
  3. Every 10 minutes, there is a 50% chance that a draw occurs. If so, 6 points are chosen on the map. If one is in open water, it becomes an OrePanPoint

On Ginger Island, the drawing location is reduced to a specific portion of the map, but otherwise the process is the same.

PS: The process is quite similar to the foraging spawning, isn't it?

-- Charly (talk) 00:45, 16 November 2021 (UTC)

Inaccurate Pan Rewards

I can't decompile the game myself right now, so I cannot say for certain. However, it seems that the Lucky Ring is NOT exclusive to Ginger Island. As of Version 1.5.4, I panned at the Mountain Lake and got a Lucky Ring, along with a Diamond and two Copper Ore. Bluie (talk) 09:05, 27 November 2021 (UTC)

You're absolutely correct, the Lucky Ring can be found anywhere. I've updated the page accordingly. Thanks so much for pointing this out! margotbean (talk) 21:12, 27 November 2021 (UTC)