Pillow: Difference between revisions

From PZwiki
m ({{Spoilers}} -> {{Spoiler}})
(added SpoilerBox, Mask, and CodeBox templates)
Line 11: Line 11:
|weight = 0.8
|weight = 0.8
|primary_use = Make [[mattress]]
|primary_use = Make [[mattress]]
|secondary_use = Smother [[Kate Smith|Kate]] <sup style="color:red">[[Version history#0.2.0r RC2.5|(0.2.0r)]]</sup>
|secondary_use = {{mask|Smother Kate}} <sup style="color:red">[[Version history#0.2.0r RC2.5|(0.2.0r)]]</sup>
|item_id = Base.Pillow
|item_id = Base.Pillow
}}
}}
Line 19: Line 19:
The only current use is to [[#Crafting|craft]] a [[mattress]].
The only current use is to [[#Crafting|craft]] a [[mattress]].


=='Til Death Us Do Part==
==='Til Death Us Do Part===
{{Main|'Til Death Us Do Part}}
{{Main|'Til Death Us Do Part}}
{{Spoiler}}
{{SpoilerBox|
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]].
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]].
}}<!-- end spoiler -->


This feature is expected to return with the addition of NPCs.
This feature is expected to return with the addition of NPCs.
Line 35: Line 36:


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|
{{Retrieved|version=41|incver=78.16}}
{{CodeSnip
<pre>
  | lang = java
  | line = true
  | start = 342
  | source = items.txt
  | retrieved = true
  | version = 41
  | incver = 78.16
  | code =
item Pillow
item Pillow
{
{
Line 48: Line 56:
WorldStaticModel = Pillow_Ground,
WorldStaticModel = Pillow_Ground,
}
}
</pre>
}}
}}


==See also==
==See also==

Revision as of 09:05, 4 January 2024

Pillow
Pillow Model.png
General
Category
Material
Encumbrance
Moodle Icon HeavyLoad.png
0.8
Function
Make mattress
Smother Kate (0.2.0r)
Technical
Item ID
Base.Pillow

A pillow is an item used in Carpentry.

Usage

The only current use is to craft a mattress.

'Til Death Us Do Part

Main article: 'Til Death Us Do Part
Pillow.png Spoiler warning! This section contains spoilers pertaining to the story of Project Zomboid.Show / Hide

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.

This feature is expected to return with the addition of NPCs.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4
Mattress.png
Mattress
0 XP none
Needle.png Needle
(keep)
Thread.png
Thread
(5 units)

(consumed)
Sheet.png
Sheet x5
(consumed)
Pillow.png
Pillow x5
(consumed)

Distribution

Pillows can be found in wardrobes in bedrooms.

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