Difference between revisions of "Template:Meal Comparison Row"

From RimWorld Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
|-
 
|-
 
| {{DLC Icons|{{{1}}}}}   
 
| {{DLC Icons|{{{1}}}}}   
| {{Icon Small|silver||{{Market Value | {{Q|{{{1}}}|Market Value Base}}}}}}
+
| {{Icon Small|silver||{{Market Value | {{Q|{{{1}}}|Market Value Base}}}}}}
 
| {{#if: {{Q|{{{1}}}|Resource 3 Amount}}|3|{{#if: {{Q|{{{1}}}|Resource 2 Amount}}|2|{{#if: {{Q|{{{1}}}|Resource 1 Amount}}|1|''n/a''}}}}}}  
 
| {{#if: {{Q|{{{1}}}|Resource 3 Amount}}|3|{{#if: {{Q|{{{1}}}|Resource 2 Amount}}|2|{{#if: {{Q|{{{1}}}|Resource 1 Amount}}|1|''n/a''}}}}}}  
 
| {{#ifexpr:{{#vardefineecho: nutritionIn |{{#expr: {{Q|{{{1}}}|Resource 1 Amount|0}} + {{Q|{{{1}}}|Resource 2 Amount|0}}}}}}>0|{{#var:nutritionIn}}|''n/a''}}  
 
| {{#ifexpr:{{#vardefineecho: nutritionIn |{{#expr: {{Q|{{{1}}}|Resource 1 Amount|0}} + {{Q|{{{1}}}|Resource 2 Amount|0}}}}}}>0|{{#var:nutritionIn}}|''n/a''}}  
Line 8: Line 8:
 
| {{#ifexpr:{{#var:nutritionIn}}>0|{{%|{{#var:nutritionOut}}/{{#var:nutritionIn}}}}|''n/a''}}  
 
| {{#ifexpr:{{#var:nutritionIn}}>0|{{%|{{#var:nutritionOut}}/{{#var:nutritionIn}}}}|''n/a''}}  
 
| {{Q|{{{1}}}|Taste}}  
 
| {{Q|{{{1}}}|Taste}}  
| {{Ticks|{{Q|{{{1}}}|Work To Make|0}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
| {{#ifeq:{{{1}}}|Chocolate|data-sort-value="{{Q|Cocoa tree|Minimum Required Growing Skill}}" {{!}} Planting {{Q|Cocoa tree|Minimum Required Growing Skill}}|{{#if:{{Q|{{{1}}}|Skill 1}}| data-sort-value="{{Q|{{{1}}}|Skill 1 Level}}" {{!}} {{Q|{{{1}}}|Skill 1}} {{Q|{{{1}}}|Skill 1 Level}}{{#if: {{Q|{{{1}}}|Skill 2}}| + {{Q|{{{1}}}|Skill 2}} {{Q|{{{1}}}|Skill 2 Level}} }} | data-sort-value="0" {{!}} ''None''}}}}
 +
| {{#if:{{#vardefineecho:workToMake|{{Q|{{{1}}}|Work To Make}}}}|{{Ticks|{{#var:workToMake}}}}|''n/a''}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 08:18, 22 October 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 None 300 ticks (5 secs)
Fine meal Silver 20 2 0.5 0.9 180% Fine Cooking 6 450 ticks (7.5 secs)
Lavish meal Silver 40 2 1 1 100% Lavish Cooking 8 800 ticks (13.33 secs)
Packaged survival meal Silver 24 2 0.6 0.9 150% Simple Cooking 8 450 ticks (7.5 secs)
Carnivore fine meal Silver 20 1 0.75 0.9 120% Fine Cooking 6 450 ticks (7.5 secs)
Carnivore lavish meal Silver 40 1 1.25 1 80% Lavish Cooking 8 800 ticks (13.33 secs)
Vegetarian fine meal Silver 20 1 0.75 0.9 120% Fine Cooking 6 450 ticks (7.5 secs)
Vegetarian lavish meal Silver 40 1 1.25 1 80% Lavish Cooking 8 800 ticks (13.33 secs)
Nutrient paste meal Silver 10 1 0.3 0.9 300% Awful None ticks (0 secs)
Pemmican Silver 1.4 2 0.5 0.8 160% Simple None 700 ticks (11.67 secs)
Kibble Silver 1.1 2 2 2.5 125% Raw None 450 ticks (7.5 secs)
Chocolate Silver 3 n/a n/a 0.1 n/a Fine Planting 8 n/a
Baby food Content added by the Biotech DLC Silver 1.25 1 0.25 0.5 200% Terrible None 450 ticks (7.5 secs)