Ear Protectors: Difference between revisions
m (Fixed code location) |
m (Distribution table update) |
||
(20 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Clothing|Headwear|Hats}} | ||
{{Page version|41.78.16}} | |||
{{Infobox | {{Infobox item | ||
| | |name=Ear Protectors | ||
| | |model=Model_EarMuff_Protectors.png | ||
|icon=EarProtectors.png | |||
| | |||
<!-- General --> | <!-- General --> | ||
| category = Clothing | |category=Clothing | ||
| weight = | |weight=0.3 | ||
| | |equipped=Hat | ||
|insulation=0.35 | |||
|wind_resistance=0.35 | |||
| insulation = 0.35 | |||
| wind_resistance= 0.35 | |||
<!-- Technical details --> | <!-- Technical details --> | ||
| | |item_id=Base.Hat_EarMuff_Protectors | ||
}}'''Ear | }} | ||
'''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 34: | Line 130: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
Type | | start = 513 | ||
DisplayName = Ear Protectors, | | source = clothing_hats.txt | ||
ClothingItem = Hat_EarMuff_Protectors, | | retrieved = true | ||
BodyLocation = Hat, | | version = 41.78.16 | ||
Icon | | code = | ||
CanHaveHoles = false, | item Hat_EarMuff_Protectors | ||
ChanceToFall = 30, | { | ||
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 | ==See also== | ||
*[[Ear Muffs]] | *[[Ear Muffs]] | ||
{{ | {{Navbox items|headwear}} | ||
Revision as of 15:25, 24 April 2024
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.
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 |
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
|
Trivia
- Ear protectors won't modify your hearing in any way.
Code
Source: ProjectZomboid\media\scripts\clothing\clothing_hats.txt
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,
}