Difference between revisions of "Template:Rest Hours Per Day/doc"

From RimWorld Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Documentation wanted}}
 
 
[[Rest#Comparison_tables]]
 
[[Rest#Comparison_tables]]
 +
<code><nowiki>{{Rest Hours Per Day|RE=2.15|RRM=2.24|RFF=1|color=1}}</nowiki></code>
 
{{Rest Hours Per Day|RE=2.15|RRM=2.24|RFF=1|color=1}}
 
{{Rest Hours Per Day|RE=2.15|RRM=2.24|RFF=1|color=1}}
 +
<code><nowiki>{{Rest Hours Per Day|RE=2.15|RRM=2.24|RFF=0.8|color=1}}</nowiki></code>
 +
{{Rest Hours Per Day|RE=2.15|RRM=2.24|RFF=0.8|color=1}}
  
 
RE  = Rest Effectiveness
 
RE  = Rest Effectiveness

Latest revision as of 12:21, 3 September 2022

Rest#Comparison_tables {{Rest Hours Per Day|RE=2.15|RRM=2.24|RFF=1|color=1}}

7.93%
(1.9 hrs)

{{Rest Hours Per Day|RE=2.15|RRM=2.24|RFF=0.8|color=1}}

6.45%
(1.55 hrs)

RE = Rest Effectiveness RRM = Rest Rate Multiplier RFF = Rest Fall Factor

Where x = sleeping hours.

x * ~0.57143% * RE * RRM = (24-x) * 0.237% * RFR
x/(24-x) = (0.237% * RFR)/(~0.57143% * RE * RRM)
(24-x)/x = (~0.57143% * RE * RRM)/(0.237% * RFR)
(24/x)-1 = (~0.57143% * RE * RRM)/(0.237% * RFR)
24/x = ((~0.57143% * RE * RRM)/(0.237% * RFR))+1
x = 24/((~0.57143% * RE * RRM)/(0.237% * RFR))+1

0.65857 - lowest work % of a day 0.9207 - highest work % of a day

hsla(120, 100%, 50%,