Difference between revisions of "Template:Food"
From Salem Wiki
Line 105: | Line 105: | ||
|- | |- | ||
{{#if: {{{ReduceCorn|}}} | {{!}} {{#ifexpr: {{{ReduceCorn|}}} < 0 | Reduces | [[Category:Food That Restores Gluttony]] Restores }} {{PropVals/getIcon|Corn Gluttony}}[[Corn Gluttony|Corn]] with [[CornReduce::{{#expr: abs {{{ReduceCorn|}}}}}% ({{{CornChance|0}}}% chance)]]| }} | {{#if: {{{ReduceCorn|}}} | {{!}} {{#ifexpr: {{{ReduceCorn|}}} < 0 | Reduces | [[Category:Food That Restores Gluttony]] Restores }} {{PropVals/getIcon|Corn Gluttony}}[[Corn Gluttony|Corn]] with [[CornReduce::{{#expr: abs {{{ReduceCorn|}}}}}% ({{{CornChance|0}}}% chance)]]| }} | ||
+ | |- | ||
+ | {{#if: {{{ReduceShellfish|}}} | {{!}} {{#ifexpr: {{{ReduceShellfish|}}} < 0 | Reduces | [[Category:Food That Restores Gluttony]] Restores }} {{PropVals/getIcon|Shellfish Gluttony}}[[Shellfish Gluttony|Shellfish]] with [[ShellfishReduce::{{#expr: abs {{{ReduceShellfish|}}}}}% ({{{ShellfishChance|0}}}% chance)]]| }} | ||
|- | |- | ||
|} | |} | ||
Line 185: | Line 187: | ||
| ReduceVegetables=349 | | ReduceVegetables=349 | ||
| VegetablesChance=369 | | VegetablesChance=369 | ||
− | + | |ReducesShellfish=-20 | |
+ | |ShellfishChance=40 | ||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 21:48, 1 October 2014
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.
Healing and Gluttony: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|