Toggle Sorter Block filters via toolbar button
Submitted
I really think it would be a good idea to implement a way to toggle the Sorter Block's filters on and off via a terminal/toolbar button.
This is needed because right now if you want to eject something like Stone from your cargo, you need to have a dedicated Connector specifically for it (or manually edit the whitelists every time). But if you could toggle Sorter filters you could use your main Connector as an ejector as and when you need it, without the hassle of manually editing the filters.
This would be a nice feature to have, so using a ProgramBlock and script wouldn't really be needed.
I actually do this with a script in my small mining ship. The script toggles the Sorter Filter list to either have nothing in it, or "Stone" ... then the script turns on "Drain All" on the sorter, and "Throw Out" on the connector. Essentially this allows a toolbar to toggle the program block and 'throw out all stone while drilling'.
SADLY though, it only works in single-player, because the exact same WORKING script on our dedicated server, the ".SetFilter" method adds "(null)/Stone" to the Sorter's filter list (instead of "MyObjectBuilder_Ore/Stone"), which bricks the sorter, and it all stops working. In fact, if any user on the server tries to manually remove the "(null)/Stone" filter entry using the Control Panel, they get disconnected from the server.
This would be a nice feature to have, so using a ProgramBlock and script wouldn't really be needed.
I actually do this with a script in my small mining ship. The script toggles the Sorter Filter list to either have nothing in it, or "Stone" ... then the script turns on "Drain All" on the sorter, and "Throw Out" on the connector. Essentially this allows a toolbar to toggle the program block and 'throw out all stone while drilling'.
SADLY though, it only works in single-player, because the exact same WORKING script on our dedicated server, the ".SetFilter" method adds "(null)/Stone" to the Sorter's filter list (instead of "MyObjectBuilder_Ore/Stone"), which bricks the sorter, and it all stops working. In fact, if any user on the server tries to manually remove the "(null)/Stone" filter entry using the Control Panel, they get disconnected from the server.
Player should be always able to move staff from one inventory to another, sorters have to affect only systems trying to move staff automatically.
Player should be always able to move staff from one inventory to another, sorters have to affect only systems trying to move staff automatically.
Replies have been locked on this page!