Just thought I'd throw in another couple suggestions, since I'm back using this for a bit.
Rather than telling the bot you don't have the requirements for herb/flowers seeds, some logic could be implemented to just skip doing those until it has reqs. This way the bot doesn't have to be restarted when the reqs are met. Here is a rough idea:
if herbs are on and if allotments are on, dont stop the script
if herbs are on, if flowers are on, and the farming lvl is 2 or more, dont stop the script
if flowers are on, if allotments are on, dont stop the script
if herbs are on, if flowers are on, if allotments are off, and the farming lvl is 1 or less, stop the script
if herbs are on, if flowers are off, if allotments are off, and the farming lvl is 8 or less, stop the script
if flowers are on, if allotments are off, and the farming lvl is 1 or less, stop the script
The other suggestion I had was to add bottomless compost to restock list, if possible.