Hairspray: Difference between revisions

From PZwiki
(→‎Code: Codebox Update)
m (Distribution table update)
(26 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{languages|Hairspray}}
{{Header|Project Zomboid|Items|Materials}}
{{header|The Game World|Items|Electricity and Engineering|type=Electric|version=Version 40|incver=5}}{{Infobox item
{{Page version|41.78.16}}
|display_name = Hairspray
{{Infobox item
|name_colour = Electric
|name=Hairspray
|name_text_colour = Electric
|model=Hairspray_Model.png
|model = Hairspray_Model.png  
|icon=Hairspray.png
|icon=Hairspray.png
|icon_name=Hairspray
|icon_name=Hairspray
|weight = 0.2
|weight=0.2
|primary_use = [[Crafting]]
|primary_use=[[Crafting]]
|class_name = Base.Hairspray
|item_id=Base.Hairspray
}}{{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.
}}
 
{{Quote|text=Used in improvised defensive devices. Requires known recipe or Engineer profession.|author=In-game tooltip}}
__TOC__
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 header|ing=3}}
{{Crafting/sandbox2
{{Crafting electrical|301|ing=3}}
|aerosol_bomb
|}
}}


==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==
Line 30: Line 113:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 119
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 40
   | version = 41.78.16
  | incver = 5
   | code =
   | code =
item Hairspray
item Hairspray
{
    {
  Weight       = 0.2,
        DisplayCategory = Appearance,
  Type         = Normal,
        Weight = 0.2,
  DisplayName   = Hairspray,
        Type = Normal,
  Icon         = Hairspray,
        DisplayName = Hairspray,
  Tooltip       = Tooltip_ItemTraps,
        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)]]
[[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