Sayomie550

laser Control.lua

Mar 26th, 2015
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. charger1 = peripheral.wrap("laser_drill_precharger_1")
  2.  
  3. energy = charger1.listSources()
  4.  
  5. print(""..energy)
  6.  
  7. for i,v in ipairs(charger1.listSources()) do print(i..". "..v) end
Advertisement
Add Comment
Please, Sign In to add comment