Industrial Renewal Port

Industrial Renewal Port

16.2k Downloads

[Bug] Fluid pipe and Mekanism pipe interaction

StarsPath opened this issue · 1 comments

commented

Description:
When using Mekanism fluid pipe to extract fluid and insert into IR fluid pipes, it will leave 1mb fluid in the IR pipe.

Reproduce:

  1. have a tank on both side
  2. have IR fluid pipes connect between the tanks
  3. have 1 Mekanism fluid pipe extract to the IR pipes
  4. fill tank with fluid

Expected:
the entire content of one tank is transferred to the other

Actual result:
999mb was transferred to the tank, 1 mb remain in the IR pipes

commented

Possible Cause:
Integer rounding. 1000 mb was split into 2 valid outputs. 2 500mb. 500mb for tank and Mkism Pipe. Mkism Pipe inserts 500mb back to IR pipe -> 2 250mb -> 2 125mb -> 2 62.5mb (rounds to 62) -> … -> 1 mb. 1 mb cannot be split or filled anywhere.