[1.5.2] Automating the inoculator? Yes!

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

iarspider

New Member
Jul 29, 2019
65
0
0
Are you also tired of having to baby-sit your ExtraBees setup to inoculate all those cool traits on your bees?
Well, no more. With just 2 Gate Reader Turtles and a bit of LUA you can get a 99% automatic way of doing this!
Let me show you how it's done.

Here is the setup:
6PDssp6.png

(the Extra Bees machines are, left to right: Inoculator, Purifier, Synthesizer)
NnkbUUa.png


And here is the code for the "bee" turtle (the one next to the inoculator): http://pastebin.com/gVb7tjWa
and for the "serum" turtle (the other one): http://pastebin.com/6UCZS5Hb

Operating instructions:
  1. Give "serum" turtle a bit of fuel - just enough to get to the charging station
  2. Start the "serum" turtle's program.
  3. Load the "bee" turtle with <= 15 bees
  4. Load Serums (fully charged, perfect quality, <= 16 items) into the chest above the "bee" turtle
  5. Run the program on the Inoculator turtle.
  6. ...
  7. PROFIT!

How this works:
  1. The "bee" turtle will pull serums from the top chest and apply them to the bee. It will loop through all the serums before getting to the next bee
  2. Used serums will go into the middle chest
  3. Once all the serums have been used, it will signal (via MFR rednet cable running below the turtles) the "serum"
    turtle to start refilling the vials.
  4. The "serum" turtle will process all the serums it got from the middle chest. It will first top all the serums off, and then purify them.
  5. Once all the serums are done, the "serum" turtle will put the vials into the top chest, return to it's starting point and signal the "bee" turtle that it can process the next bee.
  6. Once all the bees are done the "bee" turtle's program will stop.

Notes:
  • Please keep the 3 block behind Synthesized and Innoculator and 3 blocks above them clear at all times!
  • Since the Gate Reader peripheral tries to read from every single block around the turtle, I had to use the Charging Station to keep the "serum" turtle running. The alternative is to make the "serum" turtle to only operate the Purifier and add a third turtle to run Synthesizer.
  • The Redstone Energy cells below the machines are optional. These are supposed to help keep the power flowing to the ever-power-hungry machines.
  • You can save a bit of turtle's power by adding a chest above the "serum" turtle's starting location and auto-pumping the items from it to the chest above the "bee" turtle. This will require changing the "serum" code: replace the line 86 with "turtle.dropUp()" and remove lines 81-83 and 88-90.
 

iarspider

New Member
Jul 29, 2019
65
0
0
As far as I can tell, there is no other way (at least, inside Minecraft - you can, of course, do screen-grabbing and mouse emulation, but that is 100% off-topic). The main problem is how to determine the end of the processing. For synthesizer - yes, you can look at the damage value and use a Golem to pull full serums (like DW did for his nuclear reactor in SSP Season 5). But the Purity value is stored as NBT data, and - as far as I know - there is no way to extract it.The code uses an "and" of 3 conditions: machine "is not working", it has "energy stored" and "liquid in tank" (the last one is not used for Inoculator since it has no tank).
 

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
Precise Buses from Applied Energistics will only transfer items if all of their metadata (including NBT data) match those of the item in the filter. So you might be able to automate ExtraBee machines with AE.

Alternatively, a golden autarchic gate on a wooden pipe could detect the same conditions as your turtles look for, and could be used as well. Transferring items between the machines without dropping them would be more difficult, although is probably doable.

Getting serums and bees into the proper slots in the Inoculator might be more difficult, but seeing as you do it without using Inventory Turtles, I assume that it's not too bad.
 

iarspider

New Member
Jul 29, 2019
65
0
0
Precise Buses from Applied Energistics will only transfer items if all of their metadata (including NBT data) match those of the item in the filter. So you might be able to automate ExtraBee machines with AE.
The highlighted part is limiting the setup a bit - you need to put an example of every serum ("chromosome" - the term used by the Forestry, each bee has exactly 11 chromosomes) you may want to use with this setup. My setup doesn't care which chromosome does the serum alter.

Alternatively, a golden autarchic gate on a wooden pipe could detect the same conditions as your turtles look for, and could be used as well.
Did you test it yourself? In my setup (BC 3.7.2, Binnie mods 1.7.0b) none of the gates provide "Is working"/"Is not working" condition. Yeah, and BC pipes suck are a P.I.T.A.
 

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
The highlighted part is limiting the setup a bit - you need to put an example of every serum ("chromosome" - the term used by the Forestry, each bee has exactly 11 chromosomes) you may want to use with this setup. My setup doesn't care which chromosome does the serum alter.
I was referring to the Purifier, mainly. As you said, the purity value is stored in NBT data, so a Precise Bus could extract completely purified serums.

Did you test it yourself? In my setup (BC 3.7.2, Binnie mods 1.7.0b) none of the gates provide "Is working"/"Is not working" condition. Yeah, and BC pipes suck are a P.I.T.A.
I did not test it myself; I now accept the challenge to fully automate a Synthesizer, Purifier, and Inoculator without using ComputerCraft.

A pure AE setup could handle eight serums per Precise/Fuzzy bus. These would have to be set prior to operation, and would be difficult to change after the system has been set up- but do you really need more than eight?
Fastest Worker, Beatific Effect, Diurnal, Nocturnal, Flyer, Cave Dwelling, Temp. Tolerance, Humidity Tolerance. Probably the most important ones.
Even so, there's not much keeping you from placing multiple buses on the machines, or just having multiple sets of them- might be a good idea, actually, because they're slow.

I'll work on it.
 

iarspider

New Member
Jul 29, 2019
65
0
0
I was referring to the Purifier, mainly. As you said, the purity value is stored in NBT data, so a Precise Bus could extract completely purified serums.

A pure AE setup could handle eight serums per Precise/Fuzzy bus. These would have to be set prior to operation, and would be difficult to change after the system has been set up- but do you really need more than eight?
Fastest Worker, Beatific Effect, Diurnal, Nocturnal, Flyer, Cave Dwelling, Temp. Tolerance, Humidity Tolerance. Probably the most important ones.
Even so, there's not much keeping you from placing multiple buses on the machines, or just having multiple sets of them- might be a good idea, actually, because they're slow.
Yes, the purity is stored as NBT data - as well as the chromosome. This setup won't be universal :( Let me explain why this matters. I have 3 uses for the EB setup: (1) prepare bees for breeding (turn a Junk Rocky bee into some other kind and add High Fertility);
(2) give a newly-bred bee High Fertility to speed up extracting the traits (species, mostly) I need; (3) once I breed a useful bee - prepare it for work (lowest fertility, longest lifespan, maximal productivity). For (2) and (3) - sure, one doesn't ever need to change serums. But (1) is all about flexibility.

Also, I prefer "Effect cancellation" over "Beautific" - these particles are annoying. And - do you really need Cave Dwelling trait?

I did not test it myself; I now accept the challenge to fully automate a Synthesizer, Purifier, and Inoculator without using ComputerCraft.

I'll work on it.
I'd love to check it. Extra bonus if it will be universal.[DOUBLEPOST=1374828232][/DOUBLEPOST]
Any chance of a version that uses 3 turtles and some pipes to eliminate the charging station?
Working on it. I may as well replace RedNet cable with RedNet modem
 

Dackstrus

New Member
Jul 29, 2019
173
0
0
You know... I hear about people using turtles to do everything, and since i've never really touched the things, i've this mental image of this like.. Square turtle sitting on it's butt being taught how to do weird complicated things.

When they need to move, a little propeller pops out of the top of their shell, and they just sorta float in a direction. Pulling out little turtle tools to do things with.

Quick, someone update them to look like this...
 
  • Like
Reactions: iarspider

iarspider

New Member
Jul 29, 2019
65
0
0
Here is the alternative design that uses 3 turtles (Wireless Gate Reader this time):
w6cWrNm.png

vYEl51c.png


Programs:

Setup:
  • Put the following code in the "startup" file of Synthesizer turtle:
    Code:
    shell.run("serumTest3", "Refill")
    (assuming that you've named the program "serumTest3")
  • Put the following code in the "startup" file of Purifier turtle:
    Code:
    shell.run("serumTest3", "Purify")
    (assuming that you've named the program "serumTest3")

Operating instructions:
  1. The Synthesizer and Purifier turtles should have started up automatically
  2. Load the "bee" turtle with <= 15 bees
  3. Load Serums (fully charged, excellent quality, <= 16 items) into the chest labeled "Serums go here"
  4. Run the program on the Inoculator turtle. If everything went fine, red lamp should turn on
  5. ...
  6. Once the green lamp goes on, grab your PROFIT!
 

iarspider

New Member
Jul 29, 2019
65
0
0
OK, with the new release of BinnieMods automating these machines it is now a child's play. Now I can focus on a more interesting task - making a Serum library. I've got some neat ideas how to do it using OpenPeripherals...
 

iarspider

New Member
Jul 29, 2019
65
0
0
Updated my setup to ExtraBees (binnieMods) 1.7.2.
Updated programs:

Since one can no longer pull serum from the side, I had to remove the lights and replace them with pipes to pull the serum out (2 Iron And gates, 1 Wooden Transport pipe, 1 golden Transport pipe).

Also, since Innoculation now uses <= 2 charges per bee, I've changed the code to try and process as many bees as possible without refilling the Vial - that is, 6 bees at a time.
 

Infallible83

New Member
Jul 29, 2019
137
0
0
I see a couple of people in this thread asking for an approach that doesnt use CC (Although some obviously in jest).

I assumed that this was not possible because I believed (maybe incorrectly) that it is not possible to input/output serums into/outof an Innoculator. Is there a simple trick I am missing?

I would love to be able to set up 4/5 key serums that I want to give to all my bees and create a system that allows me to simply dump bees into one chest and collect them form another fully jazzed up and ready to run mayhem in my alveraies.

Infallible
 

iarspider

New Member
Jul 29, 2019
65
0
0
I see a couple of people in this thread asking for an approach that doesnt use CC (Although some obviously in jest).

I assumed that this was not possible because I believed (maybe incorrectly) that it is not possible to input/output serums into/outof an Innoculator. Is there a simple trick I am missing?

I would love to be able to set up 4/5 key serums that I want to give to all my bees and create a system that allows me to simply dump bees into one chest and collect them form another fully jazzed up and ready to run mayhem in my alveraies.

Infallible
I'm not sure if your belief was true, but - for me - the problem was telling if the machine (any of 3) finished it's work. Since Binnie added BC triggers a version or 2 ago, it is now easy to make a non-CC setup for that.
 

Infallible83

New Member
Jul 29, 2019
137
0
0
I'm not sure if your belief was true, but - for me - the problem was telling if the machine (any of 3) finished it's work. Since Binnie added BC triggers a version or 2 ago, it is now easy to make a non-CC setup for that.

Are you just building suspense? Do you know a way of inputting/outputting a serum without CC? (Tried ME, tried BC pipes, tried golems)

My desire for knowledge is killing me.
 

iarspider

New Member
Jul 29, 2019
65
0
0
Are you just building suspense? Do you know a way of inputting/outputting a serum without CC? (Tried ME, tried BC pipes, tried golems)

My desire for knowledge is killing me.
Serum: Insert side any, remove side Top/Bottom.[DOUBLEPOST=1376407861][/DOUBLEPOST]This is for 1.7.2, I used to be able to put/pull everything from the side.
 

Infallible83

New Member
Jul 29, 2019
137
0
0
Serum: Insert side any, remove side Top/Bottom.

Clearly I am missing a trick, I was pretty sure I tried extensively. Are you talking about the Inoculator?

When I hooked a pipe or bus it only pulled out finished bees. (Although it is work pointing out I am pretty stupid and there is every chane that I didnt try the top/bottom).

I shall have to try as soon as I get home.