Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------
- -- CraftingMachine --
- -- By Dobble_ --
- ---------------------------
- ---------------------------
- --. Fonctions. --
- ---------------------------
- function Say(text)
- --term.clear()
- --term.setCursorPos(1,1)
- print(text)
- end
- function sel(text)
- repeat
- select = tonumber(text)
- turtle.select(select)
- turtle.suck(1)
- until turtle.compareUp() == false
- end
- --------------------------
- -- Choix Craft --
- --------------------------
- Say("----------------\nCrafteur 3x3 - Par Mr_redstone5230\n----------------")
- nb = "0"
- ---------------------------
- -- Craft Blocks --
- ---------------------------
- while 1 do
- nbr = tonumber(nb)
- nbr = nbr + 1
- Say("Craft du "..nbr.."ème Block lancé")
- sel("1")
- sel("2")
- --sel("3")
- sel("5")
- sel("6")
- --sel("7")
- --sel("9")
- --sel("10")
- --sel("11")
- nb = nbr
- turtle.craft(1)
- --turtle.dropDown(1)
- Say("Craft Terminé\n....")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement