Difference between revisions of "Template:Apparel Suppression Note"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>When equipped, {{#switch:{{#sub:{{lc:{{{2|{{PAGENAME}}}}}}}|0|1}}|a|e|i|o|u=an|#default=a}} {{lc:{{{2|{{PAGENAME}}}}}}} reduces the pawn's base [[move speed]] by {{--|{{{1|1000000}}}}} {{CS}}. As offsets such as these apply before multiplicative effects such as from [[Moving]] capacity, the actual impact on move speed can be larger or smaller than this value. For example, a pawn with {{Good|125%}} Moving would have their speed decreased by {{--|{{#expr:1.25*{{{1|1000000}}}}}}} {{CS}}, while a pawn with only {{Bad|50%}} Moving would only have their speed decreased by {{--|{{#expr:0.5*{{{1|1000000}}}}}}} {{CS}}. See [[Move Speed]] for details.
+
<includeonly>When worn by a [[slave]],{{#if: {{#pos: {{Q| {{PAGENAME}} | From DLC }} | Ideology (DLC) }} ||{{IdeologyIcon}}}} {{#switch:{{#sub:{{lc:{{{2|{{PAGENAME}}}}}}}|0|1}}|a|e|i|o|u=an|#default=a}} {{lc:{{{2|{{PAGENAME}}}}}}} offsets the rate that [[suppression]] is lost by {{#ifexpr:{{{1}}}>0|{{+|{{#expr:0+{{{1}}}}}}}|{{Bad|{{{1}}}}}}} per day. This stacks additively with all other forms of suppression loss rate offsets.</includeonly><noinclude>{{Documentation}}</noinclude>
 
 
 
 
When worn by a slave,Content added by the Ideology DLC a cowboy hat increases the rate that suppression is lost by 5% per day. This stacks additively with all other forms of suppression loss rate offsets.
 
</includeonly><noinclude>{{Documentation}}</noinclude>
 

Revision as of 04:36, 9 November 2024

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

Just standardizes the spiel about what the Suppression effects provided by some apparel and the way that effect is applied..

First variable is necessary and contains the offset. Second is optional and allows a name to be specified.

Examples

When worn by a slave,Content added by the Ideology DLC a cowboy hat offsets the rate that suppression is lost by −0.05 per day. This stacks additively with all other forms of suppression loss rate offsets.

When worn by a slave,Content added by the Ideology DLC a slave body strap offsets the rate that suppression is lost by +0.15 per day. This stacks additively with all other forms of suppression loss rate offsets.

When worn by a slave,Content added by the Ideology DLC a slave collar offsets the rate that suppression is lost by +0.15 per day. This stacks additively with all other forms of suppression loss rate offsets.