Changes

Jump to navigation Jump to search
8 bytes added ,  13:25, 13 January 2022
Line 169: Line 169:  
<ref name="crabpot_chance">Crab pot contents are determined by <samp>CrabPot::DayUpdate</samp>.  For mariners, there is no chance of junk, and all creatures are equally likely.  For non-mariners, there is a 20% chance of junk, then each creature is checked sequentially using the chances specified in <samp>Fish.xnb</samp>. One result of this algorithm is that the actual chance of finding a given creature is smaller than the value in the input file, because it can only be found if junk items and all previous creatures failed their tests. If no creature is found, the code falls back to trash; this adds 18% more chance of trash (for both ocean and freshwater crab pots).  Note that the order in which catches are checked is not the same as the order in the Data\Fish table (see Discussion for more details).</ref>
 
<ref name="crabpot_chance">Crab pot contents are determined by <samp>CrabPot::DayUpdate</samp>.  For mariners, there is no chance of junk, and all creatures are equally likely.  For non-mariners, there is a 20% chance of junk, then each creature is checked sequentially using the chances specified in <samp>Fish.xnb</samp>. One result of this algorithm is that the actual chance of finding a given creature is smaller than the value in the input file, because it can only be found if junk items and all previous creatures failed their tests. If no creature is found, the code falls back to trash; this adds 18% more chance of trash (for both ocean and freshwater crab pots).  Note that the order in which catches are checked is not the same as the order in the Data\Fish table (see Discussion for more details).</ref>
 
<ref name="not_a_fish">[[Clam]]s are not categorized as Fish by the game. Therefore they cannot be used in Fish recipes, do not benefit from Fishing price bonuses, and do not count towards the four Fishing achievements.</ref>
 
<ref name="not_a_fish">[[Clam]]s are not categorized as Fish by the game. Therefore they cannot be used in Fish recipes, do not benefit from Fishing price bonuses, and do not count towards the four Fishing achievements.</ref>
<ref name="goldperday">See the calculations on the [[Talk:Crab Pot#Gold per day|talk page]].</ref>
+
<ref name="goldperday">See the calculations on the [[Talk:Crab Pot#Updated Gold per Day|talk page]].</ref>
 
</references>
 
</references>
  
106,655

edits

Navigation menu