So, as the title suggests, I'm wanting to create storage containers that only store specific items. For example, I would love you make a shelf or something similar that is able to hold only farming equipment, or tools... Maybe have a bag that stores only seeds or produce... Is there any known way to do this? I know it seems a little strange, but I have an idea in mind I'd like to implement this with ^^
Only through Lua. The script would have to constantly scan items placed inside and spit out anything that doesn't fit within the parameters. Of course the problem being there really isn't a good way to designate something as a "tool" So you would have to explicitly write the name of each item allowed. So modded items would not be properly filtered.
Actually, there is root.itemType(itemName) which will give you the type of item. It's used in pets to make them only eat consumables, and can be used to see if an item is of the miningtool type.