Space Engineers

Space Engineers

Inventory & Nanite Sort Script
15 Comments
MrFox 1 Jan, 2019 @ 6:03pm 
broken compile issue
British89 6 Jan, 2017 @ 12:40am 
@MrEichhorn not sure how recent this issue is but the auto sort feature pulls items out of the nanite control factory before it has a chance to build anything, So the nanite factory never gets the components it needs as they just get pulled to a inventory with the "Component Container" tag
British89 29 Dec, 2016 @ 1:09am 
@jafodude2 Yeah you are right, Good catch, works a charm now thanks.
MrEichhorn  [author] 28 Dec, 2016 @ 3:40pm 
Thx for this help. Iam rework the script in next days.
jafodude2 28 Dec, 2016 @ 3:16pm 
The bug British89 is experiencing might be caused by not having a trash connector.
These lines in main(), and the code that follows them, assume there is a trash connector but without verifying the existence of such a connector.

var connectorInv = trashconnector[0].GetInventory(0);
var connectorItems = connectorInv.GetItems();
British89 28 Dec, 2016 @ 2:38am 
@MrEichhorn found time to test 1.5, Same Error as before, When it first Run's the program it sorts everything but then stopps working with the index out of range, Peremeter name: Index
British89 27 Dec, 2016 @ 4:44pm 
Thanks, Much appreciated.
MrEichhorn  [author] 27 Dec, 2016 @ 2:14pm 
Version 1.5 with a bugfix for empty collections. Thx for the feedback.
British89 27 Dec, 2016 @ 1:29pm 
getting exception error, index out of range, must be non-negative and less than the size of collection, paremeter name: Index
MrEichhorn  [author] 15 Dec, 2016 @ 1:59pm 
Version 1.4 is now online
MrEichhorn  [author] 11 Dec, 2016 @ 2:17pm 
Version 1.4 is coming soon. A new feature is... You can create a own trashlist for items.
MrEichhorn  [author] 9 Dec, 2016 @ 12:57pm 
Dont configure Time Frames for the Timer Block less 30 sec. The Nanites must have inventory to work.
Horatio Van Blunt 9 Dec, 2016 @ 11:55am 
Just tried the Trash function. Works fine and its fun watching the Tools moving to outer Space :steamhappy:
MrEichhorn  [author] 9 Dec, 2016 @ 11:53am 
The best option to filtering the Trash Connector is a sorter block with configured whitelist.
Horatio Van Blunt 9 Dec, 2016 @ 11:24am 
Great! Love it! My ship was never that clean :-D
Not a million things in the Nanite Factories and searching for bottles everywhere.
Next i try the trash option to get rid of all the Welders and Handdrills ;-)
Great work! Thx!