Difference between revisions of "Template:Weapon Material Table Row"

From RimWorld Wiki
Jump to navigation Jump to search
Line 23: Line 23:
 
{{!}} {{#expr: {{#var: attack4Damage}}*{{#ifeq: Sharp| {{#var: attack4Type}}|{{Q|{{{1|Steel}}}|Melee Sharp Damage Factor}}|{{Q|{{{1|Steel}}}|Melee Blunt Damage Factor}}}}/({{#var:attack4Cooldown}}*{{Q|{{{1|Steel}}}|Melee Cooldown Factor}}) round 2}}
 
{{!}} {{#expr: {{#var: attack4Damage}}*{{#ifeq: Sharp| {{#var: attack4Type}}|{{Q|{{{1|Steel}}}|Melee Sharp Damage Factor}}|{{Q|{{{1|Steel}}}|Melee Blunt Damage Factor}}}}/({{#var:attack4Cooldown}}*{{Q|{{{1|Steel}}}|Melee Cooldown Factor}}) round 2}}
 
}}
 
}}
| {{#expr:{{Q|{{{1|Steel}}}|Max Hit Points Factor}}*{{#var:HP|}} }}
+
| {{#expr:{{Q|{{{1|Steel}}}|Max Hit Points Factor}}*{{#var:HP}} }}
| {{Market Value Calculator|{{#var:name}}|{{{1|Steel}}}}}{{icon|silver|}}</includeonly>
+
| {{Market Value Calculator|{{#var:name}}|{{{1|Steel}}}}}{{icon|silver|}}</includeonly><noinclude>
<noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 14:23, 14 September 2021

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


Summary

This template is only ever called as part of Template:Weapon Material Table. It uses the variables defined in that template to render a single row of the table.

Example usage

This template isn't designed to be used in isolation, so as an example we'll show {{Weapon Material Table|Ikwa}}

Material table

  • Material DPS[1] AP[1] Handle (Blunt) Handle (Poke) Head (Stab) Edge (Cut) HP Value [ExpandCollapse]
    Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2]
    Wooden Ikwa Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. 65 73 Silver |- Bioferrite Ikwa Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. 200 83 Silver |- Golden Ikwa Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. 60 5015 Silver |- Plasteel Ikwa Expression error: Unexpected * operator. 1.6 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 1.6 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 1.6 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 1.6 Expression error: Unexpected * operator. Expression error: Unexpected * operator. 280 490 Silver |- Silver Ikwa Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. 70 520 Silver |- Steel Ikwa Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. 100 113 Silver |- Uranium Ikwa Expression error: Unexpected * operator. 2.2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2.2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2.2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2.2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. 250 335 Silver

    Assuming Normal quality, for the effect of other qualities, see Quality.

    1. 1.0 1.1 Note: This is the actual base average derived from the melee verb system updated in 1.1.2610, it may sometimes disagree with the listed value in the in-game infobox.
      It may also change depending on the stats and the melee verbs available to the wielder
    2. 2.0 2.1 2.2 2.3 Chance for attack to be selected, assuming only the weapon's attack verbs are considered. It may change depending on the melee verbs available to the wielder

    Material table

  • Material DPS[1] AP[1] Handle (Poke) Edge (Cut) HP Value [ExpandCollapse]
    Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2]
    Wooden Axe Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator.


    65 78 Silver |- Bioferrite Axe Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator.


    200 101 Silver |- Golden Axe Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator.


    60 5025 Silver |- Plasteel Axe Expression error: Unexpected * operator. 1.6 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 1.6 Expression error: Unexpected * operator. Expression error: Unexpected * operator.


    280 505 Silver |- Silver Axe Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator.


    70 525 Silver |- Steel Axe Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2 Expression error: Unexpected * operator. Expression error: Unexpected * operator.


    100 120 Silver |- Uranium Axe Expression error: Unexpected * operator. 2.2 Expression error: Unexpected * operator. Expression error: Unexpected * operator. Expression error: Unexpected * operator. 2.2 Expression error: Unexpected * operator. Expression error: Unexpected * operator.


    250 350 Silver

    Assuming Normal quality, for the effect of other qualities, see Quality.

    1. 1.0 1.1 Note: This is the actual base average derived from the melee verb system updated in 1.1.2610, it may sometimes disagree with the listed value in the in-game infobox.
      It may also change depending on the stats and the melee verbs available to the wielder
    2. 2.0 2.1 Chance for attack to be selected, assuming only the weapon's attack verbs are considered. It may change depending on the melee verbs available to the wielder