Space Engineers

Space Engineers

View Stats:
Daunt Feb 27, 2017 @ 10:47am
Automatic Production of Components
Is it possible, through scripts or otherwise, to set specific amounts for components that should always be kept in stock? For example, there should always be 1000 steel plates in the station inventory, so if there's not, produce enough to match that.

Is this possible / already been done?
< >
Showing 1-5 of 5 comments
Erling Feb 27, 2017 @ 10:53am 
Yes it is, but you would have to build an assembler for each component if I they haven't fixed that the last 3-4 months.

Here's an example for a script:
http://steamcommunity.com/sharedfiles/filedetails/?id=445361051&searchtext=automatic+production
Brewmeistor Feb 28, 2017 @ 7:56pm 
Originally posted by Daunt:
Is it possible, through scripts or otherwise, to set specific amounts for components that should always be kept in stock? For example, there should always be 1000 steel plates in the station inventory, so if there's not, produce enough to match that.

Is this possible / already been done?


I've actually had this request before on a server I used to visit. I did some cleanup and posted it.

This is my simple quota system. You setup the quota for each component in the Programmable Block's Custom Data field. I tend to use the Custom Data field like an ini file in my scripts. If there's less of a component on the grid than the quota, it assigns it to BAQ designated assembler. It works with one or more assemblers.

It's an in-game script. Instructions are in the Workshop item.

http://steamcommunity.com/sharedfiles/filedetails/?id=874556533
Erling Feb 28, 2017 @ 10:44pm 
So your script doesn't require a assembler for each component? If so, count me in! :)
Brewmeistor Mar 1, 2017 @ 1:56pm 
Originally posted by Spenz:
So your script doesn't require a assembler for each component? If so, count me in! :)

Yep, it works with one assembler. The reason to add more assemblers is to distribute the queued items across the assemblers and produce faster. Essentially, script controlled cooperative mode.

This script will queue all of the items to one assembler if only one has its name prefixed with BAQ.
Loues.S.Cat Mar 1, 2017 @ 2:12pm 
Huh. Didn't spot that getting added.
Yay!
An actual level of scripted control over something important :p
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Feb 27, 2017 @ 10:47am
Posts: 5