Thorinair / Stardew-Profits

A Stardew Valley crop profits calculator and visualizer. Link: https://thorinair.github.io/Stardew-Profits/
MIT License
164 stars 79 forks source link

Add a "Max seed money" option #22

Closed brendanlong closed 4 years ago

brendanlong commented 4 years ago

This makes it so people with limited funds can put how much money they're willing to spend on seeds, and we'll limit the number of crops based on that (up to the value in "Number of crops").

This can be useful because some of the most profitable crops have expensive seeds, so in the early game a large number of less profitable crops can be better.

brendanlong commented 4 years ago

Here's an example of how this gives wildly different results in limited money situations. This is summer 1 with only 5k money but willing to plant 300 crops:

Screenshot from 2020-03-30 09-21-41

brendanlong commented 4 years ago

There's one piece of this I'm not super happy about: We still do this for an entire season, so this is comparing "If you buy eggplants for the entire season with your starting money, is it better than buying hops for the entire season?", when what people probably want to know is "Which of these two crops is more profitable for the next harvest". It also assumes you plant the same number every time even though you'd have more money for the second harvest (assuming the crop is profitable). I think answering that question would require a lot more complexity though (need to take into account different growth rates / re-investing).

I think in this current form it's still useful and will almost always give the right answer to the question people using this option would have (which crop should I plant right now).

Thorinair commented 4 years ago

Sorry that it took ages to accept this. Please check if everything works as expected. I had to do some fixes.

brendanlong commented 4 years ago

Looks good to me, thanks!