This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Joeld98's profile picture

react - Big Reactor Builder

Started by Joeld98, 24 September 2016 - 01:11 PM
Joeld98 #1
Posted 24 September 2016 - 03:11 PM
REACT - build a Big Reactors solid coolant reactor to your specified dimensions.

The code is located here: http://pastebin.com/Qe4BKwWj

You can install it on your turtle with: pastebin get Qe4BKwWj react


You will need these mods installed:
ComputerCraft
openCCsensors
Big Reactors mod
Iron Chests or similar mod that allows chests to be placed next to each other without forming a double chest. (Iron Chests and Alchemical chests have been tested)


Setup:
1) Deploy GPS Satellites (http://www.computerc...osition-system/)
2) Clear the build area for the reactor size you want to build plus room for supply chests.
3) Place an advanced Mining Turtle with wireless modem on the front left corner where you want your reactor built.
Make sure you "label set name" your turtle in case you need to restart.
4) Place Fuel in slot one of the turtle.
5) Place (15) Chests, (1) sensor, (1) Mk.4 Inventory Card, (1) cobblestone, (1) reactor casing, (1) reactor glass, (3) yellorium fuel rod, (3) solid coolant (Iron,Gold,Diamond or Emerald block), (1) reactor controller, (1) reactor access port, (1) reactor control rod and optionally (1) reactor computer port in the remainind turtle slots
6) Run "react setup". The turtle will place the supply chests and "seed" them with the supplies to load
7) Load the respective chests with enough reactor parts for your build.
You can use "react calc x y z" to write the supplies you will need to requiredsupplies.dat
8) Run "react build x y z" to build your reactor or "react build x y z yes" to build with a computerPort installed.
9) Monitor your build. By default the turtle will pause between levels. You can turn this off by setting pauseBetweenLevels = false

Key Features:

A* Pathfinding (after initial setup)
Inventory Check to ensure materials are onhand to complete the levels
resume command to resume a failed level build. (Useful when running on hosted server that may restart)

This is released under an MIT license.

All testing was done on the Tekkit Legends pack locally hosted and devcoftb.com servers.

Let me know what you think. This is my first released ComputerCraft program (any program really). I would appreciate your feedback and suggestions to optimize the code.

Update 12/10/2016 (Finally got around to posting screenshots)

Testing screenshots:
A* Test Bed to test turtle path finding
Spoiler

Even Test
Spoiler

Odd Test

Spoiler

Tall Test

Spoiler


Wide Test

Spoiler

Tall test almost finished

Spoiler


Tall test last Block

Spoiler

Max size build on DevCo FTB Tekkit Legends US



Spoiler
Edited on 10 December 2016 - 03:54 PM
Joeld98 #2
Posted 10 December 2016 - 04:56 PM
Finally got around to posting screenshots of the reactors being built