Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local chest = peripheral.find("ars_nouveau:archwood_chest")
- local imbuer = peripheral.find("ars_nouveau:imbuement_chamber")
- local finished = false
- while not finished do
- if imbuer.getItemDetail(1) ~= nil and imbuer.getItemDetail(1).name ~= "ars_nouveau:source_gem" then
- imbuer.pushItems(peripheral.getName(chest),1)
- end
- for k,v in pairs(chest.list()) do
- if v.name == "ars_nouveau:source_gem" then
- chest.pushItems(peripheral.getName(imbuer),1)
- end
- end
- if imbuer.getItemDetail(1)==nil then finished = true end
- end
- for k,_ in pairs(chest.list()) do chest.pushItems(peripheral.getName(chest),k) end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement