1
0
mirror of https://github.com/kepler155c/opus synced 2024-11-15 13:14:49 +00:00
opus/sys/extensions/device.lua
kepler155c@gmail.com 72bd16502b builder upgrade
2017-04-01 19:21:49 -04:00

9 lines
184 B
Lua

_G.device = { }
require = requireInjector(getfenv(1))
local Peripheral = require('peripheral')
for _,side in pairs(peripheral.getNames()) do
Peripheral.addDevice(device, side)
end