Differences

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

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
component:tank_controller [2014/10/01 22:13]
nibato created
component:tank_controller [2015/01/14 23:40]
127.0.0.1 external edit
Line 14: Line 14:
   Get a description of the fluid in the the tank on the specified side of the robot. Back refers to the robot'​s own selected tank.   Get a description of the fluid in the the tank on the specified side of the robot. Back refers to the robot'​s own selected tank.
 - `drain([amount:​number]):​boolean`  ​ - `drain([amount:​number]):​boolean`  ​
-  Transfers fluid from a tank in the selected inventory slot to the selected tank.+  Transfers fluid from a tank in the selected inventory slot to the selected tank. If the amount of fluid that would be generated from the item is too large to fit into the tank (for example buckets will usually generate 1000) nothing will happen, that is no fluid is lost.
 - `fill([amount:​number]):​boolean`  ​ - `fill([amount:​number]):​boolean`  ​
-  Transfers fluid from the selected tank to a tank in the selected inventory slot.+  Transfers fluid from the selected tank to a tank in the selected inventory slot. If the specified amount is too low (for example for buckets the minimum amount will usually be 1000) nothing will happen, that is no fluid is lost.
  
 ---- ----
  
 {{page>​component:​contents&​noheader&​noeditbutton&​nouser&​nofooter}} {{page>​component:​contents&​noheader&​noeditbutton&​nouser&​nofooter}}