Difference between revisions of "Template:Sleep Furniture Table Row"

From RimWorld Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
|-
 
|-
 
! {{DLC Icons| {{{?Name}}} }}
 
! {{DLC Icons| {{{?Name}}} }}
| {{#if: {{Q|{{{?Name}}}|Resource 1}}|{{Required Resources|{{{?Name}}}|simple=1}}|—}}
+
| {{#if: {{{?R1}}}|{{Required Resources|{{{?Name}}}|simple=1}}|—}}
| {{{?Rest}}}{{#if: {{#pos: {{Q|{{{?Name}}}|Stuff Tags}}|Stony}}|<br/>({{#expr:{{{?Rest}}}*0.9}})}}
+
| {{{?Rest}}}{{#if: {{#pos: {{{?Stuff}}}|Stony}}|<br/>({{#expr:{{{?Rest}}}*0.9}})}}
| {{#if: {{#pos: {{{?Facility|}}}|Sleep accelerator}}|{{#expr: {{{?Rest}}} + 0.35}}{{#if: {{#pos: {{Q|{{{?Name}}}|Stuff Tags}}|Stony}}|<br/>({{#expr:({{{?Rest}}}+0.35)*0.9}})}}|—}}
+
| {{#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|}}}|Vitals monitor}}|<br/>(with {{Icon Small|Vitals monitor}} {{#expr: {{{?Surgery}}} + 0.05}})}}
+
| {{{?Surgery}}}{{#if: {{#pos: {{{?Facility}}}|Vitals monitor}}|<br/>(with {{Icon Small|Vitals monitor}} {{#expr: {{{?Surgery}}} + 0.05}})}}
| {{{?Immunity}}}{{#if: {{#pos: {{{?Facility|}}}|Vitals monitor}}|<br/>(with {{Icon Small|Vitals monitor}} {{#expr: {{{?Immunity}}} + 0.02}})}}
+
| {{{?Immunity}}}{{#if: {{#pos: {{{?Facility}}}|Vitals monitor}}|<br/>(with {{Icon Small|Vitals monitor}} {{#expr: {{{?Immunity}}} + 0.02}})}}
 
| {{{?Comfort}}}
 
| {{{?Comfort}}}
| {{#if: {{#pos: {{{?Facility|}}} | Dresser}}{{#pos: {{{?Facility|}}}|End table}}|{{#expr: {{{?Comfort}}} + 0.05}}|—}}
+
| {{#if: {{#pos: {{{?Facility}}} | Dresser}}{{#pos: {{{?Facility}}}|End table}}|{{#expr: {{{?Comfort}}} + 0.05}}|—}}
| {{#if: {{#pos: {{{?Facility|}}} | Dresser}}|{{#if: {{#pos: {{{?Facility|}}}|End table}}|{{#expr: {{{?Comfort}}} + 0.1}}|—}}|—}}
+
| {{#if: {{#pos: {{{?Facility}}} | Dresser}}|{{#if: {{#pos: {{{?Facility}}}|End table}}|{{#expr: {{{?Comfort}}} + 0.1}}|—}}|—}}
| {{#if: {{{?Facility|}}}|{{{?Facility|}}}|}}
+
| {{#if: {{{?Facility}}}|{{{?Facility}}}|—}}
 +
| {{#ifeq: {{{?Quality}}} | true | {{Check}} | {{Cross}} }}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
<div><li style="display: inline-table;">
 
<div><li style="display: inline-table;">
Line 21: Line 22:
 
! colspan="3" | Comfort
 
! colspan="3" | Comfort
 
! rowspan="2" style="border:#428659 1px; border-style: none none none solid;" | Facilities
 
! 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" | Normal<br/>(made from {{Icon Small|Stone blocks}})
Line 30: Line 32:
 
{{#ask: [[Rest Effectiveness::+]]
 
{{#ask: [[Rest Effectiveness::+]]
 
  | ?Name = ?Name
 
  | ?Name = ?Name
 +
| ?Resource 1 = ?R1
 
  | ?Rest Effectiveness = ?Rest
 
  | ?Rest Effectiveness = ?Rest
 +
| ?Stuff Tags = ?Stuff
 
  | ?Surgery Success Chance Factor = ?Surgery
 
  | ?Surgery Success Chance Factor = ?Surgery
 
  | ?Immunity Gain Speed Factor = ?Immunity
 
  | ?Immunity Gain Speed Factor = ?Immunity
 
  | ?Comfort Base = ?Comfort
 
  | ?Comfort Base = ?Comfort
 
  | ?Facility = ?Facility
 
  | ?Facility = ?Facility
 +
| ?Has Quality = ?Quality
 
  | named args = yes
 
  | named args = yes
 
  | format = template
 
  | format = template
Line 42: Line 47:
 
}}
 
}}
 
|}
 
|}
</li></div><sup>For the effects of qualities, see [[quality]].</sup>
+
</li></div>
 +
{{Note|Quality|A}} For the effects of qualities, see [[quality]] or the individual pages.
 
[[Category:Customized table templates]]
 
[[Category:Customized table templates]]
 
</noinclude>
 
</noinclude>

Revision as of 19:53, 6 August 2023

  • Furniture Resources to make Rest effectiveness Surgery Success Chance Factor Immunity Gain Speed Factor Comfort Facilities Has quality[A]
    Normal
    (made from Stone blocks)
    With Sleep accelerator
    (made from Stone blocks)
    Normal With Dresser OR End table With Dresser AND End table
    Animal bed Stuff 40 (Fabric/Leathery) 1 1 1.07 0.75 Check.png
    Animal sleeping box Stuff 25 (Metallic/Woody/Stony) 0.93
    (0.837)
    1 1.05 0.6 Check.png
    Animal sleeping spot 0.8 0.7 1 0 Ex.png
    Bed Stuff 45 (Metallic/Woody/Stony) 1
    (0.9)
    1.35
    (1.215)
    1 1.07 0.75 0.8 0.85 Dresser, End table, Sleep accelerator Check.png
    Bedroll Stuff 40 (Fabric/Leathery) 0.95 1.3 1 1.05 0.68 0.73 0.78 Dresser, End table, Sleep accelerator Check.png
    Double bed Stuff 85 (Metallic/Woody/Stony) 1
    (0.9)
    1.35
    (1.215)
    1 1.07 0.75 0.8 0.85 Dresser, End table, Sleep accelerator Check.png
    Double bedroll Stuff 85 (Fabric/Leathery) 0.95 1.3 1 1.05 0.68 0.73 0.78 Dresser, End table, Sleep accelerator Check.png
    Double sleeping spot 0.8 0.7 1 0.4 Ex.png
    Hospital bed Stuff 40 (Metallic), Steel 80, Component 5 1 1.35 1.1
    (with Vitals monitor 1.15)
    1.11
    (with Vitals monitor 1.13)
    0.8 0.85 0.9 Vitals monitor, Dresser, End table, Sleep accelerator Check.png
    Royal bed Stuff 100 (Metallic/Woody/Stony), Gold 50 1.05
    (0.945)
    1.4
    (1.26)
    1 1.07 0.9 0.95 1 Dresser, End table, Sleep accelerator Check.png
    Sleeping spot 0.8 0.7 1 0.4 Ex.png
    Baby sleeping spot Content added by the Biotech DLC 0.8 0.7 1 0.4 Ex.png
    Deathrest casket Content added by the Biotech DLC Steel 100, Component 3 1 1 1.07 0.75 Hemopump, Hemogen amplifier, Glucosoid pump, Deathrest accelerator, Psychofluid pump Ex.png
    Ancient bed Content added by the Ideology DLC 0.85 0.65 0.95 0.75 Ex.png
    Slab bed Content added by the Ideology DLC Stuff 30 (Metallic/Woody/Stony) 1
    (0.9)
    1.35
    (1.215)
    1 1.07 0 0.05 0.1 Dresser, End table, Sleep accelerator Check.png
    Slab double bed Content added by the Ideology DLC Stuff 85 (Metallic/Woody/Stony) 1
    (0.9)
    1.35
    (1.215)
    1 1.07 0 0.05 0.1 Dresser, End table, Sleep accelerator Check.png
  • ^A For the effects of qualities, see quality or the individual pages.