Template:AdjustReagent: Difference between revisions

From Space Station 14 Wiki
(cat)
(cat)
Tag: Manual revert
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:15, 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)..