Template:Meat Leather Curve
Jump to navigation
Jump to search
Implements the Meat Amount and Leather Amount post-processing curve.
For a number Q it returns:
- If Q > 40: The closest integer.
- Else, If Q>5: 26/35*Q + 40*9/35 = (26*Q+360)/35, Rounded to the closest integer
- In any other case, (14/5)*Q = 2.8*Q , rounded to the closest integer.
Examples:
{{Meat Leather Curve|100}}
-> 100
{{Meat Leather Curve|23}}
-> 27
{{Meat Leather Curve|2}}
-> 6
The above documentation is transcluded from Template:Meat Leather Curve/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |