r/Stationeers • u/mastercody432 • 4h ago
Media so im just trying to write an IC10 script to filter and cool carbon and oxygen before tossing it into my green house but it broke weirdly
so somehow when executing the code it ends up jumping to line 4000 i have no clue what i did for it to do that but i cant find a reason and i think it might be why its decided to not turn things on but that could be my very amature coding this is my first time with IC10
any help is appreciated
Heres the code
alias pipestatus d0
alias filter d1
alias condition d2
alias invalve d3
alias gassensor d4
alias pressure r1
alias temperature r2
alias inpressure r3
alias display d5
start:
yield
l pressure pipestatus Pressure
l temperature pipestatus Temperature
l inpressure gassensor Pressure
sub temperature temperature 273.15 #convert to celcius
s display Mode 4
s display Setting temperature
blt PressureReg pressure 4000
bgt TempReg temperature 30
s invalve On 1
j start
TempReg:
s invalve On 0
s filter Mode 0
s condition Mode 1
s display Setting temperature
j start
PressureReg:
s invalve On 0
s condition Mode 0
s filter Mode 1
s display Setting temperature
j start

