Difference between revisions of "Template:Entity Research Points"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{#expr:{{{min_containment}}}-50}},{{#expr:{{{min_containment}}}-0.001}},{{{min_containment}}},{{#expr:{{{min_containment}}}+100}},{{#expr:{{{min_containment}}}+200}},{{#expr:{{{min_containment}}}+300}}{{#vardefine:y_values|{{#expr:{{{points}}}/2}},{{#expr:{{{points}}}/2}},{{{points}}},{{#expr:{{{points}}}*1.3}},{{#expr:{{{points}}}*1.5}},{{#expr:{{{points}}}*1.5}}}}
+
{{#vardefine:containment|{{#expr:{{{min_containment}}}-{{{containment}}}}}}}{{#expr:{{#ifexpr:{{#var:containment}}<0|0.5|{{#ifexpr:{{var:containment}}<100|1|{{#ifexpr:{{#var:contaiment}}<200|1.3|1.5}}}}}}*{{{points}}}}}

Revision as of 03:59, 21 December 2024

Expression error: Unexpected < operator.