WARNING: Before using this script (or any other), download a copy of your save.
Read all of the notes up here before using this script.
This function was designed for 0.16.2 on Google Chrome. If any bugs are found,
dm JHawk55 on the Melvor discord.
There are 3 custom arrays in the function: allotmentPreferenceOrder,
herbPreferenceOrder, and treePreferenceOrder. If you want to grow only specific
herbs/plants, customize these arrays as desired. If you don't want specific seeds,
remove their numbers from the arrays. They are currently populated with my
own needs, so alter as necessary. As they are, every crop will be grown.
This function assumes you are exclusively using gloop and maintaining its
quantity manually. If you have none, it simply won't try to apply it. It also
only applies gloop for masteries under 50.
If you own Aorpheat's Signet, the Farming Skillcape, or Bob's Rake, this
function will auto-equip them for harvest and re-equip whatever was worn
pre-harvest once the harvesting is finished. NOTE: this only works outside of
combat to avoid catastrophic mistakes.