Difference between revisions of "Template:Rest Effectiveness Quality Table"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
{{#if: {{#pos:{{Q|{{#var: name}}|Facility}}|Sleep accelerator}}| | {{#if: {{#pos:{{Q|{{#var: name}}|Facility}}|Sleep accelerator}}| | ||
<tr> | <tr> | ||
− | <th> <small>+ [[Sleep accelerator]]</small> | + | <th> <small>+ [[Sleep accelerator]]{{IdeologyIcon}}</small> |
<td> {{#expr:({{#var:baseresteffectiveness}}+0.35)*0.86*100 round 0}}% ({{#expr:(((1/0.005714286)*150)/2500)/(({{#var:baseresteffectiveness}}+0.35)*0.86) round 2}} hr) | <td> {{#expr:({{#var:baseresteffectiveness}}+0.35)*0.86*100 round 0}}% ({{#expr:(((1/0.005714286)*150)/2500)/(({{#var:baseresteffectiveness}}+0.35)*0.86) round 2}} hr) | ||
<td> {{#expr:({{#var:baseresteffectiveness}}+0.35)*0.92*100 round 0}}% ({{#expr:(((1/0.005714286)*150)/2500)/(({{#var:baseresteffectiveness}}+0.35)*0.92) round 2}} hr) | <td> {{#expr:({{#var:baseresteffectiveness}}+0.35)*0.92*100 round 0}}% ({{#expr:(((1/0.005714286)*150)/2500)/(({{#var:baseresteffectiveness}}+0.35)*0.92) round 2}} hr) | ||
Line 44: | Line 44: | ||
{{#if: {{#pos:{{Q|{{#var: name}}|Stuff Tags}}|Stony}}|{{#if: {{#pos:{{Q|{{#var: name}}|Facility}}|Sleep accelerator}}| | {{#if: {{#pos:{{Q|{{#var: name}}|Stuff Tags}}|Stony}}|{{#if: {{#pos:{{Q|{{#var: name}}|Facility}}|Sleep accelerator}}| | ||
<tr> | <tr> | ||
− | <th> <small>+ [[Sleep accelerator]]</small> | + | <th> <small>+ [[Sleep accelerator]]{{IdeologyIcon}}</small> |
<td> {{#expr:({{#var:baseresteffectiveness}}*0.9+0.35)*0.86*100 round 0}}% ({{#expr:(((1/0.005714286)*150)/2500)/(({{#var:baseresteffectiveness}}*0.9+0.35)*0.86) round 2}} hr) | <td> {{#expr:({{#var:baseresteffectiveness}}*0.9+0.35)*0.86*100 round 0}}% ({{#expr:(((1/0.005714286)*150)/2500)/(({{#var:baseresteffectiveness}}*0.9+0.35)*0.86) round 2}} hr) | ||
<td> {{#expr:({{#var:baseresteffectiveness}}*0.9+0.35)*0.92*100 round 0}}% ({{#expr:(((1/0.005714286)*150)/2500)/(({{#var:baseresteffectiveness}}*0.9+0.35)*0.92) round 2}} hr) | <td> {{#expr:({{#var:baseresteffectiveness}}*0.9+0.35)*0.92*100 round 0}}% ({{#expr:(((1/0.005714286)*150)/2500)/(({{#var:baseresteffectiveness}}*0.9+0.35)*0.92) round 2}} hr) |
Revision as of 11:56, 25 August 2022
Summary
This template generates a table summarizing the rest effectiveness for each quality tier. If the object in question is has an option to use stone as a construction material, it will add a row to that effect.
Parameters
The first parameter, if present, will specify which object to generate the template for.
If absent, {{PAGENAME}}
will be used.
Example usage
Bed
{{Rest Effectiveness Quality Table}}
On the Bed page produces:
Material | Awful | Poor | Normal | Good | Excellent | Masterwork | Legendary |
---|---|---|---|---|---|---|---|
Non-Stone and Jade | 86% (12.21 hr) | 92% (11.41 hr) | 100% (10.5 hr) | 108% (9.72 hr) | 114% (9.21 hr) | 125% (8.4 hr) | 160% (6.56 hr) |
+ Sleep accelerator | 116% (9.04 hr) | 124% (8.45 hr) | 135% (7.78 hr) | 146% (7.2 hr) | 154% (6.82 hr) | 169% (6.22 hr) | 216% (4.86 hr) |
Stone except Jade | 77% (13.57 hr) | 83% (12.68 hr) | 90% (11.67 hr) | 97% (10.8 hr) | 103% (10.23 hr) | 113% (9.33 hr) | 144% (7.29 hr) |
+ Sleep accelerator | 108% (9.77 hr) | 115% (9.13 hr) | 125% (8.4 hr) | 135% (7.78 hr) | 143% (7.37 hr) | 156% (6.72 hr) | 200% (5.25 hr) |
Bracketed times are time to refill rest to 100% from 0% at the given rest effectiveness.
Hospital bed
{{Rest Effectiveness Quality Table | Hospital bed}}
Produces:
Quality | Awful | Poor | Normal | Good | Excellent | Masterwork | Legendary |
---|---|---|---|---|---|---|---|
Rest effectiveness | 86% (12.21 hr) | 92% (11.41 hr) | 100% (10.5 hr) | 108% (9.72 hr) | 114% (9.21 hr) | 125% (8.4 hr) | 160% (6.56 hr) |
+ Sleep accelerator | 116% (9.04 hr) | 124% (8.45 hr) | 135% (7.78 hr) | 146% (7.2 hr) | 154% (6.82 hr) | 169% (6.22 hr) | 216% (4.86 hr) |
Bracketed times are time to refill rest to 100% from 0% at the given rest effectiveness.
Animal bed
{{Rest Effectiveness Quality Table | Animal bed}}
Produces:
Quality | Awful | Poor | Normal | Good | Excellent | Masterwork | Legendary |
---|---|---|---|---|---|---|---|
Rest effectiveness | 86% (12.21 hr) | 92% (11.41 hr) | 100% (10.5 hr) | 108% (9.72 hr) | 114% (9.21 hr) | 125% (8.4 hr) | 160% (6.56 hr)
|
Bracketed times are time to refill rest to 100% from 0% at the given rest effectiveness.
Sleeping spot
{{Rest Effectiveness Quality Table | Sleeping spot}}
Produces:
Quality | Awful | Poor | Normal | Good | Excellent | Masterwork | Legendary |
---|---|---|---|---|---|---|---|
Rest effectiveness | 69% (15.26 hr) | 74% (14.27 hr) | 80% (13.12 hr) | 86% (12.15 hr) | 91% (11.51 hr) | 100% (10.5 hr) | 128% (8.2 hr)
|
Bracketed times are time to refill rest to 100% from 0% at the given rest effectiveness.
The above documentation is transcluded from Template:Rest Effectiveness Quality Table/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. |