0 of 0

File information

Last updated

Original upload

Created by

GZhynko

Uploaded by

gzhynko

Virus scan

Safe to use

About this mod

Allows you to exclude certain fish or items from catchable fish types through config. Supports conditional exclusions based on season, weather, and/or location.

Requirements
Permissions and credits
Changelogs
A simple SMAPI mod that allows you to easily exclude certain fish or items from catchable fish types through config. Supports conditional exclusions based on season, weather, and/or location.


Installation
  • Install the latest version of SMAPI.
  • Download this mod and unzip its folder into Stardew Valley/Mods.
  • Run the game using SMAPI.

Configuration
  • ItemsToExclude - The items to exclude.
    • CommonExclusions - Season-, weather-, and location-independent exclusions. Format: [ .. <comma-separated item IDs> ..  ].
    • ConditionalExclusions - Season-, weather-, and location-dependent exclusions. Format: [ .. <comma-separated conditional exclusion objects> .. ].
      • Season - Season requirement. Format: <spring/summer/fall/winter or (empty)>.
      • Weather - Weather requirement. Format: <rain/sunny or (empty)>.
      • Location - Location requirement. Format: <location name (supports custom maps) or (empty)>.
      • Exclusions
        - The items to exclude provided the conditions above are met. Format: [ .. <comma-separated item IDs> .. ].
  • ItemToCatchIfAllFishIsExcluded - The ID of the item to catch if all possible fish for this water body / season / weather is excluded. Format: <item ID>.
  • TimesToRetry - The number of times to retry the 'fish choosing' algorithm before giving up and catching the item specified above. Warning: Large numbers can cause a Stack Overflow exception. Format: <number>.

Example configurations
   This configuration always excludes all junk items from possible catchables, while keeping all other options default.
Spoiler:  
Show
{
  "ItemsToExclude": {
   "CommonExclusions": [
  "167",
  "168",
  "169",
  "170",
  "171",
  "172"
],
"ConditionalExclusions": []
  },
  "ItemToCatchIfAllFishIsExcluded": "168",
  "TimesToRetry": 20
}

   This configuration always excludes all junk items from possible catchables, and Sea Cucumber and Seaweed only during summer on Farm map in any weather, while keeping all other options default.
Spoiler:  
Show
{
  "ItemsToExclude": {
"CommonExclusions": [
  "167",
  "168",
  "169",
  "170",
  "171",
  "172"
],
"ConditionalExclusions": [
  {
"Season": "summer",
"Location": "Farm",
"FishToExclude": [
"154",
"152"
]
  }
]
  },
  "ItemToCatchIfAllFishIsExcluded": "168",
  "TimesToRetry": 20
}

   This configuration always excludes several fish added by Stardew Valley Expanded, while keeping all other options default.
Spoiler:  
Show
{
  "ItemsToExclude": {
"CommonExclusions": [
  "Starfish",
  "Puppyfish"
],
"ConditionalExclusions": []
  },
  "ItemToCatchIfAllFishIsExcluded": "168",
  "TimesToRetry": 20
}


Console Commands
  • fex_toggle - Toggle all exclusions on or off.
  • fex_reload - Reload the mod config. Updates excluded fish.


Compatibility
  • Compatible with SMAPI 3.12 and higher (the latest version is recommended).
  • Compatible with Stardew Valley 1.5 and higher.


Fish Exclusions is open-source and is licensed under the 0BSD License.