Hairspray: Difference between revisions

From PZwiki
(Created page with "{{languages|Aluminum}} {{header|The Game World|Items|Electricity and Engineering|type=Electric|version=Version 40|incver=5}}{{Infobox normal |display_name = Hairspray |name_co...")
 
(Update distribution file)
 
(36 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Aluminum}}
{{Header|Project Zomboid|Items|Materials}}
{{header|The Game World|Items|Electricity and Engineering|type=Electric|version=Version 40|incver=5}}{{Infobox normal
{{Page version|41.78.16}}
|display_name = Hairspray
{{Infobox item
|name_colour = Electric
|name=Hairspray
|name_text_colour = Electric
|model=Hairspray_Model.png
|image = Hairspray.png
|icon=Hairspray.png
|weight = 0.1
|icon_name=Hairspray
|primary_use = [[Crafting]]
|weight=0.2
|class_name = Base.Hairspray
|primary_use=[[Crafting]]
}}{{quote|text=Used in improvised defensive devices. Requires known recipe or Engineer profession.|author=In-game tooltip}}'''Hairspray''' is an [[item]] used in [[crafting]] [[electrical]] items.
|item_id=Base.Hairspray
 
}}
__TOC__
{{Quote|text=Used in improvised defensive devices. Requires known recipe or Engineer profession.|author=In-game tooltip}}
A '''hairspray''' is an [[Items|item]] used in [[crafting]] [[electrical]] items.


==Usage==
==Usage==
Hairspray is only used as a crafting component in electrical items.
Hairspray is only used as a crafting component in electrical items. It cannot be used to change the [[player]]'s [[appearance]] like [[Hair Gel|hair gel]].


==Crafting==
==Crafting==
{{Crafting table header}}
{{Crafting/sandbox2
{{RecipeLookup|7009}}
|aerosol_bomb
{{Crafting table footer}}
}}


==Distribution==
==Distribution==
Can be found in bathrooms and hairdressers.
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Hairspray|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Hairspray distribution
        <span class="mw-customtoggle-togglebox-Hairspray" 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-Hairspray">
    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
    |-
    | Electrician
    | {{ll|crate}}
    | 19.27%
    |-
    | Electrician
    | {{ll|metal_shelves}}
    | 19.27%
    |-
    | aesthetic
    | {{ll|counter}}
    | 23.28%
    |-
    | aesthetic
    | {{ll|counter}}
    | 41.14%
    |-
    | aesthetic
    | {{ll|crate}}
    | 23.28%
    |-
    | aesthetic
    | {{ll|crate}}
    | 41.14%
    |-
    | aesthetic
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | aesthetic
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | aestheticstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | aestheticstorage
    | {{ll|crate}}
    | 41.14%
    |-
    | aestheticstorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | aestheticstorage
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | bathroom
    | {{ll|counter}}
    | 15.1%
    |-
    | bathroom
    | {{ll|shelves}}
    | 15.1%
    |-
    | bedroom
    | {{ll|crate}}
    | 0.77%
    |-
    | closet
    | {{ll|crate}}
    | 0.77%
    |-
    | closet
    | {{ll|crate}}
    | 15.1%
    |-
    | closet
    | {{ll|crate}}
    | 19.27%
    |-
    | garagestorage
    | {{ll|crate}}
    | 0.77%
    |-
    | garagestorage
    | {{ll|crate}}
    | 15.1%
    |-
    | garagestorage
    | {{ll|crate}}
    | 19.27%
    |-
    | pharmacy
    | {{ll|shelves}}
    | 15.1%
    |-
    | storageunit
    | {{ll|crate}}
    | 0.77%
    |-
    | storageunit
    | {{ll|crate}}
    | 15.1%
    |-
    | storageunit
    | {{ll|crate}}
    | 19.27%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 0.77%
    |-
    | stripclub
    | {{ll|dresser}}
    | 15.1%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Hairspray" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Hairspray|41.78.16-->


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=5}}
| {{CodeSnip
<pre> item Hairspray
  | lang = java
Weight = 0.2,
  | line = true
Type = Normal,
  | start = 119
DisplayName = Hairspray,
  | source = newitems.txt
Icon = Hairspray,
  | retrieved = true
Tooltip = Tooltip_ItemTraps,</pre>
  | version = 41.78.16
  | code =
item Hairspray
    {
        DisplayCategory = Appearance,
        Weight = 0.2,
        Type = Normal,
        DisplayName = Hairspray,
        Icon = Hairspray,
        Tooltip = Tooltip_ItemTraps,
        WorldStaticModel = HairSpray,
    }
}}
}}


==See also==
==See also==
*[[Electrical|Electrical Guide]]
*[[Electrical]]
*[[Appearance]]
 
{{Navbox items|appearance}}
 
[[Category:Materials]]
[[Category:Electricals and Transmission (Project)]]

Latest revision as of 12:55, 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]
Hairspray
Hairspray Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
Technical
Item ID
Base.Hairspray
Used in improvised defensive devices. Requires known recipe or Engineer profession.
— In-game tooltip

A hairspray is an item used in crafting electrical items.

Usage

Hairspray is only used as a crafting component in electrical items. It cannot be used to change the player's appearance like hair gel.

Crafting

Product Ingredients Tools Requirements Workstation XP
Aerosolbomb.png
Aerosol Bomb
Hairspray.png Hairspray ×1
Sparklers.png Box of Sparklers ×1
Aluminum.png Aluminum ×1
none
Profession engineer.png
Engineer occupation
none none

Distribution

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

Hairspray 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
Electrician crate 19.27%
Electrician metal_shelves 19.27%
aesthetic counter 23.28%
aesthetic counter 41.14%
aesthetic crate 23.28%
aesthetic crate 41.14%
aesthetic metal_shelves 23.28%
aesthetic metal_shelves 41.14%
aestheticstorage crate 23.28%
aestheticstorage crate 41.14%
aestheticstorage metal_shelves 23.28%
aestheticstorage metal_shelves 41.14%
bathroom counter 15.1%
bathroom shelves 15.1%
bedroom crate 0.77%
closet crate 0.77%
closet crate 15.1%
closet crate 19.27%
garagestorage crate 0.77%
garagestorage crate 15.1%
garagestorage crate 19.27%
pharmacy shelves 15.1%
storageunit crate 0.77%
storageunit crate 15.1%
storageunit crate 19.27%
storageunit metal_shelves 0.77%
stripclub dresser 15.1%

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 Hairspray
    {
        DisplayCategory = Appearance,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	Hairspray,
        Icon	=	Hairspray,
        Tooltip = Tooltip_ItemTraps,
        WorldStaticModel = HairSpray,
    }

See also