Pillow: Difference between revisions
LastRequest (talk | contribs) (→Code) |
(Update distribution file) |
||
(37 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Materials}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Pillow | ||
| | |model=Pillow_Model.png | ||
| | |icon=Pillow.png | ||
|weight = 0.8 | |icon_name=Pillow | ||
|primary_use = | |category=Material | ||
| | |weight=0.8 | ||
|primary_use=Craft [[mattress]]es | |||
}}A '''pillow''' is an item used in [[ | |item_id=Base.Pillow | ||
}} | |||
A '''pillow''' is an item used in [[carpentry]]. | |||
== Usage == | ==Usage== | ||
The only current use is to [[#Crafting|craft]] a [[mattress]]. | The only current use is to [[#Crafting|craft]] a [[mattress]]. | ||
In [[build 42]], pillows are supposed to be decrease the chance of neck pain when [[sleep]]ing on low quality beds.{{sup|future}}<ref>[https://projectzomboid.com/blog/news/2023/03/eine-kleine-nachtmoozik/ eine kleine nachtmooZik - Project Zomboid]</ref> | |||
== Crafting == | ==Crafting== | ||
{{Crafting | {{Crafting/sandbox2 | ||
|mattress | |||
}} | |||
== Distribution == | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
== | <!--BOT FLAG|Pillow|41.78.16--> | ||
{{Clear}} | |||
{{ | <div class="togglebox theme-red"> | ||
<div>Pillow distribution | |||
<span class="mw-customtoggle-togglebox-Pillow" 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-Pillow"> | |||
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 | |||
|- | |||
| all | |||
| {{ll|wardrobe}} | |||
| 19.27% | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 1.01% | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| bedroom | |||
| {{ll|wardrobe}} | |||
| 19.27% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 1.01% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| daycare | |||
| {{ll|wardrobe}} | |||
| 19.27% | |||
|- | |||
| departmentstorage | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 1.01% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| generalstore | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| generalstorestorage | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| gigamart | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| housewarestore | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| kitchenwares | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| motelroom | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| motelroom | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| motelroom | |||
| {{ll|wardrobe}} | |||
| 23.28% | |||
|- | |||
| motelroom | |||
| {{ll|wardrobe}} | |||
| 41.14% | |||
|- | |||
| motelroomoccupied | |||
| {{ll|wardrobe}} | |||
| 23.28% | |||
|- | |||
| motelroomoccupied | |||
| {{ll|wardrobe}} | |||
| 41.14% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 1.01% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 1.01% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Pillow" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Pillow|41.78.16--> | |||
==Trivia== | |||
*Prior to the removal of [[NPC]]s post [[Version history#0.2.0r RC2.5|0.2.0r]], the pillow could be used to smother [[Bob Smith|Bob]]'s wife, [[Kate Smith|Kate]]. This was a way for the player to skip the [[tutorial]]. | |||
==Code== | |||
{{CodeBox| | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 342 | |||
| source = items.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Pillow | |||
{ | { | ||
DisplayCategory = Material, | |||
Weight = 0.8, | Weight = 0.8, | ||
Type = Normal, | Type = Normal, | ||
Line 38: | Line 187: | ||
Icon = Pillow, | Icon = Pillow, | ||
StaticModel = Pillow, | StaticModel = Pillow, | ||
} | WorldStaticModel = Pillow_Ground, | ||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Carpentry]] | |||
*[[Mattress]] | |||
{{Navbox items|carpentry_materials}} | |||
== | ==References== | ||
<References /> | |||
[[Category:Spiffo's Construction Crew (Project)]] | [[Category:Spiffo's Construction Crew (Project)]] |
Latest revision as of 13:32, 30 April 2024
Pillow
General
Technical
Item ID
Base.Pillow
A pillow is an item used in carpentry.
Usage
The only current use is to craft a mattress.
In build 42, pillows are supposed to be decrease the chance of neck pain when sleeping on low quality beds.Future[1]
Crafting
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Mattress |
Thread ×2 unit(s) Sheet ×5 Pillow ×5 |
Needle (tag) |
none | none | none |
Distribution
The loot distributions can be found in the table(s) below.
Pillow 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 |
---|---|---|
all | wardrobe | 19.27% |
bedroom | crate | 1.01% |
bedroom | crate | 23.28% |
bedroom | crate | 41.14% |
bedroom | wardrobe | 19.27% |
closet | crate | 1.01% |
closet | crate | 23.28% |
closet | crate | 41.14% |
daycare | wardrobe | 19.27% |
departmentstorage | metal_shelves | 23.28% |
garagestorage | crate | 1.01% |
garagestorage | crate | 23.28% |
garagestorage | crate | 41.14% |
generalstore | shelves | 23.28% |
generalstorestorage | shelves | 23.28% |
gigamart | shelves | 23.28% |
housewarestore | shelves | 23.28% |
kitchenwares | shelves | 23.28% |
motelroom | metal_shelves | 23.28% |
motelroom | metal_shelves | 41.14% |
motelroom | wardrobe | 23.28% |
motelroom | wardrobe | 41.14% |
motelroomoccupied | wardrobe | 23.28% |
motelroomoccupied | wardrobe | 41.14% |
storageunit | crate | 1.01% |
storageunit | crate | 23.28% |
storageunit | crate | 41.14% |
storageunit | metal_shelves | 1.01% |
storageunit | metal_shelves | 23.28% |
storageunit | metal_shelves | 41.14% |
Trivia
- Prior to the removal of NPCs post 0.2.0r, the pillow could be used to smother Bob's wife, Kate. This was a way for the player to skip the tutorial.
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\items.txt
item Pillow
{
DisplayCategory = Material,
Weight = 0.8,
Type = Normal,
DisplayName = Pillow,
Icon = Pillow,
StaticModel = Pillow,
WorldStaticModel = Pillow_Ground,
}