MineMcMine

ME Exporter Recipe Maker

Apr 9th, 2022 (edited)
860
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.46 KB | None | 0 0
  1. --[[
  2.     Using: CC: Tweaked, Plethora
  3.     pastebin run tsSESA1U
  4. ]]--
  5.  
  6. if pcall(os.loadAPI, "jLib/jFuncs") then
  7. else
  8.     shell.run("pastebin get kqBFGcfV jLib/jFuncs")
  9.     os.loadAPI("jLib/jFuncs")
  10. end
  11.  
  12. local chest = peripheral.wrap("left")
  13.  
  14. local ret = {}
  15. ret["name"] = {}
  16. for i, item in pairs(chest.list()) do
  17.     ret["name"][i] = item
  18. end
  19.  
  20. file = fs.open("tempUpload", "w")
  21. file.write(textutils.serialize(ret))
  22. file.close()
  23. shell.run("pastebin put tempUpload")
Advertisement
Add Comment
Please, Sign In to add comment