Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setfenv(1,getfenv(2)) --fuck os.loadAPI()
- local oper = {}
- for k,v in pairs(peripheral) do oper[k]=v end
- peripheral.wrap = function(side)
- if side=="lip/WI" then --ici
- return lip.WorldInterface
- end --etc..
- return oper.wrap(side)
- end
- peripheral.find = function(periph)
- local pr = oper.find(periph)
- if pr then return pr end
- if periph=="WorldInterface" then
- return lip.WorldInterface
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment