Starbase/Banshee/Right/System protect 1.YOLOL
2024-05-09 14:05:30 -07:00

14 lines
742 B
Plaintext

i="\n" j="System OK" k="Problem:" s1="System 1" s2="System 2"
du="Durability" sy="System STOP" co="Cockpit" sp="Spd Protect"
a=0 b=0 c=0 d=0 e=0 f=0
if :gm==0 then gm=0 end a=1
if :ore==0 then ore=0 end b=1
if :wave==0 or :sound==0 or :rng==0 or :mat==0 then wave=0 end c=1
if :SI==0 then spd=0 end d=1
e=1-:STOP f=(:dura==0) h=a+b+c+d+e+f
if h==6 then :ChipWait=0 :Protect=i+j goto1 else :ChipWait=-1 end
:fcuforward=0 :fcuf=0 :Protect="" :Protect+=i+k :animation=0
if a==0 then :Protect+=i+s1 end if b==0 then :Protect+=i+s2 end :wrd=1
if c==0 then:Protect+=i+co end if d==0 then:Protect+=i+sp end :light=0
if e==0 then :Protect+=i+sy end if f==0 then :Protect+=i+du end
m=i+"Error !!"+:protect :status=m :power=m :fuel=m :location=m goto3