Template:ItemPriceTable

From Ravenblack CityWiki

Jump to: navigation, search
price Charisma(1) Charisma(2) Charisma(3)
Regular shop 100 coins 97 coins 93 coins 90 coins
Discount shop 70 coins 67 coins 65 coins 63 coins
Pawn shop -50 coins


Generates a price table for an item, based on its regular cost. The table can show the prices for all Charisma and shop type combinations.

Output is based on shop discount being 30 %, and charisma discount being 3 %, 7 % and 10 % for level 1, 2, and 3 respectively.

Basic use

{{ItemPriceTable|100}}

The argument 100 is substituted with the item's regular price (what it costs in a non-discount, non-stationary shop when the buyer has no Charisma).

Optional parameters

{{ItemPriceTable|100|rarity|specialprice=110}}

Second parameter: <omitted> | fixed | rarity

  • fixed: price doesn't change with Charisma, nor in discount shops
  • rarity: the regular and discount shop rows aren't shown (requires specialprice)

Note: For rarities, the regular price can be calculated manually by doubling the pawn value.

specialprice: <number>

specialprice2: <number>

  • In the case where prices differ between special shops, a second price can be provided.
Personal tools
advertising