From OtherSpace: Encyclopedia Galactica
Jump to: navigation, search
Line 3: Line 3:
 
It takes the following switches:
 
It takes the following switches:
 
:'''+shop/new''' will add a new item to the shop.
 
:'''+shop/new''' will add a new item to the shop.
:'''+shop/edit''' will change an existing item.
+
:'''+shop/edit''' will change an existing item. (unfinished)
:'''+shop/add''' will simply refill the vendor's inventory of a given item.
+
:'''+shop/add''' will simply refill the vendor's inventory of a given item. (unfinished)
:'''+shop/remove''' will remove items from the inventory, or delete the item.
+
:'''+shop/remove''' will remove items from the inventory, or delete the item. (unfinished)
  
 
Used without a switch, the default behavior is as +shop/add. You can also use +stock as an alias for this command.
 
Used without a switch, the default behavior is as +shop/add. You can also use +stock as an alias for this command.

Revision as of 21:17, 12 July 2011

This group of commands is used to adjust modify the inventory of a player-owned shop (or of an NPC Shop, if the user is a member of the game staff). Using this is a bit more complicated than most commands, so if you own a shop refer to this page if you're having trouble.

It takes the following switches:

+shop/new will add a new item to the shop.
+shop/edit will change an existing item. (unfinished)
+shop/add will simply refill the vendor's inventory of a given item. (unfinished)
+shop/remove will remove items from the inventory, or delete the item. (unfinished)

Used without a switch, the default behavior is as +shop/add. You can also use +stock as an alias for this command.

Usage

+shop/new [<number> ]<item>[ as <name>][ buy <price>][ sell <price>][ fixed ]

  • <number> is how many items to put into the shop.
  • <item> is an item from your inventory, or an item parent.
  • <name> is what the shop will display the item as.
  • <price> is the price you want to buy or sell the item at.
  • fixed is an admin-only option that allows the shop to sell an unlimited number of the item.