Space Engineers

Space Engineers

67 ratings
Stone Removal
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.506 KB
2 Jan, 2015 @ 1:12am
13 Jan, 2015 @ 2:25am
17 Change Notes ( view )

Subscribe to download
Stone Removal

Description
You can also check out my Item Sorting script to help keep all your containers categorized and sorted.

I have also made a Selective Refining script, which will let specify the type of ores you want going into your refineries.

If your assembler is getting clogged with ingots, you should check out my Assembler Cleaning script.

**1/11/15 - Did a pretty big rewrite to make the script more efficient with multiple connectors. It should now evenly distribute stone across all of the trash connectors, so be sure to update your script!**

•This script searches all refineries and containers on the grid for stone, and sends it to a connector or ejector named "Trash".

•You can rename what the connector the stone is sent to to whatever you'd like by simply changing the const string at the top of the script ("Trash").

•To get the block working correctly, be sure to attach it to a Timer Block. Simply build the Timer Block and setup its' action to run the script, and then start itself. A delay of 1-2 seconds seems to work perfectly fine.

•To get the script to run super quickly, you could also use a Timer Block and name it "Trash Timer" and set its' only action to run the script. Once that is setup, simply hit Trigger Now on the timer and the script should run itself again as soon as it has finished. Just like the connectors, you can change the name of the Timer Block if you want to at the top of the script.

•If there is anything inside the connector besides stone, the script will attempt to move whatever else is in the connector to an empty container. If it's not able to move it to a container for whatever reason (there are none or they are all full) it will stop throwing out items and collecting stone.

•You can have multiple connectors to send stone to. Simply add more connectors and name them so their names contain the same string you set your trash to be. For example, you can name them all the same, "Trash", or you can number them "Trash 1", "Trash 2", or any combination "01 Trash 1", "My Trash 6". When you have multiple connectors, the stone will be evenly distributed across all of the connectors. So, if you have 5 trash connectors, and drop in 100k stone, 20k stone should be sent to each connector.

•If you have any suggestions or problems please let me know!
103 Comments
Leon 19 Jul, 2020 @ 7:16am 
updat
Dots 19 Jul, 2019 @ 11:57am 
this script is soo outdated and obsolete mainly because stone now can officially be used in the survival kit
[✚] Patrick [✚] 11 Jan, 2018 @ 7:55am 
@Reptar Hello, i got a question about your script.
is it possible that if its script related to trow out more than 6.7k stone at a time ?
if not is there a way to go around it ? cause i got like 5 connector ejecting each 6.76k stone a a time and i dont see where to change it or how.

Kind regards
Nagell 2 Jan, 2017 @ 9:53pm 
Awesome, does this work with the latest build?
Topazadam 17 Nov, 2016 @ 1:58pm 
Seems the latest update has bricked (excuse the pun) this. Please fix!
Firedrake_13 26 May, 2016 @ 5:52pm 
works pretty well most of the time, but I catch it not using all ejectors fairly often....not sure why this would be...
W0lf3y 21 Oct, 2015 @ 3:38pm 
ok, Thank You
Reptar  [author] 21 Oct, 2015 @ 2:54pm 
@W0lf3y I might get around to updating it sometime, but by all means you are more than welcome to upload your own.
W0lf3y 21 Oct, 2015 @ 12:42pm 
Hi, I eddited your script to include drills as well. I encountered a situation where it was beneficial.
http://pastebin.com/HSuWJGma is the editted script, link is good for 1 month. If you choose not to update your script, I'd like permission to upload it to my own workshop with citation to origional.