fix folders

This commit is contained in:
Zan
2024-05-09 16:07:27 -07:00
parent cfa8289330
commit 829c151baf
1959 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
k=1000 h=100 if:tow<1then:autogen=0 goto1end if:autogen<1thengoto1end
e=:mass/k/k/15*h/k*k ife<1then:autogen=0 goto1end ife>h thene=h end
:mineps=e :min_eps=1 :autogen=0 goto1

View File

@@ -0,0 +1,20 @@
if:AutoPilot<1 and :Nav<1theng=0 f=0 goto1end ap=:AutoPilot
r=20 pt=15 yt=15 ep=1.05 ed=5000 et=5000 t=:Turtle :Cruise=0
ifg>0then:Avoidance=1else:Avoidance=0end
xD=:wx-:ex yD=:wy-:ey zD=:wz-:ez Dt=sqrt(xD^2+yD^2+zD^2)
iff<1thenx0=:ex y0=:ey z0=:ez Do=Dt f=1 r=0end
da=sqrt((:ex-x0)^2+(:ey-y0)^2+(:ez-z0)^2) d0=d1 d1=Dt v1=d0-d1
dx=(Do-da)*ep+ed ifDt>dx or :cas>0thens=1 :cas=0end
ifs>0then:FCUForward=0 ifabs v1<15thenf=0 g=0 s=0 goto1endend
e=10^6 ds=e*sqrt((:fx-:ex)^2+(:fy-:ey)^2+(:fz-:ez)^2) Dd=ds/Dt
xs=:ex+Dd*xD/e ys=:ey+Dd*yD/e zs=:ez+Dd*zD/e vr=xs-:fx vs=ys-:fy
vt=zs-:fz vj=:gx-:ex vk=:gy-:ey vl=:gz-:ez va=:fx-:ex vb=:fy-:ey
vc=:fz-:ez vx=vk*vc-vb*vl vy=-(vj*vc-va*vl) vz=vj*vb+va*vk
pj=vr*vj+vs*vk+vt*vl px=vr*vx+vs*vy+vz*vt a=pj>-r b=px>-r c=pj<-r
n="\n" :dd=Do-da+n+Dt+n+v1+"\npj:"+pj+" px:"+px+" r:"+r+" g:"+g d=pj>r
ifDt<et then:AutoPilot=0 :FCUForward=0end ifg>0thengoto1end h=pj<r
ifa*h*b*(px<r)theng=ap :FCUForward=t*ap :Nav=0 goto1end j=px>r k=px<-r
ifc then:FcuRotationalPitch=pt end ifd then:FcuRotationalPitch=-pt end
ifj then:FcuRotationalYaw=yt end
ifk then:FcuRotationalYaw=-yt end goto1
// Original by fixerid

View File

@@ -0,0 +1,3 @@
n="\n" :target=n+n+"X: "+:wx+n+"Y: "+:wy+n+"Z: "+:wz
if:load_ap<1thengoto1end
:wx=:nx :wy=:ny :wz=:nz :load_ap=0 goto1

View File

@@ -0,0 +1,13 @@
a="origin_" b=a+"north" c=a+"south" d=a+"east" :kt=b goto2
a+="west" e=160000 f=8*e g=f*3/13 h=2*e i=h*13/19 j=f*3/19 k=h*13/3
l=1000000 m=l-:ke m*=m n=l-:kf n*=n o=l-:kg o*=o :kt=c
p=q r=s t=u
v=l-:ke v*=v w=l-:kf w*=w x=l-:kg x*=x :kt=d
:ex=(m+v)/f+y/g-z/j :ey=v/h-m/i+(y+z)/k :ez=(y+z-m-v)/e
y=l-:ke y*=y q=l-:kf q*=q s=l-:kg s*=s :kt=a
:fx=(n+w)/f+p/g-aa/j :fy=w/h-n/i+(p+aa)/k :fz=(p+aa-n-w)/e
z=l-:ke z*=z aa=l-:kf aa*=aa u=l-:kg u*=u :kt=b
:gx=(o+x)/f+r/g-t/j :gy=x/h-o/i+(r+t)/k :gz=(r+t-o-x)/e goto3
// based on ISAN v2.5 by Collective
// Compass by Firestar99

View File

@@ -0,0 +1 @@
:BackupRods=(:BackupRods+:brs)*(:BackupRods>=0)-:BackupRods>:mbr goto1

View File

@@ -0,0 +1,4 @@
n="\n" a="h" b="m" c="s" k="km" e="\n\nDistance:\n" p=300000
s=t%60 m=(t-s)%3600/60 h=(t-m*60-s)/3600 d=:sp*t/1000
:WithBackup=h+a+m+b+(s-s%1)+c+e+d+k f=:Fuel :bcw=19
t=(:Fuel+:BackUpRods*p)/((f-:Fuel)/4) goto2

View File

@@ -0,0 +1 @@
if:cbt<1thengoto1end :tow=0 :tp4=:RP/3 if:tp4<5then:tp4=5end goto1

View File

@@ -0,0 +1 @@
if:cbt<1thengoto1end :tow=0 :mnp=10 :tr4=:RY/3+180*(:ch==180) goto1

View File

@@ -0,0 +1 @@
if:tow<1 or :ch!=0thengoto1end :combat=0 :mnp=-90 :tp3=:RP/4.5 goto1

View File

@@ -0,0 +1 @@
if:tow<1 or :ch!=0thengoto1end :combat=0 :tr3=:RY/4.5 goto1

View File

@@ -0,0 +1 @@
if:fcubackward==100then:cruise=10end goto1

View File

@@ -0,0 +1 @@
:GenRate=:MinEPS*(:Min_EPS>0)+(10000-:Battery)/50 goto1

View File

@@ -0,0 +1 @@
if:cbt<1thengoto1end :lasers=0 :tr1=:RP/4.5 :tr2=:tr1 goto1

View File

@@ -0,0 +1 @@
if:cbt<1thengoto1end :lasers=0 :tp1=:RY/4.5 :tp2=-:tp1 goto1

View File

@@ -0,0 +1 @@
if:lasers<1thengoto1end :combat=0 :tr1=:RP/4.5 :tr2=:tr1 goto1

View File

@@ -0,0 +1 @@
if:lasers<1thengoto1end :combat=0 a=:RY/4.5 :tp1=a-:o :tp2=-a-:o goto1

View File

@@ -0,0 +1 @@
:offset=(:offset+:oss)*(:offset>=0)-:offset>20 goto1

View File

@@ -0,0 +1,4 @@
n="\n" a="h" b="m" c="s" k="km" e="\n\nDistance:\n"
s=t%60 m=(t-s)%3600/60 h=(t-m*60-s)/3600 d=:sp*t/1000
:FuelTime=n+h+a+m+b+(s-s%1)+c+e+d+k f=:Fuel :fcw=19
t=:Fuel/((f-:Fuel)/4) goto2

View File

@@ -0,0 +1 @@
if:isan_reset then:_="" :isan_reset=0end goto1

View File

@@ -0,0 +1,4 @@
n="\n" q=n+n s=1728 k=" stks"+q o=" Ore" c=" Crystal" d="Scanning..."
i=0 r=q if:scr<1then:scan=q+"SCANNER OFF" goto2end :scn=1 r+=d t=q
ifi<:sr then:ix=i a=:vl/s/100*100 b=:mt-c-o t+=b+n+a+k i++ goto3end
ift!=q thenr=t end :scan=r goto2

View File

@@ -0,0 +1 @@
:MinEPS=(:MinEPS+:mes)*(:MinEPS>=0)-:MinEPS>100 goto1

View File

@@ -0,0 +1,5 @@
n="\n" k=1000 u="km" t="Trip:"+n
if:odo_res>0then:odometer=n+"Reseting..." :odo_t=0end
s=:sp :odo_l+=s/k :odo_t+=s/k
if:Odometer==""thengoto1end :Odometer=n+:odo_l+u+n+n+t+:odo_t+u+n
goto1

View File

@@ -0,0 +1,4 @@
n="\n" a="h" b="m" c="s" k="km" e="\n\nDistance:\n" t=0
s=t%60 m=(t-s)%3600/60 h=(t-m*60-s)/3600 d=:sp*t/1000
:PropTime=n+h+a+m+b+(s-s%1)+c+e+d+k p=:Propellant :pcw=19
t=:Propellant/((p-:Propellant)/4) goto2

View File

@@ -0,0 +1,16 @@
a=" Message of the Day!" b=" ==================="
if:loadmotd<1thengoto10end :mc=1 :mc2=1 :loadmotd=0 :mtx=:motdtext
goto2
:msl=1 :my=2
:ms=5 :mox1=0 :mox2=5 :mox3=10 :mox4=15 :mox5=20 :motd=a :my=3 :motd=b
:msl=1 :my=4
:ms=5 :mox1=0 :mox2=5 :mox3=10 :mox4=15 :mox5=20 :moy=2 :motd=:mtx
:motd2=:mtx
:msl=1 goto2

View File

@@ -0,0 +1 @@
:mcl=(:mcl+:mcs)*(:mcl>=0)-:mcl>360 goto1

View File

@@ -0,0 +1,20 @@
if:loadtitle<1thengoto10end :tc=1 :ts=:tss+2 a=:ts :tox1=0
:tox2=a :tox3=2*a :tox4=3*a :tox5=4*a :loadtitle=0 :ta=:tas
:tt=:titleText b=:tt c=0 goto1
:title=:tt goto14+:ta*3
b-- :tox1++ :tox2++ :tox3++ :tox4++ :tox5++ goto13 // scroll
a=:ts b=:tt :tox1=0 :tox2=a :tox3=2*a :tox4=3*a :tox5=4*a goto1
c++ d=24-:ts*5 ifc>=d thenc=0 goto12end goto1
goto1 // static
:tc=1 // blink
:title=:tt goto1

View File

@@ -0,0 +1 @@
:tcl=(:tcl+:tcs)*(:tcl>=0)-:tcl>360 goto1

View File

@@ -0,0 +1 @@
:sense=(:sense+:sss)*(:sense>=0)-:sense>100 goto1

View File

@@ -0,0 +1,2 @@
if:sloth<1then:sense1=100 :sense2=-100 goto1end
:sense1=:sensitivity :sense2=-:sensitivity goto1

View File

@@ -0,0 +1,12 @@
n="\n" q="y" j="w" k="d" l="h" o="m"
u="s" g="Reseting..." a=60 b=a*a c=b*24 e=c*7 f=c*365 x=1000
if:t_res>0then:tr=0 z=n+n+g end :Timer=z
t=:tr s=t%a t-=s m=t%b/a t-=m*a h=t%c/b t-=h*b d=t%e/c t-=d*c w=t%f/e
t-=w*e y=t/f z=n ify>0thenz+=y+q end r=w%1 d+=r*7 ifd>6thenw++ d-=7end
ifw>0thenz+=w/x*x+j end v=d%1 ifv==0.999thend+=0.001end // rounding
ifd>0thenz+=d+k+n elsez+=n end z+=h+l+m+o+s+u+n+n :tr++ goto3
// Outputs:
// :Timer - Global for text panel
// Inputs:
// :tr - store timer in seconds, put in memory chip or device

View File

@@ -0,0 +1 @@
if:cbt<1then:mnp=0 goto1end :tp5=:RP/3 if:tp5<5then:tp5=5end goto1

View File

@@ -0,0 +1,2 @@
a=180
if:cbt<1thengoto1end :mnp=10+10*(:ch==0) :tr5=:RY/3+a*(:ch==a) goto2

View File

@@ -0,0 +1 @@
:fuel=:f1+:f2+:f3+:f4+:f5+:f6+:f7+:f8+:f9+:f10+:f11+:f12 goto1

View File

@@ -0,0 +1,2 @@
s=3 if:Ping<1thengoto1end i=0 :ponder=1 :idBlink=1
ifi<s*5theni+=1 goto2end :Ping=0 :idBlink=0 :ponder=0 goto1

View File

@@ -0,0 +1 @@
if:Turtle<100then:Turtle=:TurtleRate end goto1

View File

@@ -0,0 +1 @@
:TurtleRate=(:TurtleRate+:trs)*(:TurtleRate>=0)-:TurtleRate>100 goto1

View File

@@ -0,0 +1 @@
a=:fire*(:wm>-1) :fire1=a*(:w1==100) :fire2=a*(:w2==100) goto1

View File

@@ -0,0 +1 @@
a=:fire*(:wm<1) :fire4=a*(:w4==100) :fire5=a*(:w5==100) goto1

View File

@@ -0,0 +1 @@
a=:lh1 :h31=a>0 :h32=a>200 :h33=a>400 :h34=a>600 :h3b=:h34 goto1

View File

@@ -0,0 +1 @@
a=:lh2 :h41=a>0 :h42=a>200 :h43=a>400 :h44=a>600 :h4b=:h44 goto1

View File

@@ -0,0 +1 @@
a=:rh1 :h11=a>0 :h12=a>200 :h13=a>400 :h14=a>600 :h1b=:h14 goto1

View File

@@ -0,0 +1 @@
a=:rh2 :h21=a>0 :h22=a>200 :h23=a>400 :h24=a>600 :h2b=:h24 goto1

View File

@@ -0,0 +1,2 @@
b=1250 c=2500 d=3750 e=1251
a=:lp1 :p31=a>0 :p32=a>b :p33=a>c :p34=a>d :p3b=a<e goto2

View File

@@ -0,0 +1,2 @@
b=1250 c=2500 d=3750 e=1251
a=:lp2 :p41=a>0 :p42=a>b :p43=a>c :p44=a>d :p4b=a<e goto2

View File

@@ -0,0 +1,2 @@
b=1250 c=2500 d=3750 e=1251
a=:rp1 :p11=a>0 :p12=a>b :p13=a>c :p14=a>d :p1b=a<e goto2

View File

@@ -0,0 +1,2 @@
b=1250 c=2500 d=3750 e=1251
a=:rp2 :p21=a>0 :p22=a>b :p23=a>c :p24=a>d :p2b=a<e goto2

View File

@@ -0,0 +1,18 @@
if(:lch+:h1+:h2+:h3+:h4)<401then:sfy=1 goto1end :sfy=0 goto10+:ls*7
:l1=1 :s1+=1-5*(:s1==5)
z/=:launch==0 goto1
:l3=1 :s3+=1-5*(:s3==5)
z/=:launch==0 goto1
:l2=1 :s2+=1-5*(:s2==5)
z/=:launch==0 goto1
:l4=1 :s4+=1-5*(:s4==5) goto1+2*:launch
:l1=1 :l3=1 :s1+=1-5*(:s1==5) :s3+=1-5*(:s3==5)
z/=:launch==0 goto1
:l2=1 :l4=1 :s2+=1-5*(:s2==5) :s4+=1-5*(:s4==5) goto1+9*:launch
:l1=1 :l3=1 :l2=1 :l4=1 :s1+=1-5*(:s1==5) :s3+=1-5*(:s3==5)
:s2+=1-5*(:s2==5) :s4+=1-5*(:s4==5) goto1+16*:launch

View File

@@ -0,0 +1,13 @@
l="Locked" if:lch thengoto1end a=0 b=0 c=0 d=0
e=:s1 :s1=1 a+=:ms1==l :s1=2 a+=:ms1==l z/=:lch :s1=e goto1
:s1=3 a+=:ms1==l :s1=4 a+=:ms1==l :s1=5 a+=:ms1==l z/=:lch :s1=e goto1
:m1=a :s1=e z/=:lch goto1
f=:s2 :s2=1 b+=:ms2==l :s2=2 b+=:ms2==l z/=:lch :s2=f goto1
:s2=3 b+=:ms2==l :s2=4 b+=:ms2==l :s2=5 b+=:ms2==l z/=:lch :s2=f goto1
:m2=b :s2=f z/=:lch goto1
g=:s3 :s3=1 c+=:ms3==l :s3=2 c+=:ms3==l z/=:lch :s3=g goto1
:s3=3 c+=:ms3==l :s3=4 c+=:ms3==l :s3=5 c+=:ms3==l z/=:lch :s3=g goto1
:m3=c :s3=g z/=:lch goto1
h=:s4 :s4=1 d+=:ms4==l :s4=2 d+=:ms4==l z/=:lch :s4=h goto1
:s4=3 d+=:ms4==l :s4=4 d+=:ms4==l :s4=5 d+=:ms4==l z/=:lch :s4=h goto1
:m4=d :s4=h goto1