* All other locations only have area -1, so where you fish from has no impact.
* All other locations only have area -1, so where you fish from has no impact.
−
The fish that can be spawned in a given location are defined in the slash-delimited data from <code>Data\Locations.xnb</code>,see [[https://stardewvalleywiki.com/Modding:Location_data|Modding.Location Data]] specifically field indexes 4 (spring), 5 (summer), 6 (fall), and 7 (winter). Each field contains any number of {{t|int fishID}} (matching <code>Data\Fish.xnb</code>) + {{t|int areaID}} (or -1 for any area) pairs. For example, [[Cindersap Forest]] has this fish data for summer: <code>153 -1 145 0 144 -1 138 0 132 0 706 0 704 0 702 0</code>. That can be parsed as:
+
The fish that can be spawned in a given location are defined in the slash-delimited data from <code>Data\Locations.xnb</code> (see also: [[Modding:Location data]]) specifically field indexes 4 (spring), 5 (summer), 6 (fall), and 7 (winter). Each field contains any number of {{t|int fishID}} (matching <code>Data\Fish.xnb</code>) + {{t|int areaID}} (or -1 for any area) pairs. For example, [[Cindersap Forest]] has this fish data for summer: <code>153 -1 145 0 144 -1 138 0 132 0 706 0 704 0 702 0</code>. That can be parsed as:
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 174:
Line 174:
| <code>0</code>
| <code>0</code>
| The minimum [[skills|fishing level]] needed for this fish to appear.
| The minimum [[skills|fishing level]] needed for this fish to appear.
+
|-
+
| 13
+
| {{t|first-catch tutorial eligible}}
+
| <code>true</code>
+
| Indicates whether the fish can be selected for the first-catch tutorial.
|}
|}
Line 232:
Line 237:
The dart animation is split into three fields: start (3), hold (4), and end (5).
The dart animation is split into three fields: start (3), hold (4), and end (5).
+
|-
+
| 7
+
| hat position
+
| The pixel position of the hat on the sprite, specified as an object with <samp>X</samp> and <samp>Y</samp> values. Custom [[Modding:Fish data|fish in aquariums]] can wear [[hats]], just like vanilla [[Sea Urchin|sea urchins]].