6.12.4 Shop Policies
Shop policy is the method in which you may dictate whether a customer is refused service, or is given a discount/premium. Commands --------------------- Policy Creation: SHOP POLICY LIST List a shop's existing policies SHOP POLICY NEW <name> Create a new policy SHOP POLICY <#> DELETE Delete a policy SHOP POLICY <#> SHOW Show a policy in long form SHOP POLICY <#> NAME <title> Give a policy a descriptive name Policy Type: SHOP POLICY <#> REFUSAL Refuse service/hide shelf SHOP POLICY <#> DISCOUNT <%> Decrease cost of purchase SHOP POLICY <#> PREMIUM <%> Increase cost of purchase Policy Application: SHOP POLICY <#> PUBLIC <ALL|NONE> *Applies to the whole playerbase SHOP POLICY <#> EXPLICIT Requires meeting all orgs selected SHOP POLICY <#> PERSON <name> Applies or *excludes an individual SHOP POLICY <#> ORG <name> [rank] Applies or *excludes an organization SHOP POLICY <#> MILITIA <rank> Applies or *excludes city militia SHOP POLICY <#> NEWBIE Applies or *excludes newbies SHOP POLICY <#> LEVEL <level> Applies or *excludes an experience level SHOP POLICY <#> CODE <word> Requires code to access. WARES CODE <word> Allows shopping with a code word. * If PUBLIC ALL is applied, setting persons, organizations, milita, or newbies will exclude them from the refusal, discount, or premium. Creating a policy ----------------- You may have up to 20 policies at any time. When you create a policy you will have the option of naming it. Name it something memorable and related to the policy you are about to create. Defining your policy -------------------- Policies can be rather confusing at first. If you feel confused about how you have setup your policy, then make use of the SHOW command as it'll explain how the policy will work in long form. Policy membership ----------------- By default, if you belong to at least one of the supplied groups, then you are considered covered by the policy. This can be inverted by making use of the PUBLIC command. If you decide to mark as policy as EXPLICIT, then a customer must have membership within all groups in order to be covered. Policy modifications -------------------- There are currently three modifications. Refusal, which will take priority over all other policies. Discounts, which will provide a percent-based discount to the pricing. And premiums, which will increase the price by a percent. Discounts and premiums are calculated by adding them up from all covered policies and then applying it to the price. Applying a policy ----------------- Policies won't take effect until they are attached to a shelf. You can add a single policy to multiple shelves, or multiple policies to a single shelf. EXAMPLE: Creating a policy that only sells to your guild -------------------------------------------------------- 1. SHOP POLICY NEW Guild_Only This creates a new policy. 2. SHOP POLICY # REFUSAL This policy will prohibit someone from seeing the shelf. 3. SHOP POLICY # PUBLIC ALL This means that the everyone will be refused. 4. SHOP POLICY # ORG <your guild> This means that your guild is an exception from the two above clauses. While everyone in the world is refused service, your guild can still see the shelf. EXAMPLE: Creating a shop password -------------------------------------------------------- 1. SHOP POLICY NEW Password This creates a new policy. 2. SHOP POLICY # REFUSAL This policy will prohibit someone from seeing the shelf. 3. SHOP POLICY # PUBLIC ALL This means everyone is refused and cannot see the shelf. 4. SHOP POLICY # CODE ExampleCode This means ONLY people who use WARES CODE ExampleCode (the code is CaSe SeNsItIvE) will be able to see the shelf. NOTE: Without applying a second policy to refuse service to other places, such as a city or a guild, ANYONE with the password will be able to use it at your shop. If you wish to reject sales to an enemy city AND allow only your city to use the code, you will need two policies in place - one to refuse sales to said enemy city and a second one to allow sales only with the code. See also: HELP SHELVING and HELP SHOPKEEPING