After doing some research, it seems like the best approach to this is to have a "main game logic function" that is run at a very small interval (say every 50 msec for simplicity). This function should increase the mushrooms by mps * the aforementioned interval.
This will remove the need for things like "auto_click_factor" and other bad hacks and make the game logic much easier to follow, and the code much easier to read.
After doing some research, it seems like the best approach to this is to have a "main game logic function" that is run at a very small interval (say every 50 msec for simplicity). This function should increase the mushrooms by mps * the aforementioned interval.
This will remove the need for things like "auto_click_factor" and other bad hacks and make the game logic much easier to follow, and the code much easier to read.