Line 1,118: |
Line 1,118: |
| <ref name="max_cast"> See <samp>Tools/FishingRod::doStartCasting</samp> in the game code.</ref> | | <ref name="max_cast"> See <samp>Tools/FishingRod::doStartCasting</samp> in the game code.</ref> |
| <ref name="fishing_zone">The fishing zone is calculated by the function <samp>FishingRod::distanceToLand</samp>; the value is assigned to the variable <samp>clearWaterDistance</samp>.</ref> | | <ref name="fishing_zone">The fishing zone is calculated by the function <samp>FishingRod::distanceToLand</samp>; the value is assigned to the variable <samp>clearWaterDistance</samp>.</ref> |
− | <ref name="fish_quality">The fish size and quality are determined by the functions <samp>FishingRod::startMinigameEndFunction</samp>, <samp>BobberBar::BobberBar</samp>, <samp>BobberBar::update</samp>, and <samp>FishingRod::doPullFishFromWater</samp>.</ref> | + | <ref name="fishSize">The size factor is determined in the function <samp>Tools/FishingRod::startMinigameEndFunction</samp> in the game code.</ref> |
| + | <ref name="fishSizeTrainingRod">The effect of the Training Rod on Fish Size and Quality is determined in <samp>Menus/BobberBar::BobberBar</samp> in the game code.</ref> |
| + | <ref name="fishSizeRange">The values for <samp>minFishSize</samp> and <samp>maxFishSize</samp> are given in <samp>Data/Fish.xnb</samp>, while the procedure to actually calculate initial fish size is given in <samp>Menus/BobberBar::BobberBar</samp> in the game code.</ref> |
| + | <ref name="fishShrinking">The shrinking of fish from their initial size to their final size can be found in <samp>Menus/BobberBar::Update</samp> in the game code</ref> |
| + | <ref name="fishQuality">The conversion from <samp>fishSize</samp> to <samp>fishQuality</samp> can be found in <samp>Menus/BobberBar::BobberBar</samp> in the game code.</ref> |
| <ref name="bubbles">The effects of bubbles on fishing bite times is handled in <samp>FishingRod::DoFunction</samp>, specifically at <samp>if (location.fishSplashPoint != null)</samp>. The effect of bubbles on fish type is also in <samp>FishingRod::doFunction</samp> in the call to <samp>location.getFish</samp>, where the argument <samp>waterDepth</samp> is set to <samp>clearWaterDistance + (splashPoint ? 1 : 0)</samp>.</ref> | | <ref name="bubbles">The effects of bubbles on fishing bite times is handled in <samp>FishingRod::DoFunction</samp>, specifically at <samp>if (location.fishSplashPoint != null)</samp>. The effect of bubbles on fish type is also in <samp>FishingRod::doFunction</samp> in the call to <samp>location.getFish</samp>, where the argument <samp>waterDepth</samp> is set to <samp>clearWaterDistance + (splashPoint ? 1 : 0)</samp>.</ref> |
| <ref name="fishexp">See <samp>Tools/FishingRod::doPullFishFromWater</samp> in the game code.</ref> | | <ref name="fishexp">See <samp>Tools/FishingRod::doPullFishFromWater</samp> in the game code.</ref> |