Difference between revisions of "Template:FairPoints"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Whoops, silver base value modifier is 1.25, not 1.50.)
(Sigh: silver is 1.25 and gold is 1.50. Put them in the right places. >_<)
Line 15: Line 15:
 
|
 
|
 
{{#ifexpr:  
 
{{#ifexpr:  
{{#expr: 2 + {{FairPointsValue|{{#expr: {{{2}}} * 1.50}}}}}} > 6 | 6 | {{#expr: 2 + {{FairPointsValue|{{#expr: {{{2}}} * 1.50}}}}}}
+
{{#expr: 2 + {{FairPointsValue|{{#expr: {{{2}}} * 1.50}}}}}} > 6 | 6 | {{#expr: 2 + {{FairPointsValue|{{#expr: {{{2}}} * 1.25}}}}}}
 
}}
 
}}
 
}}<!-- //end silver value -->
 
}}<!-- //end silver value -->
Line 25: Line 25:
 
|
 
|
 
{{#ifexpr:  
 
{{#ifexpr:  
{{#expr: 2 + {{FairPointsValue|{{#expr: {{{2}}} * 1.50}}}}}} > 6 | 6 | {{#expr: 2 + {{FairPointsValue|{{#expr: {{{2}}} * 1.25}}}}}}
+
{{#expr: 2 + {{FairPointsValue|{{#expr: {{{2}}} * 1.50}}}}}} > 6 | 6 | {{#expr: 2 + {{FairPointsValue|{{#expr: {{{2}}} * 1.50}}}}}}
 
}}
 
}}
 
}}<!-- //end gold value -->
 
}}<!-- //end gold value -->

Revision as of 18:13, 7 April 2016

Creates a sortable table entry for a given item's value in the Stardew Valley Fair grange display. First argument is the item name, and the second argument is its value. The third argument is "y" if the item can have quality stars. It can be omitted or "n" to display dashes in the silver and gold columns. The point value for silver and gold items is calculated assuming that judging is based on the quality value of the item instead of the base value, i.e. silver items are worth (1 + points(1.25 * base)) instead of just (1 + points(base)).

Image Name Value Points Silver Gold
Radish.png Radish 60 Template:FairPointsValue

Expression error: Unexpected < operator.

Expression error: Unexpected < operator.

Pumpkin.png Pumpkin 320 Template:FairPointsValue

Expression error: Unexpected < operator.

Expression error: Unexpected < operator.

Egg.png Egg 240 Template:FairPointsValue
Oil of Garlic.png Oil of Garlic ??? Template:FairPointsValue