Limited content container
Posted: Fri Feb 25, 2022 8:15 am
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.
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.