Pillow: Difference between revisions

From PZwiki
(Update distribution file)
 
(37 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages|Pillow}}
{{Header|Project Zomboid|Items|Materials}}
{{header|The Game World|Items|type=Construction|version=Version 39|incver=67.5}}{{Infobox normal
{{Page version|41.78.16}}
|display_name = Pillow
{{Infobox item
|name_colour = Construction
|name=Pillow
|name_text_colour = Construction
|model=Pillow_Model.png
|image = Pillow.png
|icon=Pillow.png
|weight = 0.8
|icon_name=Pillow
|primary_use = Make [[mattress]]
|category=Material
|secondary_use = Smother [[Kate Smith|Kate]] <sup style="color:red">[[Version history#0.2.0r_RC2.5|(0.2.0r)]]</sup>
|weight=0.8
|class_name = Base.Pillow
|primary_use=Craft [[mattress]]es
}}A '''pillow''' is an item used in [[Carpentry Guide|Carpentry]].  
|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]].
{{clear}}
== 'Til Death Us Do Part ==
{{Main|'Til Death Us Do Part}}{{Spoilers}}
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]].


This feature is expected to return with the addition of NPCs.
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 table header}}
{{Crafting/sandbox2
{{RecipeLookup|4015}}
|mattress
{{Crafting table footer}}
}}


== Distribution ==
==Distribution==
Pillows can be found in [[Containers#Bedroom Storage|wardrobes]] in bedrooms.  
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|Pillow|41.78.16-->
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Clear}}
{{Retrieved|version=[[Steam#.27I_Will_Back_Up_My_Save.27_branch|41.27 IWBUMS]]}}
<div class="togglebox theme-red">
<nowiki> item Pillow
    <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,
}</nowiki>
WorldStaticModel = Pillow_Ground,
}
}}
}}
 
==See also==
*[[Carpentry]]
*[[Mattress]]
 
{{Navbox items|carpentry_materials}}


== See also ==
==References==
* [[Carpentry Guide]]
<References />


[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Spiffo's Construction Crew (Project)]]

Latest revision as of 13:32, 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]
Pillow
Pillow Model.png
General
Category
Material
Encumbrance
Moodle Icon HeavyLoad.png
0.8
Function
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.png
Mattress
Thread.png Thread ×2 unit(s)
Sheet.png Sheet ×5
Pillow.png Pillow ×5

Needle.png
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.
Containers
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 icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item Pillow
	{
	    DisplayCategory = Material,
		Weight	=	0.8,
		Type	=	Normal,
		DisplayName	=	Pillow,
		Icon	=	Pillow,
		StaticModel = Pillow,
		WorldStaticModel = Pillow_Ground,
	}

See also

References