Difference between revisions of "Template:VariableFoodCorn"
From Salem Wiki
(Add Colors) |
Pistolshrimp (talk | contribs) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
|- | |- | ||
| | | | ||
− | {| 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 11: | 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 18: | 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 25: | 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 34: | 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 40: | 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 47: | 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 70: | 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 79: | Line 70: | ||
|- style="background:#FFFFFF; border:black 2px solid; color:#000000" | |- style="background:#FFFFFF; border:black 2px solid; color:#000000" | ||
− | <!-- | + | <!--White Corn Rows--> |
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[White Corn]] Min:''' |
− | | {{#expr: {{{ Min Blood|0}}}* | + | | style="background:#E6B8B8;" | {{#expr: {{{ Min Blood|0}}}*1.2}} |
| {{#expr: {{{ Min Phlegm|0}}}*0.5}} | | {{#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}} | |
− | |||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[White Corn]] Max:''' |
− | | {{#expr: {{{ Max Blood|0}}}* | + | | style="background:#E6B8B8;" | {{#expr: {{{ Max Blood|0}}}*1.2}} |
| {{#expr: {{{ Max Phlegm|0}}}*0.5}} | | {{#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}} | |
|- style="background:#FFFFFF; color:#000000";colspan="10" | |- style="background:#FFFFFF; color:#000000";colspan="10" | ||
− | |||
<!--Blue Corn Rows--> | <!--Blue Corn Rows--> | ||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Blue Corn]] Min:''' |
| {{#expr: {{{ Min Blood|0}}}*0.5}} | | {{#expr: {{{ Min Blood|0}}}*0.5}} | ||
| style="background:#BACAEA;" | {{#expr: {{{ Min Phlegm|0}}}*1.2}} | | style="background:#BACAEA;" | {{#expr: {{{ Min Phlegm|0}}}*1.2}} | ||
| {{#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" | '''[[Blue Corn]] Max:''' |
| {{#expr: {{{ Max Blood|0}}}*0.5}} | | {{#expr: {{{ Max Blood|0}}}*0.5}} | ||
| style="background:#BACAEA;" | {{#expr: {{{ Max Phlegm|0}}}*1.2}} | | style="background:#BACAEA;" | {{#expr: {{{ Max Phlegm|0}}}*1.2}} | ||
Line 111: | Line 99: | ||
| {{#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" | ||
− | |||
− | <!-- | + | <!--Golden Corn Rows--> |
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Golden Corn]] Min:''' |
− | + | | {{#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.3}} |
| {{#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" | '''[[Golden Corn]] Max:''' |
− | + | | {{#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.3}} |
| {{#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" | ||
− | |||
− | <!-- | + | <!--Yellow Corn Rows--> |
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Yellow Corn]] 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}}}*0.5}} | |
− | | {{#expr: {{{ Min Black Bile|0}}}* | + | | style="background:#CFCFCF;" | {{#expr: {{{ Min Black Bile|0}}}*1.1}} |
− | |||
|- style="background:#FFFFFF; color:#000000" | |- style="background:#FFFFFF; color:#000000" | ||
− | | style="background:# | + | | style="background:#4c4c4c; text-align:right" | '''[[Yellow Corn]] 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}}}*0.5}} | |
− | | {{#expr: {{{ Max Black Bile|0}}}* | + | | style="background:#CFCFCF;" | {{#expr: {{{ Max Black Bile|0}}}*1.1}} |
|} | |} | ||
|} | |} | ||
Line 157: | Line 141: | ||
{{VariableFoodCorn | {{VariableFoodCorn | ||
− | |||
| Heals=1,2,3,4 | | Heals=1,2,3,4 | ||
| Uses=42 | | Uses=42 | ||
Line 166: | Line 149: | ||
| Gluttony Time=1:50 | | Gluttony Time=1:50 | ||
| Food Groups= Maize | | Food Groups= Maize | ||
− | | FoodReduce1= | + | | FoodReduce1= Maize | %Reduce1=95 | %ChanceReduce1=10 |
− | | FoodReduce2= | + | | FoodReduce2= | %Reduce2= | %ChanceReduce2= |
| 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= | + | {{VariableFoodCorn |
− | | Min Yellow Bile= | Max Yellow Bile= | + | | Heals=,,, |
− | | Min Black Bile= | Max Black Bile= | + | | Uses= |
− | | Gluttony Time= | + | | Min Blood= | Max Blood= |
− | | Food Groups= Maize | + | | Min Phlegm= | Max Phlegm= |
− | | FoodReduce1= Maize | %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=Maize |
− | + | | FoodReduce1=Maize | %Reduce1= | %ChanceReduce1= | |
− | | | + | | FoodReduce2= | %Reduce2= | %ChanceReduce2= |
− | + | | FoodReduce3= | %Reduce3= | %ChanceReduce3= | |
+ | | FoodRestore1= |%Restore1= |%ChanceRestore1= | ||
+ | }}</pre> | ||
+ | |} | ||
</noinclude> | </noinclude> |
Latest revision as of 22:32, 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 Corn Gluttony Values: | |||||||||||||||||||||||||||||||||||||||||||||
|
Code:
{{VariableFoodCorn | 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=Maize | FoodReduce1=Maize | %Reduce1= | %ChanceReduce1= | FoodReduce2= | %Reduce2= | %ChanceReduce2= | FoodReduce3= | %Reduce3= | %ChanceReduce3= | FoodRestore1= |%Restore1= |%ChanceRestore1= }} |