This commit is contained in:
Zan
2024-05-10 10:43:54 -07:00
parent 829c151baf
commit 7b16bc9bbd
35 changed files with 488 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
mn=20 mx=100 stp=20 if:td then goto2end if:ti then goto3end goto1
a=(:turtle-stp)<mn :turtle=(:turtle-stp)*(1-a)+mn*a goto1
a=(:turtle+stp)>mx :turtle=(:turtle+stp)*(1-a)+mx*a goto1
// :turtle = Turtle Button
// :ti = Turtle Increase Button
// :td = Turtle Decrease Button

View File

@@ -0,0 +1,20 @@
mn=5 mx=90 stp=5 if:sld then goto2end if:sli then goto3end goto1
a=(:sleep-stp)<mn :sleep=(:sleep-stp)*(1-a)+mn*a goto1
a=(:sleep+stp)>mx :sleep=(:sleep+stp)*(1-a)+mx*a goto1
// :sleep = Sleep Timer
// :sli = Sleep Increase Button
// :sld = Sleep Height Decrease Button

View File

@@ -0,0 +1,20 @@
mn=2 mx=30 stp=1 if:hhd then goto2end if:hhi then goto3end goto1
a=(:hover-stp)<mn :hover=(:hover-stp)*(1-a)+mn*a goto1
a=(:hover+stp)>mx :hover=(:hover+stp)*(1-a)+mx*a goto1
// :hover = Hover Height
// :hhi = Hover Height Increase Button
// :hhd = Hover Height Decrease Button

View File

@@ -0,0 +1,20 @@
mn=.1 mx=.3 stp=.001 if :tsd then goto2end if :tsi then goto3end goto1
a=(:ts-stp)<mn :ts=(:ts-stp)*(1-a)+mn*a goto1
a=(:ts+stp)>mx :ts=(:ts+stp)*(1-a)+mx*a goto1
// :depth = Shortest RF Depth
// :mdi = Mining Depth Increase Button
// :mdd = Mining Depth Decrease Button

View File

@@ -0,0 +1,20 @@
mn=1000 mx=6000 stp=1000 if:cd then goto2end if:ci then goto3end goto1
a=(:collectors-stp)<mn :collectors=(:collectors-stp)*(1-a)+mn*a goto1
a=(:collectors+stp)>mx :collectors=(:collectors+stp)*(1-a)+mx*a goto1
// :collectors = Collectors Power
// :ci = Collectors Power Increase Button
// :cd = Collectors Power Decrease Button

View File

@@ -0,0 +1,20 @@
mn=5 mx=100 stp=5 if :csd then goto2end if :csi then goto3end goto1
a=(:crawlspeed-stp)<mn :crawlspeed=(:crawlspeed-stp)*(1-a)+mn*a goto1
a=(:crawlspeed+stp)>mx :crawlspeed=(:crawlspeed+stp)*(1-a)+mx*a goto1
// :crawlspeed = Crawl Speed Multiplier
// :csi = Crawp Speed Increase Button
// :csd = Crawp Speed Decrease Button

10
Behemoth/Left/MEM1.MEMORY Normal file
View File

@@ -0,0 +1,10 @@
h = 0
h1 = 0
avg = 0
ta = 0
e = 0
ChipField6 = 0
ChipField7 = 0
ChipField8 = 0
ChipField9 = 0
ChipField10 = 0

10
Behemoth/Left/MEM2.MEMORY Normal file
View File

@@ -0,0 +1,10 @@
md = 21
sa1 = 0
sa2 = 0
sa3 = 0
sa4 = 0
sa5 = 0
dsa = 0
mo = 0
as = 0
os = 0

View File

@@ -0,0 +1,20 @@
:os=30*((:md-:dsa)>30)+(:md-:dsa)<30 :e=:dsa-(:md-:dsa) goto1
// :os = Offset
// :md = Mining Depth
// :dsa = Distance Smart Average
// :e = Preset / Bias value

View File

@@ -0,0 +1,20 @@
:crawlspeed=:crawlspeed-(((:avg-:ta)*(:spd>0.1)*(:spd<0.2))) goto1
// :crawlspeed = Dynamic Crawl Speed
// :avg = Average Speed
// :ta = Target Average Speed
// :spd = Speedometer Speed

View File

@@ -0,0 +1,20 @@
x=10 y=x-1
s=:spd :avg=a a=(a*y+s)/x goto2
// x = Amount of linereads to average speed
// :spd = Speedometer Speed
// :avg = Average Speed

View File

@@ -0,0 +1,20 @@
t=50 i=2.5 c=0 goto(1+((:dsa>=:md)*(:spd==0)))*:crwl
goto(2+(c++>t)-((:spd>0)*2))*:crwl
:crawlspeed+=i c=0 goto1
// t = Delay on how long to wait before increasing CrawlSpeed
// i = Amount to increase CrawlSpeed
// :dsa = Distance Smart Average
// :md = Mining Depth
// :spd = Speedometer Speed
// :crwl = Auto-Crawl Butto
// :crawlspeed = Dynamic Crawl Speed

View File

@@ -0,0 +1,20 @@
:crawlspeed=15 goto1+:crwl
:crwlf=100 :crwlb=500*(:avg-:ta)*(1+(:md-:dsa)) goto1+:crwl
// :crawlspeed = Dynamic Crawl Speed
// :crwl = Auto-Crawl Button
// :crwlf = Crawl Forward Lever
// :crwlb = Crawl Backward Lever
// :avg = Average Speed
// :ta = Target Average Speed
// :md = Mining Depth
// :dsa = Distance Smart Average

View File

@@ -0,0 +1,20 @@
:dsa=(:sa1+:sa2+:sa3+:sa4+:sa5)/10 goto1
// dsa = Distance smart average
// sa(#) = The clamped and combined values of the range finders
// essentially making DSA an average of the range finders, removing
// outliers to prevent ore catchup.