Difference between revisions of "Template:Apparel Suppression Note"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<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|{{+|{{%|0+{{{1}}}}}}}|{{Bad|{{%|{{{1}}}}}}}}} per day. This stacks additively with all other forms of suppression loss rate offsets.</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]]. Note that by default, pawns loses {{--|30%}} suppression per day, and this stacks additively with all forms of suppression loss rate offset, with a minimum of 0% per day.</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 05:12, 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

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. Note that by default, pawns loses −30% suppression per day, and this stacks additively with all forms of suppression loss rate offset, with a minimum of 0% 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. Note that by default, pawns loses −30% suppression per day, and this stacks additively with all forms of suppression loss rate offset, with a minimum of 0% 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. Note that by default, pawns loses −30% suppression per day, and this stacks additively with all forms of suppression loss rate offset, with a minimum of 0% per day.