Advertisement
Guest User

notabschaltung

a guest
Jul 25th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. rc = peripheral.wrap(bottom)
  2. m = peripheral.wrap(left)
  3.  
  4. status = info["status"]
  5.  
  6. m.write("draconic reactor status: ")
  7.  
  8. if (status == "online) then
  9. m.setTextColor(colors.green)
  10. m.write("online")
  11.  
  12. elseif (status == "offline") then
  13. m.setTextColor(colors.red)
  14. m.write("offline")
  15.  
  16. elseif (status == "charging") then
  17. m.setTextColor(colors.yellow)
  18. m.write("charging")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement