whelan / fvtt-merchant-sheet-npc

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

Containers as additional sheet #42

Closed gsterling closed 2 years ago

gsterling commented 3 years ago

Is your feature request related to a problem? Please describe. Since containers basically have the same functionality as a merchant without the payment aspect. We could use merchants as such. It's a much wanted feature from the community for foundry vtt. I haven't found anything that's working for savage worlds unfortunately.

Describe the solution you'd like Containers would be merchants with the same layout, besides some small changes. "Buying" and "selling" would be free. "Selling" should always add the item to the inventory of the container. Some strings need to be changed and the buttons for selling and buying modifier be removed.

Additional ideas

Additional context This could be done as a seperate module, since it's not really a "merchant", but since it will use a lot of the same code, I figured, it could be added to this module as well. I really wish I could help you, but unfortunately I don't have any expertise in JS or web development.

p4535992 commented 2 years ago

Similar to this , a sheet for emulate a "Chest" so no "buy" and "sell", but "get" and "put"

whelan commented 2 years ago

I just saw this module. I think that would be a good module for loot. https://github.com/fantasycalendar/FoundryVTT-ItemPiles

gsterling commented 2 years ago

I just saw this module. I think that would be a good module for loot. https://github.com/fantasycalendar/FoundryVTT-ItemPiles

It also uses socketlib to make the piles lootable without full ownership. Do you also do that or might it help you?

This module uses the socketlib library so that players can modify the contents and the look of item piles without having to have full ownership of the item piles. Without it, they could only drop items and create item piles using pile actors they own.

whelan commented 2 years ago

Hmm I think I will have a look at it as I have switched to sockets for helping me with the merchant decrease and increase. Maybe it can make it more stable.