Gas Mask: Difference between revisions

From PZwiki
mNo edit summary
(Add code)
 
(33 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Testing|build=[[Build 41]]}}
{{Header|Project Zomboid|Items|Clothing|Headwear|Masks}}
{{languages}}
{{Page version|41.65}}
{{header|The Game World|Items|Clothing|version=Version 41|incver=0|hidecat=true}}
{{Reupload|Missing 3D Model}}
{{Infobox clothing
{{Infobox item
| display_name = Gas Mask
|name=Gas Mask
| name_colour = Clothing
|icon=GasMask.png
| name_text_colour = Clothing
|icon_name=Gas Mask
| image_width = 300px
| alternate_image = GasMask.png
| alternate_name = Gas Mask
<!-- General -->
<!-- General -->
| category = Clothing
|category=Clothing
| weight = 0.01
|weight=1.0
| body_location = Mask, Eyes
|equipped=MaskEyes
<!-- Protection -->
|insulation=0.75
| insulation = 0.75
|wind_resistance=0.60
|water_resistance=1.0
<!-- Technical details -->
<!-- Technical details -->
| class_name = Hat_GasMask
|item_id=Base.Hat_GasMask
}}
}}
The '''Gas Mask''' is a face mask.
A '''Gas Mask''' is a face mask.
It can be found on Military Zombies and Firefighter Zombies.
 
==Usage==
Gas masks provide a significant amount of insulation and wind resistance, and the maximum amount of water resistance.
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Hat_GasMask|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Hat_GasMask distribution
        <span class="mw-customtoggle-togglebox-Hat_GasMask" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Hat_GasMask">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Bag_ALICEpack_Army
    | {{ll|Bag_ALICEpack_Army}}
    | 0.71%
    |-
    | Bag_Military
    | {{ll|Bag_Military}}
    | 0.71%
    |-
    | SafehouseLoot
    | {{ll|crate}}
    | 10.78%
    |-
    | SafehouseLoot
    | {{ll|dresser}}
    | 10.78%
    |-
    | SafehouseLoot
    | {{ll|wardrobe}}
    | 10.78%
    |-
    | all
    | {{ll|locker}}
    | 10.78%
    |-
    | all
    | {{ll|militarycrate}}
    | 10.78%
    |-
    | all
    | {{ll|militarylocker}}
    | 10.78%
    |-
    | armystorage
    | {{ll|locker}}
    | 10.78%
    |-
    | armysurplus
    | {{ll|counter}}
    | 10.78%
    |-
    | bathroom
    | {{ll|locker}}
    | 2.81%
    |-
    | bedroom
    | {{ll|locker}}
    | 10.78%
    |-
    | changeroom
    | {{ll|locker}}
    | 2.81%
    |-
    | druglab
    | {{ll|counter}}
    | 10.78%
    |-
    | druglab
    | {{ll|overhead}}
    | 10.78%
    |-
    | firestorage
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | garagestorage
    | {{ll|locker}}
    | 2.81%
    |-
    | laboratory
    | {{ll|crate}}
    | 10.78%
    |-
    | laboratory
    | {{ll|desk}}
    | 10.78%
    |-
    | laboratory
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | morgue
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | pawnshop
    | {{ll|counter}}
    | 10.78%
    |-
    | pawnshop
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | pawnshop
    | {{ll|shelves}}
    | 10.78%
    |-
    | pawnshopoffice
    | {{ll|crate}}
    | 10.78%
    |-
    | pawnshopoffice
    | {{ll|locker}}
    | 10.78%
    |-
    | pawnshopoffice
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | pawnshopstorage
    | {{ll|crate}}
    | 10.78%
    |-
    | pawnshopstorage
    | {{ll|locker}}
    | 10.78%
    |-
    | pawnshopstorage
    | {{ll|metal_shelves}}
    | 10.78%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Fire
    | {{ll|Truck Bed}}
    | 3.98%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Hat_GasMask" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Hat_GasMask|41.78.16-->
Gas masks can be found on firefighter [[zombie]]s, military zombies and survivor zombies.
 
==Body location==
==Body location==
{{Body location|body_location=Hat}}
{{Body location|body_location=Hat}}
==Trivia==
*Gas masks don't protect the wearer from the toxic fumes from [[generator]]s placed indoors.
*and the smell of several zombie corpses next to each other.
*They also lower search radius when worn
==Code==
{{CodeBox|
{{CodeSnip
  | lang = java
  | line = true
  | start = 630
  | source = clothing_hats.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Hat_GasMask
{
    DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Gas Mask,
ClothingItem = Hat_GasMask,
BodyLocation = MaskEyes,
Icon = GasMask,
CanHaveHoles = false,
        BloodLocation = Head,
        Insulation = 0.75,
        WindResistance = 0.60,
        WaterResistance = 1.0,
Tags = GasMask,
}
}}
}}
==See also==
{{Navbox items|headwear}}

Latest revision as of 10:04, 2 May 2024

Spiffo controlyourself.png
This page was last updated for an older version (41.65).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Frame.png
This article contains outdated/low-quality images.
Reason: Missing 3D Model
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Gas Mask
Gas Mask
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
1.0
Equipped
MaskEyes
Properties
Insulation
75%
Wind resistance
60%
Water resistance
100%
Technical
Item ID
Base.Hat_GasMask

A Gas Mask is a face mask.

Usage

Gas masks provide a significant amount of insulation and wind resistance, and the maximum amount of water resistance.

Distribution

The loot distributions can be found in the table(s) below.

Hat_GasMask distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Bag_ALICEpack_Army Bag_ALICEpack_Army 0.71%
Bag_Military Bag_Military 0.71%
SafehouseLoot crate 10.78%
SafehouseLoot dresser 10.78%
SafehouseLoot wardrobe 10.78%
all locker 10.78%
all militarycrate 10.78%
all militarylocker 10.78%
armystorage locker 10.78%
armysurplus counter 10.78%
bathroom locker 2.81%
bedroom locker 10.78%
changeroom locker 2.81%
druglab counter 10.78%
druglab overhead 10.78%
firestorage metal_shelves 10.78%
garagestorage locker 2.81%
laboratory crate 10.78%
laboratory desk 10.78%
laboratory metal_shelves 10.78%
morgue metal_shelves 10.78%
pawnshop counter 10.78%
pawnshop metal_shelves 10.78%
pawnshop shelves 10.78%
pawnshopoffice crate 10.78%
pawnshopoffice locker 10.78%
pawnshopoffice metal_shelves 10.78%
pawnshopstorage crate 10.78%
pawnshopstorage locker 10.78%
pawnshopstorage metal_shelves 10.78%
Vehicles
Type Container Effective chance
Fire Trunk 3.98%

Gas masks can be found on firefighter zombies, military zombies and survivor zombies.

Body location

Protection Hat.png
  • Head

Trivia

  • Gas masks don't protect the wearer from the toxic fumes from generators placed indoors.
  • and the smell of several zombie corpses next to each other.
  • They also lower search radius when worn

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\clothing\clothing_hats.txt

Retrieved: Build 41.78.16
item Hat_GasMask
	{
	    DisplayCategory = Accessory,
		Type = Clothing,
		DisplayName = Gas Mask,
		ClothingItem = Hat_GasMask,
		BodyLocation = MaskEyes,
		Icon = GasMask,
		CanHaveHoles = false,
        BloodLocation = Head,
        Insulation = 0.75,
        WindResistance = 0.60,
        WaterResistance = 1.0,
		Tags = GasMask,
	}

See also