Template:WeaponsTable: Difference between revisions
From Official Barotrauma Wiki
mNo edit summary |
No edit summary |
||
(45 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{doc}}[[Category:Templates]][[Category:Cargo Querying Templates]]</noinclude> | <noinclude>{{doc}}[[Category:Templates]][[Category:Cargo Querying Templates]]</noinclude> | ||
<includeonly>{| class="responsive-table" style="width:{{{width| | <includeonly>{| class="responsive-table {{#ifeq:{{{tabletype}}}|ranged||sortable}} mw-collapsible {{#if:{{{collapsed|}}}|mw-collapsed}}" style="width:{{{width|auto}}}%" | ||
{{#if:{{{notabletitle|}}}|| | |||
!< | {{!}}+{{#switch: {{{tabletype|weapons}}}|ranged='''<big>Ranged Weapons</big>'''|melee='''<big>Melee Weapons</big>'''|throwable='''<big>Throwable Weapons</big>'''|}} | ||
}} | |||
{{#ifeq:{{{ | !Weapon | ||
! | {{#ifeq:{{{tabletype|}}}|ranged| | ||
! | ! style="width:4em" {{!}}Fire<br>rate | ||
!<abbr title="Max number of ammunition stackable in the weapon | ! style="width:4em" {{!}}<abbr title="Max number of ammunition stackable in the weapon">Max<br>ammo</abbr> | ||
!<abbr title="Max number of shots in a | !Ammunition | ||
! style="width:4em" {{!}}<abbr title="Max number of shots in a magazine">Mag<br>size</abbr> | |||
!Afflictions | !Afflictions | ||
! | ! style="width:4em" {{!}}Armor<br>Pen | ||
! | ! style="width:4em" {{!}}<abbr title="Base probability to sever a severable limb, or to break armor sections. Each individual limb / armor may apply further modifiers.">Sever<br>Limb</abbr> | ||
-->{{#ifeq:{{{ | !Supply}}<!-- | ||
-->{{#ifeq:{{{tabletype|}}}|melee| | |||
! style="width:4em" {{!}}<abbr title="Attacks per Second">Attack<br>Speed</abbr> | |||
!Afflictions | !Afflictions | ||
! | ! style="width:5em" {{!}}Armor<br>Pen | ||
! | ! style="width:4em" {{!}}<abbr title="Base probability to sever a severable limb, or to break armor sections. Each individual limb / armor may apply further modifiers.">Sever<br>Limb</abbr>}}<!-- | ||
-->{{#ifeq:{{{ | -->{{#ifeq:{{{tabletype|}}}|throwable| | ||
! | !Afflictions | ||
!<abbr title=" | ! style="width:5em" {{!}}Armor<br>Pen | ||
! style="width:4em" {{!}}<abbr title="Base probability to sever a severable limb, or to break armor sections. Each individual limb / armor may apply further modifiers.">Sever<br>Limb</abbr>}}<!-- | |||
-->{{#ifeq:{{{ | -->{{#ifeq:{{{tabletype|}}}|explosive| | ||
! | !Afflictions | ||
!<abbr title=" | ! style="width:4em" {{!}}<abbr title="Base probability to sever a severable limb, or to break armor sections. Each individual limb / armor may apply further modifiers.">Sever<br>Limb</abbr>}}<!-- | ||
--> | |||
-->{{#cargo_query: | {{#cargo_query: | ||
tables = Items | tables = Items | ||
| fields = Items.name, Items. | | fields = Items.name, Items.icon, Items.ammotype, Items.weapontype, Items.weapondamagemodifier, Items.attackspeed, Items.penetration, Items.projectiles, Items.ammo, Items.ammocount, Items.ammomaxstack, Items.ammo2, Items.ammo2count, Items.ammo2maxstack, Items.supplyname, Items.supplyitems, Items.severlimbsprobability, Items.explosionrange, Items.afflictions, Items.explosionafflictions, | ||
| where = Items.weapontype="{{#switch: {{{ | | where = Items.weapontype="{{#switch: {{{tabletype}}}|ranged=ranged|melee=melee|throwable=throwable|explosive=explosive}}" {{#if:{{{customquery|}}}|{{{customquery}}}}} | ||
| order by = Items.ammo DESC, {{#ifeq:{{{tabletype|}}}|melee|Items.category DESC, Items.tags, Items.afflictions,}} Items.weapondamagemodifier, Items.name | |||
| format = template | | format = template | ||
| template = {{#switch: {{{ | | template = {{#switch: {{{tabletype}}}|ranged=WeaponsTable/ranged|melee=WeaponsTable/melee|throwable=WeaponsTable/throwable|explosive=WeaponsTable/explosive}} | ||
| named args = yes | | named args = yes | ||
}} | }} | ||
|}</includeonly> | |}</includeonly> |
Latest revision as of 07:42, 2 April 2024
Table displaying Weapons for the Handheld Weapons page.
Sub Templates
See also
Template in use
Ranged
To show up here items must have:
weapontype
defined asranged
.
{{WeaponsTable|tabletype=ranged}}
Melee
weapontype
defined asmelee
.
{{WeaponsTable|tabletype=melee}}
Weapon | Attack Speed |
Afflictions | Armor Pen |
Sever Limb |
---|---|---|---|---|
Boarding Axe |
0.83 | 750% | ||
Husk Stinger |
1 | 10% | ||
Spineling's Spike |
1 | 10% | ||
Toy Hammer |
1 | Stun (0.2)* |
||
Diving Knife |
1.33 | 10% | ||
Hardened Diving Knife |
1.33 | 25% | 10% | |
Ceremonial Sword |
1.92 | 55% | ||
Europan Handshake |
1.33 | 10% | ||
Screwdriver (Murder Mystery) |
1 | |||
Wrench (Murder Mystery) |
1 | |||
Diving Knife (Murder Mystery) |
1.33 | 10% | ||
Dementonite Diving Knife |
1.48 | 10% | ||
Stun Baton |
1 | |||
Screwdriver |
1 | |||
Dementonite Screwdriver |
1.11 | |||
Hardened Screwdriver |
1 | 25% | ||
Storage Container |
1 | Blunt Force Trauma (2)* Stun (0.6)* |
||
Crowbar |
1 | Blunt Force Trauma (10)* Stun (0.5)* |
||
Dementonite Crowbar |
1.11 | |||
Hardened Crowbar |
1 | 25% | ||
Heavy Wrench |
0.91 | Blunt Force Trauma (25)* Stun (1)* |
||
Wrench |
1 | Blunt Force Trauma (4)* Stun (0.2)* |
||
Dementonite Wrench |
1.11 | |||
Hardened Wrench |
1 | 25% |
Throwable
weapontype
defined asthrowable
.
{{WeaponsTable|tabletype=throwable}}
Weapon | Afflictions | Armor Pen |
Sever Limb |
---|---|---|---|
Acid Grenade |
|||
Deepdiver Duck |
Blunt Force Trauma (5)* Stun (0.5)* |
||
EMP Grenade |
|||
Frag Grenade |
50% | ||
Incendium Grenade |
|||
Molotov Cocktail |
|||
Nitroglycerin |
Explosion (3m): Burn (10)* (20% chance) Deep Tissue Injury (75)* Stun (5)* Bleeding (20)* (5% chance) |
||
Stun Grenade |
The above documentation is transcluded from Template:WeaponsTable/doc. (edit | history)