greeny / SatisfactoryTools

Satisfactory Tools for planning and building the perfect base.
https://www.satisfactorytools.com/
Other
364 stars 80 forks source link

[Feature Request] Display base production rate in hover card on machines #175

Open GregShiner opened 3 weeks ago

GregShiner commented 3 weeks ago

Background

One thing I really like doing when building a large factory with potentially many outputs that are reused for other products is "round up" the number of machines producing an intermediate product. I would then take this excess as an output of the factory. By "round up", sometimes, I may not mean literally just round up by one machine, but maybe also add 1 or more full machines. For example, I'm designing my Nuclear Pasta factory right now and I want one of the additional outputs to be Fused Modular Frames. I want to be producing 2 Nuclear Pasta/min which means I need 2 FMFs/min. This requires 1.333 FMF blenders. But I also want FMFs as an output. To me, the cleanest way to do this would be to round it up to 2 FMF blenders, which gives me 3/min which gets split, 2 to NPs and 1 to storage.

Issue

With the current website, I have to look up the base production rate on the wiki or calculate it myself, then decide how many machines I want to round up to, calculate the total production rate, then subtract the usage from the rest of the factory off, then add that new bit to the outputs. I think maybe something like a "round up this machine" or "set number of machines" button that literally just automatically does what i described, would be cool, but probably not useful enough to warrant it being a whole new feature. At the very least, if I could save myself the step of searching through the wiki to find the number that would be awesome.

Solution?

What I envision is something like this: image (I have no clue what a good text would look like for this so i just threw that in with 30 seconds in inspect element) I just want to see what one machine at 100% will produce. I'm not much of a web dev, but this seems simple enough that I would be willing to try to whip up a PR for this if its something that would be appreciated.