Space Engineers

Space Engineers

Zbyt mało ocen
Drill Stop
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Rozmiar pliku
Zamieszczono
Zaktualizowano
1.951 KB
7 grudnia 2016 o 15:31
22 kwietnia 2019 o 13:18
Listy zmian: 4 ( zobacz )

Zasubskrybuj, aby pobrać
Drill Stop

Opis
Simple script that will turn off your drills when they reach a combined percentage. Default is 5%, changable inside the script.
Komentarzy: 10
MrFox 16 maja 2022 o 8:11 
this doesnt auto start the drills? Or maybe have them auto start if [Cargo Ice] is below x amount.

We setup a gas station on an ice moon
a Network Error 29 kwietnia 2021 o 7:12 
been looking everywhere for this, thank you !
Morphik  [autor] 12 kwietnia 2021 o 17:22 
Go for it!
JarutheDamaja 11 kwietnia 2021 o 6:10 
Hi Morphik, thanks for sharing this script - I love it and it works great.
Question, would it be ok for you if I upload a blueprint with your script in it?
Frayboy15 12 listopada 2020 o 20:35 
Cool, thanks.
Morphik  [autor] 11 listopada 2020 o 12:26 
Yes, on line 30
GridTerminalSystem.GetBlocksOfType<IMyShipDrill>(allDrills, b => b.CubeGrid == Me.CubeGrid);
Edit to look like this
GridTerminalSystem.GetBlocksOfType<IMyShipDrill>(allDrills);
Frayboy15 10 listopada 2020 o 20:42 
Is there a way to modify the code so it looks at subgrids? I have a mining tower and it doesn't detect the drills on the end of the piston.
Captain Insano 5 kwietnia 2019 o 12:53 
Doesn't Work.
Morphik  [autor] 9 stycznia 2017 o 19:26 
Total inventory capacity across all drills. Which means drills with turn off when they reach a total of 5% invenotry capacity. I found though that it's better to run this higher as the drills can fill up faster than the conveyors can move.
Coyote 9 stycznia 2017 o 16:54 
What does the 5% refer to? inventory capacity?