Inventory Drag and Drop Streamline
New Feature or Changed Behaviour
Inventory itself is a bit cumbersome as you cant drag and drop from items directory into a container it has to go to misc first then dragged into a bag.
There is also not a true way to move things you can only create copies when dragging and dropping from another PC.
Why?
This just adds time to moving things around.
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
I am unable to reproduce this behavior with the latest OSE version. Is it still relevant?
If you drag a new item into the inventory and try to drag straight into a bag it still puts it in misc instead of the container.
If I drag an item from one PC to another it still just creates a copy instead of moving it.
On 1.7.3
aah, I recreated it now. It is only when I drag items from Items & Compenium and not within the actor itself it happens. I'll see if I find the problem!
@xanstin : I'm writing these tests, do they correspond to the expected behavior?
it('Move item from Items to actor's container inventory', async () => { // Create new non-Actor item // Drag and Drop item to container // Expect container to contain item }) it('Move item from Items Compendium to actor's container inventory', async () => { // Create compendium // Create new non-Actor item // Drag and Drop item to container // Expect container to contain item })
@bakbakbakbakbak I'd expect the item to not exist in actor.system.items, as well: https://github.com/vttred/ose/blob/6cf617d755328edde8948968b6048409bbf8cffd/src/module/actor/data-model-character.js#L145-L151
I'm working on fixes to containers to also fix #310, so I'll look at this at the same time.