gurps icon indicating copy to clipboard operation
gurps copied to clipboard

[Bug] Drag and drop items between non-GM characters broken

Open LordOHelmet opened this issue 2 years ago • 5 comments

Drag and drop of Foundry items between non-GM characters does not work. The item does not appear on the character even though some strange numbers of weight and value are added to the carried equipment section.

[Foundry stand alone V10 288; GGA 0.15.7]

LordOHelmet avatar Oct 23 '22 18:10 LordOHelmet

What kind of Item? I don't know if that would matter, but it doesn't hurt to have that information. Was it a weapon, or some thing that added bonuses?

crnormand avatar Oct 23 '22 20:10 crnormand

First I noticed it with an item that doesn't give bonuses, but just has something in the notes section.

But it really doesn't make a difference, it happens with all Foundry items.

I have now looked at it a bit more closely and noticed that after dragging, the number of the last item already on the character increases.

Before the drag: before drag

After the drag: after drag

That happened after dragging a 'Minor Healing Potion'.

LordOHelmet avatar Oct 24 '22 05:10 LordOHelmet

I think I fixed it with the latest patch. There was some f**ked up code, again, because of the data->system name change that I have sorted out.

However, I will leave this issue open, just in case. If you get a chance to confirm (after the 0.15.9 release), please let me know.

crnormand avatar Nov 10 '22 16:11 crnormand

After 0.15.9

The item(s) is correctly taken from the giving character.

But on the receiving character the item count is just added to whatever item is the last in the euqipment list.

LordOHelmet avatar Nov 10 '22 19:11 LordOHelmet

I "think" I fixed it (again) ;-)

crnormand avatar Nov 11 '22 03:11 crnormand