you can instead use a lower bound of volatiles to accept inside the base which is small enough to not be harmful but not 0, that will speed it up immensely.
You’re right, however I think Elmo is demonstrating internal state loops by modifying a well known use case. This could also be used in a “low power mode” vs “normal power mode”. In “low power” you turn off everything not needed, start the generators, & loop until you get the battery level you want then jump back to normal power.
@@ratchet1freak You could also use the portable scrubber (using a wireless battery and tank connector) as it allows for filtered gas removal from a room.
Missing one thing, an initialization state just in case the power goes out and the code resets while the door is open into the greenhouse. If the power gets restored both doors close first, pulls a vacuum and go to the first stage. Safety second right?
@@Elmotrix have had code restart on cutting a powerline while rewiring and also when loading back into the game. I agree it shouldn't happen but sometimes it bugs and does.
You are very good at walking through coding, thanks for the video.
40 seconds to filter the air is quite a long time compared to just vacuuming out the room.
you can instead use a lower bound of volatiles to accept inside the base which is small enough to not be harmful but not 0, that will speed it up immensely.
You’re right, however I think Elmo is demonstrating internal state loops by modifying a well known use case. This could also be used in a “low power mode” vs “normal power mode”. In “low power” you turn off everything not needed, start the generators, & loop until you get the battery level you want then jump back to normal power.
@@ratchet1freak You could also use the portable scrubber (using a wireless battery and tank connector) as it allows for filtered gas removal from a room.
Missing one thing, an initialization state just in case the power goes out and the code resets while the door is open into the greenhouse.
If the power gets restored both doors close first, pulls a vacuum and go to the first stage.
Safety second right?
the code doesn't restart on a power outage :)
@@Elmotrix have had code restart on cutting a powerline while rewiring and also when loading back into the game.
I agree it shouldn't happen but sometimes it bugs and does.
Hell yeah, more coding, please!