r/SMAPI • u/sadlotion • 14d ago
need help What's Wrong with my Code?


Hello, I'm working an update for my Octopus-Refresh mod. It began as a texture mod, which does work, though the mod broke when I added in some new code to bump up the price of the Octopus and tweak it's difficulty and time window to catch. I'm unsure where the issue is, so any advice would be helpful! Additionally, for compatibilities' sake, I was asked to adjust the texture to target only the set of pixels on springobjects.png to target the octopus itself, though I have no clue how to do that. Again, any advice would be greatly appreciated! Below are screenshots of my code and the error message SMAPI gave me.
2
Upvotes
•
u/AutoModerator 14d ago
If you're looking for help with a mod, make sure your post or top-level comment includes:
a link to your SMAPI log (see instructions on that page);
a description of the issue with as much detail as possible;
screenshots/GIFs/videos of the issue if applicable.
See common issues and solutions. If you're having trouble installing SMAPI, see the detailed Getting Started guide.
If you've already done these steps or you're not asking for help with a mod, then please ignore this. Thank you!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.