Headphones: Difference between revisions

From PZwiki
m (category)
m (Distribution table fix)
 
(46 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages|CD Player}}
{{Header|Project Zomboid|Items|Electronics}}
{{header|The Game World|Items|Electricity and Engineering|type=Electric|version=Version 39|incver=67.5}}{{Infobox normal
{{Page version|41.78.16}}
|display_name=Headphones
{{Infobox item
|name_colour=Electrical
|name=Headphones
|name_text_colour=Electrical
|model=Headphones_Model.png
|image = Headphones_120px.png
|icon=Headphones.png
|weight = 0.2
|icon_name=Headphones
|primary_use = Listen to [[radio]] silently
|weight=0.2
|secondary_use = Dismantle for [[Electronics Scrap|electronics scrap]]
|primary_use=Listen to [[radio]] silently
|class_name = Base.Headphones
|secondary_use=Dismantle for [[Scrap Electronics|scrap electronics]]
}}{{About|the red variant|the white variant|[[Earbuds]]}}'''Headphones''' are an [[electrical]] [[item]].
|item_id=Base.Headphones
}}
{{About|the red variant|the white variant|Earbuds}}
'''Headphones''' are an [[electrical]] [[Items|item]].


==Usage==
==Usage==
===Radios===
===Sound reduction===
Headphones can be ''plugged'' into a [[radio]], allowing the player to listen to the radio without producing any noise, therefore not attracting any [[zombies]].
Headphones can be ''plugged'' into a [[radio]], [[ham radio]], [[Walkie Talkie|walkie talkie]], or [[ValuTech PortaDisc]], allowing the player to listen to the radio, or other players without producing any noise, therefore not attracting any [[zombies]].


To do this, the radio info panel must be opened, then the earbuds can be dragged into the "headphones slot". Unlike the [[earbuds]], headphones can be used with a HAM radio.
To do this, the radio info panel must be opened, then the headphones can be dragged into the "headphones slot" (Ham radios cannot use [[earbuds]]).
 
Headphones are not usable with a [[CD Player|CD player]].


===Dismantling===
===Dismantling===
Headphones can be dismantled if the player has a [[screwdriver]], which will result in one [[Electronics Scrap|electronics scrap]].
Headphones can be dismantled if the player has a [[screwdriver]], which will result in one [[Scrap Electronics|scrap electronics]].


== Crafting ==
==Crafting==
{{Crafting table header}}
{{Crafting/sandbox2
{{RecipeLookup|7000}}
|scrap_electronics
{{Crafting table footer}}
}}


==Distribution==
==Distribution==
Headphones can be found in [[Containers#Bedroom Storage|bedroom wardrobes and drawers]], changeroom [[Containers#Locker|lockers]], and the [[Containers#Shelves|shelves]] or [[Containers#Displays|display cases]] inside electronics stores.
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Headphones|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Headphones distribution
        <span class="mw-customtoggle-togglebox-Headphones" 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-Headphones">
    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
    |-
    | BandPractice
    | {{ll|crate}}
    | 23.28%
    |-
    | BandPractice
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | Electrician
    | {{ll|crate}}
    | 10.78%
    |-
    | Electrician
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | all
    | {{ll|Outfit_Student}}
    | 1.01%
    |-
    | all
    | {{ll|Outfit_Varsity}}
    | 1.01%
    |-
    | all
    | {{ll|dresser}}
    | 3.98%
    |-
    | all
    | {{ll|junk}}
    | 1.01%
    |-
    | all
    | {{ll|locker}}
    | 3.98%
    |-
    | all
    | {{ll|wardrobe}}
    | 3.98%
    |-
    | bathroom
    | {{ll|locker}}
    | 3.98%
    |-
    | bedroom
    | {{ll|crate}}
    | 0.65%
    |-
    | bedroom
    | {{ll|crate}}
    | 10.78%
    |-
    | bedroom
    | {{ll|dresser}}
    | 3.98%
    |-
    | bedroom
    | {{ll|sidetable}}
    | 3.98%
    |-
    | bedroom
    | {{ll|wardrobe}}
    | 3.98%
    |-
    | changeroom
    | {{ll|locker}}
    | 3.98%
    |-
    | closet
    | {{ll|crate}}
    | 0.65%
    |-
    | closet
    | {{ll|crate}}
    | 3.98%
    |-
    | closet
    | {{ll|crate}}
    | 10.78%
    |-
    | daycare
    | {{ll|wardrobe}}
    | 3.98%
    |-
    | electronicsstorage
    | {{ll|shelves}}
    | 60.41%
    |-
    | electronicsstorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | electronicsstore
    | {{ll|counter}}
    | 60.41%
    |-
    | electronicsstore
    | {{ll|counter}}
    | 23.28%
    |-
    | electronicsstore
    | {{ll|shelves}}
    | 60.41%
    |-
    | electronicsstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | factorystorage
    | {{ll|locker}}
    | 3.98%
    |-
    | garagestorage
    | {{ll|crate}}
    | 0.65%
    |-
    | garagestorage
    | {{ll|crate}}
    | 3.98%
    |-
    | garagestorage
    | {{ll|crate}}
    | 10.78%
    |-
    | garagestorage
    | {{ll|locker}}
    | 3.98%
    |-
    | hall
    | {{ll|locker}}
    | 3.98%
    |-
    | laundry
    | {{ll|locker}}
    | 3.98%
    |-
    | livingroom
    | {{ll|crate}}
    | 10.78%
    |-
    | livingroom
    | {{ll|sidetable}}
    | 3.98%
    |-
    | musicstore
    | {{ll|shelves}}
    | 60.41%
    |-
    | musicstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | musicstore
    | {{ll|shelves}}
    | 41.14%
    |-
    | pawnshop
    | {{ll|crate}}
    | 10.78%
    |-
    | pawnshopoffice
    | {{ll|crate}}
    | 10.78%
    |-
    | pawnshopstorage
    | {{ll|crate}}
    | 10.78%
    |-
    | pawnshopstorage
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | security
    | {{ll|locker}}
    | 3.98%
    |-
    | storageunit
    | {{ll|crate}}
    | 0.65%
    |-
    | storageunit
    | {{ll|crate}}
    | 3.98%
    |-
    | storageunit
    | {{ll|crate}}
    | 10.78%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 0.65%
    |-
    | storageunit
    | {{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
    |-
    | Radio
    | {{ll|Truck Bed}}
    | 41.14%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Headphones" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Headphones|41.78.16-->


==Trivia==
==Trivia==
*Headphones in the real world, are designed to wear around the head over a user's ears, differing from [[earbuds]] in which fit into the user's ear canal.
*Headphones in the real world, are designed to wear around the head over a user's ears, differing from [[earbuds]] in which fit into the user's ear canal.


== Code ==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
<nowiki> item Headphones
| {{CodeSnip
Weight = 0.2,
  | lang = java
Type = Normal,
  | line = true
DisplayName = Headphones,
  | start = 996
Icon = Headphones,</nowiki>
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Headphones
{
    DisplayCategory = Electronics,
Weight = 0.2,
Type = Normal,
DisplayName = Headphones,
Icon = Headphones,
WorldStaticModel = HeadPhones,
}
}}
}}


==See also==
==See also==
*[[Electrical|Electrical Guide]]
*[[Electrical]]
 
{{Navbox items|electronics}}


{{Navbox/Electricity and Engineering}}


[[Category:Electrical]]
[[Category:Electricals and Transmission (Project)]]
[[Category:Electricals and Transmission (Project)]]

Latest revision as of 19:18, 30 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Headphones
Headphones Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
Listen to radio silently
Dismantle for scrap electronics
Technical
Item ID
Base.Headphones
PlushSpiffo.pngThis article is about the red variant. For the white variant, see Earbuds.

Headphones are an electrical item.

Usage

Sound reduction

Headphones can be plugged into a radio, ham radio, walkie talkie, or ValuTech PortaDisc, allowing the player to listen to the radio, or other players without producing any noise, therefore not attracting any zombies.

To do this, the radio info panel must be opened, then the headphones can be dragged into the "headphones slot" (Ham radios cannot use earbuds).

Dismantling

Headphones can be dismantled if the player has a screwdriver, which will result in one scrap electronics.

Crafting

Product Ingredients Tools Requirements Workstation XP
ElectronicsParts.png
Scrap Electronics
One of:
CordlessPhone.png Cordless Phone ×1
DigitalWatch.png Digital Watch ×1
Earbuds.png Earbuds ×1
Flashlight.png Flashlight ×1
Flashlight2.png Hand Torch ×1
Headphones.png Headphones ×1
VideoGame.png Video Game ×1
Screwdriver.png
Screwdriver
none none 0.5 Electrical

Distribution

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

Headphones 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
BandPractice crate 23.28%
BandPractice metal_shelves 23.28%
Electrician crate 10.78%
Electrician metal_shelves 10.78%
all Outfit_Student 1.01%
all Outfit_Varsity 1.01%
all dresser 3.98%
all junk 1.01%
all locker 3.98%
all wardrobe 3.98%
bathroom locker 3.98%
bedroom crate 0.65%
bedroom crate 10.78%
bedroom dresser 3.98%
bedroom sidetable 3.98%
bedroom wardrobe 3.98%
changeroom locker 3.98%
closet crate 0.65%
closet crate 3.98%
closet crate 10.78%
daycare wardrobe 3.98%
electronicsstorage shelves 60.41%
electronicsstorage shelves 23.28%
electronicsstore counter 60.41%
electronicsstore counter 23.28%
electronicsstore shelves 60.41%
electronicsstore shelves 23.28%
factorystorage locker 3.98%
garagestorage crate 0.65%
garagestorage crate 3.98%
garagestorage crate 10.78%
garagestorage locker 3.98%
hall locker 3.98%
laundry locker 3.98%
livingroom crate 10.78%
livingroom sidetable 3.98%
musicstore shelves 60.41%
musicstore shelves 23.28%
musicstore shelves 41.14%
pawnshop crate 10.78%
pawnshopoffice crate 10.78%
pawnshopstorage crate 10.78%
pawnshopstorage metal_shelves 10.78%
security locker 3.98%
storageunit crate 0.65%
storageunit crate 3.98%
storageunit crate 10.78%
storageunit metal_shelves 0.65%
storageunit metal_shelves 10.78%
Vehicles
Type Container Effective chance
Radio Trunk 41.14%

Trivia

  • Headphones in the real world, are designed to wear around the head over a user's ears, differing from earbuds in which fit into the user's ear canal.

Code

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Headphones
	{
	    DisplayCategory = Electronics,
		Weight	=	0.2,
		Type	=	Normal,
		DisplayName	=	Headphones,
		Icon	=	Headphones,
		WorldStaticModel = HeadPhones,
	}

See also