Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supply multiple of (supply exact variation) #2588

Open
Doniazade opened this issue Aug 16, 2024 · 0 comments
Open

Supply multiple of (supply exact variation) #2588

Doniazade opened this issue Aug 16, 2024 · 0 comments

Comments

@Doniazade
Copy link

Doniazade commented Aug 16, 2024

GregTech CEu Version

2.8.10 (any)

Related Problem

In nearly every application of supply exact with fluid regulators the intent is to just make sure that the fluid amount is a multiple of the number set, not to supply exactly the number set at a time. For example a fluid reg sending fluid to an ingot solidifier solidifier needs to send a multiple of 144 mB because you don't want to have leftover fluid blocking the machine, but it's not necessary or even desirable to limit the speed to 144 mB per tick, for example if the solidifier is a gcym with a parallel hatch.

Your Solution

Add a toggle or optional mode to make fluid regs able to supply the largest possible multiple of the number set, within the constraints set by the tier of the fluid reg and the amount of fluid/space available.

For example a fast fluid reg set to 144 mB transferring from a tank with 10000 mB fluid would push 9936 mB in one tick leaving 64 mB behind and then stop.

Additional Information

The option to throttle the speed of the fluid reg should still remain, but this behavior is much more useful in most cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant