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] - [Dragonbane] - Can't buy stuff with lower denominations from merchant, when I run out, even though I have a higher one #555

Closed
Vass1979 opened this issue Mar 29, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@Vass1979
Copy link

Are you on the latest version of Item Piles?
Yes

Have you tried to reset Item Piles' system settings?
Yes

Describe the bug
I have setup item piles to work with Dragonbane like this:
image
It works great for the most part. My players can buy from a merchant just fine. The problem comes when they try to buy something that they don't have the exact currency for, but they have a "higher" currency. So for instance, they don't have 2 copper, but they do have 1 silver. The module says they don't have the required currency.

image

As you can see, my player has 3 copper, 1 silver and 2 gold, but can't buy anything that costs 4 or more copper or 2 or more silver.

To Reproduce
Steps to reproduce the behavior:

See above

Expected behavior
The module should be able to convert a higher currency to a lower one so my player can pay for it.

Screenshots
If applicable, add screenshots to help explain your problem.

Setup:

  • Foundry Version: 11.324
  • System Version: Dragonbane 1.8.2
  • Item Piles Version: 2.9.0
  • Browser & version Chrome Vrsion 123.0.6312.86 (Official Build) (64-bit)

Active modules:

  • Item Piles
  • libwrapper
  • socketlib

Additional context
N/A

@Vass1979 Vass1979 added the bug Something isn't working label Mar 29, 2024
@Vass1979 Vass1979 changed the title [BUG] - [SYSTEM NAME] - Describe bug here [BUG] - [Dragonbane] - Can't buy stuff with lower denominations from merchant, when I run out, even though I have a higher one Mar 29, 2024
@Haxxer
Copy link
Collaborator

Haxxer commented Mar 29, 2024

It is the wrong way around. Try gold 1, silver 0.1, copper 0.01. The order should have tipped you off.

@Haxxer Haxxer closed this as not planned Won't fix, can't repro, duplicate, stale Mar 29, 2024
@Vass1979
Copy link
Author

Vass1979 commented Mar 29, 2024 via email

@Vass1979
Copy link
Author

Untitled

Please see the attached image, it shows the setup and also my player trying to buy from merchant

@Haxxer Haxxer reopened this Mar 29, 2024
@Haxxer
Copy link
Collaborator

Haxxer commented Mar 29, 2024

Does the items for sale have a drop down for the price denomination in their sheets? If so, item piles may not be able to suss out the total price of the items and thus not know how to best get that from the item.

@Vass1979
Copy link
Author

Vass1979 commented Mar 30, 2024 via email

@Vass1979
Copy link
Author

Vass1979 commented Mar 30, 2024 via email

@Haxxer Haxxer closed this as completed Mar 30, 2024
@Haxxer
Copy link
Collaborator

Haxxer commented Mar 30, 2024

It might help someone else if you explain what went wrong! 🙂

@Vass1979
Copy link
Author

Vass1979 commented Mar 31, 2024 via email

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