Difference between revisions of "Template:Food"
From Salem Wiki
(per tick values / adding various stats as properties) |
|||
Line 1: | Line 1: | ||
− | <includeonly>|- | + | <includeonly> |
− | ! style="color:white; font-size:1.4em" | '''Healing/ | + | {{#vardefine:vSaltBlood|{{#explode: {{{Salt}}} |,| 0 }}}} |
+ | |||
+ | {{#vardefine:vSaltPhlegm|{{#explode: {{{Salt}}} |,| 1 }}}} | ||
+ | |||
+ | {{#vardefine:vSaltYellow|{{#explode: {{{Salt}}} |,| 2 }}}} | ||
+ | |||
+ | {{#vardefine:vSaltBlack|{{#explode: {{{Salt}}} |,| 3 }}}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {{#vardefine:vMercuryBlood|{{#explode: {{{Mercury}}} |,| 0 }}}} | ||
+ | |||
+ | {{#vardefine:vMercuryPhlegm|{{#explode: {{{Mercury}}} |,| 1 }}}} | ||
+ | |||
+ | {{#vardefine:vMercuryYellow|{{#explode: {{{Mercury}}} |,| 2 }}}} | ||
+ | |||
+ | {{#vardefine:vMercuryBlack|{{#explode: {{{Mercury}}} |,| 3 }}}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {{#vardefine:vSulphurBlood|{{#explode: {{{Sulphur}}} |,| 0 }}}} | ||
+ | |||
+ | {{#vardefine:vSulphurPhlegm|{{#explode: {{{Sulphur}}} |,| 1 }}}} | ||
+ | |||
+ | {{#vardefine:vSulphurYellow|{{#explode: {{{Sulphur}}} |,| 2 }}}} | ||
+ | |||
+ | {{#vardefine:vSulphurBlack|{{#explode: {{{Sulphur}}} |,| 3 }}}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {{#vardefine:vLeadBlood|{{#explode: {{{Lead}}} |,| 0 }}}} | ||
+ | |||
+ | {{#vardefine:vLeadPhlegm|{{#explode: {{{Lead}}} |,| 1 }}}} | ||
+ | |||
+ | {{#vardefine:vLeadYellow|{{#explode: {{{Lead}}} |,| 2 }}}} | ||
+ | |||
+ | {{#vardefine:vLeadBlack|{{#explode: {{{Lead}}} |,| 3 }}}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {{#vardefine:vSumBlood|{{#expr: {{#var:vSaltBlood}} + {{#var:vMercuryBlood}} + {{#var:vSulphurBlood}} + {{#var:vLeadBlood}} }}}} | ||
+ | |||
+ | {{#vardefine:vSumPhlegm|{{#expr: {{#var:vSaltPhlegm}} + {{#var:vMercuryPhlegm}} + {{#var:vSulphurPhlegm}} + {{#var:vLeadPhlegm}} }}}} | ||
+ | |||
+ | {{#vardefine:vSumYellow|{{#expr: {{#var:vSaltYellow}} + {{#var:vMercuryYellow}} + {{#var:vSulphurYellow}} + {{#var:vLeadYellow}} }}}} | ||
+ | |||
+ | {{#vardefine:vSumBlack|{{#expr: {{#var:vSaltBlack}} + {{#var:vMercuryBlack}} + {{#var:vSulphurBlack}} + {{#var:vLeadBlack}} }}}} | ||
+ | |||
+ | |||
+ | |- | ||
+ | ! style="color:white; font-size:1.4em" | '''Healing and Gluttony / per "tick":''' | ||
|- | |- | ||
| | | | ||
Line 19: | Line 80: | ||
|- style="background:darkred; color:#ffffff" | |- style="background:darkred; color:#ffffff" | ||
| style="background:#efebe5; text-align:right" | '''[[Salt|Salt:]]''' | | style="background:#efebe5; text-align:right" | '''[[Salt|Salt:]]''' | ||
− | | [[Salt Blood::{{#explode: {{{Salt}}} |,| 0 }}]] | + | | [[Salt Blood::{{#explode: {{{Salt}}} |,| 0 }}]]/ [[Salt Blood PT::{{#expr: {{#explode: {{{Salt}}} |,| 0 }} /{{{eatingTime|999}}}}}]] |
− | | [[Salt Phlegm::{{#explode: {{{Salt}}} |,| 1 }}]] | + | | [[Salt Phlegm::{{#explode: {{{Salt}}} |,| 1 }}]]/ [[Salt Phlegm PT::{{#expr: {{#explode: {{{Salt}}} |,| 1 }} /{{{eatingTime|999}}}}}]] |
− | | [[Salt Yellow::{{#explode: {{{Salt}}} |,| 2 }}]] | + | | [[Salt Yellow::{{#explode: {{{Salt}}} |,| 2 }}]]/ [[Salt Yellow PT::{{#expr: {{#explode: {{{Salt}}} |,| 2 }} /{{{eatingTime|999}}}}}]] |
− | | [[Salt Black::{{#explode: {{{Salt}}} |,| 3 }}]] | + | | [[Salt Black::{{#explode: {{{Salt}}} |,| 3 }}]]/ [[Salt Black PT::{{#expr: {{#explode: {{{Salt}}} |,| 3 }} /{{{eatingTime|999}}}}}]] |
<!-- Mercury Row--> | <!-- Mercury Row--> | ||
|- style="background:darkgreen; color:#ffffff" | |- style="background:darkgreen; color:#ffffff" | ||
| style="background:#efebe5; text-align:right" | '''[[Mercury|Mercury:]]''' | | style="background:#efebe5; text-align:right" | '''[[Mercury|Mercury:]]''' | ||
− | | [[Mercury Blood::{{#explode: {{{Mercury}}} |,| 0 }}]] | + | | [[Mercury Blood::{{#explode: {{{Mercury}}} |,| 0 }}]]/ [[Mercury Blood PT::{{#expr: {{#explode: {{{Mercury}}} |,| 0 }} /{{{eatingTime|999}}}}}]] |
− | | [[Mercury Phlegm::{{#explode: {{{Mercury}}} |,| 1 }}]] | + | | [[Mercury Phlegm::{{#explode: {{{Mercury}}} |,| 1 }}]]/ [[Mercury Phlegm PT::{{#expr: {{#explode: {{{Mercury}}} |,| 1 }} /{{{eatingTime|999}}}}}]] |
− | | [[Mercury Yellow::{{#explode: {{{Mercury}}} |,| 2 }}]] | + | | [[Mercury Yellow::{{#explode: {{{Mercury}}} |,| 2 }}]]/ [[Mercury Yellow PT::{{#expr: {{#explode: {{{Mercury}}} |,| 2 }} /{{{eatingTime|999}}}}}]] |
− | | [[Mercury Black::{{#explode: {{{Mercury}}} |,| 3 }}]] | + | | [[Mercury Black::{{#explode: {{{Mercury}}} |,| 3 }}]]/ [[Mercury Black PT::{{#expr: {{#explode: {{{Mercury}}} |,| 3 }} /{{{eatingTime|999}}}}}]] |
<!-- Sulphur Row--> | <!-- Sulphur Row--> | ||
|- style="background:darkblue; color:#ffffff" | |- style="background:darkblue; color:#ffffff" | ||
| style="background:#efebe5; text-align:right" | '''[[Sulphur|Sulphur:]]''' | | style="background:#efebe5; text-align:right" | '''[[Sulphur|Sulphur:]]''' | ||
| [[Sulphur Blood::{{#explode: {{{Sulphur}}} |,| 0 }}]] / [[Sulphur Blood PT::{{#expr: {{#explode: {{{Sulphur}}} |,| 0 }} / {{{eatingTime|999}}}}}]] | | [[Sulphur Blood::{{#explode: {{{Sulphur}}} |,| 0 }}]] / [[Sulphur Blood PT::{{#expr: {{#explode: {{{Sulphur}}} |,| 0 }} / {{{eatingTime|999}}}}}]] | ||
− | | [[Sulphur Phlegm::{{#explode: {{{Sulphur}}} |,| 1 }}]] | + | | [[Sulphur Phlegm::{{#explode: {{{Sulphur}}} |,| 1 }}]]/ [[Sulphur Phlegm PT::{{#expr: {{#explode: {{{Sulphur}}} |,| 1 }} /{{{eatingTime|999}}}}}]] |
− | | [[Sulphur Yellow::{{#explode: {{{Sulphur}}} |,| 2 }}]] | + | | [[Sulphur Yellow::{{#explode: {{{Sulphur}}} |,| 2 }}]]/ [[Sulphur Yellow PT::{{#expr: {{#explode: {{{Sulphur}}} |,| 2 }} /{{{eatingTime|999}}}}}]] |
− | | [[Sulphur Black::{{#explode: {{{Sulphur}}} |,| 3 }}]] | + | | [[Sulphur Black::{{#explode: {{{Sulphur}}} |,| 3 }}]]/ [[Sulphur Black PT::{{#expr: {{#explode: {{{Sulphur}}} |,| 3 }} /{{{eatingTime|999}}}}}]] |
<!-- Lead Row--> | <!-- Lead Row--> | ||
|- style="background:darkgoldenrod; color:#ffffff" | |- style="background:darkgoldenrod; color:#ffffff" | ||
| style="background:#efebe5; text-align:right" | '''[[Lead|Lead:]]''' | | style="background:#efebe5; text-align:right" | '''[[Lead|Lead:]]''' | ||
− | | [[Lead Blood::{{#explode: {{{Lead}}} |,| 0 }}]] | + | | [[Lead Blood::{{#explode: {{{Lead}}} |,| 0 }}]]/ [[Lead Blood PT::{{#expr: {{#explode: {{{Lead}}} |,| 0 }} /{{{eatingTime|999}}}}}]] |
− | | [[Lead Phlegm::{{#explode: {{{Lead}}} |,| 1 }}]] | + | | [[Lead Phlegm::{{#explode: {{{Lead}}} |,| 1 }}]]/ [[Lead Phlegm PT::{{#expr: {{#explode: {{{Lead}}} |,| 1 }} /{{{eatingTime|999}}}}}]] |
− | | [[Lead Yellow::{{#explode: {{{Lead}}} |,| 2 }}]] | + | | [[Lead Yellow::{{#explode: {{{Lead}}} |,| 2 }}]]/ [[Lead Yellow PT::{{#expr: {{#explode: {{{Lead}}} |,| 2 }} /{{{eatingTime|999}}}}}]] |
− | | [[Lead Black::{{#explode: {{{Lead}}} |,| 3 }}]] | + | | [[Lead Black::{{#explode: {{{Lead}}} |,| 3 }}]]/ [[Lead Black PT::{{#expr: {{#explode: {{{Lead}}} |,| 3 }} /{{{eatingTime|999}}}}}]] |
+ | <!-- Average Row--> | ||
+ | |- style="background:darkgoldenrod; color:#ffffff" | ||
+ | | style="background:#efebe5; text-align:right" | '''[[Lead|Lead:]]''' | ||
+ | |||
+ | | [[Average Blood::{{#expr: {{#var: vSumBlood}} / 4 }}]] / {{#expr: {{#var: vSumBlood}} / 4 / {{{eatingTime|999}}}}} | ||
+ | |||
+ | | [[Average Phlegm::{{#expr: {{#var: vSumPhlegm}} / 4 }}]] / {{#expr: {{#var: vSumPhlegm}} / 4 / {{{eatingTime|999}}}}} | ||
+ | | [[Average Yellow::{{#expr: {{#var: vSumYellow}} / 4 }}]] / {{#expr: {{#var: vSumYellow}} / 4 / {{{eatingTime|999}}}}} | ||
+ | | [[Average Lead::{{#expr: {{#var: vSumLead}} / 4 }}]] / {{#expr: {{#var: vSumLead}} / 4 / {{{eatingTime|999}}}}} | ||
+ | |||
|} | |} | ||
{| style="width:100%; border:black 2px solid; background:#efebe5; padding=10px; vertical-align:bottom; text-align:center;" | {| style="width:100%; border:black 2px solid; background:#efebe5; padding=10px; vertical-align:bottom; text-align:center;" |
Revision as of 14:09, 24 November 2012
NOTE: This is a MODULAR template. It MUST be used after one the the following templates:
- Template:Foraged if the food item is foraged.
- Template:Crafted if the food item is crafted.
See Help:Contributing for instructions and examples for adding a new page to the wiki.
{{#vardefine:vSaltBlood|2}} {{#vardefine:vSaltPhlegm|3}} {{#vardefine:vSaltYellow|4}} {{#vardefine:vSaltBlack|5}} {{#vardefine:vMercuryBlood|3}} {{#vardefine:vMercuryPhlegm|4}} {{#vardefine:vMercuryYellow|5}} {{#vardefine:vMercuryBlack|6}} {{#vardefine:vSulphurBlood|4}} {{#vardefine:vSulphurPhlegm|5}} {{#vardefine:vSulphurYellow|6}} {{#vardefine:vSulphurBlack|7}} {{#vardefine:vLeadBlood|5}} {{#vardefine:vLeadPhlegm|6}} {{#vardefine:vLeadYellow|7}} {{#vardefine:vLeadBlack|8}} {{#vardefine:vSumBlood|Expression error: Unrecognized punctuation character "{".}} {{#vardefine:vSumPhlegm|Expression error: Unrecognized punctuation character "{".}} {{#vardefine:vSumYellow|Expression error: Unrecognized punctuation character "{".}} {{#vardefine:vSumBlack|Expression error: Unrecognized punctuation character "{".}}Healing and Gluttony / per "tick": | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|