Difference between revisions of "Template:Weapon/Row/Ranged"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "{{#vardefine: name | {{{?Name|Pistol}}} }}{{#vardefine: DPS | {{Q| {{#var:name}} | Maximum DPS}} }}<noinclude> {| {{STDT|sortable c_06 text-center}} ! colspan=...")
 
(documentation wanted, category)
 
(36 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#vardefine: name         | {{{?Name|Pistol}}}
+
{{#vardefine: name | {{{?Name}}}
}}{{#vardefine: DPS         | {{Q| {{#var:name}} | Maximum DPS}}
+
}}{{#vardefine: DPS | {{Q| {{#var:name}} | Maximum DPS}}
}}<noinclude>
+
}}{{#vardefine: range  | {{Q|{{#var:name}}|Range}}
 +
}}
 +
<noinclude>{{#vardefine: name  | heavy SMG}}{{#vardefine: DPS | {{Q| {{#var:name}} | Maximum DPS}}}}{{#vardefine: range  | {{Q|{{#var:name}}|Range}}}}
 
{| {{STDT|sortable c_06 text-center}}
 
{| {{STDT|sortable c_06 text-center}}
! colspan='2'|Name !! Damage !! Warm-Up<br/>(ticks*) !! Cooldown<br/>(ticks*) !! Range<br/>(tiles) !! Burst Count !! Burst (ticks*) !! Bullet Speed !! Accuracy<br/>(Touch) !! Accuracy<br/>(Short) !! Accuracy<br/>(Medium) !! Accuracy<br/>(Long)  !! Minimum Range!! Miss Radius !! Blast Radius !! DPS<br/>(Optimal) !! DPS<br/>(Touch) !! DPS<br/>(Short) !! DPS<br/>(Medium) !! DPS<br/>(Long) !! Value {{icon|silver|}}
+
! colspan='2'|Name !! Damage !! AP !! Stopping Power !! Warm-Up<br/>(ticks*) !! Cooldown<br/>(ticks*) !! Range<br/>(tiles) !! Burst Count !! Burst (ticks*) !! Bullet Speed !! Accuracy<br/>(Touch) !! Accuracy<br/>(Short) !! Accuracy<br/>(Medium) !! Accuracy<br/>(Long)  !! Miss Radius !! Blast Radius !! DPS<br/>(Optimal) !! DPS<br/>(Touch) !! DPS<br/>(Short) !! DPS<br/>(Medium) !! DPS<br/>(Long) !! Value {{Icon Small|silver|}}
 
</noinclude>
 
</noinclude>
 
|-
 
|-
 
! {{Icon Small|{{#var:name}}}}
 
! {{Icon Small|{{#var:name}}}}
! style='text-align: left !important; width: 10em' | [[{{#var:name}}]]
+
! style='text-align: left !important; width: 10em' | {{DLC Icons|{{#var:name}}}}
| {{Q| {{#var:name}} | Damage Base}}
+
| {{Q| {{#var:name}} | Damage Base| ? }}
| {{Q| {{#var:name}} | Aiming Time Base}}
+
| {{Q| {{#var:name}} | Armor Penetration| - }}
| {{Q| {{#var:name}} | Ranged Cooldown Base}}
+
| {{Q| {{#var:name}} | Stopping Power| - }}
| {{Q| {{#var:name}} | Range}}
+
| {{Q| {{#var:name}} | Aiming Time Base| ? }}
 +
| {{Q| {{#var:name}} | Ranged Cooldown Base| - }}
 +
| {{Q| {{#var:name}} | Range| ? }}
 
| {{Q| {{#var:name}} | Burst Count|1}}
 
| {{Q| {{#var:name}} | Burst Count|1}}
 
| {{Q| {{#var:name}} | Burst Ticks| - }}
 
| {{Q| {{#var:name}} | Burst Ticks| - }}
| {{Q| {{#var:name}} | Velocity}}
+
| {{Q| {{#var:name}} | Velocity| - }}
| {{Q| {{#var:name}} | Accuracy (Touch) Base}}
+
| {{Q| {{#var:name}} | Accuracy (Touch) Base| -  |%}}
| {{Q| {{#var:name}} | Accuracy (Short) Base}}
+
| {{Q| {{#var:name}} | Accuracy (Short) Base| - |% }}
| {{Q| {{#var:name}} | Accuracy (Medium) Base}}
+
| {{Q| {{#var:name}} | Accuracy (Medium) Base| - |% }}
| {{Q| {{#var:name}} | Accuracy (Long) Base}}
+
| {{Q| {{#var:name}} | Accuracy (Long) Base| - |%}}
| {{Q| {{#var:name}} | Minimum Range| - }}
 
 
| {{Q| {{#var:name}} | Miss Radius| - }}
 
| {{Q| {{#var:name}} | Miss Radius| - }}
 
| {{Q| {{#var:name}} | Blast Radius| - }}
 
| {{Q| {{#var:name}} | Blast Radius| - }}
 
| {{#var:DPS}}
 
| {{#var:DPS}}
| {{#expr:{{Q| {{#var:name}} | Accuracy (Touch) Base}}*{{#var:DPS}} }}
+
{{#if:{{Q| {{#var:name}} | Accuracy (Touch) Base}}|
| {{#expr:{{Q| {{#var:name}} | Accuracy (Short) Base}}*{{#var:DPS}} }}
+
{{#switch: 1
| {{#expr:{{Q| {{#var:name}} | Accuracy (Medium) Base}}*{{#var:DPS}} }}
+
| {{#expr:{{#var:range}}<3}}  = {{!}} <p style=color:red>{{#expr:{{Q| {{#var:name}} | Accuracy (Touch) Base}}/100*{{#var:DPS}} }}</p>
| {{#expr:{{Q| {{#var:name}} | Accuracy (Long) Base}}*{{#var:DPS}} }}
+
{{!}} -
| {{Q| {{#var:name}} | Market Value}}<noinclude>
+
{{!}} -
|}
+
{{!}} -
</noinclude>
+
| {{#expr:{{#var:range}}<12}} = {{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Touch) Base}}/100*{{#var:DPS}} }}
 +
{{!}} <p style=color:red>{{#expr:{{Q| {{#var:name}} | Accuracy (Short) Base}}/100*{{#var:DPS}} }}</p>
 +
{{!}} -
 +
{{!}} -
 +
| {{#expr:{{#var:range}}<25}} = {{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Touch) Base}}/100*{{#var:DPS}} }}
 +
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Short) Base}}/100*{{#var:DPS}} }}
 +
{{!}} <p style=color:red>{{#expr:{{Q| {{#var:name}} | Accuracy (Medium) Base}}/100*{{#var:DPS}} }}</p>
 +
{{!}} -
 +
| {{#expr:{{#var:range}}<40}} = {{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Touch) Base}}/100*{{#var:DPS}} }}
 +
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Short) Base}}/100*{{#var:DPS}} }}
 +
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Medium) Base}}/100*{{#var:DPS}} }}
 +
{{!}} <p style=color:red>{{#expr:{{Q| {{#var:name}} | Accuracy (Long) Base}}/100*{{#var:DPS}} }}</p>
 +
| #default = {{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Touch) Base}}/100*{{#var:DPS}} }}
 +
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Short) Base}}/100*{{#var:DPS}} }}
 +
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Medium) Base}}/100*{{#var:DPS}} }}
 +
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Long) Base}}/100*{{#var:DPS}} }}
 +
}}
 +
|{{!}}{{!}} - {{!}}{{!}} - {{!}}{{!}} - {{!}}{{!}} -
 +
}}
 +
| {{Q| {{#var:name}} | Market Value Base|?}}<noinclude>
 +
|}{{Documentation|content=
 +
{{Documentation wanted}}
 +
[[Category:Customized table templates]]
 +
}}</noinclude>

Latest revision as of 23:08, 25 April 2023


Name Damage AP Stopping Power Warm-Up
(ticks*)
Cooldown
(ticks*)
Range
(tiles)
Burst Count Burst (ticks*) Bullet Speed Accuracy
(Touch)
Accuracy
(Short)
Accuracy
(Medium)
Accuracy
(Long)
Miss Radius Blast Radius DPS
(Optimal)
DPS
(Touch)
DPS
(Short)
DPS
(Medium)
DPS
(Long)
Value Silver
Heavy SMG Heavy SMG 12 18 0.5 54 99 22.9 3 11 48 85% 65% 35% 20% - - 12.34 10.489 8.021

4.319

- 355
Documentation icon Template documentation