Difference between revisions of "Template:Sleep Furniture Table Row"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
! {{DLC Icons| {{{?Name}}} }} | ! {{DLC Icons| {{{?Name}}} }} | ||
− | | {{#if: | + | | {{#if: {{{?R1}}}|{{Required Resources|{{{?Name}}}|simple=1}}|—}} |
− | | {{{?Rest}}}{{#if: {{#pos: | + | | {{{?Rest}}}{{#if: {{#pos: {{{?Stuff}}}|Stony}}|<br/>({{#expr:{{{?Rest}}}*0.9}})}} |
− | | {{#if: {{#pos: {{{?Facility | + | | {{#if: {{#pos: {{{?Facility}}}|Sleep accelerator}}|{{#expr: {{{?Rest}}} + 0.35}}{{#if: {{#pos: {{Q|{{{?Name}}}|Stuff Tags}}|Stony}}|<br/>({{#expr:({{{?Rest}}}+0.35)*0.9}})}}|—}} |
− | | {{{?Surgery}}}{{#if: {{#pos: {{{?Facility | + | | {{{?Surgery}}}{{#if: {{#pos: {{{?Facility}}}|Vitals monitor}}|<br/>(with {{Icon Small|Vitals monitor}} {{#expr: {{{?Surgery}}} + 0.05}})}} |
− | | {{{?Immunity}}}{{#if: {{#pos: {{{?Facility | + | | {{{?Immunity}}}{{#if: {{#pos: {{{?Facility}}}|Vitals monitor}}|<br/>(with {{Icon Small|Vitals monitor}} {{#expr: {{{?Immunity}}} + 0.02}})}} |
| {{{?Comfort}}} | | {{{?Comfort}}} | ||
− | | {{#if: {{#pos: {{{?Facility | + | | {{#if: {{#pos: {{{?Facility}}} | Dresser}}{{#pos: {{{?Facility}}}|End table}}|{{#expr: {{{?Comfort}}} + 0.05}}|—}} |
− | | {{#if: {{#pos: {{{?Facility | + | | {{#if: {{#pos: {{{?Facility}}} | Dresser}}|{{#if: {{#pos: {{{?Facility}}}|End table}}|{{#expr: {{{?Comfort}}} + 0.1}}|—}}|—}} |
− | | {{#if: {{{?Facility | + | | {{#if: {{{?Facility}}}|{{{?Facility}}}|—}} |
− | + | | {{#ifeq: {{{?Quality}}} | true | {{Check}} | {{Cross}} }} | |
− | + | </includeonly><noinclude>{{Documentation}}</noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
− | |||
− | </noinclude> |
Latest revision as of 20:17, 6 August 2023
This template is meant to be used on the sleep furniture page.
It creates rows for a comparison table of kinds of furniture to sleep in. It can be used like this:
<div><li style="display: inline-table;"> {| {{STDT| sortable c_08 text-center}} ! rowspan="2" | Furniture ! rowspan="2" style="border:#428659 1px; border-style: none solid none none;" | Resources to make ! colspan="2" | Rest effectiveness ! rowspan="2" style="border:#428659 1px; border-style: none none none solid;" | Surgery Success Chance Factor ! rowspan="2" style="border:#428659 1px; border-style: none solid none none;" | Immunity Gain Speed Factor ! colspan="3" | Comfort ! rowspan="2" style="border:#428659 1px; border-style: none none none solid;" | Facilities ! rowspan="2" | Has quality{{Ref label|Quality|A}} |- ! style="background-color:#52a76f; border:#428659 1px; border-style: solid none none none;" data-sort-type="number" | Normal<br/>(made from {{Icon Small|Stone blocks}}) ! style="background-color:#52a76f; border:#428659 1px; border-style: solid none none none;" data-sort-type="number" | With {{Icon Small|Sleep accelerator}}<br/>(made from {{Icon Small|Stone blocks}}) ! style="background-color:#52a76f; border:#428659 1px; border-style: solid none none none;" | Normal ! style="background-color:#52a76f; border:#428659 1px; border-style: solid none none none;" | With {{Icon Small|Dresser}} OR {{Icon Small|End table}} ! style="background-color:#52a76f; border:#428659 1px; border-style: solid none none none;" | With {{Icon Small|Dresser}} AND {{Icon Small|End table}} |- {{#ask: [[Rest Effectiveness::+]] | ?Name = ?Name | ?Resource 1 = ?R1 | ?Rest Effectiveness = ?Rest | ?Stuff Tags = ?Stuff | ?Surgery Success Chance Factor = ?Surgery | ?Immunity Gain Speed Factor = ?Immunity | ?Comfort Base = ?Comfort | ?Facility = ?Facility | ?Has Quality = ?Quality | named args = yes | format = template | template = Sleep Furniture Table Row | link = none | sort = From DLC, Name }} |} </li></div> {{Note|Quality|A}} For the effects of qualities, see [[quality]] or the individual pages.
Furniture | Resources to make | Rest effectiveness | Surgery Success Chance Factor | Immunity Gain Speed Factor | Comfort | Facilities | Has quality[A] | |||
---|---|---|---|---|---|---|---|---|---|---|
Normal (made from ) |
With (made from ) |
Normal | With OR | With AND | ||||||
Animal bed | 40 (Fabric/Leathery) | 1 | — | 1 | 1.07 | 0.75 | — | — | — | |
Animal sleeping box | 25 (Metallic/Woody/Stony, 250 for SMVs) | 0.93 (0.837) |
— | 1 | 1.05 | 0.6 | — | — | — | |
Animal sleeping spot | — | 0.8 | — | 0.7 | 1 | 0 | — | — | — | |
Bed | 45 (Metallic/Woody/Stony, 450 for SMVs) | 1 (0.9) |
1.35 (1.215) |
1 | 1.07 | 0.75 | 0.8 | 0.85 | Dresser, End table, Sleep accelerator | |
Bedroll | 40 (Fabric/Leathery) | 0.95 | 1.3 | 1 | 1.05 | 0.68 | 0.73 | 0.78 | Dresser, End table, Sleep accelerator | |
Double bed | 85 (Metallic/Woody/Stony, 850 for SMVs) | 1 (0.9) |
1.35 (1.215) |
1 | 1.07 | 0.75 | 0.8 | 0.85 | Dresser, End table, Sleep accelerator | |
Double bedroll | 85 (Fabric/Leathery) | 0.95 | 1.3 | 1 | 1.05 | 0.68 | 0.73 | 0.78 | Dresser, End table, Sleep accelerator | |
Double sleeping spot | — | 0.8 | — | 0.7 | 1 | 0.4 | — | — | — | |
Hospital bed | 40 (Metallic, 400 for SMVs), 80, 5 | 1 | 1.35 | 1.1 (with 1.15) |
1.11 (with 1.13) |
0.8 | 0.85 | 0.9 | Vitals monitor, Dresser, End table, Sleep accelerator | |
Royal bed | 100 (Metallic/Woody/Stony, 1000 for SMVs), 50 | 1.05 (0.945) |
1.4 (1.26) |
1 | 1.07 | 0.9 | 0.95 | 1 | Dresser, End table, Sleep accelerator | |
Sleeping spot | — | 0.8 | — | 0.7 | 1 | 0.4 | — | — | — | |
Baby sleeping spot | — | 0.8 | — | 0.7 | 1 | 0.4 | — | — | — | |
Deathrest casket | 100, 3 | 1 | — | 1 | 1.07 | 0.75 | — | — | Hemopump, Hemogen amplifier, Glucosoid pump, Deathrest accelerator, Psychofluid pump | |
Ancient bed | — | 0.85 | — | 0.65 | 0.95 | 0.75 | — | — | — | |
Slab bed | 30 (Metallic/Woody/Stony, 300 for SMVs) | 1 (0.9) |
1.35 (1.215) |
1 | 1.07 | 0 | 0.05 | 0.1 | Dresser, End table, Sleep accelerator | |
Slab double bed | 85 (Metallic/Woody/Stony, 850 for SMVs) | 1 (0.9) |
1.35 (1.215) |
1 | 1.07 | 0 | 0.05 | 0.1 | Dresser, End table, Sleep accelerator |
^A For the effects of qualities, see quality or the individual pages.
The above documentation is transcluded from Template:Sleep Furniture Table 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. |