Posted in

Botanist Fix V1.0

BotanistFix

A small mod that fixes the no seeds bug with the Botanist employee.

Installation

For IL2CPP Version (Main Steam Branch)

Download the IL2CPP version of the mod from the releases/files page.
Extract the zip file.
Make sure you have MelonLoader installed. If not, install it first.
Move the BotanistFix_Il2cpp.dll file to the Mods folder in your game directory.
Start the game.

For Mono Version (Alternate Steam Branch)

Download the Mono version of the mod from the releases/files page.
Extract the zip file.
Make sure you have MelonLoader installed. If not, install it first.
Move the BotanistFix_Mono.dll file to the Mods folder in your game directory.
Start the game.

What is the no seeds bug?

The no seeds bug was a bug that caused the game to lag/hitch every second when the Botanist employee(s) had no seeds in their supplies.

What caused it?

The bug lies in the Botanist class, in the UpdateBehaviour method. Inside of this method, there is a check to see if the employee can access the point before checking if there are any seeds in the supply. This caused the game to calculate the navigation path to the point, even if there were no seeds in the supply.

How does this mod fix it?

This mod puts a Prefix patch in front of the GetPotsReadyForSeed method. This patch checks if there are any seeds in the supply before getting the pots ready for seed, effectively skipping the navigation check when there are no seeds in the supply.

Credits:

ifBars

Download

FileDescriptionFile sizeDownloads
zip Botanist Fix Mono-1-027 KB8
zip Botanist Fix Il2cpp-1-027 KB7
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x