Initial Commit

This commit is contained in:
Anton Reinhard 2023-05-28 14:07:39 +02:00
commit e76b849f93
7 changed files with 3138 additions and 0 deletions

View File

@ -0,0 +1,95 @@
<mxfile host="app.diagrams.net" modified="2023-05-12T22:09:40.011Z" agent="Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0" etag="HTsYD-o0yUW0fp8lyqOW" version="21.3.0" type="device">
<diagram name="Page-1" id="J9GlJljJiIs0IVZZ3raM">
<mxGraphModel dx="2022" dy="1105" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="3300" pageHeight="4681" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="0gqxLIiuMdd3o4A3-Mpp-1" target="0gqxLIiuMdd3o4A3-Mpp-3">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-1" value="&lt;div&gt;&lt;font size=&quot;1&quot;&gt;&lt;b style=&quot;font-size: 30px;&quot;&gt;Start&lt;/b&gt;&lt;/font&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="360" y="10" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="0gqxLIiuMdd3o4A3-Mpp-2" target="0gqxLIiuMdd3o4A3-Mpp-15">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-2" value="&lt;div&gt;Basic EU Machines&lt;/div&gt;Generator&lt;br&gt;Macerator" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="240" y="210" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="0gqxLIiuMdd3o4A3-Mpp-3" target="0gqxLIiuMdd3o4A3-Mpp-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="0gqxLIiuMdd3o4A3-Mpp-3" target="0gqxLIiuMdd3o4A3-Mpp-9">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-3" value="&lt;div&gt;Grindstone + Turtle&lt;/div&gt;&lt;div&gt;Normal Furnace(s)&lt;br&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="360" y="110" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="0gqxLIiuMdd3o4A3-Mpp-7" target="0gqxLIiuMdd3o4A3-Mpp-15">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-7" value="&lt;div&gt;Wood -&amp;gt; Obsidian&lt;/div&gt;&lt;div&gt;Nether Portal&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="480" y="310" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="0gqxLIiuMdd3o4A3-Mpp-9" target="0gqxLIiuMdd3o4A3-Mpp-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-9" value="Minium Stone" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="480" y="210" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="0gqxLIiuMdd3o4A3-Mpp-12" target="0gqxLIiuMdd3o4A3-Mpp-26">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-12" value="&lt;div&gt;Buildcraft Pump&lt;/div&gt;&lt;div&gt;(13 Iron, Sand, 1 Redstone)&lt;/div&gt;&lt;div&gt;4x Redstone Engine (4 Iron, 4 Redstone, 4 Glass, Wood)&lt;/div&gt;&lt;div&gt;2x Ender Tank (14 Iron)&lt;br&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="440" y="510" width="200" height="80" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="0gqxLIiuMdd3o4A3-Mpp-15" target="0gqxLIiuMdd3o4A3-Mpp-12">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="0gqxLIiuMdd3o4A3-Mpp-15" target="0gqxLIiuMdd3o4A3-Mpp-19">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="0gqxLIiuMdd3o4A3-Mpp-15" target="0gqxLIiuMdd3o4A3-Mpp-24">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-15" value="Blaze Rods!" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="480" y="410" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-31" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="0gqxLIiuMdd3o4A3-Mpp-19" target="0gqxLIiuMdd3o4A3-Mpp-29">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="420" y="550" />
<mxPoint x="420" y="760" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-19" value="&lt;div&gt;Turtles!&lt;/div&gt;&lt;div&gt;4 Turtles + 1 Ender Chest&lt;br&gt;&lt;/div&gt;&lt;div&gt;28 Stone, 32 Iron (4 for 1 Ender Pearl), 4 Redstone&lt;/div&gt;&lt;div&gt;2 Stacks (?) Blaze Rods&lt;br&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="205" y="510" width="190" height="80" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-24" value="Turtle automation on macerator for blaze rods?" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="650" y="410" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-30" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="0gqxLIiuMdd3o4A3-Mpp-26" target="0gqxLIiuMdd3o4A3-Mpp-29">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-33" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="0gqxLIiuMdd3o4A3-Mpp-26" target="0gqxLIiuMdd3o4A3-Mpp-32">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="540" y="710" />
<mxPoint x="710" y="710" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-26" value="Geothermal Power" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="480" y="630" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-29" value="ME System" style="whiteSpace=wrap;html=1;rounded=1;" vertex="1" parent="1">
<mxGeometry x="480" y="730" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0gqxLIiuMdd3o4A3-Mpp-32" value="&lt;div&gt;Compressor&lt;br&gt;&lt;/div&gt;&lt;div&gt;Plate-Bending Machine&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="650" y="730" width="120" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

7
New Attempts/Commands.md Normal file
View File

@ -0,0 +1,7 @@
refuel all
mining
# quarry program
quarry -oreQuarry true -enderChest 16 -doRefuel false -dumpCompareItems false -invert false -rednet false -dim 16 16 70

4
New Attempts/Crank.lua Normal file
View File

@ -0,0 +1,4 @@
while true do
turtle.attack()
end

242
New Attempts/Mining.lua Normal file
View File

@ -0,0 +1,242 @@
compareSlotMax = 4 -- all slots up to this one are used for comparing, order the blocks in decreasing probability
xRelPos = 0 -- "positive = forward"
yRelPos = 0 -- "positive = right"
facing = {
x = 1,
y = 0
}
holeCounter = {
line = 0,
hole = 0
}
function printPos()
print("At (", xRelPos, ", ", yRelPos, ") facing (", facing.x, ", ", facing.y, ")")
end
-- helper functions for movement
function forward()
if turtle.forward() then
xRelPos = xRelPos + facing.x
yRelPos = yRelPos + facing.y
else
if not turtle.dig() then
turtle.attack()
end
end
end
function turnRight()
turtle.turnRight()
if facing.x == 1 and facing.y == 0 then -- facing forward
facing.x = 0
facing.y = 1
elseif facing.x == 0 and facing.y == 1 then -- facing right
facing.x = -1
facing.y = 0
elseif facing.x == -1 and facing.y == 0 then -- facing backward
facing.x = 0
facing.y = -1
elseif facing.x == 0 and facing.y == -1 then -- facing left
facing.x = 1
facing.y = 0
else
print("turnRight: This should never happen")
end
end
function turnLeft()
turtle.turnLeft()
if facing.x == 1 and facing.y == 0 then -- facing forward
facing.x = 0
facing.y = -1
elseif facing.x == 0 and facing.y == 1 then -- facing right
facing.x = 1
facing.y = 0
elseif facing.x == -1 and facing.y == 0 then -- facing backward
facing.x = 0
facing.y = 1
elseif facing.x == 0 and facing.y == -1 then -- facing left
facing.x = -1
facing.y = 0
else
print("turnLeft: This should never happen")
end
end
function faceTo(x, y)
if (x == facing.x) and (y == facing.y) then
return
end
if (x == 1 and facing.x == -1) or (x == -1 and facing.x == 1) or (y == 1 and facing.y == -1) or (y == -1 and facing.y == 1) then
turnRight()
turnRight()
elseif (facing.y == -1 and x == 1) or (facing.y == 1 and x == -1) or (facing.x == 1 and y == 1) or (facing.x == -1 and y == -1) then
turnRight()
elseif (facing.y == -1 and x == -1) or (facing.y == 1 and x == 1) or (facing.x == 1 and y == -1) or (facing.x == -1 and y == 1) then
turnLeft()
else
print("faceTo: This should never happen")
end
end
function moveTo(x, y)
if (yRelPos > y) then
faceTo(0, -1)
while yRelPos > y do
forward()
end
elseif (yRelPos < y) then
faceTo(0, 1)
while yRelPos < y do
forward()
end
end
if (xRelPos > x) then
faceTo(-1, 0)
while xRelPos > x do
forward()
end
elseif (xRelPos < x) then
faceTo(1, 0)
while xRelPos < x do
forward()
end
end
end
function blockIsWorth()
return true
--[[for i = 1, compareSlotMax do
turtle.select(i)
if turtle.compare() then
return false
end
end
return true]]
end
function checkForItems(z)
dir = math.fmod(z, 2)
-- alternatingly check relative facing (left, forward, right) and (right, forward, left) blocks, so at the end we can face backwards when going up and check without turning at all
-- -> two turns per mined level
if (dir == 0) then
faceTo(0, -1) -- just to be safe, but this should never really do anything except for the first level
if blockIsWorth() then
turtle.dig()
end
turnRight()
if blockIsWorth() then
turtle.dig()
end
turnRight()
if blockIsWorth() then
turtle.dig()
end
else
faceTo(0, 1)
if blockIsWorth() then
turtle.dig()
end
turnLeft()
if blockIsWorth() then
turtle.dig()
end
turnLeft()
if blockIsWorth() then
turtle.dig()
end
end
end
-- Digs straight down right where it is, taking resources with it
function digHole()
z = 0
-- go down
turtle.digDown()
while turtle.down() do
z = z + 1
checkForItems(z)
turtle.digDown()
end
-- go back up
-- look at the remaining direction (-1, 0) and check blocks
faceTo(-1, 0)
while z > 0 do
if blockIsWorth() then
turtle.dig()
end
turtle.up()
z = z - 1
end
end
function returnItems()
-- chest coordinates are -1, 0, so go to 0, 0 facing "backwards"
moveTo(0, 0)
faceTo(-1, 0)
-- already facing right direction, put items
for slot = compareSlotMax + 1, fuelSlot - 1 do
turtle.select(slot)
turtle.drop()
end
end
function moveToNext()
xPos = 1
yPos = 1
-- find out where the next hole should be
for i = 1, holeCounter.line do
if math.fmod(i, 2) == 0 then
xPos = xPos + 2
yPos = 1
else
xPos = xPos + 3
yPos = 0
end
end
for i = 1, holeCounter.hole do
xPos = xPos - 1
yPos = yPos + 2
end
moveTo(xPos, yPos)
-- update holeCounter
-- if the xPos we calculated is 1 that means we need to start the next line
if xPos == 0 then
holeCounter.line = holeCounter.line + 1
holeCounter.hole = 0
else
holeCounter.hole = holeCounter.hole + 1
end
end
print("Starting...")
-- startup
while not xRelPos == 1 do
forward()
end
while true do
print("Digging Hole (", holeCounter.line, ", ", holeCounter.hole, ")")
moveToNext()
digHole()
returnItems()
end

209
Notes.md Normal file
View File

@ -0,0 +1,209 @@
# Fusion Speedrun Notes
## Early Game
### General
- Turtle mit Grindstone Crank (multiple for blaze rod duplication?)
### Early Machines
### Minium Stone
- Early Fuel für den Generator: Blaze Powder "Duping"
### Nether pump setup
- 4 Redstone Engines + 2 Levers
- Buildcraft Pump
- 2x Ender Tank
- 1x Geothermal Generator
### ME Setup
Minimales Setup:
- ME Controller
- ME Drive
- ME Access Terminal
- 1k Storage Unit
Total Cost:
1x Cutting Knife:
- 1 Iron
- 2 Quartz
1x Controller
- 4 Iron
- 4 Quartz
- 1 Quartz Dust
- 1 Diamond
- 2 Redstone
1x Drive
- 4 Iron
- 2 Glass
- 2 Gold
- 4 Redstone
- 2 Quartz Dust
1x Access Terminal
- 9 Glass
- 6 Redstone
- 8 Iron
- 2 Quartz
- 1 Gold
- 4 Quartz Dust
1x 1k Storage Unit
- 9 Redstone
- 4 Quartz
- 1 Quartz Dust
- 1 Gold
- 2 Glass
- 3 Iron
Total:
- 20 Iron
- 12 Quartz
- 8 Quartz Dust
- 21 Redstone
- 4 Gold
- 1 Diamond
- 13 Glass
### Early Necessary MF Machines
- MV Consumer
- Energy Bridge
- RF Producer
- Induction Smelter -> Brass, Invar
- Rolling Machine ->
### Tree Farm
- Silver Upgrade
- 13x13
- 2 Harvester
- Rubber Trees
- Nach oben Platz für 2te Farm
- Drunter Platz für Lily Pads (Nether Wart Farm für Lily Pads)
- 4x Induction Furnaces Raw Rubber -> Rubber Bar
### Quarry Turtles
- 1x Glass Panes
- 7x Iron
- 7x Stone
- 3x Green/Blue Sapphire
### Autospawner Mob Farm
**Wichtige Mobs**
- Ghast (für mehr Safari Nets)
- Enderman
- Witch
- Magma Cube
- Wither Skeleton
- Irgendein Tier für Essen
2 Autospawner Chambers bauen, einen für automatisches Mob Essenz generieren
### ME Automation
**5x5x5 Crafter**:
- 44 Containment Walls
- 54 Heat Vents
- 18 Crafting CPUs
- 9 Pattern Provider
**Total**:
- 160 Quartz
- 96 Quartz Dust
- 27 Diamonds
- 235 Gold
### Blast Furnace
34x Blocks
- 8.5x Magma Cream
- 34x Nether Bricks
- 34x Soul Sand
Automatisierung mit Routers so bald möglich
Insgesamt 32x Blast Furnaces, 4x2x4:
- 4 Stacks + 16 Magma Cream
- 17 Stacks Nether Bricks
- 17 Stacks Soul Sand
### Boiler
Single Boiler Kosten:
- 1x Aqueous Accumulator
- 9x Liquid Fueled Firebox
- 36x Low Pressure Boiler
- 8x Liquiducts für Steam (+ für Biofuel Anschluss)
- 1x Steam Consumer
- 1x Energy Bridge
- 1x HV-Producer
Pro 4 Boiler:
- 2x MFSU
- ~10x Glass Fiber
Zum Bauen:
- TODO Turtle zum aufbauen?
- Chalice (ghast tear + emerald)
Zum Betreiben:
- 16x Bio reactors
- 8x Macerators Bone -> Bone Meal
In 3x3 Chunk Fläche:
- 2 x 12 Boiler pro Ebene
- Etwa 3 Ebenen (mit Filler einfüllen)
## Mid Game
### Frame Quarry
- 144 Support Frames (+32-64 later*)
- 120 Redstone Tube Frames
- 16 Tube Frames
**Other Mats**:
48 Mining Wells
24 Deployer
80 Block Breaker
8 Item Tesseracts
8 Energy Tesseracts
64 Red Alloy Wire
2 Repeater
1 Timer
2 Frame Motors
9 Solar Panels
1 Battery Box
1 Wireless Receiver
1 Wireless Transmitter
20 Jacketed Wire
1 Ender Chest
3 Control Tracks
### Industrial Blast
- 34x Reinforced Machine Casings (54x Steel (plates), 9x Advanced Machine Blocks, 18x Advanced Circuits)
- 2x Lava inside
End setup: 3 Stacked on top of each other
- 4x Titanium
- 4x Chrome
- 3x Tungsten (need 12x kanthal and 12x nichrome heating coils)
- 1x Aluminium (don't need much)
### Drop Mob Farms
Mineshaft und/oder Nether Fortress Mystcraft World
Make 2 drop towers
- 4x Wither Skeleton
- 20+x Witches
- 4x Endermen
## End Game

View File

@ -0,0 +1,315 @@
local accumulatorSlot = 1
local fireboxSlot = 2
local boilerSlot = 3
local liquidductSlot = 4
local steamconsumerSlot = 5
local energybridgeSlot = 6
local producerSlot = 7
function select(nr)
turtle.select(nr)
end
function a()
turtle.turnLeft()
i = turtle.forward()
if i then
turtle.turnRight()
else
sleep(1)
turtle.turnRight()
print("GTFO xD")
a()
end
end
function d()
turtle.turnRight()
i = turtle.forward()
if i then
turtle.turnLeft()
else
sleep(1)
turtle.turnLeft()
print("GTFO xD")
d()
end
end
function w()
i = turtle.forward()
if i then
sleep(0)
else
sleep(1)
print("GTFO xD")
w()
end
end
function s()
i = turtle.back()
if i then
sleep(0)
else
sleep(1)
print("GTFO xD")
s()
end
end
function up()
i = turtle.up()
if i then
sleep(0)
else
sleep(1)
print("GTFO xD")
up()
end
end
function down()
i = turtle.down()
if i then
sleep(0)
else
sleep(1)
print("GTFO xD")
down()
end
end
function place()
i = turtle.placeDown()
if i then
sleep(0)
else
turtle.digDown()
sleep(0.2)
print("Can't place? do I have enoughmaterials?")
place()
end
end
function fill()
place()
w()
place()
d()
place()
s()
place()
s()
place()
a()
place()
a()
place()
w()
place()
w()
place()
d()
s()
end
print("is the turtle positioned like this?")
print("xxxxx")
print("xooox")
print("xooox")
print("xooox")
print("xx*xx")
print("It doesn't matter what x is")
print("o is water")
print("* is the turtle")
print("if not make it like shown above, then type yes")
write (">") input = io.read()
if input == "yes" then
term.clear()
else
end
print("Do you have a space of 3*3*8 free above the water?")
print("if not make it free, then type yes")
if input == "yes" then
term.clear()
else
end
print("Put atleast one aqueous accumulator in slot 1")
print("Put atleast nine fireboxes (liquid or solid fueled) in slot 2")
print("Put atleast 36 high pressure boilers in slot 3")
print("slots are counted from top left to bottom right")
print("once you've put the items in type yes")
write (">") input = io.read()
if input == "yes" then
term.clear()
else
end
print("Put atleast four liquidducts in slot 4")
print("Put atleast four steam consumers in slot 5")
print("Put atleast one energy bridge in slot 6")
print("Put atleast one producer (bc, LV, MV, HV, EV) in slot 7")
print("once you've put the items in type yes")
write (">") input = io.read()
if input == "yes" then
term.clear()
else
end
if turtle.getItemCount(1) >= 1 then
sleep(0)
else
print("Put atleast one aqueous accumulator in slot 1")
print("once you've put it in type yes")
write (">") input = io.read()
end
if input == "yes" then
term.clear()
else
end
if turtle.getItemCount(2) >= 9 then
sleep(0)
else
print("Put atleast nine fireboxes (liquid or solid fueled) in slot 2")
print("once you've put it in type yes")
write (">") input = io.read()
end
if input == "yes" then
term.clear()
else
end
if turtle.getItemCount(3) >= 36 then
sleep(0)
else
print("Put atleast 36 high pressure boilers in slot 3")
print("once you've put it in type yes")
write (">") input = io.read()
end
if input == "yes" then
term.clear()
else
end
if turtle.getItemCount(4) >= 4 then
sleep(0)
else
print("Put atleast four liquidducts in slot 4")
print("once you've put it in type yes")
write (">") input = io.read()
end
if input == "yes" then
term.clear()
else
end
if turtle.getItemCount(5) >= 4 then
sleep(0)
else
print("Put atleast four steam consumers in slot 5")
print("once you've put it in type yes")
write (">") input = io.read()
end
if input == "yes" then
term.clear()
else
end
if turtle.getItemCount(6) >= 1 then
sleep(0)
else
print("Put atleast one energy bridge in slot 6")
print("once you've put it in type yes")
write (">") input = io.read()
end
if input == "yes" then
term.clear()
else
end
if turtle.getItemCount(7) >= 1 then
sleep(0)
else
print("Put atleast one producer (bc, LV, MV, HV, EV) in slot 7")
print("once you've put it in type yes")
write (">") input = io.read()
end
if input == "yes" then
term.clear()
else
end
term.clear()
print("thats all I need, type go to turn me on")
write (">") input = io.read()
if input == "go" then
term.clear()
print("Starting!")
else
end
select(accumulatorSlot)
w()
w()
place()
turtle.up()
select(fireboxSlot)
fill()
turtle.up()
select(boilerSlot)
fill()
turtle.up()
select(boilerSlot)
fill()
turtle.up()
select(boilerSlot)
fill()
turtle.up()
select(boilerSlot)
fill()
turtle.up()
select(energybridgeSlot)
place()
select(steamconsumerSlot)
w()
place()
s()
a()
place()
d()
d()
place()
a()
s()
place()
select(liquidductSlot)
a()
place()
w()
w()
place()
d()
d()
place()
s()
s()
place()
a()
w()
turtle.up()
select(producerSlot)
place()
print("Done")

2266
Original Programs/Quarry.lua Normal file

File diff suppressed because it is too large Load Diff