Advertisement
Guest User

openblockstank_0.docs

a guest
Dec 5th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.72 KB | None | 0 0
  1. getMetadata
  2. function():table -- Get metadata about this object
  3.  
  4. getTransferLocations
  5. function([location:string]):table -- Get a list of all available objects which can be transferred to or from
  6.  
  7. pullFluid
  8. function(fromName:string[, limit:int[, fluid:string]]):int -- Pull fluid to this tank from another tank. Returns the amount transferred.
  9.  
  10. getDocs
  11. function([name: string]):string|table -- Get the documentation for all functions or the function specified. Errors if the function cannot be found.
  12.  
  13. pushFluid
  14. function(toName:string[, limit:int], fluid:string):int -- Push fluid from this tank to another tank. Returns the amount transferred.
  15.  
  16. getTanks
  17. function([side:string]):table -- Get a list of all tanks on this side
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement