Ear Protectors: Difference between revisions

From PZwiki
(→‎Code: code box update)
m (Distribution table update)
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Clothing|Headwear|Hats}}
{{header|The Game World|Items|Clothing|version=Version 41|incver=24}}
{{Page version|41.78.16}}
{{Infobox clothing
{{Infobox item
| display_name = Ear Protectors
|name=Ear Protectors
| name_colour = Clothing
|model=Model_EarMuff_Protectors.png
| name_text_colour = Clothing
|icon=EarProtectors.png
| image = Model_EarMuff_Protectors.png
| image_width = 243px
| alternate_image = EarProtectors.png
| alternate_name =
<!-- General -->
<!-- General -->
| category = Clothing
|category=Clothing
| weight = 1.0
|weight=0.3
| body_location = Hat
|equipped=Hat
| condition =
|insulation=0.35
<!-- Insulation -->
|wind_resistance=0.35
| insulation = 0.35
| wind_resistance= 0.35
<!-- Technical details -->
<!-- Technical details -->
| class_name = Base.Hat_EarMuff_Protectors
|item_id=Base.Hat_EarMuff_Protectors
}}'''Ear Protectors''' are a pair of protective ear-muffs that can be worn on the head.
}}
'''Ear protectors''' are a pair of protective ear-muffs that can be worn on the head.


==Usage==
==Usage==
Line 25: Line 20:


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|Hat_EarMuff_Protectors|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Hat_EarMuff_Protectors distribution
        <span class="mw-customtoggle-togglebox-Hat_EarMuff_Protectors" 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_EarMuff_Protectors">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | Not referenced
    | {{ll|GeneratorRoom}}
    | 4
    | 8.0
    |-
    | SafehouseLoot
    | {{ll|crate}}
    | 4
    | 8.0
    |-
    | all
    | {{ll|locker}}
    | 4
    | 8.0
    |-
    | all
    | {{ll|militarycrate}}
    | 4
    | 8.0
    |-
    | armyhanger
    | {{ll|locker}}
    | 4
    | 8.0
    |-
    | armysurplus
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | bathroom
    | {{ll|locker}}
    | 4
    | 8.0
    |-
    | carsupply
    | {{ll|clothingrack}}
    | 4
    | 8.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 8.0
    |-
    | garagestorage
    | {{ll|locker}}
    | 4
    | 8.0
    |-
    | gunstore
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | pawnshopoffice
    | {{ll|crate}}
    | 4
    | 8.0
    |-
    | toolstore
    | {{ll|counter}}
    | 4
    | 8.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | ConstructionWorkerTruckBed
    | 4
    | 10
    |-
    | PoliceTruckBed
    | 4
    | 4
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Hat_EarMuff_Protectors" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Hat_EarMuff_Protectors|41.78.16-->
Ear protectors can usually be found on construction worker [[zombies]]. Construction worker zombies can usually be found in the vicinity of a construction site.
Ear protectors can usually be found on construction worker [[zombies]]. Construction worker zombies can usually be found in the vicinity of a construction site.


Line 38: Line 134:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 513
   | source = clothing_hats.txt
   | source = clothing_hats.txt
   | retrieved = true
   | retrieved = true
   | version = 41
   | version = 41.78.16
  | incver = 65
   | code =
   | code =
item Hat_EarMuff_Protectors
item Hat_EarMuff_Protectors
{
{
  DisplayCategory = Accessory,
    DisplayCategory = Accessory,
  Type             = Clothing,
Type = Clothing,
  DisplayName     = Ear Protectors,
DisplayName = Ear Protectors,
  ClothingItem     = Hat_EarMuff_Protectors,
ClothingItem = Hat_EarMuff_Protectors,
  BodyLocation     = Hat,
BodyLocation = Hat,
  Icon             = EarProtectors,
Icon = EarProtectors,
  CanHaveHoles     = false,
CanHaveHoles = false,
  ChanceToFall     = 30,
ChanceToFall = 30,
  BloodLocation   = Head,
        BloodLocation = Head,
  Insulation       = 0.35,
        Insulation = 0.35,
  WindResistance   = 0.35,
        WindResistance = 0.35,
  Weight           = 0.3,
        Weight = 0.3,
}
    }
  }}
}}
}}
}}


==See Also==
==See also==
*[[Ear Muffs]]
*[[Ear Muffs]]


{{Navbox_clothing}}
{{Navbox items|headwear}}
 
{{clear}}

Revision as of 15:25, 24 April 2024

Project ZomboidItemsClothingHeadwearHatsEar Protectors
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Ear Protectors
Model EarMuff Protectors.png
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Equipped
Hat
Properties
Insulation
35%
Wind resistance
35%
Technical
Item ID
Base.Hat_EarMuff_Protectors

Ear protectors are a pair of protective ear-muffs that can be worn on the head.

Usage

Ear protectors provide a minor amount of insulation and wind resistance for the wearer's head. They have a high chance of being knocked off of the wearer's head when they're attacked.

Distribution

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

Hat_EarMuff_Protectors distribution Show / Hide
Containers
Building / Room Container Rolls Chance
Not referenced GeneratorRoom 4 8.0
SafehouseLoot crate 4 8.0
all locker 4 8.0
all militarycrate 4 8.0
armyhanger locker 4 8.0
armysurplus counter 4 8.0
bathroom locker 4 8.0
carsupply clothingrack 4 8.0
closet crate 4 8.0
garagestorage locker 4 8.0
gunstore counter 4 8.0
pawnshopoffice crate 4 8.0
toolstore counter 4 8.0
Vehicles
Vehicle Type/Location Rolls Chance
ConstructionWorkerTruckBed 4 10
PoliceTruckBed 4 4

Ear protectors can usually be found on construction worker zombies. Construction worker zombies can usually be found in the vicinity of a construction site.

Body location

Protection Hat.png
  • Head

Trivia

  • Ear protectors won't modify your hearing in any way.

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_EarMuff_Protectors
	{
	    DisplayCategory = Accessory,
		Type = Clothing,
		DisplayName = Ear Protectors,
		ClothingItem = Hat_EarMuff_Protectors,
		BodyLocation = Hat,
		Icon = EarProtectors,
		CanHaveHoles = false,
		ChanceToFall = 30,
        BloodLocation = Head,
        Insulation = 0.35,
        WindResistance = 0.35,
        Weight = 0.3,
    }

See also