Advertisement
Carbon02

Startup

Aug 20th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. -- Carbon program bundle setup file
  2. -- By: Carbon
  3. ---------------------
  4. -- DO NOT DISTRIBUTE
  5. ---------------------
  6.  
  7. if turtle then
  8. print("Turtle detected, installing mining program...")
  9. fs.copy('disk/programs/mine', 'miner')
  10. print("Program installed. Press any key to eject disk.")
  11. os.pullEvent('key')
  12. print("Thank you for purchasing Carbon's program bundle <3")
  13. sleep(2)
  14. disk.eject('bottom')
  15. else
  16. print("computer detected, installing reactor control program...")
  17. fs.copy('disk/programs/reactor_control', 'startup')
  18. print("Program installed. Press any key to eject disk.")
  19. os.pullEvent('key')
  20. print("Thank you for purchasing Carbon's program bundle <3")
  21. sleep(2)
  22. disk.eject('bottom')
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement