Space Engineers

Space Engineers

Not enough ratings
Refinery Smart Sorting Script
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.293 KB
24 Jan, 2015 @ 7:25am
13 Apr, 2016 @ 5:05am
4 Change Notes ( view )

Subscribe to download
Refinery Smart Sorting Script

Description
NOTE: This script is designed to work in conjuction with my other sorting scripts. Please check them out here:
Inventory Sorter(MAIN SCRIPT): http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=380139427
Assembly Sorter: http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=380570536

This is a very simple script that takes one type of ore and sends it to a specified refinery. It will look through your ore containers(please see my inventory sorter on how to set it up). It will only send 100 at a time(or whatever amount you set in the script) and move the refined ingots to your ingot containers.

HOW TO:
You will need:
1x programmable block, with this script.
1x timer block, set to run this script and restart itself. (I usually set the timer block delay to 2-4 seconds)
Some containers that are set up after my inventory sorting script.
You will need to set the refineries to NOT use the conveyor system.
The refinery name need to contain the type of ore you want it to refine. (Example: "Refinery Iron", will only recieve iron).

SCRIPT PROPERTIES:

StackSize : The amount of ore to be transfered to the refineries every time the scipt runs(The ores in the refinery will never exeed this amount).

OreContainerName : Part of the name on the containers where you store your ore.(Example: If its set to "Ores", it will look through all the containers that has "Ores" in their name, ie "Container Ores 1". Not case sensitive).

IngotContainerName : Same as OreContainerName, but with ingots.

SendIngotsToStorage : If set to true, it will take the refined ingots and send them to your ingot containers. If set to false, the ingots will stay in the refinery.
4 Comments
JMC17 11 Jul, 2019 @ 10:18am 
This script no longer works. It refuses to compile, spewing out an entire page of errors.
Maniac 30 Aug, 2017 @ 10:20am 
@nomad, It's been over a year, but I still remember playing this on SINGLEPLAYER.
SkyRaze 27 Aug, 2017 @ 6:42pm 
@maniac its a glitch in multiplayer if you are doing dedicated servers.
Maniac 6 Apr, 2016 @ 12:30am 
This script is making iron ore dissappear from my refineries. It gets put in, dissapears, and more gets put in, repeat.