Mythacri / Mythacri-Foundry-Scripts

Foundry Scripts
2 stars 0 forks source link

Item transfer #168

Closed InnilToo closed 1 month ago

InnilToo commented 1 month ago

I would like to have an Item Transfer feature that allows easy transfer of items between characters (actor sheets).

Use Case

A player (or DM) wants to transfer an item, such as a healing potion, to another player's character in a simple and streamlined manner that prevents any item duplication or loss due to communication. Currently, this process is cumbersome and involves multiple steps including deleting and dragging items between various inventories.

Feature Description

MVP

Nice to have

Workflow

  1. The user can right-click on an item in their character sheet to access a context menu.
  2. Clicking the "Transfer" option creates a chat message containing information about the item and removes it from the original character sheet.
  3. The chat message has two buttons: "Transfer to Me" and "Cancel".
    • "Transfer to Me": Moves the item to the character sheet of the person who clicks the button. If the player owns multiple characters, a selector appears to choose the destination character.
    • "Cancel": Cancels the transfer and returns the item to its original owner.
  4. Once either option is selected, the other button becomes unavailable.

Acceptance Criteria

Icon Reference