Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s=peripheral.wrap("left") --smeltery side
- exportLiquidName="liquid_pokefennium" --name
- args={...}
- c=s.getController()
- while true do
- l=c.getMolten()
- if l~=nil then
- if l[1].name~=exportLiquidName then
- select=nil
- for i=1,#l do
- if l[i].name==exportLiquidName then
- select=i
- end
- end
- if select then
- c.selectMolten(select)
- end
- end
- end
- sleep(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment