Talk:Quality Stars

This talk page is for discussing Quality Stars.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

Note on Calculation of Price Bonuses

The bonus for silver quality is 25%. The price for a silver item is thus 125% (or 1.25) times the price of the regular item. For a Potato, the base price of 80g is therefore raised to 1.25 * 80g = 100g. What if the answer comes out with a fraction? The base price for a regular Kale is 110g, so the silver price is 110g * 1.25 = 137.5g. The game does not deal in fractions of a gold, so the actual silver price is truncated, and a silver Kale sells for 137g. Truncation means the fractional part is dropped, not rounded. The regular base price for Cauliflower is 175g, so silver Cauliflower's theoretical price is 175g * 1.25 = 218.75g. One can round a fractional half upwards or downwards, depending on choice, but one always rounds three quarters (0.75) upwards. Yet the game's price for silver Cauliflower is 218g, with the fractional 0.75 dropped (truncated). No rounding.

Say you have Farming Skill level 5 or better and you chose the Tiller profession, which gives a 10% bonus. The price for a regular quality Kale is then 110% (or 1.10) times the regular base price of 110g. So, the regular Kale sells for 110g * 1.1 = 121g. No fractions.

What about silver Kale? There are two bonuses, and three ways to use them in a calculation. What does the game do?

    1. The bonus amounts could first be added together and then the sum applied to the regular price: 25% + 10% = 35%, which would give 135% or 1.35 times the regular price: 110g * 1.35 = 148.5g, or 148g after truncation.
    2. The bonus amounts could be calculated sequentially, first one, then the other. Which one first? Or does it matter? If the bonuses are multiplicative, it doesn't matter: regular price * 1.25 * 1.1 = regular price * 1.1 * 1.25 = 1.375 * regular price. So, for silver Kale, 110g * 1.375 = 151.25g, or 151g after truncation. This is the same thing arithmetically as truncating only once, at the end of the calculation.
    3. What if two truncations occur? Then it matters which bonus comes first. As we have seen, the price of silver Kale is 137g. A further 10% for Tiller would then be 137g * 1.1 = 150.7g, or 150g after the second truncation. If Tiller is applied to the regular price first, the 110g * 1.1 = 121g, and 121g * 1.25 (for silver) = 151.25g, or 151g after the second truncation.

I have verified that the game uses two truncations and applies the quality bonus first. In essence, the silver quality price (truncated) becomes a new base price for calculating the other bonus. Regular Kale with Tiller is 121g: only the 10% bonus involved. But you may verify at Pierre's that when you have Tiller, he buys a silver Kale for 150g. Quality first, then Tiller, each separately truncated, is the only calculation method that yields that price.

You can therefore apply this method (quality first, with truncation, then other bonuses) to calculate for yourself the net price of any quality item that carries another bonus. Such combinations are too many and too rare to be completely presented in the Wiki. But the Wiki gives you a leg up! Take the quality level price you find there, and then calculate the other bonus only, based on that. Butterbur (talk) 01:27, 9 April 2017 (BST)

Return to "Quality Stars" page.