Template:AdjustReagent: Difference between revisions

From Space Station 14 Wiki
No edit summary
(cat)
Line 3: Line 3:
|{{#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|}}}| when {{{when}}}}}.|prob={{{prob}}}}}
}}{{#if:{{{when|}}}| when {{{when}}}}}.|prob={{{prob}}}}}
[[Category:Unfinished templates]]

Revision as of 14:13, 24 June 2024

Expression error: Unrecognized punctuation character "{".% chance to add 0 Lua error in Module:Chemistry_Lookup at line 9: attempt to index field '?' (a nil value)..