Difference between revisions of "Template:Meal Comparison Row"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
|- | |- | ||
− | | {{DLC Icons|{{{1}}}}} | + | | {{DLC Icons|{{{1}}}}} |
− | | {{#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}} | + | | {{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''}}}}}} | ||
+ | | {{#ifexpr:{{#vardefineecho: nutritionIn |{{#expr: {{Q|{{{1}}}|Resource 1 Amount|0}} + {{Q|{{{1}}}|Resource 2 Amount|0}}}}}}>0|{{#var:nutritionIn}}|''n/a''}} | ||
+ | | {{#vardefineecho: nutritionOut|{{#expr:{{Q|{{{1}}}|Nutrition}}*{{Q|{{{1}}}|Product Amount|1}}}}}} | ||
+ | | {{#ifexpr:{{#var:nutritionIn}}>0|{{%|{{#var:nutritionOut}}/{{#var:nutritionIn}}}}|''n/a''}} | ||
+ | | {{Q|{{{1}}}|Taste}} | ||
+ | | {{Ticks|{{Q|{{{1}}}|Work To Make|0}}}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 12:07, 9 July 2023
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 | 15 | 1 | 0.5 | 0.9 | 180% | Simple | 300 ticks (5 secs) | |
Fine meal | 20 | 2 | 0.5 | 0.9 | 180% | Fine | 450 ticks (7.5 secs) | |
Lavish meal | 40 | 2 | 1 | 1 | 100% | Lavish | 800 ticks (13.33 secs) | |
Packaged survival meal | 24 | 2 | 0.6 | 0.9 | 150% | Simple | 450 ticks (7.5 secs) | |
Carnivore fine meal | 20 | 1 | 0.75 | 0.9 | 120% | Fine | 450 ticks (7.5 secs) | |
Carnivore lavish meal | 40 | 1 | 1.25 | 1 | 80% | Lavish | 800 ticks (13.33 secs) | |
Vegetarian fine meal | 20 | 1 | 0.75 | 0.9 | 120% | Fine | 450 ticks (7.5 secs) | |
Vegetarian lavish meal | 40 | 1 | 1.25 | 1 | 80% | Lavish | 800 ticks (13.33 secs) | |
Nutrient paste meal | 10 | 1 | 0.3 | 0.9 | 300% | Awful | 0 ticks (0 secs) | |
Pemmican | 1.4 | 2 | 0.5 | 0.8 | 160% | Simple | 700 ticks (11.67 secs) | |
Kibble | 1.1 | 2 | 2 | 2.5 | 125% | Raw | 450 ticks (7.5 secs) | |
Chocolate | 3 | n/a | n/a | 0.1 | n/a | Fine | 0 ticks (0 secs) | |
Baby food | 1.25 | 1 | 0.25 | 0.5 | 200% | Terrible | 450 ticks (7.5 secs) |
The above documentation is transcluded from Template:Meal Comparison Row/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |