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|{{+|{{#expr:0+{{{1}}}}}}}|{{Bad|{{{1}}}}}}} per day. This stacks additively with all other forms of suppression loss rate offsets.</includeonly><noinclude>{{Documentation}}</noinclude>
+
<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>

Revision as of 04:40, 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 −5% 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 +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 +15% per day. This stacks additively with all other forms of suppression loss rate offsets.