Difference between revisions of "Template:Psychic Sensitivity Quality Table"

From RimWorld Wiki
Jump to navigation Jump to search
Line 15: Line 15:
 
}}
 
}}
 
|-  
 
|-  
 +
{{#if: {{{1|}}}|
 
!Psychic Sensitivity
 
!Psychic Sensitivity
 
{{#if:{{{noQuality|}}}|
 
{{#if:{{{noQuality|}}}|
Line 27: Line 28:
 
<td> +{{#expr:{{#var:basesensitivitybonus}}*1.5*100 round 0}}%
 
<td> +{{#expr:{{#var:basesensitivitybonus}}*1.5*100 round 0}}%
 
}}
 
}}
|-
+
<tr>
 
!{{H:title|link=no|Neural Heat Limit increase from the increase Psychic Sensitivity assuming Level 6 Psylink |Neural Heat Limit}}
 
!{{H:title|link=no|Neural Heat Limit increase from the increase Psychic Sensitivity assuming Level 6 Psylink |Neural Heat Limit}}
 
{{#if:{{{noQuality|}}}|
 
{{#if:{{{noQuality|}}}|
Line 39: Line 40:
 
<td> +{{#expr:{{#var:basesensitivitybonus}}*1.32*80 round 0}}
 
<td> +{{#expr:{{#var:basesensitivitybonus}}*1.32*80 round 0}}
 
<td> +{{#expr:{{#var:basesensitivitybonus}}*1.5*80 round 0}}
 
<td> +{{#expr:{{#var:basesensitivitybonus}}*1.5*80 round 0}}
 +
}}
 
}}
 
}}
 
|-  
 
|-  
 +
{{#if: {{{2|}}}|
 
!{{H:title|link=no|Neural Heat Recover Rate increase before Psylink level modifers|Base Neural Heat Recovery Rate}}
 
!{{H:title|link=no|Neural Heat Recover Rate increase before Psylink level modifers|Base Neural Heat Recovery Rate}}
 
{{#if:{{{noQuality|}}}|
 
{{#if:{{{noQuality|}}}|
Line 53: Line 56:
 
<td> +{{#var:baseheatratebonus}}/s
 
<td> +{{#var:baseheatratebonus}}/s
 
}}
 
}}
|-
+
<tr>
 
!{{H:title|link=no|Neural Heat Recover Rate increase assuming Level 6 Psylink |Effective Neural Heat Recovery Rate}}  
 
!{{H:title|link=no|Neural Heat Recover Rate increase assuming Level 6 Psylink |Effective Neural Heat Recovery Rate}}  
 
{{#if:{{{noQuality|}}}|
 
{{#if:{{{noQuality|}}}|
Line 65: Line 68:
 
<td> +{{#expr:{{#var:baseheatratebonus}}*1.625 round 3}}/s
 
<td> +{{#expr:{{#var:baseheatratebonus}}*1.625 round 3}}/s
 
<td> +{{#expr:{{#var:baseheatratebonus}}*1.625 round 3}}/s
 
<td> +{{#expr:{{#var:baseheatratebonus}}*1.625 round 3}}/s
 +
}}
 
}}
 
}}
 
|}
 
|}
 
</li><div></includeonly><noinclude>{{Documentation}}</noinclude>
 
</li><div></includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 03:39, 26 November 2021

Documentation icon Template documentation[view] [edit] [history] [purge]

This template generates a table summarizing the Psychic Sensitivity bonus for each quality tier of an item. If the object in question has no quality, quality display can be disabled.

Parameters

The first parameter is the Psychic Sensitivity boost. If it not defined, it will not display. The second is Neural Heat Recovery Rate boost. If it not defined, it will not display.

noQuality
allows override and allows direct, non-quality scaled bonuses, like those on Prestige marine armor, to be displayed.

Example usage

{{Psychic Sensitivity Quality Table|0.40|0.091}}

Produces:

  • Quality Awful Poor Normal Good Excellent Masterwork Legendary
    Psychic Sensitivity +20% +26% +33% +40% +46% +53% +60%
    Neural Heat Limit +16 +21 +27 +32 +37 +42 +48
    Base Neural Heat Recovery Rate +0.091/s +0.091/s +0.091/s +0.091/s +0.091/s +0.091/s +0.091/s
    Effective Neural Heat Recovery Rate +0.148/s +0.148/s +0.148/s +0.148/s +0.148/s +0.148/s +0.148/s
  • {{Psychic Sensitivity Quality Table||0.091}}

    Produces:

  • Quality Awful Poor Normal Good Excellent Masterwork Legendary
    Base Neural Heat Recovery Rate +0.091/s +0.091/s +0.091/s +0.091/s +0.091/s +0.091/s +0.091/s
    Effective Neural Heat Recovery Rate +0.148/s +0.148/s +0.148/s +0.148/s +0.148/s +0.148/s +0.148/s
  • {{Psychic Sensitivity Quality Table|0.40|}}

    Produces:

  • Quality Awful Poor Normal Good Excellent Masterwork Legendary
    Psychic Sensitivity +20% +26% +33% +40% +46% +53% +60%
    Neural Heat Limit +16 +21 +27 +32 +37 +42 +48
  • {{Psychic Sensitivity Quality Table|0.05|0.033|noQuality=1}}

    Produces:

  • Stat Increase
    Psychic Sensitivity +5%
    Neural Heat Limit +4%
    Base Neural Heat Recovery Rate +0.033/s
    Effective Neural Heat Recovery Rate +0.054/s
  • {{Psychic Sensitivity Quality Table|0.05||noQuality=1}}

    Produces:

  • Stat Increase
    Psychic Sensitivity +5%
    Neural Heat Limit +4%
  • {{Psychic Sensitivity Quality Table||0.033|noQuality=1}}

    Produces:

  • Stat Increase
    Base Neural Heat Recovery Rate +0.033/s
    Effective Neural Heat Recovery Rate +0.054/s