Changes

Jump to navigation Jump to search
833 bytes added ,  15:24, 30 October 2019
→‎Spawn rate: Added some more background data about the general fish spawning process
Line 130: Line 130:     
===Spawn rate===
 
===Spawn rate===
If a fish matches the spawn criteria, the probability that it will spawn is: ''{base spawn probability} = {spawn multiplier} - max(0, {minimum depth} - {actual depth}) × {depth multiplier} × {spawn multiplier} + {fishing level} / 50'', up to a maximum of 90%. The ''actual depth'' is the bobber's tile distance from land.
+
Every time the player casts with their fishing rod, a new spawning queue is created containing every available [[fish]] (including algae and seaweed) which meets the criteria based on location, season, time, and weather. The spawning queue is then shuffled so that the fish are listed in a random order. A skill check with a random component is performed on each fish, in the order in which it is currently in the spawning queue. Success results in a bite ("''HIT!''") and failure results in the skill check being repeated with the next fish in the queue. If all fish in the queue fail the skill check, a random [[trash]] item is caught instead.
 +
 
 +
If a fish matches the spawning criteria, the probability that it will succeed in spawning is: ''{base spawn probability} = {spawn multiplier} - max(0, {minimum depth} - {actual depth}) × {depth multiplier} × {spawn multiplier} + {fishing level} / 50'', up to a maximum of 90%. The ''actual depth'' is the bobber's tile distance from land.
    
A fish can spawn at a depth less than its ''minimum depth'', but the odds of doing so decreases for most fish.  A higher ''spawn multiplier'' and ''depth multiplier'' result in a greater decrease in the odds of a fish spawning at a distance that is closer to shore than its ''minimum depth.''  The odds of fish spawning never increases when casting to a depth greater than 4, except for with the [[Octopus]] which reaches its maximum spawning rate at a depth of 5 or higher.
 
A fish can spawn at a depth less than its ''minimum depth'', but the odds of doing so decreases for most fish.  A higher ''spawn multiplier'' and ''depth multiplier'' result in a greater decrease in the odds of a fish spawning at a distance that is closer to shore than its ''minimum depth.''  The odds of fish spawning never increases when casting to a depth greater than 4, except for with the [[Octopus]] which reaches its maximum spawning rate at a depth of 5 or higher.
+
 
The relative probability that a specific type of fish (including algae and seaweed) in a location will spawn is: ''relative_probability = {base spawn probability} * POWER( ({all fish failure rate} - {this fish failure rate}) / ({number of fish} - 1}), ({fish queue position} - 1))''. This calculation is repeated for each possible position in the spawning order (''fish queue position'') for a type of fish, and then averaged. The total added relative probability for all fish at a location at a certain time and weather will always be under 100%, with any remaining difference under 100% being the relative probability of catching [[Trash]]: ''{trash} = 100% - {total relative probability}''.
+
The relative probability that a specific type of fish (including algae and seaweed) in a location will spawn during a specific time and weather is: ''relative_probability = {base spawn probability} * POWER( ({all fish failure rate} - {this fish failure rate}) / ({number of fish} - 1}), ({fish queue position} - 1))'', where ''all fish'' and ''number of fish'' are all other fish present at the same location during the same time and weather conditions. This calculation is repeated for each possible position in the spawning order (''fish queue position'') for a type of fish, and then averaged. The total added relative probability for all fish at a location at a certain time and weather will always be under 100%, with any remaining difference under 100% being the relative probability of catching [[Trash]]: ''{trash} = 100% - {total relative probability}''.
 
[[Category:Modding]]
 
[[Category:Modding]]
    
[[pt:Modificações:Dados de Peixes]]
 
[[pt:Modificações:Dados de Peixes]]

Navigation menu