Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- os.pullEvent("redstone")
- if rs.getInput("bottom") or rs.getInput("top") or rs.getInput("right") or rs.getInput("left") or rs.getInput("front") or rs.getInput("back") then
- turtle.select(16)
- for i = 16, 9, -1 do
- turtle.select(i)
- turtle.suck()
- end
- local InSlots = { 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 }
- local draconiccore = false
- local dragonheart = false
- local draconiumblock = false
- local wyverncore = false
- local awakeneddraconiumingot = false
- local netherstar = false
- local werc = false
- local wyvernenergycore = false
- local awakeneddraconiniccore = false
- local chaosshard = false
- local diamond = false
- local gapple = false
- local endereye = false
- local emerald = false
- local eb = false
- local dracingot = false
- local rsf = false
- local cc = false
- local ii = false
- local wss = false
- local dis = false
- local bfci = false
- local dfci = false
- local furnace = false
- local de = false
- for k, v in pairs(InSlots) do
- local data = turtle.getItemDetail(v)
- if data then
- if data.name == "draconicevolution:draconic_core" then
- draconiccore = true
- elseif data.name == "draconicevolution:dragon_heart" then
- dragonheart = true
- elseif data.name == "draconicevolution:draconium_block" then
- draconiumblock = true
- elseif data.name == "draconicevolution:wyvern_core" then
- wyverncore = true
- elseif data.name == "draconicevolution:draconic_ingot" then
- awakeneddraconiumingot = true
- elseif data.name == "minecraft:nether_star" then
- netherstar = true
- elseif data.name == "draconicevolution:energy_crystal" then
- werc = true
- elseif data.name == "draconicevolution:wyvern_energy_core" then
- wyvernenergycore = true
- elseif data.name == "minecraft:diamond" then
- diamond = true
- elseif data.name == "draconicevolution:chaos_shard" then
- chaosshard = true
- elseif data.name == "draconicevolution:awakened_core" then
- awakeneddraconiniccore = true
- elseif data.name == "minecraft:golden_apple" then
- gapple = true
- elseif data.name == "minecraft:ender_eye" then
- endereye = true
- elseif data.name == "minecraft:emerald" then
- emerald = true
- elseif data.name == "minecraft:emerald_block" then
- eb = true
- elseif data.name == "draconicevolution:draconium_ingot" then
- dracingot = true
- elseif data.name == "draconicevolution:reactor_part" then
- rsf = true
- elseif data.name == "draconicevolution:chaotic_core" then
- cc = true
- elseif data.name == "minecraft:skull" then
- wss = true
- elseif data.name == "minecraft:iron_ingot" then
- ii = true
- elseif data.name == "draconicevolution:dislocator" then
- dis = true
- elseif data.name == "draconicevolution:crafting_injector" and data.damage== 0 then
- bfci = true
- elseif data.name == "draconicevolution:crafting_injector" and data.damage== 1 then
- wfci = true
- elseif data.name == "draconicevolution:crafting_injector" and data.damage== 2 then
- dfci = true
- elseif data.name == "minecraft:furnace" then
- furnace = true
- elseif data.name == "minecraft:dragon_egg" then
- de = true
- end
- end
- if draconiccore and dragonheart and draconiumblock then
- print("Making Awakened Draconium Blocks")
- for i = 16, 11, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "draconicevolution:draconic_core" then
- turtle.transferTo(1)
- elseif data.name == "draconicevolution:dragon_heart" then
- turtle.transferTo(2)
- elseif data.name == "draconicevolution:draconium_block" then
- turtle.transferTo(3)
- end
- end
- end
- turtle.select(1)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(3)
- turtle.drop()
- turtle.select(1)
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.down()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.select(2)
- turtle.drop()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif netherstar and awakeneddraconiumingot and wyverncore then
- print("Making Awakened Core")
- for i = 16, 11, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "minecraft:nether_star" then
- turtle.transferTo(1)
- elseif data.name == "draconicevolution:draconic_ingot" then
- turtle.transferTo(2)
- elseif data.name == "draconicevolution:wyvern_core" then
- turtle.transferTo(3)
- end
- end
- end
- turtle.select(2)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(1)
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.down()
- turtle.select(3)
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.down()
- turtle.down()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif wyverncore and werc and wyvernenergycore and diamond then
- print("Making Draconic Energy Relay")
- turtle.select(16)
- for i = 16, 11, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "minecraft:diamond" then
- turtle.transferTo(1)
- elseif data.name == "draconicevolution:energy_crystal" then
- turtle.transferTo(4)
- elseif data.name == "draconicevolution:wyvern_core" then
- turtle.transferTo(3)
- elseif data.name == "draconicevolution:wyvern_energy_core" then
- turtle.transferTo(2)
- end
- end
- end
- turtle.select(3)
- turtle.turnRight()
- turtle.drop()
- turtle.select(1)
- turtle.up()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(4)
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(2)
- turtle.down()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.down()
- turtle.down()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif chaosshard and awakeneddraconiniccore and awakeneddraconiumingot then
- print("Making Chaos Core")
- for i = 16, 11, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "draconicevolution:draconic_ingot" then
- turtle.transferTo(1)
- elseif data.name == "draconicevolution:awakened_core" then
- turtle.transferTo(2)
- elseif data.name == "draconicevolution:chaos_shard" then
- turtle.transferTo(3)
- end
- end
- end
- turtle.select(1)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.select(2)
- turtle.down()
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(3)
- turtle.drop()
- turtle.select(2)
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.down()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.down()
- turtle.down()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif endereye and gapple and diamond then
- print("Making Basic Upgrade")
- print("Insert your Armour or Tool and the upgrade you wish to add!")
- for i = 16, 11, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "minecraft:ender_eye" then
- turtle.transferTo(1)
- elseif data.name == "minecraft:golden_apple" then
- turtle.transferTo(2)
- elseif data.name == "minecraft:diamond" then
- turtle.transferTo(3)
- elseif data.name == "draconicevolution:draconic_core" then
- turtle.transferTo(4)
- end
- end
- end
- turtle.select(4)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.select(2)
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(1)
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.down()
- turtle.select(3)
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif emerald and netherstar and wyverncore then
- print("Making Wyvern Upgrade")
- print("Insert your Armour or Tool and the upgrade you wish to add!")
- for i = 16, 11, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "draconicevolution:draconic_core" then
- turtle.transferTo(1)
- elseif data.name == "minecraft:nether_star" then
- turtle.transferTo(2)
- elseif data.name == "minecraft:emerald" then
- turtle.transferTo(3)
- elseif data.name == "draconicevolution:wyvern_core" then
- turtle.transferTo(4)
- end
- end
- end
- turtle.select(4)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.select(2)
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(1)
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.down()
- turtle.select(3)
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif eb and awakeneddraconiniccore then
- print("Making Draconic Upgrade")
- print("Insert your Armour or Tool and the upgrade you wish to add!")
- for i = 16, 11, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "minecraft:nether_star" then
- turtle.transferTo(1)
- elseif data.name == "draconicevolution:wyvern_core" then
- turtle.transferTo(2)
- elseif data.name == "minecraft:emerald_block" then
- turtle.transferTo(3)
- elseif data.name == "draconicevolution:awakened_core" then
- turtle.transferTo(4)
- end
- end
- end
- turtle.select(4)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.select(2)
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(1)
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.down()
- turtle.select(3)
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif cc and de then
- print("Making Chaotic Upgrade")
- print("Insert your Armour or Tool and the upgrade you wish to add!")
- for i = 16, 11, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "draconicevolution:wyvern_core" then
- turtle.transferTo(1)
- elseif data.name == "draconicevolution:awakened_core" then
- turtle.transferTo(2)
- elseif data.name == "minecraft:dragon_egg" then
- turtle.transferTo(3)
- elseif data.name == "draconicevolution:chaotic_core" then
- turtle.transferTo(4)
- end
- end
- end
- turtle.select(4)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.select(2)
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(1)
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.down()
- turtle.select(3)
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif chaosshard and awakeneddraconiumingot and dracingot then
- print("Making Reactor Core")
- for i = 16, 11, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "draconicevolution:draconic_ingot" then
- turtle.transferTo(2)
- elseif data.name == "draconicevolution:draconium_ingot" then
- turtle.transferTo(1)
- elseif data.name == "draconicevolution:chaos_shard" then
- turtle.transferTo(3)
- end
- end
- end
- turtle.select(1)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(2)
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(3)
- turtle.drop()
- turtle.select(2)
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.down()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif cc and rsf then
- print("Making Reactor Stabilizer")
- for i = 16, 11, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "draconicevolution:reactor_part" and data.damage == 3 then
- turtle.transferTo(1)
- elseif data.name == "draconicevolution:reactor_part" and data.damage== 4 then
- turtle.transferTo(2)
- elseif data.name == "draconicevolution:draconic_energy_core" then
- turtle.transferTo(3)
- elseif data.name == "draconicevolution:draconic_ingot" then
- turtle.transferTo(5)
- elseif data.name == "draconicevolution:chaotic_core" then
- turtle.transferTo(4)
- elseif data.name == "draconicevolution:reactor_part" and data.damage== 0 then
- turtle.transferTo(6)
- end
- end
- end
- turtle.turnRight()
- turtle.select(1)
- turtle.drop()
- turtle.up()
- turtle.select(2)
- turtle.drop()
- turtle.up()
- turtle.select(3)
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(4)
- turtle.drop()
- turtle.down()
- turtle.select(5)
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(6)
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(5)
- turtle.down()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.down()
- turtle.down()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif wss then
- print("Making EEF")
- for i = 16, 13, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "minecraft:ender_eye" then
- turtle.transferTo(1)
- elseif data.name == "draconicevolution:draconic_core" then
- turtle.transferTo(2)
- elseif data.name == "draconicevolution:wyvern_core" then
- turtle.transferTo(3)
- elseif data.name == "minecraft:skull" then
- turtle.transferTo(4)
- end
- end
- end
- turtle.select(1)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(4)
- turtle.drop()
- turtle.select(1)
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.down()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.select(2)
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.drop()
- turtle.turnLeft()
- turtle.up()
- turtle.select(3)
- turtle.drop()
- turtle.down()
- turtle.down()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- else if ii and dracingot then
- print("Making Reactor Energy Injector")
- for i = 16, 13, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "minecraft:iron_ingot" then
- turtle.transferTo(1)
- elseif data.name == "draconicevolution:draconium_ingot" then
- turtle.transferTo(2)
- elseif data.name == "draconicevolution:wyvern_core" then
- turtle.transferTo(4)
- elseif data.name == "draconicevolution:reactor_part" then
- turtle.transferTo(3)
- end
- end
- end
- turtle.select(1)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.select(2)
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(4)
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(2)
- turtle.down()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(3)
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.drop()
- turtle.turnLeft()
- turtle.up()
- turtle.drop()
- turtle.down()
- turtle.down()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif dis then
- print("Making Advanced Dislocator")
- for i = 16, 13, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "draconicevolution:wyvern_core" then
- turtle.transferTo(1)
- elseif data.name == "draconicevolution:draconium_ingot" then
- turtle.transferTo(2)
- elseif data.name == "minecraft:ender_pearl" then
- turtle.transferTo(3)
- elseif data.name == "draconicevolution:dislocator" then
- turtle.transferTo(4)
- end
- end
- end
- turtle.turnRight()
- turtle.select(1)
- turtle.drop()
- turtle.up()
- turtle.select(2)
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(4)
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(3)
- turtle.down()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.down()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif bfci then
- print("Making Wyvern Fusion Crafting Injector")
- for i = 16, 12, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "draconicevolution:draconium_block" then
- turtle.transferTo(1)
- elseif data.name == "draconicevolution:wyvern_core" then
- turtle.transferTo(2)
- elseif data.name == "draconicevolution:draconic_core" then
- turtle.transferTo(3)
- elseif data.name == "minecraft:diamond" then
- turtle.transferTo(4)
- elseif data.name == "draconicevolution:crafting_injector" then
- turtle.transferTo(5)
- end
- end
- end
- turtle.select(1)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.select(2)
- turtle.drop()
- turtle.up()
- turtle.select(3)
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.down()
- turtle.select(4)
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(5)
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.down()
- turtle.select(4)
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.down()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif wfci then
- print("Making Draconic Fusion Crafting Injector")
- for i = 16, 12, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "draconicevolution:draconic_block" then
- turtle.transferTo(1)
- elseif data.name == "draconicevolution:wyvern_core" then
- turtle.transferTo(2)
- elseif data.name == "minecraft:diamond" then
- turtle.transferTo(3)
- elseif data.name == "draconicevolution:crafting_injector" then
- turtle.transferTo(4)
- end
- end
- end
- turtle.select(1)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.select(2)
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(3)
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(4)
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(3)
- turtle.down()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif dfci then
- print("Making Chaotic Fusion Crafting Injector")
- for i = 16, 12, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "minecraft:dragon_egg" then
- turtle.transferTo(1)
- elseif data.name == "draconicevolution:chaotic_core" then
- turtle.transferTo(2)
- elseif data.name == "minecraft:diamond" then
- turtle.transferTo(3)
- elseif data.name == "draconicevolution:crafting_injector" then
- turtle.transferTo(4)
- end
- end
- end
- turtle.turnRight()
- turtle.select(1)
- turtle.drop()
- turtle.select(2)
- turtle.up()
- turtle.drop()
- turtle.select(3)
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(4)
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(3)
- turtle.down()
- turtle.drop()
- turtle.turnLeft()
- turtle.forward()
- break --#
- elseif furnace then
- print("Making Draconium Chest")
- for i = 16, 11, -1 do
- turtle.select(i)
- local data = turtle.getItemDetail()
- if data then
- if data.name == "minecraft:chest" then
- turtle.transferTo(5)
- elseif data.name == "draconicevolution:draconic_core" then
- turtle.transferTo(2)
- elseif data.name == "minecraft:crafting_table" then
- turtle.transferTo(3)
- elseif data.name == "minecraft:furnace" then
- turtle.transferTo(4)
- elseif data.name == "draconicevolution:draconium_block" then
- turtle.transferTo(1)
- end
- end
- end
- turtle.select(1)
- turtle.turnRight()
- turtle.drop()
- turtle.select(2)
- turtle.up()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(3)
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(5)
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(4)
- turtle.down()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.drop()
- turtle.turnLeft()
- turtle.up()
- turtle.drop()
- turtle.down()
- turtle.down()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- end
- end
- end
- print("ree")
- end
- end
Add Comment
Please, Sign In to add comment