fantasycalendar / FoundryVTT-ItemPiles

Other
32 stars 55 forks source link

[BUG] - [DND5e] - Items dragging problems #648

Closed escixi closed 3 months ago

escixi commented 3 months ago

Are you on the latest version of Item Piles?

Yes

Have you tried to reset Item Piles' system settings?

Yes

Describe the bug

Items dragged from a token will not go to an item pile or container and items dragged from an item pile or container to a token gets dup. Vault still works as intended.

To Reproduce

Steps to reproduce the behavior: As described, no setting changes, new world.

Expected behavior

Items dragged from a token will go to an item pile or container and items dragged from an item pile or container to a token do not get duplicated.

Screenshots Can't drag item into a pile Can't drag into a pile If drag from a pile, item got dup If drag from a pile, item dup

Setup:

Active modules:

Haxxer commented 3 months ago

I cannot overwrite how system sheets handle dropped item data. I can only control how dropping items are handled in sheets I have created.

The intended use case is to not open it like a GM by simply double clicking it, but to select the token next to the item pile, then shift double click on the item pile and use the "Take" button in the item piles UI. This is described in the wiki: https://fantasycomputer.works/FoundryVTT-ItemPiles/#/creating-item-piles?id=inspecting-pile-as-character

escixi commented 3 months ago

I'm still confused about not being able to add items to an existing pile or container. Creating a new pile works, but dragging items on top of an existing pile or the interface seems to ask about adding item to the pile, but then nothing happens. Did I get something wrong? Or do I have to do something else? I'm so sorry, I'm just so confused.

I tried to do it like on the wiki. image

Here is the error that came up when I tried to drop an item on the pile. image

Haxxer commented 3 months ago

It is always good to include console errors in the initial bug - thank you, I'll see about fixing this

Haxxer commented 3 months ago

Fixed in 3.1.2