ParanoidAndroid
New member
Currently when you drag and drop an item between two different inventories, it will automatically combine the item with other stacks in that collection.
The main functionality I'm looking for is this:
If the item is dragged to an empty slot, it is moved to that slot and doesn't try and combine with any other items in that collection.
If the item is dragged to a slot that has the same item, then should it combine.
If I move the item to the inventory using a custom item action, it will try and be added to existing stacks.
This leads me to another thought about having an item index stored.
From what I saw, grid positions are only remembered by making use of the inventory grid saver component.
I haven't looked at it too closely, but it seemed a bit cumbersome to use.
For example, if I have a reusable storage menu, wouldn't that require saving the storage grid information right before I close it every time?
Otherwise, it would get lost once I get a reference to a new inventory.
I think another potential benefit of having an index would be letting different grids referencing the same inventory appear in the same order.
This would also let you be able to set item grid positions from the inspector as well.
Anyhow, I think this sort of feature would help flesh out some rather common use cases.
The main functionality I'm looking for is this:
If the item is dragged to an empty slot, it is moved to that slot and doesn't try and combine with any other items in that collection.
If the item is dragged to a slot that has the same item, then should it combine.
If I move the item to the inventory using a custom item action, it will try and be added to existing stacks.
This leads me to another thought about having an item index stored.
From what I saw, grid positions are only remembered by making use of the inventory grid saver component.
I haven't looked at it too closely, but it seemed a bit cumbersome to use.
For example, if I have a reusable storage menu, wouldn't that require saving the storage grid information right before I close it every time?
Otherwise, it would get lost once I get a reference to a new inventory.
I think another potential benefit of having an index would be letting different grids referencing the same inventory appear in the same order.
This would also let you be able to set item grid positions from the inspector as well.
Anyhow, I think this sort of feature would help flesh out some rather common use cases.