Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
component:transposer [2023/12/22 08:15]
bioscreeper Added clarification for "count" argument of transferFluid()
component:transposer [2023/12/22 08:25] (current)
bioscreeper Correcting my error
Line 8: Line 8:
  
 - `transferFluid(sourceSide:​number,​ sinkSide:​number,​ count:​number):​boolean,​ number`  ​ - `transferFluid(sourceSide:​number,​ sinkSide:​number,​ count:​number):​boolean,​ number`  ​
-  Transfer some fluids between two fluid handlers (pipes or tanks, etc). `sourceSide` is the side pulled from and `sinkSide` is the side transferred to. The side value is a integral value representing the cardinal directions (east, west, south, north), up, and down. The `sides` library has these values for convenience. `count` is the number of millibuckets to transfer. If not specified, it defaults to the size of the smallest container in the transfer. Returns true and the number of millibuckets transfered on success, or false and an error message on failure.+  Transfer some fluids between two fluid handlers (pipes or tanks, etc). `sourceSide` is the side pulled from and `sinkSide` is the side transferred to. The side value is a integral value representing the cardinal directions (east, west, south, north), up, and down. The `sides` library has these values for convenience. `count` is the number of millibuckets to transfer. If not specified, it defaults to 1000. Returns true and the number of millibuckets transfered on success, or false and an error message on failure.
 - `store(side:​number,​ slot:​number,​ dbAddress:​string,​ dbSlot:​number):​boolean`  ​ - `store(side:​number,​ slot:​number,​ dbAddress:​string,​ dbSlot:​number):​boolean`  ​
   Store an item stack description in the specified slot of the database with the specified address.   Store an item stack description in the specified slot of the database with the specified address.