-
Notifications
You must be signed in to change notification settings - Fork 8
Giveth
Idle edited this page Dec 20, 2024
·
6 revisions
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.
Enables the feature in your world.
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.
When an item is given to another actor, a chat message will be generated.
/*
* 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;