hawkfalcon/Stardew-Mods

Junimos stay around without actually doing work

Closed this issue · 1 comments

Junimos will often just lay around, even when there's work to do (plant stuff, gather crops, etc) within their radius. Seems like their pathfinder is struggling.
I think it might have something to do with JunimoHarvesterPatches.cs (132):

 else if (Game1.random.NextDouble() < 0.25) {
                        ___netAnimationEvent.Fire(0);
                        __instance.returnToJunimoHut(__instance.currentLocation);
                    }
                    else {
                        __instance.pathfindToRandomSpotAroundHut();
                    }
                    ```
                    This makes them have a random chance of not going home when there's nothing within their radius, which is bad (and can cause lag), even though it doesn't explain why they aren't doing stuff when they should but it looks like a start. My game will lag every time that they jump and do their "beep" sound.

Github glitched out and made it look like my issue wasn't created, leading me into creating a duplicate one.. I'm closing this