This extension creates a new record type for Shops. The extension is ruleset neutral and based on CoreRPG. It should work with other rulesets based on CoreRPG.
Unity compatible
When you create a shop, you can add items to the shop inventory, and set the number of items availabe in the shop. If you set the count to -1, there will be an infinite number of items available for purchase. The DM can also set a price markup for the entire shop which scales the purchase price of each item.
Players can browse the shops contents, and add items to the shopping cart. The total price of the items in the shopping cart is automatically calcualted and displayed. Players can click "Buy" to add all of the cart items to their inventory, and deduct the price from their currency. The extension does NOT make change, so the player needs to be sure they have enough money to make the purchase.
This shops extension is now available on DMsGuild at https://www.dmsguild.com/product/318...iate_id=712946
Known issues: Due to how Fantasy Grounds implements player restrictions this extension requires that shops be local to the campaign. Shops may be created and exported to modules, but opening a shop from a module will not be editable. Instead, there is a button on shops opened from a module that will copy it to the campaign for editing and use.
Before creating a shop, make sure you define the currencies in the options window. Many rulesets have them pre-defined, but not all.
Before a player purchases an item, they need to ensure that all of the currencies are defined on their character sheet. Fantasy Grounds does NOT prefill those in. An easy way to make sure they are set is to click the buy button on an empty cart.
Support
For support, post here or come over to our Discord for more immediate help.
https://discord.gg/FVgtecr
v1.9 Added a new fcheckbox that allows the DM to mark individual items that will not be added to the inventory when purchased. This is useful for situations where the players are buying services, or meals at restaurants, etc. Where there is no need to clutter up inventory with items.
v1.10 Added a fix for SFRPG users. When an items price field has no currency defined, which seems to be the default for most if not all items, the extension will now assume that they are Credits. If you do not want an item to be assumed to use Credits, you can add in the currency type.
DM View
https://imgur.com/aiPhG31.jpg
Player View
https://imgur.com/mGZjUXG.jpg