Hello everyone, it is I again. As announced quite some time ago, I have been working on a major rework of my Magic Item Store Script and I have finally finished it. The main reason I am making a new thread is because the new version is so different from the old one that I felt discussion about it should be in a separate thread. If you experience any Issues with this Script, please let me know and I will try to fix it as soon as I can. IMPORTANT: This Script depends on ChatSetAttr and will NOT work without it. Features Standardized Commands Creation of multiple Stores Ability to add custom Items Ability to edit existing Items Activation/Deactivation of Stores Inflation/Deflation of Prices Ability to buy Items (automatically removes Gold and adds Items to the Character's Inventory) Shop Menu for Players Ability to Haggle prices And much, much more. GitHub Repository Commands
GM ONLY
!store - Pulls up the Menu and allows the GM to create and modify Stores --reset - Resets all Stores. --create --name {Insert Name} - Allows the GM to create a new Store.
--store {Insert existing Store Name} - Shows the GM all Information about a certain Store.
--inv view/edit/generate/reset - Allows the GM to edit, generate or reset the Inventory of the selected Store or view a specific item. Edit & View Only
--item {Insert Item Name} - Select a specific Item that you wish to edit/view. Edit Only --remove - Removes the selected Item. --add - Adds a new Item --name {Insert new Name} - Set the Name of an Item --desc {Insert new Description} - Set the Description of an Item (Check the Wiki to see how a Description is structured) --mods {Insert new Modifiers} - Set the Modifiers of an Item. (Check the Wiki to see how Modifiers work) --props {Insert new Properties} - Set the Properties of an Item. (E.g. Light, Heavy, Two-Handed, etc.) --price {Insert new Price} - Set the Price (GP) of an Item. (Must be 0 or above) --amount {Insert new Amount} - Set the Amount of Items you will receive upon buying (Must be at least 1 and a whole number - no fractions!) Generate Only
--type {Insert Item Type} --minrare {Insert minimum Rarity} --maxrare {Insert maximum Rarity} - Generate a random Inventory based on Item Type and Rarity. For a list of available Types and Rarities, check the Rarity List and the Type List --overwrite true/false - Select whether you wish you to Overwrite an already existing Inventory. (Put true if so, put false if not) Default: true General --players - Add this Option if you want to show the selected Store to the Players. --name {Insert new Name} - Changes the Name of the selected Store. --hdc {Insert new Haggle DC} - Sets the Haggle DC for the selected Store. (Default: 10) --inflate {Insert number from 0.1 to Infinity} - Set a Percentage of Inflation to increase prices. --deflate {Insert number from 0.1 to Infinity} - Set a Percentage of Deflation to decrease prices. --activate - Activates the selected Store and makes it available for Players. --deactivate - Deactivates the selected Store and makes it visible to only the GM. --delete - Deletes the selected Store.
GM & Players
!shop - Pulls up a Menu where all active Stores and Options are displayed --cart {Insert Cart Number} - Select a Cart to use. (Optional) --store {Insert existing Shop Name} - selects a certain Shop --buy {Insert Item Name} - Pulls up the Purchasing menu --amount {Insert amount} - increases the amount of Items you buy (Default: 1) --haggle - Pulls up the Haggling menu --amount - sets the amount you want to haggle for --{Insert Skill} - sets the skill used in haggling (Persuasion or Intimidation)
!cart - Pulls up the Shopping Cart Menu. --reset - Resets all Carts --new - Creates a new Shopping Cart. --{Insert Cart Name} - Shows you the content of the selected Cart. --rem {Insert Item Name} - Removes an Item from your Cart.
!checkout - Buys a specific item or all items in a Cart. --cart {Insert Cart Name} - Purchase the Items in your Cart. --store {Insert Store Name} --item {Insert Item Name} - Purchase a specific item