Changes

1 byte removed ,  11:44, 14 April 2023
Line 16: Line 16:  
* 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 [[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:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
18

edits