samuelask

Untitled

Aug 3rd, 2021 (edited)
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. local c = require("component")
  2. local term = require("term")
  3. local component = require("component")
  4. local event = require("event")
  5. local serialization = require("serialization")
  6. local gpu = component.gpu
  7. local w, h = gpu.getResolution()
  8. local computer = require("computer")
  9.  
  10. gpu.fill(1, 1, w, h, " ")
  11. local asd = 1
  12. local os = require("os")
  13. local modem = component.modem
  14. local term = require("term")
  15. local sg = c.stargate
  16. local text = require("text")
  17. local sides = require("sides")
  18. local pass = "wind"
  19. local abortcode = "1337"
  20. local port = 123
  21. local placeholder = false
  22.  
  23.  
  24. address = {"Leo Minor", "Piscis Austrinus", "Eridanus", "Sculptor", "Microscopium", "Pisces", "Point of Origin"}
  25. print(component.stargate.getEnergyRequiredToDial(address))
  26.  
  27. --the table--
  28.  
  29. for i, v in pairs(component.stargate.getEnergyRequiredToDial(address)) do --loop through the table--
  30. print(i) --print the number--
  31. print(v) --print the value--
  32. end
Add Comment
Please, Sign In to add comment