Hairspray: Difference between revisions
(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: | ||
{{ | {{Header|Project Zomboid|Items|Materials}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Hairspray | ||
| | |model=Hairspray_Model.png | ||
| | |icon=Hairspray.png | ||
|weight = 0. | |icon_name=Hairspray | ||
|primary_use = [[Crafting]] | |weight=0.2 | ||
| | |primary_use=[[Crafting]] | ||
}}{{ | |item_id=Base.Hairspray | ||
}} | |||
{{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 | {{Crafting/sandbox2 | ||
|aerosol_bomb | |||
}} | |||
==Distribution== | ==Distribution== | ||
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== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 119 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| 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]] | ||
*[[Appearance]] | |||
{{Navbox items|appearance}} | |||
[[Category:Materials]] | |||
[[Category:Electricals and Transmission (Project)]] |
Latest revision as of 12:55, 30 April 2024
“
Used in improvised defensive devices. Requires known recipe or Engineer profession.
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 |
---|---|---|---|---|---|
Aerosol Bomb |
Hairspray ×1 Box of Sparklers ×1 Aluminum ×1 |
none | 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.
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 snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\newitems.txt
item Hairspray
{
DisplayCategory = Appearance,
Weight = 0.2,
Type = Normal,
DisplayName = Hairspray,
Icon = Hairspray,
Tooltip = Tooltip_ItemTraps,
WorldStaticModel = HairSpray,
}