[Lookup Anything] Missing info on Largemouth Bass
gr3ger opened this issue ยท 5 comments
Describe the bug
Largemouth Bass (and maybe more pages?) does not have any data showing season/time/location of availability like other fish do.
If I find the problem I'll make a PR, but I'm just creating an issue just in case since I don't know when I'll be able to sit down and take a look at it.
To Reproduce
- Shift+F1 and search for largemouth bass
- everything besides how to get the fish is shown
Log file
https://smapi.io/log/c43f52aaebcf49309552b5eebfd49c27
EDIT:
Seems like this issue happens with all fish that don't care about seasons. I've added further info down below in the comments.
It seems like the Largemouth bass falls under a third state that the current if/elseif doesn't capture here:
StardewMods/LookupAnything/DataParser.cs
Lines 165 to 183 in bbc4b7a
I've just done some quick probing.
But the current code detects that it should spawn in Mountain and Backwoods (?) during the first phase, but fails to actually add any locations to the list due to the season/condition checks.
I think I may have narrowed it down.
Bullhead and Carp exhibit the same issues.
So I think all fish with no season constraints have empty locations in the mod.
Adding a third "else" to handle such cases could work if there's a way to validate that the locations are actually correct.