Integrated Dynamics - Set flag

  • 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
A

Anton_

Guest
Is there a way of doing this? I know I can pipe a boolean into the Materialiser to carve it in stone, but that seems clunky.

I'm playing along with DW20's LP S9, currently on Ep64, and also using Integrated Dynamics to automate Deep Resonance.

I'm doing my setup slightly differently, mainly because waiting for re-purification after each Nether Star blast is really slow - % increments seem to take progressively longer as purity approaches 85%.

I want to set a flag near the start, to the effect that "we've now got 6 buckets of RCL, and filters have purified to 85%, so set a non-dynamic flag to signify that we don't have to check for purification < 85% again". If that flag is true, and strength% and efficiency% are <100, then keep throwing Nether Stars at it - i.e., ignoring purity%. Purity will drop, but not to zero, and when strength% and efficiency% are = 100, stop the Nether Star laser and, when purity has risen to 85% again, run the Emerald laser until purity% = 100.

That thus produces two sustained laser blasts - a Nether Star blast to get Strength & Efficiency up to 100%, then wait for filters to push Purity up to 85%, and then an Emerald blast to get Purity up to 100%.

Purity% = 100 should then reset the flag.
 

philomelus

New Member
Jul 29, 2019
7
0
0
Did you ever get an answer to this? I have something slightly different, but needing the same style logic.

I want to essentially emulate EnderIO's power monitor.

At power storage (order important):
if refilling flag is true, then if power >= topoff, clear refilling flag
if refilling flag is false, then If power < threshold, set refilling flag

At power generator(s):
if refilling is true, set redstone to 15
if refilling is false, set redstone to 0

This allows me to detect when the power stored is below "threshold", and then start generators until it reaches at least "topoff". For example, I'm using mekanism's gas burner's which generate 7900 rf/t (there are two currently). My power storage (from mekanism as well) stores 5900000000 RF (5.9 GRF). I want a threshold of 1.25 GRF, and a topoff of 5.8 GRF. At 15.8KRF/t, it won't take that long. What I don't want is the generators kicking on and off every few ticks or seconds.
 

philomelus

New Member
Jul 29, 2019
7
0
0
Well got to the same problem, and after a while trying to find the answer on the internet, I simply couldn't find one, but I got to a solution after playing a bit with it. It's actually emulating the EnderIO's Power Monitor

https://www.twitch.tv/videos/348660955

Thanks for the update! That's a much simpler solution than I came up with, and of course seems obvious once I saw it (for anyone who does much vanilla redstone, anyway).

For anyone else, he used a redstone block between two pistons to keep track of the state. Watch the video, it's worth the time.
 
Last edited: