osmarks

ItemSystem Rewrite

Jul 8th, 2019
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. local index = {}
  2.  
  3. local inventories = {}
  4. for _, p in pairs(peripheral.getNames()) do
  5.     if p:match "shulker" or p:match "chest" do
  6.         inventories[p] = peripheral.wrap(p)
  7.     end
  8. end
Add Comment
Please, Sign In to add comment