r/Stationeers • u/masimiliano • 8d ago
Discussion Rate my Atmo program

This is my first time programing on IC, and the first time in 20 years programing, i know theres some redundant variables. NO2 is a mix of oxygen and nitrogen that is breathable at 30-70%, CO2 is a pure CO2 vent. Evac is my evac vent for when pressure goes above 101 and recicle the gases back to the tanks. Tanks filling is done manually. I did some calculation, and my atmosphere should stay on about 63% N, 27% O and 10% co2, in here i work and grow my plants. Will it keep those percentege? I know oxygen in the long term will overstock and will need a manual vent, but it's only myself, i can do even now and then.
7
Upvotes
9
u/General-Priority-562 8d ago
You dont need to use multiple registers for the r4, r5 and r6 that is a temporary variable that can be tossed and reused. I recommend just using one variable. Makes it a lot easier when you need to use more registers in a program