Page 1 of 1

Make copy/paste entity settings work for slot filters

Posted: Sat Apr 16, 2016 5:35 pm
by JasonC
0.12.29

Filters can be set and cleared on individual slots in a cargo wagon.

It would be really convenient if the "copy entity settings" and "paste entity settings" controls could also be used to copy and paste the slot filter, even if it were limited to only copying + pasting within a single container.

When the slot is empty (so as not to interfere with item pick / drop), "copy" copies its filter setting and highlights it green, and "paste" pastes the filter setting of a copy source.

This would really take the tedium out of setting up many slots in train cars.

Re: Make copy/paste entity settings work for slot filters

Posted: Tue Apr 19, 2016 12:00 pm
by ssilk
Added to viewtopic.php?f=80&t=15326 Stack Filters for Chest, Vehicles and others

Re: Make copy/paste entity settings work for slot filters

Posted: Tue Apr 19, 2016 2:16 pm
by bobingabout
Wait, there's a copy paste setting?

Re: Make copy/paste entity settings work for slot filters

Posted: Tue Apr 19, 2016 3:19 pm
by JasonC
bobingabout wrote:Wait, there's a copy paste setting?
By default: Shift+right click an entity. This'll set it as the copy source. It'll be highlighted green. Then shift+left click on other entities to copy all the settings to them.

Also works for things like cargo wagon slot filters and capacity limits, requester chest slots, whatever. I use it for setting up big groups of smart inserters all the time.

Re: Make copy/paste entity settings work for slot filters

Posted: Tue Apr 19, 2016 3:51 pm
by daniel34
Chests don't have slot filters (the middle-click thingy), only cargo wagons, cars/tanks and the toolbar do.
For these you can already copy the slot filter settings using Shift+click.

Chests, cargo wagons and cars/tanks have slot limiters, which can also be copied with Shift+click.

I'm confused, what are you suggesting again?

A tip: you can easily set a number of slots in a train by putting one of the item in every slot using right-click, then middle-click every slot.

Re: Make copy/paste entity settings work for slot filters

Posted: Tue Apr 19, 2016 4:57 pm
by JasonC
daniel34 wrote:Chests don't have slot filters (the middle-click thingy), only cargo wagons, cars/tanks and the toolbar do.
Oops that's what I meant.
For these you can already copy the slot filter settings using Shift+click.
You can copy an entire wagon's slots to another wagon, but you can't copy + paste from one slot to another within that wagon (that's the suggestion).
I'm confused, what are you suggesting again?
Sorry, I don't know how to clarify further. I had written "When the slot is empty (so as not to interfere with item pick / drop), "copy" copies its filter setting and highlights it green, and "paste" pastes the filter setting of a copy source", but I can't think of a clearer way to phrase it.
A tip: you can easily set a number of slots in a train by putting one of the item in every slot using right-click, then middle-click every slot.
Oh sweet. This take a lot of the tedium out of setting up the slots in a wagon. It does require that you have the item in inventory, but it'll do for now.

The purpose of the suggestion is to allow setting up the 30 slots in a cargo wagon without having to open the item selection gui 30 times.