Difference between revisions of "Template:Food"
From Salem Wiki
Line 59: | Line 59: | ||
| | | | ||
{| style="text-align:left" | {| style="text-align:left" | ||
− | {{#if: {{{ReduceBerries|}}} | {{!}} {{#ifexpr: {{{ReduceBerries|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Berries Gluttony}}[[Berries Gluttony|Berries]] with {{#expr: abs {{{ReduceBerries|}}}}}% ({{{BerriesChance|0}}}% chance)| }} | + | {{#if: {{{ReduceBerries|}}} | {{!}} {{#ifexpr: {{{ReduceBerries|}}} < 0 | Reduces | Restores [[Category: Food That Restores Gluttony]]}} {{PropVals/getIcon|Berries Gluttony}}[[Berries Gluttony|Berries]] with {{#expr: abs {{{ReduceBerries|}}}}}% ({{{BerriesChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceBread|}}} | {{!}} {{#ifexpr: {{{ReduceBread|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Bread Gluttony}}[[Bread Gluttony|Bread]] with {{#expr: abs {{{ReduceBread|}}}}}% ({{{BreadChance|0}}}% chance)| }} | + | {{#if: {{{ReduceBread|}}} | {{!}} {{#ifexpr: {{{ReduceBread|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Bread Gluttony}}[[Bread Gluttony|Bread]] with {{#expr: abs {{{ReduceBread|}}}}}% ({{{BreadChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceCabbages|}}} | {{!}} {{#ifexpr: {{{ReduceCabbages|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Cabbages Gluttony}}[[Cabbages Gluttony|Cabbages]] with {{#expr: abs {{{ReduceCabbages|}}}}}% ({{{CabbagesChance|0}}}% chance)| }} | + | {{#if: {{{ReduceCabbages|}}} | {{!}} {{#ifexpr: {{{ReduceCabbages|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Cabbages Gluttony}}[[Cabbages Gluttony|Cabbages]] with {{#expr: abs {{{ReduceCabbages|}}}}}% ({{{CabbagesChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceCandy|}}} | {{!}} {{#ifexpr: {{{ReduceCandy|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Candy & Sweet Gluttony}}[[Candy & Sweet Gluttony|Candy]] with {{#expr: abs {{{ReduceCandy|}}}}}% ({{{CandyChance|0}}}% chance)| }} | + | {{#if: {{{ReduceCandy|}}} | {{!}} {{#ifexpr: {{{ReduceCandy|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Candy & Sweet Gluttony}}[[Candy & Sweet Gluttony|Candy]] with {{#expr: abs {{{ReduceCandy|}}}}}% ({{{CandyChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceCereal|}}} | {{!}} {{#ifexpr: {{{ReduceCereal|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Cereal & Grain Gluttony}}[[Cereal & Grain Gluttony|Cereal]] with {{#expr: abs {{{ReduceCereal|}}}}}% ({{{CerealChance|0}}}% chance)| }} | + | {{#if: {{{ReduceCereal|}}} | {{!}} {{#ifexpr: {{{ReduceCereal|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Cereal & Grain Gluttony}}[[Cereal & Grain Gluttony|Cereal]] with {{#expr: abs {{{ReduceCereal|}}}}}% ({{{CerealChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceCookies|}}} | {{!}} {{#ifexpr: {{{ReduceCookies|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Cookies & Crakers Gluttony}}[[Cookies & Crakers Gluttony|Cookies]] with {{#expr: abs {{{ReduceCookies|}}}}}% ({{{CookiesChance|0}}}% chance)| }} | + | {{#if: {{{ReduceCookies|}}} | {{!}} {{#ifexpr: {{{ReduceCookies|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Cookies & Crakers Gluttony}}[[Cookies & Crakers Gluttony|Cookies]] with {{#expr: abs {{{ReduceCookies|}}}}}% ({{{CookiesChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceCrustacea|}}} | {{!}} {{#ifexpr: {{{ReduceCrustacea|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Crustacea & Shellfish Gluttony}}[[Crustacea & Shellfish Gluttony|Crustacea]] with {{#expr: abs {{{ReduceCrustacea|}}}}}% ({{{CrustaceaChance|0}}}% chance)| }} | + | {{#if: {{{ReduceCrustacea|}}} | {{!}} {{#ifexpr: {{{ReduceCrustacea|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Crustacea & Shellfish Gluttony}}[[Crustacea & Shellfish Gluttony|Crustacea]] with {{#expr: abs {{{ReduceCrustacea|}}}}}% ({{{CrustaceaChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceFish|}}} | {{!}} {{#ifexpr: {{{ReduceFish|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Fish Gluttony}}[[Fish Gluttony|Fish]] with {{#expr: abs {{{ReduceFish|}}}}}% ({{{FishChance|0}}}% chance)| }} | + | {{#if: {{{ReduceFish|}}} | {{!}} {{#ifexpr: {{{ReduceFish|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Fish Gluttony}}[[Fish Gluttony|Fish]] with {{#expr: abs {{{ReduceFish|}}}}}% ({{{FishChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceFlower|}}} | {{!}} {{#ifexpr: {{{ReduceFlower|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Flower & Herbs Gluttony}}[[Flower & Herbs Gluttony|Flower]] with {{#expr: abs {{{ReduceFlower|}}}}}% ({{{FlowerChance|0}}}% chance)| }} | + | {{#if: {{{ReduceFlower|}}} | {{!}} {{#ifexpr: {{{ReduceFlower|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Flower & Herbs Gluttony}}[[Flower & Herbs Gluttony|Flower]] with {{#expr: abs {{{ReduceFlower|}}}}}% ({{{FlowerChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceFood|}}} | {{!}} {{#ifexpr: {{{ReduceFood|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Food Gluttony}}[[Food Gluttony|Food]] with {{#expr: abs {{{ReduceFood|}}}}}% ({{{FoodChance|0}}}% chance)| }} | + | {{#if: {{{ReduceFood|}}} | {{!}} {{#ifexpr: {{{ReduceFood|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Food Gluttony}}[[Food Gluttony|Food]] with {{#expr: abs {{{ReduceFood|}}}}}% ({{{FoodChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceForage|}}} | {{!}} {{#ifexpr: {{{ReduceForage|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Forage Gluttony}}[[Forage Gluttony|Forage]] with {{#expr: abs {{{ReduceForage|}}}}}% ({{{ForageChance|0}}}% chance)| }} | + | {{#if: {{{ReduceForage|}}} | {{!}} {{#ifexpr: {{{ReduceForage|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Forage Gluttony}}[[Forage Gluttony|Forage]] with {{#expr: abs {{{ReduceForage|}}}}}% ({{{ForageChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceGame|}}} | {{!}} {{#ifexpr: {{{ReduceGame|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Game Gluttony}}[[Game Gluttony|Game]] with {{#expr: abs {{{ReduceGame|}}}}}% ({{{GameChance|0}}}% chance)| }} | + | {{#if: {{{ReduceGame|}}} | {{!}} {{#ifexpr: {{{ReduceGame|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Game Gluttony}}[[Game Gluttony|Game]] with {{#expr: abs {{{ReduceGame|}}}}}% ({{{GameChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceMeat|}}} | {{!}} {{#ifexpr: {{{ReduceMeat|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Meat Gluttony}}[[Meat Gluttony|Meat]] with {{#expr: abs {{{ReduceMeat|}}}}}% ({{{MeatChance|0}}}% chance)| }} | + | {{#if: {{{ReduceMeat|}}} | {{!}} {{#ifexpr: {{{ReduceMeat|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Meat Gluttony}}[[Meat Gluttony|Meat]] with {{#expr: abs {{{ReduceMeat|}}}}}% ({{{MeatChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceMushrooms|}}} | {{!}} {{#ifexpr: {{{ReduceMushrooms|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Mushrooms Gluttony}}[[Mushrooms Gluttony|Mushrooms]] with {{#expr: abs {{{ReduceMushrooms|}}}}}% ({{{MushroomsChance|0}}}% chance)| }} | + | {{#if: {{{ReduceMushrooms|}}} | {{!}} {{#ifexpr: {{{ReduceMushrooms|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Mushrooms Gluttony}}[[Mushrooms Gluttony|Mushrooms]] with {{#expr: abs {{{ReduceMushrooms|}}}}}% ({{{MushroomsChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceNuts|}}} | {{!}} {{#ifexpr: {{{ReduceNuts|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Nuts & Seeds Gluttony}}[[Nuts & Seeds Gluttony|Nuts]] with {{#expr: abs {{{ReduceNuts|}}}}}% ({{{NutsChance|0}}}% chance)| }} | + | {{#if: {{{ReduceNuts|}}} | {{!}} {{#ifexpr: {{{ReduceNuts|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Nuts & Seeds Gluttony}}[[Nuts & Seeds Gluttony|Nuts]] with {{#expr: abs {{{ReduceNuts|}}}}}% ({{{NutsChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceOffal|}}} | {{!}} {{#ifexpr: {{{ReduceOffal|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Offal Gluttony}}[[Offal Gluttony|Offal]] with {{#expr: abs {{{ReduceOffal|}}}}}% ({{{OffalChance|0}}}% chance)| }} | + | {{#if: {{{ReduceOffal|}}} | {{!}} {{#ifexpr: {{{ReduceOffal|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Offal Gluttony}}[[Offal Gluttony|Offal]] with {{#expr: abs {{{ReduceOffal|}}}}}% ({{{OffalChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReducePies|}}} | {{!}} {{#ifexpr: {{{ReducePies|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Pies Gluttony}}[[Pies Gluttony|Pies]] with {{#expr: abs {{{ReducePies|}}}}}% ({{{PiesChance|0}}}% chance)| }} | + | {{#if: {{{ReducePies|}}} | {{!}} {{#ifexpr: {{{ReducePies|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Pies Gluttony}}[[Pies Gluttony|Pies]] with {{#expr: abs {{{ReducePies|}}}}}% ({{{PiesChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReducePoultry|}}} | {{!}} {{#ifexpr: {{{ReducePoultry|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Poultry Gluttony}}[[Poultry Gluttony|Poultry]] with {{#expr: abs {{{ReducePoultry|}}}}}% ({{{PoultryChance|0}}}% chance)| }} | + | {{#if: {{{ReducePoultry|}}} | {{!}} {{#ifexpr: {{{ReducePoultry|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Poultry Gluttony}}[[Poultry Gluttony|Poultry]] with {{#expr: abs {{{ReducePoultry|}}}}}% ({{{PoultryChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReducePumpkin|}}} | {{!}} {{#ifexpr: {{{ReducePumpkin|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Pumpkin Gluttony}}[[Pumpkin Gluttony|Pumpkin]] with {{#expr: abs {{{ReducePumpkin|}}}}}% ({{{PumpkinChance|0}}}% chance)| }} | + | {{#if: {{{ReducePumpkin|}}} | {{!}} {{#ifexpr: {{{ReducePumpkin|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Pumpkin Gluttony}}[[Pumpkin Gluttony|Pumpkin]] with {{#expr: abs {{{ReducePumpkin|}}}}}% ({{{PumpkinChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceSeafood|}}} | {{!}} {{#ifexpr: {{{ReduceSeafood|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Seafood Gluttony}}[[Seafood Gluttony|Seafood]] with {{#expr: abs {{{ReduceSeafood|}}}}}% ({{{SeafoodChance|0}}}% chance)| }} | + | {{#if: {{{ReduceSeafood|}}} | {{!}} {{#ifexpr: {{{ReduceSeafood|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Seafood Gluttony}}[[Seafood Gluttony|Seafood]] with {{#expr: abs {{{ReduceSeafood|}}}}}% ({{{SeafoodChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceSlugs|}}} | {{!}} {{#ifexpr: {{{ReduceSlugs|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Slugs, Bugs & Kritter Gluttony}}[[Slugs, Bugs & Kritter Gluttony|Slugs]] with {{#expr: abs {{{ReduceSlugs|}}}}}% ({{{SlugsChance|0}}}% chance)| }} | + | {{#if: {{{ReduceSlugs|}}} | {{!}} {{#ifexpr: {{{ReduceSlugs|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Slugs, Bugs & Kritter Gluttony}}[[Slugs, Bugs & Kritter Gluttony|Slugs]] with {{#expr: abs {{{ReduceSlugs|}}}}}% ({{{SlugsChance|0}}}% chance)| }} |
|- | |- | ||
− | {{#if: {{{ReduceVegetables|}}} | {{!}} {{#ifexpr: {{{ReduceVegetables|}}} < 0 | Reduces | Restores }} {{PropVals/getIcon|Vegetables & Greens Gluttony}}[[Vegetables & Greens Gluttony|Vegetables]] with {{#expr: abs {{{ReduceVegetables|}}}}}% ({{{VegetablesChance|0}}}% chance)| }} | + | {{#if: {{{ReduceVegetables|}}} | {{!}} {{#ifexpr: {{{ReduceVegetables|}}} < 0 | Reduces | Restores [[Category:Food That Restores Gluttony]] }} {{PropVals/getIcon|Vegetables & Greens Gluttony}}[[Vegetables & Greens Gluttony|Vegetables]] with {{#expr: abs {{{ReduceVegetables|}}}}}% ({{{VegetablesChance|0}}}% chance)| }} |
|- | |- | ||
|} | |} |
Revision as of 02:24, 16 March 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: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Avg. gluttony values when made from these different Meats: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Gluttony values when made from these different flours | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|