Commit 6692d78a authored by Nicolas Lenz's avatar Nicolas Lenz
Browse files

Files

parent 647685c0
read alert cell1 0
jump 14 equal alert true
sensor titanium vault1 @titanium
sensor thorium vault2 @thorium
jump 10 lessThan titanium 100
jump 10 lessThan thorium 100
draw clear 0 0 0 0 0 0
draw color 0 255 0 255 0 0
draw poly 40 40 16 30 0 0
jump 17 always
draw clear 0 0 0 0 0 0
draw color 255 255 0 255 0 0
draw poly 40 40 4 35 90 75
jump 17 always
draw clear 0 0 0 0 0 0
draw color 255 0 0 255 0 0
draw poly 40 40 6 34 0 0
drawflush display1
sensor output reactor1 @powerNetOut
sensor coolant tank1 @cryofluid
sensor fuel container1 @blast-compound
jump 14 lessThanEq output 500
jump 10 lessThanEq coolant 200
jump 10 lessThanEq fuel 20
draw clear 0 0 0 0 0 0
draw color 0 255 0 255 0 0
draw poly 40 40 16 30 0 0
jump 17 always
draw clear 0 0 0 0 0 0
draw color 255 255 0 255 0 0
draw poly 40 40 4 35 90 75
jump 17 always
draw clear 0 0 0 0 0 0
draw color 255 0 0 255 0 0
draw poly 40 40 6 34 0 0
drawflush display1
sensor switch switch1 @enabled
jump 6 equal switch true
control enabled reactor1 false
print "Deactivated"
printflush message1
end
control enabled reactor1 true
print "Activated"
printflush message1
sensor heat1 reactor1 @heat
sensor heat2 reactor2 @heat
sensor heat3 reactor3 @heat
sensor heat4 reactor4 @heat
sensor heat5 reactor5 @heat
set alert false
jump 10 lessThanEq heat1 0
control enabled reactor1 false
set alert true
jump 11 always
control enabled reactor1 true
jump 15 lessThanEq heat2 0
control enabled reactor2 false
set alert true
jump 16 always
control enabled reactor2 true
jump 20 lessThanEq heat3 0
control enabled reactor3 false
set alert true
jump 21 always
control enabled reactor3 true
jump 25 lessThanEq heat4 0
control enabled reactor4 false
set alert true
jump 26 always
control enabled reactor4 true
jump 30 lessThanEq heat5 0
control enabled reactor5 false
set alert true
jump 31 always
control enabled reactor5 true
write alert cell1 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment