![]() ![]() This allows oil to be shown in multi-item infobox displays alongside other artisan goods without any special handling elsewhere. This value is always ignored ( prof_mult is forced to be 1) for Oil and Coffee, to ensure that the Artisan Profession bonus is not accidentally displayed for these items.Any other multipliers ( e.g., profession price bonuses) that should be included in the calculated price.If a non-numeric cost is provided, it will be printed as-is for all requested qualities (and the sortkey is set to "0" to hide the non-numeric data from any table-sorting). Normally the base cost should be a numeric value (or valid numeric expression).Required unless srcprice and auto are specified AND the item is one whose price can be auto-calculated.Note that there must be no spaces following the item_name - the "|" symbol must come immediately afterwards, or the template will fail (due to quirks of how mediawiki templates process arguments).Even if there is a language-specific item image ( e.g., File:Large Milk FR.png in French), it should not be necessary to alter the image name ( Template:Quality automatically handles all variants of milk image names). On non-english wikis this should normally be the english item_name. ![]() There should be a corresponding image named File:item_name.png. See Template:ParseInputQuality for more information on quality-related parameters. Default value for all arguments is empty, unless specified otherwise. All other parameters are named and optional. There are two unnamed, required parameters, item_name and base_cost. ![]() Changing the order of operations and/or omitting any of the rounding-down steps will cause changes in the calculated values for some items and result in discrepancies between the wiki's displayed values and the actual in-game values. This sequence of operations (and the specific order in which they are done) replicates the calculations done by the game code in Object::sellToStorePrice. Rounding down to yield the final displayed sell price.Applying any profession-related bonuses (from the prof_mult parameter).Rounding down the quality-adjusted price.Applying the quality adjustment to the price: multiplying by 1.25 for Silver, 1.5 for Gold, or 2 for Iridium.Rounding down (truncating any fraction) on the input base cost (for the sake of derived base costs such as fruit-specific wine). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |