Template:GearTable: Difference between revisions
From Official Barotrauma Wiki
mNo edit summary |
(removing old affliction stuff) |
||
(11 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|auto}}}" | <includeonly>{| class="responsive-table sortable" style="width:{{{width|auto}}}" | ||
! Gear Name | ! Gear Name | ||
<!-- | <!-- | ||
--------------Outerwear | --------------Outerwear | ||
-->{{#ifeq:{{{ | -->{{#ifeq:{{{tabletype|outerwear}}}|outerwear| | ||
! Protected Limbs | ! Protected Limbs | ||
! [[Armor_Mechanics|Damage Resistances]] | ! [[Armor_Mechanics|Damage Resistances]] | ||
Line 12: | Line 11: | ||
}}<!-- | }}<!-- | ||
--------------Innerwear | --------------Innerwear | ||
-->{{#ifeq:{{{ | -->{{#ifeq:{{{tabletype|}}}|innerwear| | ||
! Protected Limbs | ! Protected Limbs | ||
! [[Armor_Mechanics|Damage Resistances]] | ! [[Armor_Mechanics|Damage Resistances]] | ||
Line 18: | Line 17: | ||
}}<!-- | }}<!-- | ||
--------------Headgear | --------------Headgear | ||
-->{{#ifeq:{{{ | -->{{#ifeq:{{{tabletype|}}}|headgear| | ||
! Protected Limbs | ! Protected Limbs | ||
! [[Armor_Mechanics|Damage Resistances]] | ! [[Armor_Mechanics|Damage Resistances]] | ||
Line 24: | Line 23: | ||
}}<!-- | }}<!-- | ||
--------------Toolbelt | --------------Toolbelt | ||
-->{{#ifeq:{{{ | -->{{#ifeq:{{{tabletype|}}}|toolbelt| | ||
}}<!-- | }}<!-- | ||
--------------Headset | --------------Headset | ||
-->{{#ifeq:{{{ | -->{{#ifeq:{{{tabletype|}}}|headset| | ||
}}<!-- | }}<!-- | ||
--------------Splicer | --------------Splicer | ||
-->{{#ifeq:{{{ | -->{{#ifeq:{{{tabletype|}}}|splicer| | ||
! Gene Capacity | ! Gene Capacity | ||
}}<!-- | }}<!-- | ||
--> | --> | ||
!Notes | |||
{{#cargo_query: | {{#cargo_query: | ||
tables = Items | tables = Items | ||
| fields = Items.name, Items.icon, Items.geartype | | fields = Items.name, Items.icon, Items.geartype, Items.gearskillmodifiers, Items.gearspeedmodifiers, Items.gearstatmodifiers, Items.protects, Items.pressureprotection, Items.genecapacity, Items.note, Items.resistances | ||
| where = {{#if: {{{1|}}}|Items.name = "{{{1}}}" OR Items.name = "{{{2}}}" OR Items.name = "{{{3}}}" OR Items.name = "{{{4}}}" OR Items.name = "{{{5}}}" OR Items.name = "{{{6}}}" OR Items.name = "{{{7}}}" OR Items.name = "{{{8}}}" OR Items.name = "{{{9}}}" OR Items.name = "{{{10}}}"|Items.geartype="{{#switch: {{{ | | where = {{#if: {{{1|}}}{{{id|}}}|Items.name = "{{{1}}}" OR Items.name = "{{{2}}}" OR Items.name = "{{{3}}}" OR Items.name = "{{{4}}}" OR Items.name = "{{{5}}}" OR Items.name = "{{{6}}}" OR Items.name = "{{{7}}}" OR Items.name = "{{{8}}}" OR Items.name = "{{{9}}}" OR Items.name = "{{{10}}}" OR Items.identifier = "{{{id}}}" OR Items.identifier = "{{{id2}}}" OR Items.identifier = "{{{id3}}}"|Items.geartype="{{#switch: {{{tabletype|outerwear}}}|toolbelt=toolbelt|outerwear=outerwear|innerwear=innerwear|headgear=headgear|headset=headset|card=card|splicer=splicer}}"}} | ||
| order by = Items.pressureprotection, Items. | | order by = Items.pressureprotection, Items.protects DESC, Items.name | ||
| format = template | | format = template | ||
| template = {{#switch: {{{ | | template = {{#switch: {{{tabletype|outerwear}}}|toolbelt=GearTable/Toolbelt|outerwear=GearTable/Outerwear|innerwear=GearTable/Innerwear|headgear=GearTable/Headgear|headset=GearTable/Headset|headset=GearTable/Card|splicer=GearTable/Splicer}} | ||
| named args = yes | | named args = yes | ||
}} | }} | ||
|}</includeonly> | |}</includeonly> |
Latest revision as of 20:18, 9 December 2023
Main article: Boilerplate:Gear
Table displaying Gear for the Gear page.
Instructions
Field | Note | Example | Expected | Default |
---|---|---|---|---|
Tabletype | Type of the table | Outerwear | Outerwear / Innerwear / Headgear / Toolbelt / Headset / Splicer | Outerwear |
width | Width of the table | 50% / 1000px | % / px | auto |
When you only specify the Tabletype, all items of that Gear Type are displayed.
- Tabletype is Outerwear by default.
You can make a custom table by writing out any Item names (Currently max 10) separated by pipes |
, only those items will be shown.
- Tabletype can be set to change how the table is displayed.
- Custom Items can be anything, they don't need to be Gear.
Sub Templates
- Template:GearTable/Outerwear
- Template:GearTable/Innerwear
- Template:GearTable/Headgear
- Template:GearTable/Toolbelt
- Template:GearTable/Headset
- Template:GearTable/Splicer
- Template:GearTable/Affliction
Template in use
Outerwear
To show up here items must have:
geartype
defined asouterwear
.
{{GearTable|tabletype=outerwear}}
Gear Name | Protected Limbs | Damage Resistances | Effects when worn | Pressure Protection | Notes |
---|---|---|---|---|---|
Makeshift Armor |
Torso, Arms, Legs | -30% Movement Speed -50% Scooter Propulsion Speed 50% Water flow resistance
|
|||
Safety Harness |
Torso, Arms | 90% Water flow resistance
|
|||
Body Armor |
Torso | ||||
Mudraptor Shell |
Torso | -30% Movement Speed
|
|||
Separatist Body Armor |
Torso | Weapons +5
|
|||
Broken Diving Suit |
All | -20% Movement Speed
|
|||
Bandolier |
Weapons +15 +25% Ranged Attack Speed
+25% Turret Attack Speed |
Has 4 small Item slots. | |||
Diving Suit |
All | -20% Movement Speed
|
Up to 4000 meters | Requires Breathing Supply. | |
Combat Diving Suit |
All | -5% Scooter Propulsion Speed
|
Up to 5750 meters | Requires Breathing Supply. | |
Slipsuit |
All | -30% Walking Speed
+40% Swimming Speed +40% Scooter Propulsion Speed |
Up to 5750 meters | Requires Breathing Supply. | |
PUCS |
All | -10% Movement Speed
-10% Scooter Propulsion Speed |
Up to 6200 meters | Requires Breathing Supply. Has a built-in Auto-Injector. | |
Abyss Diving Suit |
All | -20% Movement Speed
-15% Scooter Propulsion Speed |
Up to 6650 meters | Requires Breathing Supply. | |
Disposable Diving Suit |
All | -30% Movement Speed
-15% Scooter Propulsion Speed |
Up to 6650 meters | Has a built-in Oxygen Supply that lasts for 8 minutes and 20 seconds. | |
Exosuit |
All | -60% Movement Speed
-50% Scooter Propulsion Speed 90% Water flow resistance |
Up to 7000 meters | Requires Breathing & Power Supply. Hides the user's identity. Has 10 small Item slots. | |
Funbringer 3000 |
All | -60% Movement Speed
-50% Scooter Propulsion Speed 90% Water flow resistance |
Up to 7000 meters | Requires Breathing & Power Supply. Hides the user's identity. |
Innerwear
To show up here items must have:
geartype
defined asinnerwear
.
{{GearTable|tabletype=innerwear}}
Gear Name | Protected Limbs | Damage Resistances | Effects when worn | Notes |
---|---|---|---|---|
Admiral's Uniform |
Torso, Arms, Legs | |||
Assistant Clothes |
Torso, Arms, Legs | |||
Bandit Outfit |
Torso, Arms, Legs | |||
Bandit Outfit |
Torso, Arms, Legs | |||
Boiler Suit |
Torso, Arms, Legs | |||
Clown Costume |
Torso, Arms, Legs | It's a part of the Clown Ensemble. | ||
Commando's Fatigues |
Torso, Arms, Legs | |||
Crew Chief's Outfit |
Torso, Arms, Legs | |||
Doctor's Uniform |
Torso, Arms, Legs | Has 3 slots for medical/chemical items | ||
Engineer's Jumpsuit |
Torso, Arms, Legs | |||
Gunner's Uniform |
Torso, Arms, Legs | |||
Hazmat Suit |
Torso, Arms, Legs | |||
Mechanic's Jumpsuit |
Torso, Arms, Legs | |||
Medic's Fatigues |
Torso, Arms, Legs | Has 3 slots for medical/chemical items | ||
Miner's Overalls |
Torso, Arms, Legs | |||
Mother's Providence |
Torso, Arms, Legs | It's a part of the Clown Ensemble. | ||
Outpost Dweller's Outfit |
Torso, Arms, Legs | |||
Outpost Dweller's Outfit |
Torso, Arms, Legs | |||
Outpost Dweller's Outfit |
Torso, Arms, Legs | |||
Outpost Dweller's Outfit |
Torso, Arms, Legs | |||
Outpost Dweller's Outfit |
Torso, Arms, Legs | |||
Outpost Security Uniform |
Torso, Arms, Legs | |||
Prisoner Outfit |
Torso, Arms, Legs | |||
Quartermaster's Outfit |
Torso, Arms, Legs | |||
Renegade's Jacket |
Torso, Arms, Legs | |||
Researcher's Outfit |
Torso, Arms, Legs | |||
Security Officer's Uniform |
Torso, Arms, Legs | |||
Separatist Costume |
Torso, Arms, Legs | |||
Separatist Costume (Hard) |
Torso, Arms, Legs | |||
Separatist Costume (Novice) |
Torso, Arms, Legs | |||
Station Administrator's Outfit |
Torso, Arms, Legs | |||
Veteran's Jacket |
Torso, Arms, Legs | |||
VIP Outfit |
Torso, Arms, Legs | |||
VIP Outfit |
Torso, Arms, Legs | |||
VIP Outfit |
Torso, Arms, Legs | |||
Watchman Clothes |
Torso, Arms, Legs | |||
Cultist Robes |
||||
Cultist Robes (Faulty) |
Doesn't make Husks ignore the wearer. | |||
Medical Officer's Outfit |
Medical +15
|
|||
Zealot Robes |
Headgear
To show up here items must have:
geartype
defined asheadgear
.
{{GearTable|tabletype=headgear}}
Gear Name | Protected Limbs | Damage Resistances | Effects when worn | Notes |
---|---|---|---|---|
Admiral's Hat |
head | Helm +10
|
||
Ballistic Helmet |
Head | |||
Chitin Helmet |
Head | |||
Gunner's Helmet |
Head | Weapons +10
|
||
Iron Helmet |
Head | -10% Movement Speed
|
Hides the wearer's identity. Reduces field of view. | |
Renegade's Hat |
head | Helm +10
|
||
Riot Helmet |
Head | |||
Separatist Bandana |
Head | |||
Separatist Captain Hat |
Head | Helm +12
|
||
Separatist Helmet |
Head | Weapons +5
|
||
Veteran's Cap |
Head | Helm +10
|
||
Clown Diving Mask |
Requires an oxygen supply. It's a part of the Clown Ensemble. | |||
Clown Mask |
It's a part of the Clown Ensemble. | |||
Crawler Mask |
Makes one of the three noises of an idle Crawler every 7 seconds. | |||
Diving Mask |
Requires an oxygen supply. Hides the wearer's identity. | |||
Electrician's Goggles |
||||
Health Scanner HUD |
Shows health information from a distance. | |||
Mother's Countenance |
It's a part of the Clown Ensemble. | |||
Thermal Goggles |
Highlights some living targets though walls. |
Toolbelt
To show up here items must have:
geartype
defined astoolbelt
.
{{GearTable|tabletype=toolbelt}}
Gear Name | Notes |
---|---|
Arc Emitter |
|
Assault Rifle |
|
Autoshotgun |
|
Backpack |
Has 12 small Item slots. |
Grenade Launcher |
|
HMG |
|
Rapid Fissile Accelerator |
|
Riot Shield |
|
Scrap Cannon |
|
Toolbelt |
Has 6 small Item slots. |
Headset
To show up here items must have:
geartype
defined asheadset
.
{{GearTable|tabletype=headset}}
Gear Name | Notes |
---|---|
Auto-Injector Headset |
Allows giving orders to the crew and communicating using radio chat functions, and injecting inserted Medical Items when the user drops below 50% Vitality. |
Headset |
Allows giving orders to the crew and communicating using radio chat functions. |
Splicer
To show up here items must have:
geartype
defined assplicer
.
{{GearTable|tabletype=splicer}}
Gear Name | Gene Capacity | Notes |
---|---|---|
Advanced Gene Splicer |
2 | |
Gene Splicer |
1 |
Custom Table Examples
Captain's Clothes Table
{{GearTable|Veteran's Jacket|Renegade's Jacket|Admiral's Uniform|Veteran's Cap|Renegade's Hat|Admiral's Hat|Tabletype=Innerwear}}
Gear Name | Protected Limbs | Damage Resistances | Effects when worn | Notes |
---|---|---|---|---|
Admiral's Uniform |
Torso, Arms, Legs | |||
Renegade's Jacket |
Torso, Arms, Legs | |||
Veteran's Jacket |
Torso, Arms, Legs | |||
Admiral's Hat |
head | Helm +10
|
||
Renegade's Hat |
head | Helm +10
|
||
Veteran's Cap |
Head | Helm +10
|
Diving Suit Table
{{GearTable|Diving Suit|Combat Diving Suit|Slipsuit|PUCS|Abyss Diving Suit|Exosuit|Disposable Diving Suit|Tabletype=Outerwear}}
Gear Name | Protected Limbs | Damage Resistances | Effects when worn | Pressure Protection | Notes |
---|---|---|---|---|---|
Diving Suit |
All | -20% Movement Speed
|
Up to 4000 meters | Requires Breathing Supply. | |
Combat Diving Suit |
All | -5% Scooter Propulsion Speed
|
Up to 5750 meters | Requires Breathing Supply. | |
Slipsuit |
All | -30% Walking Speed
+40% Swimming Speed +40% Scooter Propulsion Speed |
Up to 5750 meters | Requires Breathing Supply. | |
PUCS |
All | -10% Movement Speed
-10% Scooter Propulsion Speed |
Up to 6200 meters | Requires Breathing Supply. Has a built-in Auto-Injector. | |
Abyss Diving Suit |
All | -20% Movement Speed
-15% Scooter Propulsion Speed |
Up to 6650 meters | Requires Breathing Supply. | |
Disposable Diving Suit |
All | -30% Movement Speed
-15% Scooter Propulsion Speed |
Up to 6650 meters | Has a built-in Oxygen Supply that lasts for 8 minutes and 20 seconds. | |
Exosuit |
All | -60% Movement Speed
-50% Scooter Propulsion Speed 90% Water flow resistance |
Up to 7000 meters | Requires Breathing & Power Supply. Hides the user's identity. Has 10 small Item slots. |
Stuff Table
{{GearTable|Poop|Clown Diving Mask|Europan Handshake|Body Armor|Tabletype=Headgear}}
Gear Name | Protected Limbs | Damage Resistances | Effects when worn | Notes |
---|---|---|---|---|
Body Armor |
Torso | |||
Clown Diving Mask |
Requires an oxygen supply. It's a part of the Clown Ensemble. | |||
Europan Handshake |
||||
Poop |
The above documentation is transcluded from Template:GearTable/doc. (edit | history)