From OtherSpace: Encyclopedia Galactica
Jump to: navigation, search
(Usage)
Line 12: Line 12:
 
===Usage===
 
===Usage===
 
'''+shop/new [<number> ]<item>[ as <name>][ buy <price>][ sell <price>][ fixed ]'''
 
'''+shop/new [<number> ]<item>[ as <name>][ buy <price>][ sell <price>][ fixed ]'''
<number> is how many items to put into the shop.
+
*<number> is how many items to put into the shop.
<item> is an item from your inventory, or an item parent.
+
*<item> is an item from your inventory, or an item parent.
<name> is what the shop will display the item as.
+
*<name> is what the shop will display the item as.
<price> is the price you want to buy or sell the item at.
+
*<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.
+
*fixed is an admin-only option that allows the shop to sell an unlimited number of the item.

Revision as of 16:47, 21 June 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.
+shop/add will simply refill the vendor's inventory of a given item.
+shop/remove will remove items from the inventory, or delete the item.

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.