Hi all,
LATEST UPDATE: 0.3 - 3/25/24
I updated my Merchant System add-on for all of you that was originally found here: https://jdiperla.itch.io/merchant-system-for-rpg-in-a-box
WHAT IS THE MERCHANT ADD-ON SYSTEM?
This is a free add-on that you can use with RPG in a Box to easily create a dialogue based merchant or shop system. This allows for inventory management, price management, buying and selling options, etc... The add-on will be expanded on with more and more features. Eventually it will include a standalone JSON editor for use in your projects to streamline creating shops and merchants. It will also allow GUI style shops instead of just dialogue style shops. Scripts will also be attachable so you can create healing and such within these shops and much much more.
I streamlined it a bit so it is easier to use and there are fewer and easier set up steps and usage for it from the previous version. I am still working on this system and my roadmap is mostly the same. The next thing I am working on is allowing the user to sell items. Keep an eye out. See attached screenshots as well.
Read the installation and usage file located in the zip.
Features of V 0.1 (3/19/24):
-Easy Installation and usage
-Updated to work with RPG in a Box V 1.1.2
-Users can create different merchant shops and assign them to specific NPC's, easily.
-Users can customize their shop with an intro message.
-You can create inventory for a merchant and specify stock availability and cost for the item. Purchases will deduct from the current currency of your player and from the stock of the merchant.
-Currently the system will not show an item if either the item is out of stock or the player can not afford it. This will change in the future and be completely optional.
Changes in V 0.2 (3/20/24):
-Stores now have the option to offer to buy your items or not.
-You can set a generic resell cost for an item or you can choose to set a cost per shop so that they will purchase at special pricing.
-You can limit which shops will repurchase your items.
-NOTE: Installation is the same usual. However, now note that there is an extra flag at the end of addmerchant which needs to state true if you wish the merchant to buy items from you or false if you do not.
Changes in V 0.3 (3/25/24):
-You can now create shops, set the items up for the shops and also create pricing rules for items via JSON data files.
-Fixed a bug where if the store had nothing left to purchase from you, it would crash upon trying to sell to it.
-Updated Instructions
-Included Change Log/Release Notes with the add-on
Changes in V 0.4 (3/25/24)
-Added changeShopSellMsg scripting function to change the sellers message of a shop when selling to them.
-Added changeShopMsg scripting function to change the shops main message
-Added changeShopOwner scripting function to change who the new owner of the shop will be displayed. Helpful if you do not want to create two shops with exact inventory.
-Added the ability to run a script when purchasing an item choice instead of receiving an item. This allows a merchant to sell items such as healing or stat increases by running a script.
Changes in V. 0.5 - 04/02/24
-Added variables to create merchant function so that you can specify if the merchant should display Cost and/or stock availability.
-Added showHideCost scripting function so you can turn on the option to change or hide the cost of items for a merchant.
-Added showHideStock scripting function so you can turn on the option to change or hide the stock availability of the items for a particular merchant.
-NOTE: That I will no longer be updating the instructions post. Please read the included installation instructions file for further help on new features and changes. Consider the instructions post outdated.
AS WITH ANYTHING, ALWAYS BACK UP YOUR PROJECT BEFORE USING.
