whelan / fvtt-merchant-sheet-npc

FVTT - Merchant Sheet NPC 5E
MIT License
12 stars 13 forks source link

Merchant doesn't accurately keep track of information #148

Open GambetTV opened 2 years ago

GambetTV commented 2 years ago

Using this with 5e, on Version 9 of Foundry. I tested it with no other modules running.

The merchant sheet doesn't seem to be working properly anymore, especially when players are using it to buy and sell from the merchant. Selling especially doesn't seem to work, as selling to the merchant often causes the merchant to not increase the number of items it possesses. Other times it does, but it seems to remember how many items it used to have, and add it to that. So for instance if it has 10 Ropes, and you purchase 1, it now has 9. If you sell it back to the merchant, the merchant claims it now has 11. Or sometimes it claims it has 9. I can't detect any pattern to when it does one versus the other, either.

If you use the setting to Limit the merchant to a specific amount of money, it doesn't seem to keep track of this money when a player buys things from them. It only decreases how much it has when it sells.

When selling something in fractions of gold pieces, it doesn't show up right either. A single arrow for instance, should be 0.05 gp, but in the merchant listing, it lists as 0gp 1ep. 1 ep is 0.5 gp.

I don't remember it always being this bad, so I'm wondering if a Foundry Update or DnD5e update broke something. I know it's been a while since this was updated, so I thought I'd mention it.