Overview
This template is used only within the Traveling merchant articles.
It is used to format output for the two adjacent cells that appear in the price range and chance columns of both the items bought and items sold tables.
When a merchant buys or sells a Resource, they do so at a random price. The game color codes these prices into five categories, ranging from very above average to very below average. The chance that a merchant will buy or sell a given resource itself is also random, and that probability is also displayed as part of this template's output.
Usage
{{F/C/ipr|p1|p2|p3|p4|p5|c1|c2|c3|c4|c5|years}}
- pX
- The first five are the price parameters for each of the five colors, and are shown in the cell in the price range column.
- cX
- The next five are the count parameters for each of the five colors.
- years
- This is the number of in‑game years through which the data was collected.
Example
For items that the merchant buys from you:
{{F/C/ipr|1|2|3|4|5|5|4|3|2|1|30}}
Item | Price range | Chance | Pairs with | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
example item |
|
|
example merchant |