mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-15 14:58:06 +11:00
13 lines
278 B
Lua
13 lines
278 B
Lua
|
local component = require "component"
|
||
|
local r2r = require "r2r"
|
||
|
local tA = {...}
|
||
|
|
||
|
|
||
|
for k,v in component.list() do
|
||
|
local px = component.proxy(component.get(k))
|
||
|
print(px.type.."_"..px.address)
|
||
|
for l,m in pairs(px) do
|
||
|
r2r.register(px.type.."_"..px.address.."_"..l,m)
|
||
|
end
|
||
|
end
|