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...")
 
m (Distribution table update)
(34 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">
    <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|CrateSalonSupplies}}
    | 4
    | 20.0
    |-
    | Not referenced
    | {{ll|CrateSalonSupplies}}
    | 4
    | 10.0
    |-
    | aesthetic
    | {{ll|counter}}
    | 4
    | 20.0
    |-
    | aesthetic
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | aesthetic
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | aesthetic
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | bathroom
    | {{ll|counter}}
    | 4
    | 6.0
    |-
    | bathroom
    | {{ll|shelves}}
    | 4
    | 6.0
    |-
    | bedroom
    | {{ll|crate}}
    | 1
    | 0.6
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 6.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 8.0
    |-
    | pharmacy
    | {{ll|shelves}}
    | 4
    | 6.0
    |-
    | stripclub
    | {{ll|dresser}}
    | 4
    | 6.0
    |}
</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)]]

Revision as of 15:42, 24 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
Containers
Building / Room Container Rolls Chance
Not referenced CrateSalonSupplies 4 20.0
Not referenced CrateSalonSupplies 4 10.0
aesthetic counter 4 20.0
aesthetic counter 4 10.0
aesthetic crate 4 20.0
aesthetic crate 4 10.0
bathroom counter 4 6.0
bathroom shelves 4 6.0
bedroom crate 1 0.6
closet crate 4 6.0
closet crate 4 8.0
pharmacy shelves 4 6.0
stripclub dresser 4 6.0

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