Difference between revisions of "Template:VariableFoodBugs"

From Salem Wiki
Jump to: navigation, search
(Edit Reduction/Restore Row)
 
(8 intermediate revisions by 4 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:#efebe5; padding=10px; vertical-align:bottom; text-align:center;"
+
{| 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:#efebe5; text-align:right" | '''Heal:'''
+
| 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:#efebe5; text-align:right" | '''Heal Uses:'''
+
| 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:#efebe5; padding=10px; vertical-align:bottom; text-align:center;"
+
{| 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:#efebe5; text-align:right" | '''[[Gluttony]] Min:'''
+
| 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:#efebe5; text-align:right" | '''[[Gluttony]] Max:'''
+
| 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:#efebe5; text-align:right" | '''Full and Fed Up for:'''
+
| 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:#efebe5; padding=10px; vertical-align:bottom; text-align:left;"
+
{| 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:''' {{#switch: {{{Food Groups|}}} | =None | {{T5|{{{Food Groups}}} }} }}
+
| style="vertical-align:top; width:100px"|'''Food Groups:'''  
 +
| style="text-align:left" | {{#switch: {{{Food Groups|}}} | =None | {{TX|T5|{{{Food Groups}}} }} }}
 
<!-- Food Group Reduction Rows-->
 
<!-- Food Group Reduction Rows-->
 
|-
 
|-
|{{#if:{{{FoodReduce1}}} | {{!}}'''Reduces:'''{{TIa|{{{FoodReduce1}}}}}[[Food Reduce1 Text::{{{FoodReduce1}}}]] by [[Food Reduce1 Percent::{{{%Reduce1}}}]]% with [[Food Reduce1 Chance::{{{%ChanceReduce1}}}]]% chance |}}
+
|{{#if:{{{FoodReduce1}}} | colspan=2 {{!}}'''Reduces'''{{TIa|{{{FoodReduce1}}}}}[[Food Reduce1 Text::{{{FoodReduce1}}}]] by [[Food Reduce1 Percent::{{{%Reduce1}}}]]% with [[Food Reduce1 Chance::{{{%ChanceReduce1}}}]]% chance |}}
 
|-
 
|-
|{{#if:{{{FoodReduce2}}} | {{!}}'''Reduces:'''{{TIa|{{{FoodReduce2}}}}}[[Food Reduce2 Text::{{{FoodReduce2}}}]] by [[Food Reduce2 Percent::{{{%Reduce2}}}]]% with [[Food Reduce2 Chance::{{{%ChanceReduce2}}}]]% chance |}}
+
|{{#if:{{{FoodReduce2}}} | colspan=2 {{!}}'''Reduces'''{{TIa|{{{FoodReduce2}}}}}[[Food Reduce2 Text::{{{FoodReduce2}}}]] by [[Food Reduce2 Percent::{{{%Reduce2}}}]]% with [[Food Reduce2 Chance::{{{%ChanceReduce2}}}]]% chance |}}
 
|-
 
|-
|{{#if:{{{FoodReduce3}}} | {{!}}'''Reduces:'''{{TIa|{{{FoodReduce3}}}}}[[Food Reduce3 Text::{{{FoodReduce3}}}]] by [[Food Reduce3 Percent::{{{%Reduce3}}}]]% with [[Food Reduce3 Chance::{{{%ChanceReduce3}}}]]% chance |}}
+
|{{#if:{{{FoodReduce3}}} | colspan=2 {{!}}'''Reduces'''{{TIa|{{{FoodReduce3}}}}}[[Food Reduce3 Text::{{{FoodReduce3}}}]] by [[Food Reduce3 Percent::{{{%Reduce3}}}]]% with [[Food Reduce3 Chance::{{{%ChanceReduce3}}}]]% chance |}}
 
<!-- Food Group Restore Rows-->
 
<!-- Food Group Restore Rows-->
 
|-
 
|-
|{{#if:{{{Cake|}}} | | {{#if:{{{FoodRestore1}}} | {{!}}'''Restores:'''{{TIa|{{{FoodRestore1}}}}}[[Food Restore1 Text::{{{FoodRestore1}}}]] by [[Food Restore1 Percent::{{{%Restore1}}}]]% with [[Food Restore1 Chance::{{{%ChanceRestore1}}}]]% chance [[Category:Food That Restores Gluttony]] |}} }}
+
|{{#if:{{{FoodRestore1}}} | colspan=2 {{!}}'''Restores'''{{TIa|{{{FoodRestore1}}}}}[[Food Restore1 Text::{{{FoodRestore1}}}]] by [[Food Restore1 Percent::{{{%Restore1}}}]]% with [[Food Restore1 Chance::{{{%ChanceRestore1}}}]]% chance [[Category:Food That Restores Gluttony]] |}}
 
|}
 
|}
 
|-
 
|-
Line 71: Line 71:
 
|-
 
|-
 
|
 
|
{| 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:#4c4c4c; padding=10px; vertical-align:bottom; text-align:center;"
 
!
 
!
 
! style="width:18%" |[[Blood]]
 
! style="width:18%" |[[Blood]]
Line 80: Line 80:
 
|- style="background:#FFFFFF;  border:black 2px solid; color:#000000"
 
|- style="background:#FFFFFF;  border:black 2px solid; color:#000000"
  
<!--Grub Rows-->
+
 
 +
<!--Caterpillar Rows-->
 
|- style="background:#FFFFFF; color:#000000"
 
|- style="background:#FFFFFF; color:#000000"
| style="background:#efebe5; text-align:right" | '''[[Grub]] Min:'''
+
| style="background:#4c4c4c; text-align:right" | '''[[Caterpillar]] Min:'''
| {{#expr: {{{ Min Blood|0}}}*0.5}}
+
| style="background:#E6B8B8;" | {{#expr: {{{ Min Blood|0}}}*1.35}}
 
| {{#expr: {{{ Min Phlegm|0}}}*0.5}}
 
| {{#expr: {{{ Min Phlegm|0}}}*0.5}}
| {{#expr: {{{ Min Yellow Bile|0}}}*1.15}}
+
| {{#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:#efebe5; text-align:right" | '''[[Grub]] Max:'''
+
| style="background:#4c4c4c; text-align:right" | '''[[Caterpillar]] Max:'''
| {{#expr: {{{ Max Blood|0}}}*0.5}}
+
| style="background:#E6B8B8;" | {{#expr: {{{ Max Blood|0}}}*1.35}}
 
| {{#expr: {{{ Max Phlegm|0}}}*0.5}}
 
| {{#expr: {{{ Max Phlegm|0}}}*0.5}}
| {{#expr: {{{ Max Yellow Bile|0}}}*1.15}}
+
| {{#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"  
|
 
  
<!--Beetle Rows-->
+
<!--Ladybug Rows-->
 
|- style="background:#FFFFFF; color:#000000"
 
|- style="background:#FFFFFF; color:#000000"
| style="background:#efebe5; text-align:right" | '''[[Beetle]] Min:'''
+
| style="background:#4c4c4c; text-align:right" | '''[[Ladybug]] Min:'''
| {{#expr: {{{ Min Blood|0}}}*0.5}}
+
| style="background:#E6B8B8;" | {{#expr: {{{ Min Blood|0}}}*1.5}}
 
| {{#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}}}*1.25}}  
+
| {{#expr: {{{ Min Black Bile|0}}}*0.5}}  
|
 
 
|- style="background:#FFFFFF; color:#000000"
 
|- style="background:#FFFFFF; color:#000000"
| style="background:#efebe5; text-align:right" | '''[[Beetle]] Max:'''
+
| style="background:#4c4c4c; text-align:right" | '''[[Ladybug]] Max:'''
| {{#expr: {{{ Max Blood|0}}}*0.5}}
+
| style="background:#E6B8B8;" | {{#expr: {{{ Max Blood|0}}}*1.5}}
 
| {{#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}}}*1.25}}
+
| {{#expr: {{{ Max Black Bile|0}}}*0.5}}
 
|- style="background:#FFFFFF; color:#000000";colspan="10"  
 
|- style="background:#FFFFFF; color:#000000";colspan="10"  
|
 
  
<!--Caterpillar Rows-->
+
<!--Virginia Snail Rows-->
 
|- style="background:#FFFFFF; color:#000000"
 
|- style="background:#FFFFFF; color:#000000"
| style="background:#efebe5; text-align:right" | '''[[Caterpillar]] Min:'''
+
| style="background:#4c4c4c; text-align:right" | '''[[Virginia Snail|Snail]] Min:'''
| {{#expr: {{{ Min Blood|0}}}*1.35}}
+
| {{#expr: {{{ Min Blood|0}}}*0.5}}
| {{#expr: {{{ Min Phlegm|0}}}*0.5}}
+
| style="background:#BACAEA;" | {{#expr: {{{ Min Phlegm|0}}}*1.35}}
 
| {{#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:#efebe5; text-align:right" | '''[[Caterpillar]] Max:'''
+
| style="background:#4c4c4c; text-align:right" | '''[[Virginia Snail|Snail]] Max:'''
| {{#expr: {{{ Max Blood|0}}}*1.35}}
+
| {{#expr: {{{ Max Blood|0}}}*0.5}}
| {{#expr: {{{ Max Phlegm|0}}}*0.5}}
+
| style="background:#BACAEA;" | {{#expr: {{{ Max Phlegm|0}}}*1.35}}
 
| {{#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"  
|
 
  
<!--Virginia Snail Rows-->
+
<!--Grub Rows-->
 +
|- style="background:#FFFFFF; color:#000000"
 +
| style="background:#4c4c4c; text-align:right" | '''[[Grub]] Min:'''
 +
| {{#expr: {{{ Min Blood|0}}}*0.5}}
 +
| {{#expr: {{{ Min Phlegm|0}}}*0.5}}
 +
| style="background:#FFFFB8;" | {{#expr: {{{ Min Yellow Bile|0}}}*1.15}}
 +
| {{#expr: {{{ Min Black Bile|0}}}*0.5}}
 +
|- style="background:#FFFFFF; color:#000000"
 +
| style="background:#4c4c4c; text-align:right" | '''[[Grub]] Max:'''
 +
| {{#expr: {{{ Max Blood|0}}}*0.5}}
 +
| {{#expr: {{{ Max Phlegm|0}}}*0.5}}
 +
| style="background:#FFFFB8;" | {{#expr: {{{ Max Yellow Bile|0}}}*1.15}}
 +
| {{#expr: {{{ Max Black Bile|0}}}*0.5}}
 +
|- style="background:#FFFFFF; color:#000000";colspan="10"
 +
 
 +
<!--Beetle Rows-->
 
|- style="background:#FFFFFF; color:#000000"
 
|- style="background:#FFFFFF; color:#000000"
| style="background:#efebe5; text-align:right" | '''[[Virginia Snail|Snail]] Min:'''
+
| style="background:#4c4c4c; text-align:right" | '''[[Beetle]] Min:'''
 
| {{#expr: {{{ Min Blood|0}}}*0.5}}
 
| {{#expr: {{{ Min Blood|0}}}*0.5}}
| {{#expr: {{{ Min Phlegm|0}}}*1.35}}
+
| {{#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:#CFCFCF;" | {{#expr: {{{ Min Black Bile|0}}}*1.25}}  
|
 
 
|- style="background:#FFFFFF; color:#000000"
 
|- style="background:#FFFFFF; color:#000000"
| style="background:#efebe5; text-align:right" | '''[[Virginia Snail|Snail]] Max:'''
+
| style="background:#4c4c4c; text-align:right" | '''[[Beetle]] Max:'''
 
| {{#expr: {{{ Max Blood|0}}}*0.5}}
 
| {{#expr: {{{ Max Blood|0}}}*0.5}}
| {{#expr: {{{ Max Phlegm|0}}}*1.35}}
+
| {{#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:#CFCFCF;" | {{#expr: {{{ Max Black Bile|0}}}*1.25}}
 
|}
 
|}
 
|}
 
|}
Line 158: Line 167:
  
 
{{VariableFoodBugs
 
{{VariableFoodBugs
| Cake=pie
 
 
| Heals=1,2,3,4
 
| Heals=1,2,3,4
 
| Uses=42
 
| Uses=42
Line 167: Line 175:
 
| Gluttony Time=1:50  
 
| Gluttony Time=1:50  
 
| Food Groups= Slugs Bugs and Kritters  
 
| Food Groups= Slugs Bugs and Kritters  
| FoodReduce1= Nuts and Seeds | %Reduce1=95 | %ChanceReduce1=10  
+
| FoodReduce1= Slugs Bugs and Kritters | %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
| FoodRestore2=  |%Restore2= |%ChanceRestore2=
 
| FoodRestore3=  |%Restore3= |%ChanceRestore3=
 
 
}}
 
}}
  
<nowiki>{{</nowiki>VariableFoodBugs<br>
+
{|
| Heals=,,,<br>
+
| style="vertical-align:top" |'''Code:'''
| Uses=1<br>
+
----
| Min Blood= | Max Blood=<br>
+
<pre>
| Min Phlegm= | Max Phlegm=<br>
+
{{VariableFoodBugs
| Min Yellow Bile= | Max Yellow Bile=<br>
+
| Heals=,,,
| Min Black Bile= | Max Black Bile=<br>
+
| Uses=
| Gluttony Time= <br>
+
| Min Blood= | Max Blood=
| Food Groups= Slugs Bugs and Kritters <br>
+
| Min Phlegm= | Max Phlegm=
| FoodReduce1= Slugs Bugs and Kritters | %Reduce1= | %ChanceReduce1=<br>
+
| Min Yellow Bile= | Max Yellow Bile=
| FoodReduce2= | %Reduce2= | %ChanceReduce2=<br>
+
| Min Black Bile= | Max Black Bile=
| FoodReduce3= | %Reduce3= | %ChanceReduce3=<br>
+
| Gluttony Time=
| FoodRestore1= |%Restore1= |%ChanceRestore1=<br>
+
| Food Groups=Slugs Bugs and Kritters
| FoodRestore2= |%Restore2= |%ChanceRestore2=<br>
+
| FoodReduce1=Slugs Bugs and Kritters | %Reduce1= | %ChanceReduce1=
| FoodRestore3= |%Restore3= |%ChanceRestore3=<br>
+
| FoodReduce2= | %Reduce2= | %ChanceReduce2=
}}
+
| FoodReduce3= | %Reduce3= | %ChanceReduce3=
 +
| FoodRestore1= |%Restore1= |%ChanceRestore1=
 +
}}</pre>
 +
|}
 
</noinclude>
 
</noinclude>

Latest revision as of 08:49, 16 March 2021

NOTE: This is a MODULAR template. It MUST be used after one the the following templates:

See Help:Contributing for instructions and examples for adding a new page to the wiki.

Healing:
Blood Phlegm Yellow Black
Heal: 1 2 3 4
Heal Uses: 42
Gluttony:
Blood Phlegm Yellow Black
Gluttony Min: 20 20 20 20
Gluttony Max: 22 22 22 22
Full and Fed Up for: 1:50
Food Groups: Slugs Bugs and Kritters icon.pngSlugs Bugs and Kritters
ReducesSlugs Bugs and Kritters icon.pngSlugs Bugs and Kritters by 95% with 10% chance
ReducesMaize icon.pngMaize by 65% with 20% chance
RestoresMushrooms icon.pngMushrooms by 5% with 30% chance
Variable Bugs Gluttony Values:
Blood Phlegm Yellow Black
Caterpillar Min: 27 10 10 10
Caterpillar Max: 29.7 11 11 11
Ladybug Min: 30 10 10 10
Ladybug Max: 33 11 11 11
Snail Min: 10 27 10 10
Snail Max: 11 29.7 11 11
Grub Min: 10 10 23 10
Grub Max: 11 11 25.3 11
Beetle Min: 10 10 10 25
Beetle Max: 11 11 11 27.5


Code:
{{VariableFoodBugs
| 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=Slugs Bugs and Kritters
| FoodReduce1=Slugs Bugs and Kritters | %Reduce1= | %ChanceReduce1=
| FoodReduce2= | %Reduce2= | %ChanceReduce2=
| FoodReduce3= | %Reduce3= | %ChanceReduce3=
| FoodRestore1= |%Restore1= |%ChanceRestore1=
}}