6.11.5 SHOP RIFTS

BUYING ITEMS FROM A SHOP RIFT

To buy the commodities sold from a shop rift, use the usual syntax: BUY SPARKLEBERRY to buy just one, or BUY 20 SPARKLEBERRY to buy 20 at once. You'll have to use the latter syntax to take advantage of bulk discounts if they're available.

If a shop has some myrtle stocked the "old" way as well as some in the shop rift, and you just specify "myrtle" to buy, you'll get the shop rift myrtle first. You can always override this by specifying a product number, e.g., BUY MYRTLE12345.

======================================================================
STOCKING YOUR SHOP RIFT

The shop rift can only be accessed from the shop stockroom, and only by people who can run the shop (the owner and, if allowed, her allies). To access the shop rift, use these commands:

SHOPINR: to put things into the shop rift; works just like INR.
SHOPOUTR: to remove things from the shop rift; works just like OUTR.
SHOPIR: shows the contents of the shop rift.  SHOPRIFT will also work.
SHOPIND, SHOPINDR, SHOPINRB: put tarot cards, motes, and runes in the shop rift.
SHOPOUTD, SHOPOUTDR, SHOPOUTRB: remove tarot cards, motes and runes.
SHOPDL, SHOPDRL, SHOPRBL: show the contents of the shop rift.

======================================================================
PRICING ITEMS IN YOUR SHOP RIFT

To price items in your rift, use this syntax:

PRICE RIFT <comm> <price> [<qty>:<price> [<qty>:<price>]] [BIN <bin>]

This may look a little complicated but it's quite easy really. In the simplest case, you put some diamond into your shop rift, and want to sell it at 60gp each:

PRICE RIFT DIAMOND 60

You also put some arnica in, which you want to sell at 15gp each from bin 4:

PRICE RIFT ARNICA 15 BIN 4

You happen to have a lot of sugar to sell and want to encourage bulk sales so you offer a bulk discount: 100gp each, or for those buying more than 20 at a time, 90gp each.

PRICE RIFT SUGAR 100 20:90

While you're at it, let's get rid of all that extra milk with two different bulk discounts: 10gp each, or 8gp each in quantities over 50, or 6gp each in quantities over 200.

PRICE RIFT MILK 10 50:8 200:6

Let's put it all together by selling sparkleberry at several prices, in bin 4.

PRICE RIFT SPARKLEBERRY 30 50:28 200:26 BIN 4

If you do use bulk discount prices, you can have no more than two, and they must be logically arranged: the first bulk amount has to be less than the second, for instance, and the discount prices have to be lower.

You can also UNPRICE RIFT <commodity> to unprice the rifted commodity so it won't be sold.

Note that all the arnica in the shop rift will either have no price, or one single set of prices. You can't have some arnica for sale and some reserved not for sale, nor can you have some for sale at one set of prices and some for sale at a different set of prices.

======================================================================
PRICE POLICIES AND SHOP RIFTS

Any price policies you have in effect will apply to items sold from your shop rift the same as they do to items sold from the stockroom floor. Similarly, if bins are restricted, shop rift items will be affected by the same restrictions.

If you apply a discount with a shop policy, that discount will be applied before a price is multiplied by a quantity, to avoid rounding error. For example, suppose you're buying 100 arnica, and at that quantity, the price would be 10gp each; but you're a favored customer and you get a 6% discount. The price will be listed at 9gp each, since a 6% discount on 10gp is rounded to 9gp. Buying 100 will thus cost 900gp. (It won't end up costing 940gp, which is what you'd get if you multiplied the 10gp price by the 100 quantity before applying the 6% discount.)

======================================================================
SHOP RIFT ITEMS IN WARES

The WARES display for these items will be listed alongside other items, but the format is a little different, to show available bulk discounts:

----(Item)------(Description)--------------------------(Stock)-(Price)-
[herbs]
   yarrow12345: a group of 20 yarrow sprigs                60     290gp
  sparkleberry: 45gp each, 36gp over 20, 27gp over 50     200      45gp

The first line is some yarrow stocked the "old fashioned" way (and yes, you can still stock commodities that way, and existing stocks should still work), while the second line is some sparkleberry stocked in a shop rift. The "description" column will show whatever pricing is available, including bulk pricing.

If you've set up a bulk discount, but there isn't enough of the item stocked to cover the required quantity, that discount won't be listed. Don't worry, it's still recorded, and it'll reappear once the stock levels rise enough to offer it.