Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- display in chat the quantity produced by the reactor at a given tick
- local chatBot = "§2Jarvis"
- chatBox = peripheral.find("chatBox")
- reactor = peripheral.wrap("right")
- reactor = reactor.battery()
- chatBox.sendMessage("Produit par le réacteur /tick : " .. reactor.producedLastTick(), chatBot)
- os.sleep(30)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement