Shops

Overview

Creating shops are done via the Shop Editor under the Game Editors tab on the main interface.

Editor

Managing Shops

Management

  • Clicking on the first icon here will create a new shop. Shortcut = Ctrl+N
  • Clicking on a shop in the list and clicking the second icon will delete that shop.
  • Clicking the third icon will catagorize your shops in alphabetical order.
  • Clicking on a shop in the list and clicking the fourth icon will copy that shop. Shortcut = Ctrl+C
  • Clicking on a shop in the list and clicking the fifth icon will paste your copied shop. Shortcut = Ctrl+V
  • Clicking on the sixth icon will revert your last change to a shop (Does not revert deletion).

Editing Shops

General

General

  • Name: Allows you to set a name for your shop.
  • Folder: Clicking on the + next to this field will allow you to create a folder in the list for shop organization.
  • Default Currency: Allows you to select an item to be considered as the default currency.
  • Buy Sound: Allows you to add a sound when a purchase has been made. Sounds can be found in your clients subfolder, resources\sounds and they’re in .WAV format.
  • Sell Sound: Allows you to add a sound when selling an item.

Items Sold

Item Sold

  • Sort Arrows: Allows you to sort your items within the shop UI.
  • Add Item to be Sold: Allows you to select an item from the item editor which you wish to be sold.
  • Sell for: Allows you to select a currency item which the player will buy with.
  • Sell Cost: Allows you to set a price of the item.
  • Add Selected: Allows you to add the item to the shop when you’ve set the options.
  • Remove Selected: Allows you to remove an item from the list when selected.

Items Bought

Items Bought

  • Whitelist: Ticking this box will allow you to add items that will only be bought by this shop. The shop will buy all items if none are added to the list.
  • Blacklist: Ticking this box will allow you to add items that will be blocked from being bought by this shop.
  • Add Item: Allows you to select an item from the item editor that you wish to be bought or blocked from this shop.
  • Buy for: Allows you to select a currency item that the shop will buy for.
  • Sell Amount: Allows you to set a price of the item.
  • Add Item: Allows you to add the item to the shop when you’ve set the options.
  • Remove Selected: Allows you to remove an item from the list when selected.

Opening Shop

Screenshot_2Screenshot_3

We use the event system to open shops which allows the player to buy/sell items. Click here for more information on how to use events.