Creating Shops

Creating a shop consists of creating a shopkeeper mob (determining whether he’s in an actual store or a wandering mob), creating the merchandise, and setting up the shop information.

The first step to creating a shop is to have a mob ready to be your shop. Once he is created, come back here to set up your shop.

Now that your mob is created type: shop

shop sell {obj|mob} [vnum] [limit] (use -1 for unlimited)
shop sell remove [vnum]
shop buy [item_type]
shop delete
shop show

End Result:

Shop Information:
Store type: Regular
Selling:
[ VNUM | Amount | Value | Item ]
3200 | Unlmtd | 1300 | an ivory-hilted, guard-less steel sword
3201 | Unlmtd | 800 | a sturdy longbow made of hickory
Buying:
weapon

Shop sell allows you to set what this particular shop is going to sell (whether it’s an obj/mob), the vnum of the obj/mob, and how many it’s going to sell.

Example: shop sell obj 10 -1
This would sell an unlimited amount of object 10.

Shop sell remove allows you to remove an item/mob from resetting in your shop.

Example: shop sell remove 10
If you happen to be selling an object and a mob with the same vnum, you’ll have to remove both and readd the one you want to keep.

Shop buy {item type} allows you to determine the type of objects that this shop will buy from players.
Example: shop buy furniture
This will toggle that item type on and off.

Shop delete will delete all shop options from your shop.

Shop show will allow you to display your items in a particular order.
Example: shop show weight, would list your items in numerical order by weight.

Store Type allows you to determine whether this is a stationary shop or a traveling peddler. This is not activated yet.

Note: Mounts and pets will need their act flag set accordingly as pet or mount.

To exit the mob editor, type: done

And be sure to -always- save your area by typing: edit area, asave area, done