Difference between revisions of "Template:Meal Comparison Row"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "<noinclude>{| class="wikitable sortable" |- ! Name !! data-sort-type=number | Market Value !! data-sort-type=number | Ingredient Count !! data-sort-type=number | Nutrients Req...")
 
Line 1: Line 1:
<noinclude>{| class="wikitable sortable"
+
<includeonly>
|-
 
! Name !! data-sort-type=number | Market Value !! data-sort-type=number | Ingredient Count !! data-sort-type=number | Nutrients Required !! data-sort-type=number | Nutrient Yield !! data-sort-type=number | Nutrient Efficiency !! Taste !! data-sort-type=number | Work To Make
 
{{Meal Comparison Row|Simple meal}}
 
{{Meal Comparison Row|Fine meal}}
 
{{Meal Comparison Row|Lavish meal}}
 
|}
 
</noinclude><includeonly>
 
 
|-
 
|-
 
| {{DLC Icons|{{{1}}}}}  || {{Icon Small|silver||{{Market Value | {{Q|{{{1}}}|Market Value Base}}}}}}   
 
| {{DLC Icons|{{{1}}}}}  || {{Icon Small|silver||{{Market Value | {{Q|{{{1}}}|Market Value Base}}}}}}   
 
| {{#if: {{Q|{{{1}}}|Resource 3 Amount}}|3|{{#if: {{Q|{{{1}}}|Resource 2 Amount}}|2|1}}}} || {{#vardefineecho: nutritionIn |{{#expr: {{Q|{{{1}}}|Resource 1 Amount}} + {{Q|{{{1}}}|Resource 2 Amount}} - 0}}}} || {{#vardefineecho: nutritionOut|{{Q|{{{1}}}|Nutrition}}}}|| {{%|{{#var:nutritionOut}}/{{#var:nutritionIn}}}} || {{Q|{{{1}}}|Taste}} || {{Ticks|{{Q|{{{1}}}|Work To Make}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
| {{#if: {{Q|{{{1}}}|Resource 3 Amount}}|3|{{#if: {{Q|{{{1}}}|Resource 2 Amount}}|2|1}}}} || {{#vardefineecho: nutritionIn |{{#expr: {{Q|{{{1}}}|Resource 1 Amount}} + {{Q|{{{1}}}|Resource 2 Amount}} - 0}}}} || {{#vardefineecho: nutritionOut|{{Q|{{{1}}}|Nutrition}}}}|| {{%|{{#var:nutritionOut}}/{{#var:nutritionIn}}}} || {{Q|{{{1}}}|Taste}} || {{Ticks|{{Q|{{{1}}}|Work To Make}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 11:28, 9 July 2023

Documentation icon Template documentation[view] [edit] [history] [purge]

Makes the rows for the table below:

Name Market Value Ingredient Count Nutrients Required Nutrient Yield Nutrient Efficiency Taste Skill Work To Make
Simple meal Silver 15 1 0.5 0.9 180% Simple 300 ticks (5 secs)
Fine meal Silver 20 2 0.5 0.9 180% Fine 450 ticks (7.5 secs)
Lavish meal Silver 40 2 1 1 100% Lavish 800 ticks (13.33 secs)
Packaged survival meal Silver 24 2 0.6 0.9 150% Simple 450 ticks (7.5 secs)
Carnivore fine meal Silver 20 1 0.75 0.9 120% Fine 450 ticks (7.5 secs)
Carnivore lavish meal Silver 40 1 1.25 1 80% Lavish 800 ticks (13.33 secs)
Vegetarian fine meal Silver 20 1 0.75 0.9 120% Fine 450 ticks (7.5 secs)
Vegetarian lavish meal Silver 40 1 1.25 1 80% Lavish 800 ticks (13.33 secs)
Nutrient paste meal Silver 10 1 0.3 0.9 300% Awful ticks (0 secs)
Pemmican Silver 1.4 2 0.5 0.05 10% Simple 700 ticks (11.67 secs)
Kibble Silver 1.1 2 2 0.05 2.5% Raw 450 ticks (7.5 secs)
Chocolate Silver 3 1 -0 0.1 Division by zero.% Fine Expression error: Unexpected < operator.
Baby food Content added by the Biotech DLC Silver 1.25 1 0.25 0.05 20% Terrible 450 ticks (7.5 secs)