Difference between revisions of "Template:Weapon Stats Table/Melee"

From RimWorld Wiki
Jump to navigation Jump to search
(There aren't any weapons currently that are both stuffable and don't can't be metallic stuffed, but if there were, it would cause issues that are annoying to diagnoses. This future proofs.)
(merged columns for human left & right fist attacks)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div><li style="display: inline-table;"><!--
+
<includeonly><!--
 
--><!-- VARIABLES --><!--
 
--><!-- VARIABLES --><!--
 
-->{{#vardefine:name      | {{{1|{{PAGENAME}} }}} }}<!-- Name of the weapon
 
-->{{#vardefine:name      | {{{1|{{PAGENAME}} }}} }}<!-- Name of the weapon
 
-->{{#vardefine:stufftags  | {{lc: {{Q|{{#var:name}}|Stuff Tags}} }} }}<!-- The weapons stuff tags. Empty if weapon isn't stuffable
 
-->{{#vardefine:stufftags  | {{lc: {{Q|{{#var:name}}|Stuff Tags}} }} }}<!-- The weapons stuff tags. Empty if weapon isn't stuffable
 
-->{{#vardefine:HP        | {{formatnum: {{Q|{{#var:name}}|Max Hit Points Base|100}} | R}} }}<!-- The weapons hit points. Default = 100
 
-->{{#vardefine:HP        | {{formatnum: {{Q|{{#var:name}}|Max Hit Points Base|100}} | R}} }}<!-- The weapons hit points. Default = 100
-->{{#vardefine:hasQuality | {{#switch: {{Q|{{#var:name}}|Type}} | Animal = | #default = {{#switch: {{#var:name}} | Beer | Charge blaster turret | Club | Elephant tusk | Thrumbo horn | Wood = | #default = true}} }} }}<!-- True if the weapon has quality
+
-->{{#vardefine:hasQuality | {{#ifeq: {{Q|{{#var:name}}|Has Quality}} | true | true}} }}<!-- True if the weapon has quality
 
-->
 
-->
 
<!-- CONTROL PANEL -->
 
<!-- CONTROL PANEL -->
{| class="wikitable"
+
{| {{STDT|any}}
|+ <!--Select which features you'd like to compare-->
 
|-
 
 
! Feature !! Toggle
 
! Feature !! Toggle
 
|-
 
|-
Line 27: Line 25:
 
|}
 
|}
 
<!-- MAIN TABLE -->
 
<!-- MAIN TABLE -->
 +
<div><li style="display: inline-table;">
 
{| {{STDT|sortable c_03 text-center}}
 
{| {{STDT|sortable c_03 text-center}}
 
! colspan="{{#expr: 2 {{#if:{{#var:stufftags}}|+1}} {{#if:{{#var:hasQuality}}|+1}} }}" style="vertical-align: middle; text-align: left;" | {{Icon Small|{{#var:name}}|32}} {{#var:name}}
 
! colspan="{{#expr: 2 {{#if:{{#var:stufftags}}|+1}} {{#if:{{#var:hasQuality}}|+1}} }}" style="vertical-align: middle; text-align: left;" | {{Icon Small|{{#var:name}}|32}} {{#var:name}}
Line 32: Line 31:
 
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} |
 
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} |
 
<th {{#var:collapseA}} style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 2 Part}} }} ([[Damage types#{{Q|{{#var:name}}|Attack 2 Type}}|{{Q|{{#var:name}}|Attack 2 Type}}]]) </th>
 
<th {{#var:collapseA}} style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 2 Part}} }} ([[Damage types#{{Q|{{#var:name}}|Attack 2 Type}}|{{Q|{{#var:name}}|Attack 2 Type}}]]) </th>
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} |
+
{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} |
 
<th {{#var:collapseA}} style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 3 Part}} }} ([[Damage types#{{Q|{{#var:name}}|Attack 3 Type}}|{{Q|{{#var:name}}|Attack 3 Type}}]]) </th>
 
<th {{#var:collapseA}} style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 3 Part}} }} ([[Damage types#{{Q|{{#var:name}}|Attack 3 Type}}|{{Q|{{#var:name}}|Attack 3 Type}}]]) </th>
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} |
+
{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} |
 
<th {{#var:collapseA}} style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 4 Part}} }} ([[Damage types#{{Q|{{#var:name}}|Attack 4 Type}}|{{Q|{{#var:name}}|Attack 4 Type}}]]) </th>
 
<th {{#var:collapseA}} style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 4 Part}} }} ([[Damage types#{{Q|{{#var:name}}|Attack 4 Type}}|{{Q|{{#var:name}}|Attack 4 Type}}]]) </th>
}}{{#if: {{Q|{{#var:name}}|Attack 5 Damage}} |
+
}} }} }}
<th {{#var:collapseA}} style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 5 Part}} }} ([[Damage types#{{Q|{{#var:name}}|Attack 5 Type}}|{{Q|{{#var:name}}|Attack 4 Type}}]]) </th>
+
! {{#var:collapseA}} style="border-style: none;" colspan="5" | [[Human]]: Left & rigth fist ([[Damage types#{{Q|Human|Attack 1 Type}}|{{Q|Human|Attack 1 Type}}]])
}}{{#if: {{Q|{{#var:name}}|Attack 6 Damage}} |
+
<!-- Human left & right fist attack merged sind for a baseline human they are identical. The human head and teeth attacks are irrelevant in all cases -->
<th {{#var:collapseA}} style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 6 Part}} }} ([[Damage types#{{Q|{{#var:name}}|Attack 6 Type}}|{{Q|{{#var:name}}|Attack 4 Type}}]]) </th>
 
}}
 
 
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none none solid none;" | {{HP}}
 
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none none solid none;" | {{HP}}
 
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none solid solid none;" | Value
 
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none solid solid none;" | Value
|-
+
<tr>
 
{{#if:{{#var:hasQuality}}|<th style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid solid;"> Quality<br/> </th>}}<!--
 
{{#if:{{#var:hasQuality}}|<th style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid solid;"> Quality<br/> </th>}}<!--
 
-->{{#if: {{#var:stufftags}} |
 
-->{{#if: {{#var:stufftags}} |
 
<th style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid {{#if:{{#var:hasQuality}}|none|solid}};"> Material </th> }}
 
<th style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid {{#if:{{#var:hasQuality}}|none|solid}};"> Material </th> }}
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid {{#if:{{#var:stufftags}}{{#var:hasQuality}}|none|solid}};"> DPS<ref name="Actual">Note: This is the actual base average derived from the [[Weapons#Listed DPS on pawns|melee verb system]] updated in [[Version/1.1.2610|1.1.2610]], it may sometimes disagree with the listed value in the in-game infobox.<br/>It may also change depending on the stats and the melee verbs available to the wielder</ref> </th>
+
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid {{#if:{{#var:stufftags}}{{#var:hasQuality}}|none|solid}};"> DPS<ref name="Actual">Note: This is the actual base average derived from the [[Weapons#Listed DPS on pawns|melee verb system]] updated in [[Version/1.1.2610|1.1.2610]], it may sometimes disagree with the listed value in the in-game infobox.<br/>It may also change depending on the stats and the melee verbs available to the wielder if the weapon is wielded by some other than a baseline [[human]].</ref> </th>
 
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> AP<ref name="Actual"/> </th>
 
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> AP<ref name="Actual"/> </th>
 
{{#vardefineecho:attackHeaders|<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> Dam. </th>
 
{{#vardefineecho:attackHeaders|<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> Dam. </th>
Line 53: Line 50:
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> AP </th>
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> AP </th>
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> DPS </th>
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> DPS </th>
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> Chance<ref name="Chance">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</ref> </th>}}<!--
+
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> Chance<ref name="Chance">Chance for attack to be selected, assuming the weapon is wielded by a baseline [[human]]. It may change depending on the melee verbs available to the wielder</ref> </th>}}<!--
 
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | {{#var:attackHeaders}} }}<!--
 
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | {{#var:attackHeaders}} }}<!--
 
-->{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | {{#var:attackHeaders}} }}<!--
 
-->{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | {{#var:attackHeaders}} }}<!--
 
-->{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | {{#var:attackHeaders}} }}<!--
 
-->{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | {{#var:attackHeaders}} }}<!--
-->{{#if: {{Q|{{#var:name}}|Attack 5 Damage}} | {{#var:attackHeaders}} }}<!--
+
-->{{#var:attackHeaders}}
-->{{#if: {{Q|{{#var:name}}|Attack 6 Damage}} | {{#var:attackHeaders}} }}<!--
+
</tr>
-->{{#if:{{#var:hasQuality}} |
+
{{#if:{{#var:hasQuality}} |
 
   {{#vardefine:qualitySort|0}}{{#vardefine:quality|Awful}}
 
   {{#vardefine:qualitySort|0}}{{#vardefine:quality|Awful}}
 
   {{#if: {{#var:stufftags}}
 
   {{#if: {{#var:stufftags}}
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}}
+
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}   || [[Stuff Category::Fabric]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}   || [[Stuff Category::Woody]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}   || [[Stuff Category::Stony]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]]
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]  OR}}
 +
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 
       | format = template
 
       | format = template
       | template = Weapon Quality Table/Melee/Row
+
       | template = Weapon Stats Table/Melee/Row
 
       | link = none}}
 
       | link = none}}
     | {{Weapon Quality Table/Melee/Row}}
+
     | {{Weapon Stats Table/Melee/Row}}
 
   }}
 
   }}
 
   {{#vardefine:qualitySort|1}}{{#vardefine:quality|Poor}}
 
   {{#vardefine:qualitySort|1}}{{#vardefine:quality|Poor}}
 
   {{#if: {{#var:stufftags}}
 
   {{#if: {{#var:stufftags}}
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}}
+
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}   || [[Stuff Category::Fabric]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}   || [[Stuff Category::Woody]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}   || [[Stuff Category::Stony]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]]
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]  OR}}
 +
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 
       | format = template
 
       | format = template
       | template = Weapon Quality Table/Melee/Row
+
       | template = Weapon Stats Table/Melee/Row
 
       | link = none}}
 
       | link = none}}
     | {{Weapon Quality Table/Melee/Row}}
+
     | {{Weapon Stats Table/Melee/Row}}
 
   }}
 
   }}
 
}}
 
}}
 
{{#vardefine:qualitySort|2}}{{#vardefine:quality|Normal}}
 
{{#vardefine:qualitySort|2}}{{#vardefine:quality|Normal}}
{{#if:{{#var:stufftags}} |
+
{{#if:{{#var:stufftags}}
   {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}}
+
   | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]   OR}}
          {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}   || [[Stuff Category::Fabric]]   OR}}
+
            {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
          {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}   || [[Stuff Category::Woody]]   OR}}
+
            {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
          {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}   || [[Stuff Category::Stony]]   OR}}
+
            {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
          {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]]
+
            {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]  OR}}
 +
            {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 
     | format = template
 
     | format = template
     | template = Weapon Quality Table/Melee/Row
+
     | template = Weapon Stats Table/Melee/Row
 
     | link = none
 
     | link = none
 
   }}
 
   }}
   | {{Weapon Quality Table/Melee/Row}}
+
   | {{Weapon Stats Table/Melee/Row}}
 
}}<!--
 
}}<!--
 
-->{{#if:{{#var:hasQuality}} |
 
-->{{#if:{{#var:hasQuality}} |
 
   {{#vardefine:qualitySort|3}}{{#vardefine:quality|Good}}
 
   {{#vardefine:qualitySort|3}}{{#vardefine:quality|Good}}
 
   {{#if: {{#var:stufftags}}
 
   {{#if: {{#var:stufftags}}
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}}
+
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}   || [[Stuff Category::Fabric]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}   || [[Stuff Category::Woody]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}   || [[Stuff Category::Stony]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]]
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]  OR}}
 +
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 
       | format = template
 
       | format = template
       | template = Weapon Quality Table/Melee/Row
+
       | template = Weapon Stats Table/Melee/Row
 
       | link = none}}
 
       | link = none}}
     | {{Weapon Quality Table/Melee/Row}}
+
     | {{Weapon Stats Table/Melee/Row}}
 
   }}
 
   }}
 
   {{#vardefine:qualitySort|4}}{{#vardefine:quality|Excellent}}
 
   {{#vardefine:qualitySort|4}}{{#vardefine:quality|Excellent}}
 
   {{#if: {{#var:stufftags}}
 
   {{#if: {{#var:stufftags}}
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}}
+
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}   || [[Stuff Category::Fabric]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}   || [[Stuff Category::Woody]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}   || [[Stuff Category::Stony]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]]
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]  OR}}
 +
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 
       | format = template
 
       | format = template
       | template = Weapon Quality Table/Melee/Row
+
       | template = Weapon Stats Table/Melee/Row
 
       | link = none}}
 
       | link = none}}
     | {{Weapon Quality Table/Melee/Row}}
+
     | {{Weapon Stats Table/Melee/Row}}
 
   }}
 
   }}
 
   {{#vardefine:qualitySort|5}}{{#vardefine:quality|Masterwork}}
 
   {{#vardefine:qualitySort|5}}{{#vardefine:quality|Masterwork}}
 
   {{#if: {{#var:stufftags}}
 
   {{#if: {{#var:stufftags}}
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}}
+
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}   || [[Stuff Category::Fabric]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}   || [[Stuff Category::Woody]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}   || [[Stuff Category::Stony]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]]
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]  OR}}
 +
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 
       | format = template
 
       | format = template
       | template = Weapon Quality Table/Melee/Row
+
       | template = Weapon Stats Table/Melee/Row
 
       | link = none}}
 
       | link = none}}
     | {{Weapon Quality Table/Melee/Row}}
+
     | {{Weapon Stats Table/Melee/Row}}
 
   }}
 
   }}
 
   {{#vardefine:qualitySort|6}}{{#vardefine:quality|Legendary}}
 
   {{#vardefine:qualitySort|6}}{{#vardefine:quality|Legendary}}
 
   {{#if: {{#var:stufftags}}
 
   {{#if: {{#var:stufftags}}
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}}
+
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}   || [[Stuff Category::Fabric]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}   || [[Stuff Category::Woody]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}   || [[Stuff Category::Stony]]   OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]]
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]  OR}}
 +
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 
       | format = template
 
       | format = template
       | template = Weapon Quality Table/Melee/Row
+
       | template = Weapon Stats Table/Melee/Row
 
       | link = none}}
 
       | link = none}}
     | {{Weapon Quality Table/Melee/Row}}
+
     | {{Weapon Stats Table/Melee/Row}}
 
   }}
 
   }}
 
}}
 
}}

Latest revision as of 17:01, 14 April 2024

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

Summary[edit]

This template is part of the following system generating tables for all weapons:

Usage[edit]

If you want to use this template specifically you can specify the weapon as the first parameter:

{{Weapon Stats Table/Melee|Longsword}}

Otherwise it will use the name of the page it's placed on:

{{Weapon Stats Table/Melee}}

Examples[edit]

Longsword[edit]


A weapon with quality and with materials:

{{Weapon Stats Table/Melee|Longsword}}

Deactivated since the page would be to big.

Persona monosword[edit]


A weapon with quality but without materials:

{{Weapon Stats Table/Melee|Persona monosword}}
Feature Toggle
AttacksRitual Quality Check Off.pngRitual Quality Check On.png
  • Persona monosword Persona monosword Handle (Blunt) Point (Stab) Edge (Cut) Human: Left & rigth fist (Blunt) HP Value
    Quality
    DPS[1] AP[1] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2]
    Awful 11.63 57.6% 9.6 1.6s 14.4% 6 25% 21.6 1.6s 72% 13.5 37.5% 21.6 1.6s 72% 13.5 37.5% 8.2 2s 12% 4.1 0% 100 1500 Silver
    Poor 13.08 64.8% 10.8 1.6s 16.2% 6.75 25% 24.3 1.6s 81% 15.19 37.5% 24.3 1.6s 81% 15.19 37.5% 8.2 2s 12% 4.1 0% 100 2250 Silver
    Normal 14.53 72% 12 1.6s 18% 7.5 25% 27 1.6s 90% 16.88 37.5% 27 1.6s 90% 16.88 37.5% 8.2 2s 12% 4.1 0% 100 3000 Silver
    Good 15.98 79.2% 13.2 1.6s 19.8% 8.25 25% 29.7 1.6s 99% 18.56 37.5% 29.7 1.6s 99% 18.56 37.5% 8.2 2s 12% 4.1 0% 100 3500 Silver
    Excellent 17.44 86.4% 14.4 1.6s 21.6% 9 25% 32.4 1.6s 108% 20.25 37.5% 32.4 1.6s 108% 20.25 37.5% 8.2 2s 12% 4.1 0% 100 4000 Silver
    Masterwork 24.47 130.5% 17.4 1.6s 26.1% 10.88 0% 39.15 1.6s 130.5% 24.47 50% 39.15 1.6s 130.5% 24.47 50% 8.2 2s 12% 4.1 0% 100 5000 Silver
    Legendary 27.84 148.5% 19.8 1.6s 29.7% 12.38 0% 44.55 1.6s 148.5% 27.84 50% 44.55 1.6s 148.5% 27.84 50% 8.2 2s 12% 4.1 0% 100 6000 Silver

    For the full effects of 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 if the weapon is wielded by some other than a baseline human.
    2. Chance for attack to be selected, assuming the weapon is wielded by a baseline human. It may change depending on the melee verbs available to the wielder

    Club[edit]


    A weapon without quality but with materials:

    {{Weapon Stats Table/Melee|Club}}
    Feature Toggle
    AttacksRitual Quality Check Off.pngRitual Quality Check On.png
  • Club Club Handle (Poke) Head (Blunt) Human: Left & rigth fist (Blunt) HP Value
    Material DPS[1] AP[1] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2]
    Bioferrite Bioferrite Content added by the Anomaly DLC 5.75 17.15% 8.1 2s 11.7% 4.05 8.33% 12.6 2s 18.9% 6.3 75% 8.2 2s 12% 4.1 8.33% 200 41 Silver
    Gold Gold 6.31 18.83% 9 2s 13% 4.5 8.33% 14 2s 21% 7 75% 8.2 2s 12% 4.1 8.33% 60 4005 Silver
    Granite blocks Granite blocks 5.05 18.83% 9 2.6s 13% 3.46 8.33% 14 2.6s 21% 5.38 75% 8.2 2s 12% 4.1 8.33% 170 42 Silver
    Limestone blocks Limestone blocks 5.05 18.83% 9 2.6s 13% 3.46 8.33% 14 2.6s 21% 5.38 75% 8.2 2s 12% 4.1 8.33% 155 42 Silver
    Marble blocks Marble blocks 5.05 18.83% 9 2.6s 13% 3.46 8.33% 14 2.6s 21% 5.38 75% 8.2 2s 12% 4.1 8.33% 120 41 Silver
    Plasteel Plasteel 6.9 17.15% 8.1 1.6s 11.7% 5.06 8.33% 12.6 1.6s 18.9% 7.88 75% 8.2 2s 12% 4.1 8.33% 280 370 Silver
    Sandstone blocks Sandstone blocks 5.05 18.83% 9 2.6s 13% 3.46 8.33% 14 2.6s 21% 5.38 75% 8.2 2s 12% 4.1 8.33% 140 41 Silver
    Silver Silver 6.31 18.83% 9 2s 13% 4.5 8.33% 14 2s 21% 7 75% 8.2 2s 12% 4.1 8.33% 70 405 Silver
    Slate blocks Slate blocks 5.05 18.83% 9 2.6s 13% 3.46 8.33% 14 2.6s 21% 5.38 75% 8.2 2s 12% 4.1 8.33% 130 42 Silver
    Steel Steel 6.31 18.83% 9 2s 13% 4.5 8.33% 14 2s 21% 7 75% 8.2 2s 12% 4.1 8.33% 100 80 Silver
    Jade Jade 7.3 27.25% 13.5 2.6s 19.5% 5.19 8.33% 21 2.6s 31.5% 8.08 75% 8.2 2s 12% 4.1 8.33% 50 205 Silver
    Uranium Uranium 8.42 27.25% 13.5 2.2s 19.5% 6.14 8.33% 21 2.2s 31.5% 9.55 75% 8.2 2s 12% 4.1 8.33% 250 250 Silver
    Wood Wood 5.75 17.15% 8.1 2s 11.7% 4.05 8.33% 12.6 2s 18.9% 6.3 75% 8.2 2s 12% 4.1 8.33% 65 51 Silver
    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 if the weapon is wielded by some other than a baseline human.
    2. Chance for attack to be selected, assuming the weapon is wielded by a baseline human. It may change depending on the melee verbs available to the wielder

    Thrumbo horn[edit]


    A weapon without quality and without materials:

    {{Weapon Stats Table/Melee|Thrumbo horn}}
    Feature Toggle
    AttacksRitual Quality Check Off.pngRitual Quality Check On.png
  • Thrumbo horn Thrumbo horn Point (Stab) Point (Scratch) Base (Blunt) Human: Left & rigth fist (Blunt) HP Value
    DPS[1] AP[1] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2]
    9.44 34.63% 28 2.6s 42% 10.77 37.5% 28 2.6s 42% 10.77 37.5% 9 2s 13.5% 4.5 8.33% 8.2 2s 12% 4.1 8.33% 150 800 Silver
    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 if the weapon is wielded by some other than a baseline human.
    2. Chance for attack to be selected, assuming the weapon is wielded by a baseline human. It may change depending on the melee verbs available to the wielder