Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hey, first off, awesome mod. Unfortunately I'm having an issue with a farm manager being placed. The game crashes when I place a farm manager and move onto the next day, and when I replace the games .exe with the debug one, it doesn't crash anymore but the farm results tab from moving onto the next day dissapears, as well as nothing actually happening on the farm.

Here is the error:

Aric's Expansion v1.6

SCRIPT ERROR: chooseworker: Invalid get index 'farmhand' (on base: 'Dictionary').

          At: user://mods/AricsExpansion/customScripts/expansionfarm.gd:1710

SCRIPT ERROR: morningUpdate: Invalid get index 'jobskills' (on base: 'Nil').

          At: user://mods/AricsExpansion/customScripts/expansionfarm.gd:448

SCRIPT ERROR: dailyFarm: Invalid type in function 'append' in base 'PoolStringArray'. Cannot convert argument 1 from Nil to String.

          At: user://mods/AricsExpansion/customScripts/expansionfarm.gd:383

There isn't an easy DIY fix for that error, a typo in another section creates improper data structures that get added to the save file. I'd recommend either waiting for the next version, which should be out in a few days or so, or getting the current main branch from the Github as most of the known issues have already been addressed there (just be careful of the mod folder name). The Debug mod prevents most crashing by aborting the current function as soon as things go wrong, so it doesn't crash but doesn't do much either. Though a side effect of the aborted function is that it causes errors in functions that were depending on the results of that function, which is 2/3 of those errors are.

Thank you for the clarification. Thankfully, using the current main branch from the Github seems to have solved my issue. Thanks!