Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- os.pullEvent("redstone")
- if rs.getInput("bottom") then
- sleep(1)
- turtle.select(9)
- for i = 16, 1, -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 emeraldblock = false
- local dracingot = false
- local rsf = false
- local cc = false
- local ii = false
- local wss = false
- local dis = 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
- emerald = 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
- end
- end
- if draconiccore and dragonheart and draconiumblock then
- print("Making Awakened Draconium Blocks")
- for i = 16, 1, -1 do
- local data = turtle.getItemDetail(v)
- 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
- break --#
- elseif netherstar and awakeneddraconiumingot and wyverncore then
- print("Making Awakened Core")
- turtle.turnRight()
- turtle.select(2)
- 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(1)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.select(3)
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(2)
- 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.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")
- 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.select(3)
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(2)
- 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 endereye and gapple and diamond then
- print("Making Upgrade")
- print("Insert your Armour or Tool and the upgrade you wish to add!")
- turtle.select(1)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.up()
- turtle.select(2)
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.down()
- turtle.select(3)
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(4)
- turtle.drop()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif emerald and netherstar and wyverncore then
- print("Making Upgrade")
- print("Insert your Armour or Tool and the upgrade you wish to add!")
- turtle.select(1)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.up()
- turtle.select(2)
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.down()
- turtle.select(3)
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(4)
- turtle.drop()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif awakeneddraconiniccore and emeraldblock and wyverncore then
- print("Making Upgrade")
- print("Insert your Armour or Tool and the upgrade you wish to add!")
- turtle.select(1)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.drop()
- turtle.up()
- turtle.select(2)
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.down()
- turtle.select(3)
- turtle.drop()
- turtle.down()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(4)
- turtle.drop()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif chaosshard and awakeneddraconiumingot and dracingot then
- print("Making Reactor Core")
- 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.select(3)
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(2)
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(3)
- turtle.drop()
- 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 Frame")
- turtle.select(2)
- turtle.turnRight()
- turtle.drop()
- turtle.up()
- turtle.select(3)
- turtle.drop()
- turtle.up()
- turtle.select(4)
- 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(4)
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(5)
- turtle.drop()
- turtle.up()
- turtle.select(6)
- turtle.drop()
- turtle.down()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- elseif wss then
- print("Making EEF")
- turtle.turnRight()
- turtle.select(1)
- 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.turnLeft()
- turtle.turnLeft()
- turtle.select(1)
- turtle.down()
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.drop()
- turtle.up()
- turtle.select(2)
- turtle.drop()
- turtle.turnRight()
- turtle.select(3)
- turtle.drop()
- turtle.select(2)
- turtle.turnLeft()
- turtle.up()
- turtle.drop()
- turtle.drop()
- turtle.down()
- turtle.down()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- else if ii and dracingot then
- print("Making Reactor Energy Injector")
- 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(3)
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.down()
- turtle.select(2)
- turtle.drop()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(4)
- 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")
- 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.drop()
- turtle.select(4)
- turtle.down()
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(3)
- 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.down()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- break --#
- end
- end
- end
- sleep(2)
- print("ree")
- end
- end
Add Comment
Please, Sign In to add comment