Advertisement
Guest User

startup

a guest
Mar 26th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.89 KB | None | 0 0
  1. local AltarSide = "back"
  2. local InputChestSide = "left"
  3. local OutputChestSide = "right"
  4.  
  5. local altar = peripheral.wrap(AltarSide)
  6. local chest = peripheral.wrap(InputChestSide)
  7.  
  8. local tank = altar.getTankInfo()
  9. local lp = tank[1]['contents']['amount']
  10. print (lp)
  11.  
  12. local Craft = {
  13.  
  14. --
  15. {input="Thaumcraft:blockCosmeticSolid:6",
  16. output= "AWWayofTime:blankSlate", Blood =1000},
  17. --
  18. {input="AWWayofTime:blankSlate",
  19. output="AWWayofTime:reinforcedSlate", Blood= 2000},
  20. --
  21. {input="AWWayofTime:reinforcedSlate",
  22. output="AWWayofTime:imbuedSlate", Blood=5000},
  23. --
  24. {input="AWWayofTime:imbuedSlate",
  25. output="AWWayofTime:demonicSlate", Blood=15000},
  26. --
  27. {input="AWWayofTime:demonicSlate",
  28. output="AWWayofTime:bloodMagicBaseItems:27", Blood=30000}
  29.  --
  30.  }
  31.  
  32.  local item= altar.getStackInSlot(1)
  33.  print(item.name)
  34.  
  35.  
  36.  for i=1, chest.getInventorySize() do
  37.  if chest.getStackInSlot(i)<> then
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement