Difference between revisions of "Template:Stat Factors Table/doc"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
This template generates a table of values for a [[stat]] for a range of skill level, as well as showing the effect of gains in a single [[capacity]]  
+
This template generates a table of values for a [[stat]] for the full range of skill levels, as well as showing the effect of gains in a single [[capacity]] at the 100%, 125%, and 150% levels.
 +
 
 +
If the effect of the capacity is limited, then the table will only display the columns with new information, and the column headers will be replaced to demonstrate that they only apply to
  
 
This template is dependent on [[Template:Stat Factors Table Row]].
 
This template is dependent on [[Template:Stat Factors Table Row]].
 +
 +
'''PLEASE NOTE:''' This table is '''not''' suitable for every stat page. Anything with multiple controlling capacities (i.e. capacities maximums above 100%) will not be properly represented, and the template is completely incompatible with post factored statistics. It is not feasible to create detection metrics for every single stat variant, so the editor applying the template must use it correctly. Please also read the notes and limitations below.
  
 
== Notes ==
 
== Notes ==
 
=== Planned features ===
 
=== Planned features ===
 
These features are planned to be added in the future.
 
These features are planned to be added in the future.
* Currently doesn't account for limits.
 
 
* Currently does not account for different common values for capacities.
 
* Currently does not account for different common values for capacities.
 
=== Features under consideration ===
 
=== Features under consideration ===
Line 34: Line 37:
 
{{Stat Factors Table| Animal Gather Speed }}
 
{{Stat Factors Table| Animal Gather Speed }}
  
For pages with capped importance, such as:
+
Example when limit is 100%:
 
  <nowiki>{{Stat Factors Table|Arrest Success Chance}}</nowiki>
 
  <nowiki>{{Stat Factors Table|Arrest Success Chance}}</nowiki>
 
it produces:
 
it produces:
 
{{Stat Factors Table| Arrest Success Chance}}
 
{{Stat Factors Table| Arrest Success Chance}}
 +
 +
Example when limit is >100% but <125%:
 +
'''Note: Research Speed is not an appropriate use of the template, as it relies equally on two different capacities, however, at the time of writing no compatible example of an inter-column limit exists''':
 +
<nowiki>{{Stat Factors Table|Research Speed }}</nowiki>
 +
on any page would produce:
 +
{{Stat Factors Table| Research Speed }}

Revision as of 04:29, 25 April 2022

This template generates a table of values for a stat for the full range of skill levels, as well as showing the effect of gains in a single capacity at the 100%, 125%, and 150% levels.

If the effect of the capacity is limited, then the table will only display the columns with new information, and the column headers will be replaced to demonstrate that they only apply to

This template is dependent on Template:Stat Factors Table Row.

PLEASE NOTE: This table is not suitable for every stat page. Anything with multiple controlling capacities (i.e. capacities maximums above 100%) will not be properly represented, and the template is completely incompatible with post factored statistics. It is not feasible to create detection metrics for every single stat variant, so the editor applying the template must use it correctly. Please also read the notes and limitations below.

Notes

Planned features

These features are planned to be added in the future.

  • Currently does not account for different common values for capacities.

Features under consideration

These are under consideration as to how and whether to implement them. Direct any thoughts/opinions/feedback to User: Harakoni

  • Currently? does not account for Global Work Speed
  • Currently? does not account for skills with non-standard skill progression mechanics. Implement list feature so they can be manually implemented?

Known limitations

These are unlikely to change due to the format/concept of the template.

  • Does not account for multi-skill stats.
  • Does not account for multi-capacity stats.

Parameters

The first parameter (if present) will specify which stat to generate the template for. If absent, {{PAGENAME}} will be used.

The second parameter (if present) will specify which capacity to generate the template for. If absent, Manipulation will be used.

Example usage

{{Stat Factors Table}}

on the Butchery Efficiency page would produce:

Cooking Skill Level Butchery Efficiency
100% Manipulation 125% Manipulation 150% Manipulation
0 75% 91.88% 100%
1 77.5% 94.94% 100%
2 80% 98% 100%
3 82.5% 100% 100%
4 85% 100% 100%
5 87.5% 100% 100%
6 90% 100% 100%
7 92.5% 100% 100%
8 95% 100% 100%
9 97.5% 100% 100%
10 100% 100% 100%
11 100% 100% 100%
12 100% 100% 100%
13 100% 100% 100%
14 100% 100% 100%
15 100% 100% 100%
16 100% 100% 100%
17 100% 100% 100%
18 100% 100% 100%
19 100% 100% 100%
20 100% 100% 100%
{{Stat Factors Table|Animal Gather Speed}}

on any page would produce:

Animals Skill Level Animal Gather Speed
100% Manipulation 125% Manipulation 150% Manipulation
0 10% 10% 10%
1 16% 20% 24%
2 28% 35% 42%
3 40% 50% 60%
4 52% 65% 78%
5 64% 80% 96%
6 76% 95% 114%
7 88% 110% 132%
8 100% 125% 150%
9 112% 140% 168%
10 124% 155% 186%
11 136% 170% 204%
12 148% 185% 222%
13 160% 200% 240%
14 172% 215% 258%
15 184% 230% 276%
16 196% 245% 294%
17 208% 260% 312%
18 220% 275% 330%
19 232% 290% 348%
20 244% 305% 366%

Example when limit is 100%:

{{Stat Factors Table|Arrest Success Chance}}

it produces:

Social Skill Level Arrest Success Chance
0 60%
1 67.5%
2 75%
3 82.5%
4 90%
5 97.5%
6 100%
7 100%
8 100%
9 100%
10 100%
11 100%
12 100%
13 100%
14 100%
15 100%
16 100%
17 100%
18 100%
19 100%
20 100%

Example when limit is >100% but <125%: Note: Research Speed is not an appropriate use of the template, as it relies equally on two different capacities, however, at the time of writing no compatible example of an inter-column limit exists:

{{Stat Factors Table|Research Speed }}

on any page would produce:

Intellectual Skill Level Research Speed
100% Manipulation 110%+ Manipulation
0 8% 8.4%
1 19.5% 20.48%
2 31% 32.55%
3 42.5% 44.63%
4 54% 56.7%
5 65.5% 68.78%
6 77% 80.85%
7 88.5% 92.93%
8 100% 105%
9 111.5% 117.08%
10 123% 129.15%
11 134.5% 141.23%
12 146% 153.3%
13 157.5% 165.38%
14 169% 177.45%
15 180.5% 189.53%
16 192% 201.6%
17 203.5% 213.68%
18 215% 225.75%
19 226.5% 237.83%
20 238% 249.9%