Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local c = peripheral.find "nc_geiger_counter"
- local m = peripheral.wrap "top"
- while true do
- local lvl = c.getChunkRadiationLevel()
- print(lvl)
- m.transmit(3054, 3054, {"rads/base", "radiation level in main base", "set", lvl})
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement