This wiki is a read-only version of the Stardew Valley Wiki. The official editable wiki maintained by ConcernedApe can be found at stardewvalleywiki.com

Template:FairPoints

From Stardew Valley Wiki
Jump to: navigation, search

Description

This template calculates point values awarded for items in the Stardew Valley Fair. It creates a sortable table entry for a given item's base sell price (excluding profession bonuses) in the Stardew Valley Fair grange display.

The first argument is the item's image name, and the second argument is its base sell price. The image name will also be the link to the item unless an alternate name is specified.

The third argument is "y" if the item can have quality stars. It can be omitted or set to "n" to display dashes in the silver/gold/iridium columns.

For items with unusual qualities (like mayonnaise, which comes in normal and gold qualities only), an optional named parameter "qualities" can be specified. This parameter should consist of a comma-separated list of qualities, including some non-numeric word as a placeholder for invalid qualities. Example: {{FairPoints|Mayonnaise|190|y|qualities=0,none,2,none}}

The point value for silver-, gold- and iridium-quality items is calculated assuming that judging is based on the quality sell price of the item instead of the base sell price, i.e., silver-quality items are worth (1 + points(1.25 * base)) instead of just (1 + points(base)).

Usage

{{FairPoints}}

Example

{| class="wikitable sortable"
!Item
!Price
!Base
!Silver
!Gold
!Iridium
{{FairPoints|Radish|name=Gold Bar|60|y}}
{{FairPoints|Pumpkin|320|y}}
{{FairPoints|Egg|240|n}}
{{FairPoints|Oil of Garlic|1000}}
{{FairPoints|Mayonnaise|190|y|qualities=0,none,2,none}}
|}
Item Price Base Silver Gold Iridium
Radish.png Gold Bar Gold.png60g 2 3 5 7
Pumpkin.png Pumpkin Gold.png320g 5 6 6 8
Egg.png Egg Gold.png240g 4
Oil of Garlic.png Oil of Garlic Gold.png1,000g 6
Mayonnaise.png Mayonnaise Gold.png190g 3 6