Difference between revisions of "Template:Entity Research Points"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "{{#expr:{{{min_containment}}}-50}},{{#expr:{{{min_containment}}}-0.001}},{{{min_containment}}},{{#expr:{{{min_containment}}}+100}},{{#expr:{{{min_containment}}}+200}},{{#expr:...")
 
(6 intermediate revisions by the same user not shown)
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:{{{containment|0}}}-{{{min_containment|0}}}}}}}{{#expr:{{#ifexpr:{{#var:containment}}<0|0.5|{{#ifexpr:{{#var:containment}}<100|{{#expr:1+{{#var:containment}}*0.003}}|{{#ifexpr:{{#var:containment}}<200|{{#expr:1.1+{{#var:containment}}*0.002}}|1.5}}}}}}*{{{points|0}}}}}

Revision as of 04:34, 21 December 2024

0