Template:AdjustReagent: Difference between revisions

From Paradise 14 Wiki
Jump to navigation Jump to search
imported>Aliser
cat
imported>Aliser
docs
Line 1: Line 1:
{{Chance to|{{#ifexpr:{{{amount|0}}}<0
<includeonly>{{Chance to|{{#ifexpr:{{{amount|0}}}<0
|{{#ifeq:{{{prob}}}|1|Removes|remove}} {{#expr:abs {{{amount|0}}}}} {{#invoke:Chemistry Lookup|readscalar|{{{reagent}}}|name}}
|{{#ifeq:{{{prob}}}|1|Removes|remove}} {{#expr:abs {{{amount|0}}}}} {{#invoke:Chemistry Lookup|readscalar|{{{reagent}}}|name}}
|{{#ifeq:{{{prob}}}|1|Adds|add}} {{#expr:abs {{{amount|0}}}}} {{#invoke:Chemistry Lookup|readscalar|{{{reagent}}}|name}}
|{{#ifeq:{{{prob}}}|1|Adds|add}} {{#expr:abs {{{amount|0}}}}} {{#invoke:Chemistry Lookup|readscalar|{{{reagent}}}|name}}
}}{{#if:{{{when|}}}|&#x20;when {{{when}}}}}.|prob={{{prob}}}}}
}}{{#if:{{{when|}}}|&#x20;when {{{when}}}}}.|prob={{{prob}}}}}</includeonly><noinclude>
{{documentation}}
 
[[Category:Templates without specific category]]
[[Category:Templates without documentation pages]]
</noinclude>

Revision as of 14:38, 24 June 2024