Is it possible to limit the types of items that can be put in a container? For example, logs and wood planks can't be put into chest and can put only into warehouse.
I know it can be done with scripts. For example, check every tick or less often the contents of the container and throw out everything that can't lie there. But I don't like this solution - it can cause a lot of lags on a large base.
I carefully figured out the prototype of the container, but I didn't seem to find any way to do it.
Limited content container
Re: Limited content container
Make your container type="car" to get filters. Then prevent players from changing the filter.
Another idea is to use type="assembling-machine" with a fixed-recipe that transfers input to output. Then give it a huge output inventory.
Another idea is to use type="assembling-machine" with a fixed-recipe that transfers input to output. Then give it a huge output inventory.