fix folders
This commit is contained in:
11
Other/ChomperLiteScripts/ChomperGenerator.yolol
Normal file
11
Other/ChomperLiteScripts/ChomperGenerator.yolol
Normal file
@@ -0,0 +1,11 @@
|
||||
b=:BatteryLevel>=9995 G=:Generator gr=:GenRate m=51*(1-:ECO)+101*:CBOS
|
||||
m+=33*(:FCUForward>0)*(m==0) ifG<m+b*(m==0+G>m)thenG=m end
|
||||
G+=1*(b!=1)*(G<=gr)*(gr<100) G-=1*b*(G>=gr)*(gr>0) G*=:Shutdown
|
||||
:Generator=G :GenRate=:GeneratorUnitRate m=0 goto1
|
||||
// b = current battery level
|
||||
// G = current generator setting
|
||||
// gr = current generator rate (how close to setting)
|
||||
// m = minimum battery level, 0 base, 33 if forward engines on,
|
||||
// 51 if Eco button off, 101 if Cargo Beams are on
|
||||
// G is raised by 1 or lowered by 1 to keep battery charged so long
|
||||
// as G is at least minimum.
|
||||
2
Other/ChomperLiteScripts/EngineControl.yolol
Normal file
2
Other/ChomperLiteScripts/EngineControl.yolol
Normal file
@@ -0,0 +1,2 @@
|
||||
if:Eco*(:FCUForward>60)then:FCUForward=60end
|
||||
if(:BatteryLevel<1500)then:FCUForward=0end goto1
|
||||
5
Other/ChomperLiteScripts/FrameTimer.yolol
Normal file
5
Other/ChomperLiteScripts/FrameTimer.yolol
Normal file
@@ -0,0 +1,5 @@
|
||||
:CargoFrame=0 :CLF=0 :Delay=25 goto2-:Frame
|
||||
:CargoFrame=1 :CLF=1 :OpenTimer=0 goto2+:Frame
|
||||
:OpenTimer++ goto 2-2*(:OpenTimer>:Delay)+:Frame
|
||||
|
||||
// :Delay/5 = # of second delay.
|
||||
2
Other/ChomperLiteScripts/RodCount.yolol
Normal file
2
Other/ChomperLiteScripts/RodCount.yolol
Normal file
@@ -0,0 +1,2 @@
|
||||
:TotalRods=:R1+:R2+:R3+:R7+:R8+:R9+:R10+:R11+:R12+:R16+:R17+:R18
|
||||
:warningbutton=:TotalRods<300000 goto1
|
||||
Reference in New Issue
Block a user