Giveth - reonZ/pf2e-toolbelt GitHub Wiki
This feature allows players to give inventory items to other player-owned actors or add effects/conditions to other actors in the simplest of ways: drag & drop the item/effect onto the actor's token on the board.
[!IMPORTANT] This feature requires a GM to be online to function.
[!NOTE] Due to system limitations, only a drag & drop onto a token will work, and not onto another actor's sheet.
[!NOTE] This makes use of the With Container Content setting.
Settings
Enabled 🌎
Enables the feature in your world.
Include Effects/Conditions 🌎 (Allies Only)
Should players also be able to drop effects & conditions onto actors they do not own.
[!IMPORTANT] 'Allies' refers to any actor the user can observe or is in a party the user can observe.
Send Message to Chat 🌎 ✅
When an item is given to another actor, a chat message will be generated.
API
/*
* retrieve the api object for this feature
*/
game.modules.get("pf2e-toolbelt")?.api.giveth;
/*
* return 'true' if the user can drop the effect on the actor
* this encompass regular foundry/system and giveth specific drop rights
*/
canDropEffectOnActor: (item: ItemPF2e, actor: ActorPF2e) => boolean;