Script inventories are the best! I love them. But they don't support slot filters! It would be nice if they did.
I'm using script inventories to sync inventory contents when a player goes between the map editor and regular play. Right now, it doesn't sync inventory filters because script inventories don't support them. If they did, I could simply set the filter for that slot in the sync inventory, then when transferring from the sync inventory to the destination inventory, set the filter there as well.
Thanks!
Add slot filter support to script inventories
Add slot filter support to script inventories
Don't forget, you're here forever.
Re: Add slot filter support to script inventories
Bump. I need to be able to set filters in script inventories to make my inventory sync logic work properly. Right now, it doesn't work properly because when I set_stack on a stack with a filter, as soon as the next stack is set, the inventory gets sorted and that item whizzes away. So when I switch back to regular play from the editor, not all items are transferred because they get overwritten.
Basically, I need inventory filters really badly. Thanks!
PS: Being able to disable auto-sort for the script inventories would be nice as well.
Basically, I need inventory filters really badly. Thanks!
PS: Being able to disable auto-sort for the script inventories would be nice as well.
Don't forget, you're here forever.
Re: Add slot filter support to script inventories
Script inventories do not auto-sort.
If you want to get ahold of me I'm almost always on Discord.
Re: Add slot filter support to script inventories
Well... huh! I was wrong, thanks for pointing that out!
I was able to make a workaround to sync slot filters. However, it would still be nice if script inventories supported filters, to achieve maximum flexibility.
Don't forget, you're here forever.