Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Identification causes loss of quantity of items #42

Open
RaaviArda opened this issue Jun 9, 2023 · 1 comment
Open

[BUG] Identification causes loss of quantity of items #42

RaaviArda opened this issue Jun 9, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@RaaviArda
Copy link

Module Version: v1.0.3

Describe the bug
When identifying items the quantity of items is lost

To Reproduce
Steps to reproduce the behavior:

  1. Go to character sheet
  2. Drop an unidentified item and set quantity to more than 1
  3. Edit the item in the sheet and identify the item
  4. The item is identified correctly but the quantity is set to 1

Expected behavior
Quantity should persist and should be applied to new item

Screenshots
image
image

Browser:
Chrome 114.0.5735.110

Foundry Version:
v10.291

Game System:
DnD5e 2.2.1

Additional context
There are no errors or warnings in console when identifying item

@RaaviArda RaaviArda added the bug Something isn't working label Jun 9, 2023
@Nysterian
Copy link

Workaround: If you set the quantity of the item before making it unidentified to the correct quantity, it will have the correct quantity when identified.

Steps for this:

  1. Create your item
  2. Change the quantity for the desired amount
  3. Mystify the item
  4. Change the quantity of the mystified item as well (for consistency, it doesn't actually matter if you do this)
  5. Give this item to a player. Once it's identified, it'll have the correct amount (because it was "saved" with that amount)

Though, I do agree that amount should carry over.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants