Difference between revisions of "Template:Apparel Suppression Note"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "<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...")
 
 
(5 intermediate revisions by the same user not shown)
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><noinclude>{{Documentation}}</noinclude>
+
<includeonly>{{#switch:{{#sub:{{lc:{{{2|{{PAGENAME}}}}}}}|0|1}}|a|e|i|o|u=An|#default=A}} {{lc:{{{2|{{PAGENAME}}}}}}} has a [[slave suppression offset]] of {{#ifexpr:{{{1}}}>0|{{+|{{%|0+{{{1}}}}}}}|{{Bad|{{%|{{{1}}}}}}}}}. When worn by a [[slave]],{{#if: {{#pos: {{Q| {{PAGENAME}} | From DLC }} | Ideology (DLC) }} ||{{IdeologyIcon}}}} this acts as an offset to the rate at which the slave loses [[suppression]].{{#if: {{#pos: {{Q| {{PAGENAME}} | From DLC }} | Ideology (DLC) }} ||{{IdeologyIcon}}}} Note that by default, slaves lose between {{--|5%}} and {{--|20%}} suppression per day depending on their current level of suppression. This loss rate stacks additively with all sources of slave suppression offset, with a minimum of 0% loss per day.</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 05:38, 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[edit]

A cowboy hat has a slave suppression offset of −5%. When worn by a slave,Content added by the Ideology DLC this acts as an offset to the rate at which the slave loses suppression.Content added by the Ideology DLC Note that by default, slaves lose between −5% and −20% suppression per day depending on their current level of suppression. This loss rate stacks additively with all sources of slave suppression offset, with a minimum of 0% loss per day.

A slave body strap has a slave suppression offset of +15%. When worn by a slave,Content added by the Ideology DLC this acts as an offset to the rate at which the slave loses suppression.Content added by the Ideology DLC Note that by default, slaves lose between −5% and −20% suppression per day depending on their current level of suppression. This loss rate stacks additively with all sources of slave suppression offset, with a minimum of 0% loss per day.

A slave collar has a slave suppression offset of +15%. When worn by a slave,Content added by the Ideology DLC this acts as an offset to the rate at which the slave loses suppression.Content added by the Ideology DLC Note that by default, slaves lose between −5% and −20% suppression per day depending on their current level of suppression. This loss rate stacks additively with all sources of slave suppression offset, with a minimum of 0% loss per day.