fantasycalendar / FoundryVTT-ItemPiles

Other
33 stars 53 forks source link

[BUG] - Actor sheet UI doesn't open for players #106

Closed King-Wedgie closed 2 years ago

King-Wedgie commented 2 years ago

Describe the bug Actor sheet UI doesn't display for players, only the default Item Piles UI.

To Reproduce 1) Join session as a player 2) Ctrl + double-click an item pile

Setup:

Active modules:

Additional context Works fine for GMs, so I assume it's a socketlib issue

Haxxer commented 2 years ago

Are the players owners of the actor?

King-Wedgie commented 2 years ago

Owners of their respective character tokens, yes; owners of the item pile actor, no. Setting the the players as owners of the pile does give them access to the default actor UI but also gives them the usual editing power that being an owner gives.

I now realize I may be asking for a use case that isn't exactly covered by Item Piles. This is specifically for the Mausritter system, as it uses individual item cards that you drag around on a grid to represent inventory rather than a list with a quantity attached for each item. image image The intention is that the players would open the pile and drag items directly out of the storage sheet onto their character sheets. I've been looking for a module that would let players do this without giving them full editing permissions, but it only just occurred to me that items cards can only be moved around by the actor owner. May have to give the system developer a ping about implementing what I'm thinking of.

Haxxer commented 2 years ago

Yes, only owners of the item piles and the actors have the permission to interact with them as such. Closing ticket :)