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=3 m=1000 ib=5 t=10 g=0.200 p=0 i=0 x=ib+s u=0 a=50
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 :fbk=(d-i)*f/a 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 @@
if:fcubackward==100then:cruise=10end goto1

View File

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

View File

@@ -0,0 +1,2 @@
if:load<1thengoto1end :ap=1 :gd=1 if:m==0 or :m>3.5thengoto1end
:cg=1 :load=0 :ap=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/100*100 :m1=:mt-c-o i++ goto2
:v2=:vl/s/100*100 :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 @@
: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" 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 @@
k=1000
a=:gd>0 :w1=(:r1<k)*a :w2=(:r2<k)*a :w3=(:r4<k)*a :w4=(:r4<k)*a goto2

View File

@@ -0,0 +1,2 @@
k=1000
a=:gd>0 :w5=(:r5<k)*a :w6=(:r6<k)*a :w7=(:r7<k)*a :w8=(:r8<k)*a goto2

View File

@@ -0,0 +1,2 @@
k=1000
a=:gd>0 :w9=(:r9<k)*a :w0=(:r0<k)*a :wa=(:ra<k)*a :wb=(:rb<k)*a goto2