Difference between revisions of "Template:VariableFoodGame"
From Salem Wiki
Pistolshrimp (talk | contribs) |
|||
(14 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>|- |
− | |- | ||
! style="color:white; font-size:1.4em" | '''Healing:''' | ! style="color:white; font-size:1.4em" | '''Healing:''' | ||
|- | |- | ||
| | | | ||
− | {| style="width:100%; border:black 2px solid; background:# | + | {| style="width:100%; border:black 2px solid; background:#4c4c4c; padding=10px; vertical-align:bottom; text-align:center;" |
! | ! | ||
! style="width:18%" |[[Blood]] | ! style="width:18%" |[[Blood]] | ||
Line 12: | Line 11: | ||
<!-- Heal Row--> | <!-- Heal Row--> | ||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''Heal:''' |
| [[Heals Blood::{{#explode: {{{Heals}}} |,| 0 }}]] | | [[Heals Blood::{{#explode: {{{Heals}}} |,| 0 }}]] | ||
| [[Heals Phlegm::{{#explode: {{{Heals}}} |,| 1 }}]] | | [[Heals Phlegm::{{#explode: {{{Heals}}} |,| 1 }}]] | ||
Line 19: | Line 18: | ||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''Heal Uses:''' |
|[[Heal Uses::{{{Uses}}}]] | |[[Heal Uses::{{{Uses}}}]] | ||
|} | |} | ||
Line 26: | Line 25: | ||
|- | |- | ||
| | | | ||
− | {| style="width:100%; border:black 2px solid; background:# | + | {| style="width:100%; border:black 2px solid; background:#4c4c4c; padding=10px; vertical-align:bottom; text-align:center;" |
! | ! | ||
! style="width:18%" |[[Blood]] | ! style="width:18%" |[[Blood]] | ||
Line 35: | Line 34: | ||
<!-- Gluttony Values Rows--> | <!-- Gluttony Values Rows--> | ||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Gluttony]] Min:''' |
| [[Gives Min Blood::{{{Min Blood}}}]] | | [[Gives Min Blood::{{{Min Blood}}}]] | ||
| [[Gives Min Phlegm::{{{Min Phlegm}}}]] | | [[Gives Min Phlegm::{{{Min Phlegm}}}]] | ||
Line 41: | Line 40: | ||
| [[Gives Min Black Bile::{{{Min Black Bile}}}]] | | [[Gives Min Black Bile::{{{Min Black Bile}}}]] | ||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Gluttony]] Max:''' |
| [[Gives Max Blood::{{{Max Blood}}}]] | | [[Gives Max Blood::{{{Max Blood}}}]] | ||
| [[Gives Max Phlegm::{{{Max Phlegm}}}]] | | [[Gives Max Phlegm::{{{Max Phlegm}}}]] | ||
Line 48: | Line 47: | ||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''Full and Fed Up for:''' |
|[[Gluttony Time::{{{Gluttony Time}}}]] | |[[Gluttony Time::{{{Gluttony Time}}}]] | ||
|} | |} | ||
− | {| style="width:100%; border:black 2px solid; background:# | + | {| style="width:100%; border:black 2px solid; background:#4c4c4c; padding=10px; vertical-align:bottom; text-align:left;" |
<!-- Food Groups Row--> | <!-- Food Groups Row--> | ||
|- | |- | ||
− | | style="vertical-align:top; width:100px"|'''Food Groups:''' | + | | style="vertical-align:top; width:100px"|'''Food Groups:''' |
− | + | | style="text-align:left" | {{#switch: {{{Food Groups|}}} | =None | {{TX|T5|{{{Food Groups}}} }} }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
|- | |- | ||
Line 71: | Line 61: | ||
|- | |- | ||
| | | | ||
− | {| style="width:100%; border:black 2px solid; background:# | + | {| style="width:100%; border:black 2px solid; background:#4c4c4c; padding=10px; vertical-align:bottom; text-align:center;" |
! | ! | ||
! style="width:18%" |[[Blood]] | ! style="width:18%" |[[Blood]] | ||
Line 77: | Line 67: | ||
! style="width:18%" |[[Yellow Bile|Yellow]] | ! style="width:18%" |[[Yellow Bile|Yellow]] | ||
! style="width:18%" |[[Black Bile|Black]] | ! style="width:18%" |[[Black Bile|Black]] | ||
− | |||
|- style="background:#FFFFFF; border:black 2px solid; color:#000000" | |- style="background:#FFFFFF; border:black 2px solid; color:#000000" | ||
− | <!-- | + | <!--Bear Rows--> |
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Bear]] Min:''' |
− | | {{#expr: {{{ Min Blood|0}}}* | + | | style="background:#E6B8B8;" | {{#expr: {{{ Min Blood|0}}}*1.55}} |
− | | {{#expr: {{{ Min Phlegm|0}}}* | + | | {{#expr: {{{ Min Phlegm|0}}}*0.5}} |
| {{#expr: {{{ Min Yellow Bile|0}}}*0.5}} | | {{#expr: {{{ Min Yellow Bile|0}}}*0.5}} | ||
− | | {{#expr: {{{ Min Black Bile|0}}}*0.5}} | + | | {{#expr: {{{ Min Black Bile|0}}}*0.5}} |
− | |||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Bear]] Max:''' |
− | | {{#expr: {{{ Max Blood|0}}}* | + | | style="background:#E6B8B8;" | {{#expr: {{{ Max Blood|0}}}*1.55}} |
− | | {{#expr: {{{ Max Phlegm|0}}}* | + | | {{#expr: {{{ Max Phlegm|0}}}*0.5}} |
| {{#expr: {{{ Max Yellow Bile|0}}}*0.5}} | | {{#expr: {{{ Max Yellow Bile|0}}}*0.5}} | ||
| {{#expr: {{{ Max Black Bile|0}}}*0.5}} | | {{#expr: {{{ Max Black Bile|0}}}*0.5}} | ||
|- style="background:#FFFFFF; color:#000000";colspan="10" | |- style="background:#FFFFFF; color:#000000";colspan="10" | ||
− | + | ||
− | |||
<!--Timber Rattler Rows--> | <!--Timber Rattler Rows--> | ||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Timber Rattler]] Min:''' |
− | | {{#expr: {{{ Min Blood|0}}}*1. | + | | style="background:#E6B8B8;" | {{#expr: {{{ Min Blood|0}}}*1.25}} |
− | | {{#expr: {{{ Min Phlegm|0}}}* | + | | {{#expr: {{{ Min Phlegm|0}}}*0.5}} |
− | | {{#expr: {{{ Min Yellow Bile|0}}}* | + | | {{#expr: {{{ Min Yellow Bile|0}}}*0.5}} |
− | | {{#expr: {{{ Min Black Bile|0}}}* | + | | {{#expr: {{{ Min Black Bile|0}}}*0.5}} |
− | |||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Timber Rattler]] Max:''' |
− | | {{#expr: {{{ Max Blood|0}}}*1. | + | | style="background:#E6B8B8;" | {{#expr: {{{ Max Blood|0}}}*1.25}} |
− | | {{#expr: {{{ Max Phlegm|0}}}* | + | | {{#expr: {{{ Max Phlegm|0}}}*0.5}} |
− | | {{#expr: {{{ Max Yellow Bile|0}}}* | + | | {{#expr: {{{ Max Yellow Bile|0}}}*0.5}} |
− | | {{#expr: {{{ Max Black Bile|0}}}* | + | | {{#expr: {{{ Max Black Bile|0}}}*0.5}} |
|- style="background:#FFFFFF; color:#000000";colspan="10" | |- style="background:#FFFFFF; color:#000000";colspan="10" | ||
− | |||
− | <!-- | + | <!-- Cougar Rows--> |
+ | |- style="background:#FFFFFF; color:#000000" | ||
+ | | style="background:#4c4c4c; text-align:right" | '''[[Cougar]] Min:''' | ||
+ | | {{#expr: {{{ Min Blood|0}}}*0.5}} | ||
+ | | style="background:#BACAEA;" | {{#expr: {{{ Min Phlegm|0}}}*1.45}} | ||
+ | | {{#expr: {{{ Min Yellow Bile|0}}}*0.5}} | ||
+ | | {{#expr: {{{ Min Black Bile|0}}}*0.5}} | ||
+ | |- style="background:#FFFFFF; color:#000000" | ||
+ | | style="background:#4c4c4c; text-align:right" | '''[[Cougar]] Max:''' | ||
+ | | {{#expr: {{{ Max Blood|0}}}*0.5}} | ||
+ | | style="background:#BACAEA;" | {{#expr: {{{ Max Phlegm|0}}}*1.45}} | ||
+ | | {{#expr: {{{ Max Yellow Bile|0}}}*0.5}} | ||
+ | | {{#expr: {{{ Max Black Bile|0}}}*0.5}} | ||
+ | |- style="background:#FFFFFF; color:#000000";colspan="10" | ||
+ | |||
+ | <!--Rabbit Rows--> | ||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Rabbit]] Min:''' |
| {{#expr: {{{ Min Blood|0}}}*0.5}} | | {{#expr: {{{ Min Blood|0}}}*0.5}} | ||
− | | {{#expr: {{{ Min Phlegm|0}}}* | + | | style="background:#BACAEA;" | {{#expr: {{{ Min Phlegm|0}}}*1.25}} |
| {{#expr: {{{ Min Yellow Bile|0}}}*0.5}} | | {{#expr: {{{ Min Yellow Bile|0}}}*0.5}} | ||
− | | {{#expr: {{{ Min Black Bile|0}}}* | + | | {{#expr: {{{ Min Black Bile|0}}}*0.5}} |
− | |||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Rabbit]] Max:''' |
| {{#expr: {{{ Max Blood|0}}}*0.5}} | | {{#expr: {{{ Max Blood|0}}}*0.5}} | ||
− | | {{#expr: {{{ Max Phlegm|0}}}* | + | | style="background:#BACAEA;" | {{#expr: {{{ Max Phlegm|0}}}*1.25}} |
| {{#expr: {{{ Max Yellow Bile|0}}}*0.5}} | | {{#expr: {{{ Max Yellow Bile|0}}}*0.5}} | ||
− | | {{#expr: {{{ Max Black Bile|0}}}* | + | | {{#expr: {{{ Max Black Bile|0}}}*0.5}} |
|- style="background:#FFFFFF; color:#000000";colspan="10" | |- style="background:#FFFFFF; color:#000000";colspan="10" | ||
− | |||
<!--Deer Rows--> | <!--Deer Rows--> | ||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Deer]] Min:''' |
| {{#expr: {{{ Min Blood|0}}}*0.5}} | | {{#expr: {{{ Min Blood|0}}}*0.5}} | ||
| {{#expr: {{{ Min Phlegm|0}}}*0.5}} | | {{#expr: {{{ Min Phlegm|0}}}*0.5}} | ||
− | | {{#expr: {{{ Min Yellow Bile|0}}}*1.45}} | + | | style="background:#FFFFB8;" | {{#expr: {{{ Min Yellow Bile|0}}}*1.45}} |
| {{#expr: {{{ Min Black Bile|0}}}*0.5}} | | {{#expr: {{{ Min Black Bile|0}}}*0.5}} | ||
− | |||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Deer]] Max:''' |
| {{#expr: {{{ Max Blood|0}}}*0.5}} | | {{#expr: {{{ Max Blood|0}}}*0.5}} | ||
| {{#expr: {{{ Max Phlegm|0}}}*0.5}} | | {{#expr: {{{ Max Phlegm|0}}}*0.5}} | ||
− | | {{#expr: {{{ Max Yellow Bile|0}}}*1.45}} | + | | style="background:#FFFFB8;" | {{#expr: {{{ Max Yellow Bile|0}}}*1.45}} |
| {{#expr: {{{ Max Black Bile|0}}}*0.5}} | | {{#expr: {{{ Max Black Bile|0}}}*0.5}} | ||
|- style="background:#FFFFFF; color:#000000";colspan="10" | |- style="background:#FFFFFF; color:#000000";colspan="10" | ||
− | |||
− | <!-- | + | <!--Varmint Rows--> |
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Varmint]] Min:''' |
− | | {{#expr: {{{ Min Blood|0}}}* | + | | {{#expr: {{{ Min Blood|0}}}*0.5}} |
| {{#expr: {{{ Min Phlegm|0}}}*0.5}} | | {{#expr: {{{ Min Phlegm|0}}}*0.5}} | ||
− | | {{#expr: {{{ Min Yellow Bile|0}}}* | + | | style="background:#FFFFB8;" | {{#expr: {{{ Min Yellow Bile|0}}}*1.15}} |
| {{#expr: {{{ Min Black Bile|0}}}*0.5}} | | {{#expr: {{{ Min Black Bile|0}}}*0.5}} | ||
− | |||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Varmint]] Max:''' |
− | | {{#expr: {{{ Max Blood|0}}}* | + | | {{#expr: {{{ Max Blood|0}}}*0.5}} |
| {{#expr: {{{ Max Phlegm|0}}}*0.5}} | | {{#expr: {{{ Max Phlegm|0}}}*0.5}} | ||
− | | {{#expr: {{{ Max Yellow Bile|0}}}* | + | | style="background:#FFFFB8;" | {{#expr: {{{ Max Yellow Bile|0}}}*1.15}} |
| {{#expr: {{{ Max Black Bile|0}}}*0.5}} | | {{#expr: {{{ Max Black Bile|0}}}*0.5}} | ||
|- style="background:#FFFFFF; color:#000000";colspan="10" | |- style="background:#FFFFFF; color:#000000";colspan="10" | ||
− | |||
− | <!-- | + | <!--Beaver Rows--> |
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Beaver]] Min:''' |
| {{#expr: {{{ Min Blood|0}}}*0.5}} | | {{#expr: {{{ Min Blood|0}}}*0.5}} | ||
− | | {{#expr: {{{ Min Phlegm|0}}}* | + | | {{#expr: {{{ Min Phlegm|0}}}*0.5}} |
| {{#expr: {{{ Min Yellow Bile|0}}}*0.5}} | | {{#expr: {{{ Min Yellow Bile|0}}}*0.5}} | ||
− | | {{#expr: {{{ Min Black Bile|0}}}* | + | | style="background:#CFCFCF;" | {{#expr: {{{ Min Black Bile|0}}}*1.35}} |
− | |||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Beaver]] Max:''' |
| {{#expr: {{{ Max Blood|0}}}*0.5}} | | {{#expr: {{{ Max Blood|0}}}*0.5}} | ||
− | | {{#expr: {{{ Max Phlegm|0}}}* | + | | {{#expr: {{{ Max Phlegm|0}}}*0.5}} |
| {{#expr: {{{ Max Yellow Bile|0}}}*0.5}} | | {{#expr: {{{ Max Yellow Bile|0}}}*0.5}} | ||
− | | {{#expr: {{{ Max Black Bile|0}}}* | + | | style="background:#CFCFCF;" | {{#expr: {{{ Max Black Bile|0}}}*1.35}} |
+ | |- style="background:#FFFFFF; color:#000000";colspan="10" | ||
|} | |} | ||
|} | |} | ||
{{#IFEQ: {{PAGENAME}} | Contributing | | [[Category:Food]] [[Category:Variable Food]] [[Category:Game Meat]] }}</includeonly> | {{#IFEQ: {{PAGENAME}} | Contributing | | [[Category:Food]] [[Category:Variable Food]] [[Category:Game Meat]] }}</includeonly> | ||
− | + | <noinclude>{{Notice|NOTE:|This is a MODULAR template. It MUST be used after one the the following templates: | |
− | <noinclude> | ||
*[[Template:Foraged]] if the food item is foraged. | *[[Template:Foraged]] if the food item is foraged. | ||
− | *[[Template:Crafted]] if the food item is crafted. | + | *[[Template:Crafted]] if the food item is crafted.}} |
See [[Help:Contributing]] for instructions and examples for adding a new page to the wiki. | See [[Help:Contributing]] for instructions and examples for adding a new page to the wiki. | ||
Line 201: | Line 194: | ||
| Gluttony Time=1:50 | | Gluttony Time=1:50 | ||
| Food Groups= Game Meat | | Food Groups= Game Meat | ||
− | | FoodReduce1= | + | | FoodReduce1= Game Meat | %Reduce1=95 | %ChanceReduce1=10 |
| FoodReduce2= Maize | %Reduce2=65 | %ChanceReduce2=20 | | FoodReduce2= Maize | %Reduce2=65 | %ChanceReduce2=20 | ||
| FoodReduce3= | %Reduce3= | %ChanceReduce3= | | FoodReduce3= | %Reduce3= | %ChanceReduce3= | ||
| FoodRestore1= Mushrooms |%Restore1=5 |%ChanceRestore1=30 | | FoodRestore1= Mushrooms |%Restore1=5 |%ChanceRestore1=30 | ||
− | |||
− | |||
}} | }} | ||
− | < | + | {| |
− | | Heals=,,, | + | | style="vertical-align:top" |'''Code:''' |
− | | Uses= | + | ---- |
− | | Min Blood= | Max Blood= | + | <pre> |
− | | Min Phlegm= | Max Phlegm= | + | {{VariableFoodGame |
− | | Min Yellow Bile= | Max Yellow Bile= | + | | Heals=,,, |
− | | Min Black Bile= | Max Black Bile= | + | | Uses= |
− | | Gluttony Time= | + | | Min Blood= | Max Blood= |
− | | Food Groups= Game Meat | + | | Min Phlegm= | Max Phlegm= |
− | | FoodReduce1= Game Meat | %Reduce1= | %ChanceReduce1= | + | | Min Yellow Bile= | Max Yellow Bile= |
− | | FoodReduce2= | %Reduce2= | %ChanceReduce2= | + | | Min Black Bile= | Max Black Bile= |
− | | FoodReduce3= | %Reduce3= | %ChanceReduce3= | + | | Gluttony Time= |
− | | FoodRestore1= |%Restore1= |%ChanceRestore1= | + | | Food Groups=Game Meat |
− | + | | FoodReduce1=Game Meat | %Reduce1= | %ChanceReduce1= | |
− | | | + | | FoodReduce2= | %Reduce2= | %ChanceReduce2= |
− | + | | FoodReduce3= | %Reduce3= | %ChanceReduce3= | |
+ | | FoodRestore1= |%Restore1= |%ChanceRestore1= | ||
+ | }}</pre> | ||
+ | |} | ||
</noinclude> | </noinclude> |
Latest revision as of 23:50, 24 May 2024
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: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Gluttony: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Variable Game Meat Gluttony Values: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Code:
{{VariableFoodGame | Heals=,,, | Uses= | Min Blood= | Max Blood= | Min Phlegm= | Max Phlegm= | Min Yellow Bile= | Max Yellow Bile= | Min Black Bile= | Max Black Bile= | Gluttony Time= | Food Groups=Game Meat | FoodReduce1=Game Meat | %Reduce1= | %ChanceReduce1= | FoodReduce2= | %Reduce2= | %ChanceReduce2= | FoodReduce3= | %Reduce3= | %ChanceReduce3= | FoodRestore1= |%Restore1= |%ChanceRestore1= }} |