Difference between revisions of "Template:Hit Point Market Value Inverse/relative"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{Market Value Calculator|{{{2}}}||{{{3}}}}} {{Icon Small|silver}} ({{#expr: {{Hit Point Market Value Inverse|{{{1}}}|{{Market Value Calculator|{{{2}}}||{{{3}}}}}...")
 
Line 1: Line 1:
<includeonly>{{Market Value Calculator|{{{2}}}||{{{3}}}}} {{Icon Small|silver}} ({{#expr: {{Hit Point Market Value Inverse|{{{1}}}|{{Market Value Calculator|{{{2}}}||{{{3}}}}}}} * 100}}%)</includeonly><noinclude>
+
<includeonly>{{Market Value Calculator|{{{2}}}||{{{3}}}}} {{Icon Small|silver}} ({{#expr: ({{Hit Point Market Value Inverse|{{{1}}}|{{Market Value Calculator|{{{2}}}||{{{3}}}}}}} * 100) round 1}}%)</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 07:45, 21 July 2022

Documentation icon Template documentation[view] [edit] [history] [purge]

{{Hit Point Market Value Inverse/relative|target|item_name|quality|sell_modifier (default 1)}}

sell_price_at_quality Silver (percentage_hit_points_for_target%)

Examples

{{Hit Point Market Value Inverse/relative|20.9|Machine pistol|good|0.2}}

275 Silver (38%)