Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("back")
- term.clear()
- term.setTextColor(colors.yellow)
- term.setCursorPos(2,1)
- term.write("Was soll gecraftet werden")
- term.setTextColor(colors.yellow)
- term.setCursorPos(2,2)
- term.write("Zur verfügung stehen:")
- term.setTextColor(colors.lightBlue)
- term.setCursorPos(2,4)
- term.write("cobble, stone, glass, grass block, moss stone,")
- term.setCursorPos(2,5)
- term.write("sandstone, snow, water, lava, iron ore, gold ore,")
- term.setCursorPos(2,6)
- term.write("obsidian, netherrack, glowstone, oak wood, cactus,")
- term.setCursorPos(2,7)
- term.write("vines, wool")
- term.setTextColor(colors.lime)
- term.setCursorPos(2,8)
- Item = read()
- if Item == "cobble" then
- rednet.send(8204,1)
- os.reboot()
- elseif Item == "stone" then
- rednet.send(8204,2)
- os.reboot()
- elseif Item == "glass" then
- rednet.send(8204,3)
- os.reboot()
- elseif Item == "grass block" then
- rednet.send(8204,4)
- os.reboot()
- elseif Item == "moss stone" then
- rednet.send(8204,5)
- os.reboot()
- elseif Item == "sandstone" then
- rednet.send(8204,6)
- os.reboot()
- elseif Item == "snow" then
- rednet.send(8204,7)
- os.reboot()
- elseif Item == "water" then
- rednet.send(8204,8)
- os.reboot()
- elseif Item == "lava" then
- rednet.send(8204,9)
- os.reboot()
- elseif Item == "iron ore" then
- rednet.send(8204,10)
- os.reboot()
- elseif Item == "gold ore" then
- rednet.send(8204,11)
- os.reboot()
- elseif Item == "obsidian" then
- rednet.send(8204,12)
- os.reboot()
- elseif Item == "netherrack" then
- rednet.send(8204,13)
- os.reboot()
- elseif Item == "glowstone" then
- rednet.send(8204,14)
- os.reboot()
- elseif Item == "oak wood" then
- rednet.send(8204,15)
- os.reboot()
- elseif Item == "cactus" then
- rednet.send(8204,16)
- os.reboot()
- elseif Item == "vines" then
- rednet.send(8204,17)
- os.reboot()
- elseif Item == "wool" then
- rednet.send(8204,18)
- os.reboot()
- end
Add Comment
Please, Sign In to add comment