Open paulyhedral opened 1 month ago
Can you please enumerate some objects you're interested in and what you'd like done with them? It sounds like you're at least interested in JournalEntry
and JournalEntryPage
. The only thing I can think to do with those is to promote the actor's player to a limited owner of the entry/page.
Yes, I need JournalEntry
and JournalEntryPage
. The module expects to receive an event callback when one of those types is dropped on the actor.
The hook in question is dropActorSheetData
: https://github.com/sweetrpg/lootparcels-foundryvtt/blob/feature/83-sfrpg/loot-parcels.js#L163
Hooks.on('dropActorSheetData', async (actor, html, item) => {
Gotcha. So the only thing you need is for sfrpg's hook to silently ignore dropped data that isn't an item.
Is your feature request related to a problem? Please describe. I am working on a Foundry module that supports creating parcels of items that can be given to a PC by dropping the parcel onto the actor sheet. The parcel is implemented using JournalEntry and JournalEntryPage, and relies on the dropActorSheetData hook to fire in order to copy the items to the PC. However, this system only seems to support dropping Items on the actor.
Describe the solution you'd like Can you add support for additional types to be dropped on the actor?
Additional context The following error is seen in the console log when dropping
JournalPage
s on the actor: