You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[✅] I have tried to clear my cache (Ctrl / Cmd + F5)
[✅] I have checked the console for errors (F12 to open, Console tab)
[✅] I have tried to reset Item Piles' system settings
[✅] I have reproduced this bug with only item piles & its dependency modules enabled
Describe the bug
When you have the currencies configured for a 100 = 1 ratio (100 copper = 1 silver, 100 silver = 1 gold ect) the merchants no longer properly give change back.
To Reproduce
Steps to reproduce the behavior:
Set the currency settings to a 100=1 ratio
Give a character one platinum/gold
Buy something worth less than 100 copper
Merchant claims you will pay "1 Silver" even if the actor doesn't have any silver, and will only give you copper change. Merchant doesn't take the platinum and leave you with the item, and extra copper from nowhere.
Expected behavior
If you only have a platinum and you buy an item worth 50 copper with a 100=1 you would expect to be left with: 0 Plat 99 gold 99 silver 50 copper
Screenshots
Gif of me performing the transaction:
Screenshot of my currency settings:
Setup
Foundry Version: 12.331
System Version: Tested both DND5e 3.3.1 and 4.2.2
Item Piles Version: 3.1.6
Browser & version: Foundry standalone program
Active modules
Tested with Item piles only, issue persists.
Additional context
For some reason, The module seems to perform perfectly fine up to a 99=1 ratio (99 copper = 1 silver, ect). But as soon as you change it to 100=1 it breaks.
The text was updated successfully, but these errors were encountered:
Bit of an update after messing around with this a little more. Same issue when using the standard 5E currencies. Give a actor 1 plat and buy something for one copper. The game says you pay a gold and you gain money out of thin air as it doesn't take the platinum you have.
I confirm the following:
Describe the bug
When you have the currencies configured for a 100 = 1 ratio (100 copper = 1 silver, 100 silver = 1 gold ect) the merchants no longer properly give change back.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If you only have a platinum and you buy an item worth 50 copper with a 100=1 you would expect to be left with: 0 Plat 99 gold 99 silver 50 copper
Screenshots

Gif of me performing the transaction:
Screenshot of my currency settings:

Setup
Active modules
Tested with Item piles only, issue persists.
Additional context
For some reason, The module seems to perform perfectly fine up to a 99=1 ratio (99 copper = 1 silver, ect). But as soon as you change it to 100=1 it breaks.
The text was updated successfully, but these errors were encountered: