Issue Description
When dragging a piece of Equipment onto a sheet, the dragged Equipment always creates a new entry rather than incrementing the quantity of an existing entry.
For example, if a PC who has a healing potion is given another healing potion from the compendium, they will now have two separate lines for "healing potion" rather than a single line with a quantity of 2. This can also affect currencies, causing weird situations where players have multiple stacks of Gold Pieces.
Steps to Reproduce
- Open an Actor sheet (PC or NPC).
- Open a compendium with Equipment, such as the Equipment Compendium in this system
- Drag a healing potion onto the sheet
- You will see one entry
- Drag another healing potion on the sheet
- You will now see two entries for healing potion
Expected behaviour
Step 6 from above should have a single entry with a quantity of two.
Exceptions
I can appreciate that some items should probably not "stack" in this way. I can make a case that Weapons should probably not stack so that you can correctly track which equipment is equipped. Though if you're carrying Daggers or Spears to throw, maybe having them stack is a good thing?
I would generally apply the following rules here:
- Things that stack: Ammunition, Consumable, Gear, Sundry, Tool
- Things that do not stack: Armor, Container, Weapon
Bonus Features: Meta types
- Currency is technically a "Meta" type, but I believe this should also follow stacking
- Spells are also a "Meta" type, these should likely not stack because they can have different sources, though dragging a dropping a spell may actually be a request to create a scroll, so I think this is a more complex interaction regardless of how you do it
Issue Description
When dragging a piece of Equipment onto a sheet, the dragged Equipment always creates a new entry rather than incrementing the quantity of an existing entry.
For example, if a PC who has a healing potion is given another healing potion from the compendium, they will now have two separate lines for "healing potion" rather than a single line with a quantity of 2. This can also affect currencies, causing weird situations where players have multiple stacks of Gold Pieces.
Steps to Reproduce
Expected behaviour
Step 6 from above should have a single entry with a quantity of two.
Exceptions
I can appreciate that some items should probably not "stack" in this way. I can make a case that Weapons should probably not stack so that you can correctly track which equipment is equipped. Though if you're carrying Daggers or Spears to throw, maybe having them stack is a good thing?
I would generally apply the following rules here:
Bonus Features: Meta types