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,19 @@
s=10 m=1000 ib=5 t=20 g=0.200 p=0 i=0 x=ib+s u=0
if:Ap*(:M<m)then:Range=1 goto3+:insideSafeZone end goto1
Kp=0.035 Ki=0.001 Kd=5.0 h=0.50 l=1-h p=:M-s goto5 //NSZ
Kp=0.056 Ki=0.001 Kd=5.4 h=0.50 l=1-h p=:M-s goto5 //SZ
e=:M-s d=(p-e)*Kd*h+d*l i+=e*Ki*(:M<x) o=Kp*e+i f=u/t u+=u<t p=e
z/=:Ap*(:M<m)*(d*d>g+e*e>1) :fcuforward=o*f :fcubackward=(d-i)*f goto5
if(d*d>g+e*e>1)==0then:Ap=0end :fcuforward=0 :fcubackward=0 goto1
//Improved PID - Approximated Profiled Motion PID - VER 1.1
// by: Darkyshadow
// github.com/GameName-Darkyshadow/Starbase
// tips by in game mail are not necessary but appreciated
// Tuning Parameters explained on Github with Manual
//Large Ship Example Tunings
//Kp=0.056 Ki=0.001 Kd=5.4 h=0.50 //t=20 //Super Conservative
//Kp=0.080 Ki=0.001 Kd=5.8 h=0.50 //t=20 //Conservative
//Medium Ship Example Tunings
//Kp=0.090 Ki=0.001 Kd=5.8 h=0.98 //t=10 //Medium Aggressive

View File

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

View File

@@ -0,0 +1,5 @@
if:load<1thengoto1end :Approach=1 :Scan=1
if:cb2<1then:load2=1 goto5end if:cb5<1then:load5=1 goto5end
if:cb1<1then:load1=1 goto5end if:cb6<1then:load6=1 goto5end
if:cb3<1then:load3=1 goto5end if:cb4<1then:load4=1 goto5end
:load=0 goto1

View File

@@ -0,0 +1,3 @@
if:load2<1thengoto1end if:cb2>0then:load2=0 :tb2=0 goto1end :tb2=1
if:tb2_loc<1thengoto1end :tb2_pos=4 :Approach=0
if:tb2_for>100thengoto3end :cb2=1 :tb2=0 :load2=0 goto1

View File

@@ -0,0 +1,3 @@
if:load3<1thengoto1end if:cb3>0then:load3=0 :tb3=0 goto1end :tb3=1
if:tb3_loc<1thengoto1end :tb3_pos=4 :Approach=0
if:tb3_for>100thengoto3end :cb3=1 :tb3=0 :load3=0 goto1

View File

@@ -0,0 +1,3 @@
if:load1<1thengoto1end if:cb1>0then:load1=0 :tb1=0 goto1end :tb1=1
if:tb1_loc<1thengoto1end :tb1_pos=4 :Approach=0
if:tb1_for>100thengoto3end :cb1=1 :tb1=0 :load1=0 goto1

View File

@@ -0,0 +1,3 @@
if:load5<1thengoto1end if:cb5>0then:load5=0 :tb5=0 goto1end :tb5=1
if:tb5_loc<1thengoto1end :tb5_pos=4 :Approach=0
if:tb5_for>100thengoto3end :cb5=1 :tb5=0 :load5=0 goto1

View File

@@ -0,0 +1,3 @@
if:load4<1thengoto1end if:cb4>0then:load4=0 :tb4=0 goto1end :tb4=1
if:tb4_loc<1thengoto1end :tb4_pos=4 :Approach=0
if:tb4_for>100thengoto3end :cb4=1 :tb4=0 :load4=0 goto1

View File

@@ -0,0 +1,3 @@
if:load6<1thengoto1end if:cb6>0then:load6=0 :tb6=0 goto1end :tb6=1
if:tb6_loc<1thengoto1end :tb6_pos=4 :Approach=0
if:tb6_for>100thengoto3end :cb6=1 :tb6=0 :load6=0 goto1

View File

@@ -0,0 +1,5 @@
s=1728 o=" Ore" c=" Crystal" i=0 if:scan<1thengoto1end :scn=1 :vt=0
ifi<:sr then:ix=i :vt+=:vl goto3+i end ifi>0thengoto5end goto1
:v1=:vl/s :m1=:mt-c-o i++ goto2
:v2=:vl/s :m2=:mt-c-o i++ goto2
:scan=0 :reset=1 goto1

View File

@@ -0,0 +1,12 @@
p="\n" q=p+p s=" stks"+q k="k" a="Ajatite" b="Bastium" c="Charodium"
i="Ice" n="Nhurgite" v="Valkite" o="Vokarium" ab="Aegisium"
ac="Exorium" r=q+"NO RESULT" u=1000 d=.544 e=.87 f=3.81 g=.816
h=2.721 j=.544 l=.979 m=1.588 ad=2.503 ae=4.354
if:m1=="" or :m2==""thengoto11end if:vt<1thengoto12end
:Material=q+:m1+p+:v1+s+:m2+p+:v2+s x=:m1 y=:m2 z=x==a w=x==i
cr=:v1*(z*d+w*g+(x==v)*j)
cr+=:v2*((y==b)*e+(y==c)*f+(y==n)*h+(y==o)*l+(y==ab)*ad+(y==ac)*ae)
t=:vt/u cr*=m :Credits=p+cr+k+q+"Volume:"+p+t+"Mv" goto5
:Material=r :Credits=r goto5
aa=q+"Scanning..." :Material=aa :Credits=aa goto5

View File

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

View File

@@ -0,0 +1,2 @@
:Sensitivity=(:Sensitivity+:sss)*(:Sensitivity>=0)-:Sensitivity>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" p="Clear panel value to reset" 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:Timer==""then:ts=0 z=n+n+g end :Timer=z
t=:ts 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+p :ts++ goto3
// Outputs:
// :Timer - Global for text panel
// Inputs:
// :ts - store timer in seconds, put in memory chip or device

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,2 @@
if:unload<1thengoto1end :cb1=0 :cb2=0 :cb3=0 :cb4=0 :cb5=0 :cb6=0
:unload=0 goto1