TheLastScrub / delta-green-foundry-vtt-system

A Foundry VTT game system for Delta Green: The RPG! This is a fan made work that is unaffiliated with Shane Ivey or Arc Dream Publishing, published under the Delta Green Community license. http://www.delta-green.com https://foundryvtt.com/
MIT License
27 stars 24 forks source link

Add option to delete original item when dragged to another sheet #76

Closed jalensailin closed 1 year ago

jalensailin commented 1 year ago

This PR introduces a feature that allows you to delete the original item when dragging items between sheets (by holding the Alt key when dropping). This mimics giving a player an item and saves time by not having to manually delete afterwards.

Steps to test:

  1. Create two actors and give them each some items.
  2. Open both actor sheets and drag items between the two.
  3. Note, items are duplicated onto the receiving actor but still exists on the original actor too.
  4. Drag items between the two sheets, this time holding down the Alt key.
  5. Note, item is created on the receiving actor and deleted from the host actor.