Mattress: Difference between revisions

From PZwiki
(update header & categories)
(update infobox to be a tile, update info to build 41, add missing crafting recipe)
Line 2: Line 2:
{{Header/sandbox2|Project Zomboid|Tiles|Comfort tiles}}
{{Header/sandbox2|Project Zomboid|Tiles|Comfort tiles}}
{{Page version|41.78.16}}
{{Page version|41.78.16}}
{{Stub}}
{{Infobox tile
{{Infobox item
|name = Mattress
|name = Mattress
|model = Mattress_Model.png
|model = MakeshiftMattress.png
|icon = Mattress.png
|icon = Mattress.png
|alternate_name=Mattress
|weight = 8.0
|weight = 8.0
|function = Make [[bed]]
|function = [[Sleep]]
|crafting = true
|ingredients = 1 × [[Needle]]<br>5 × [[Thread]]<br>5 × [[Pillow]]<br>5 × [[Sheet]]
|ingredients = 1 × [[Needle]]<br>5 × [[Thread]]<br>5 × [[Pillow]]<br>5 × [[Sheet]]
|item_id = Base.Mattress
|item_id = Base.Mattress
|tile_id = carpentry_02_76
}}
}}
A '''mattress''' is an item used in [[carpentry]].
A '''mattress''' is a craftable [[bed]].


==Usage==
==Usage==
A mattress is required to make a [[bed]].
A mattress can be slept in like other beds, with average quality.
 
It can also be used to make a [[bed|crafted bed]] with [[carpentry]]. However, the crafted bed gives no benefit over a mattress, other than aesthetics, as they both have the same sleep quality. A mattress also cannot be destroyed by [[zombie]]s, whereas the crafted bed can.  


==Crafting==
==Crafting==
===Obtaining===
{{Crafting header|ing=4}}
{{Crafting header|ing=4}}
{{Crafting carpentry|005|ing=4}}
{{Crafting carpentry|005|ing=4}}
|}
===Ingredient===
A mattress is an ingredient in crafting the crafted bed.
{{Crafting header|ing=4}}
{{Crafting carpentry|315|ing=4}}
|}
|}


==Distribution==
==Distribution==
The main way to obtain a mattress is through crafting. A few mattresses can be found on the camp near the inside gates of Louisville, inside bigger tents.
The main way to obtain a mattress is through crafting. A few mattresses can be found on the camp near the inside gates of Louisville, inside bigger tents.
 
==Gallery==
<gallery>
Mattress_Model.png|Model of a mattress. Not currently used.
</gallery>


==Code==
==Code==

Revision as of 03:00, 3 March 2024

Template:Header/sandbox2

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Mattress
MakeshiftMattress.png
[[File:{{{icon2}}}|Mattress|]]
[[File:{{{icon3}}}|Mattress|]]
[[File:{{{icon4}}}|Mattress|]]
[[File:{{{icon5}}}|Mattress|]]
General
Category
Furniture
EncumbranceMoodle Icon HeavyLoad.png
8.0
Function
Crafting
Ingredients
1 × Needle
5 × Thread
5 × Pillow
5 × Sheet
Technical
Item ID(s)
Base.Mattress
Tile ID(s)
carpentry_02_76

A mattress is a craftable bed.

Usage

A mattress can be slept in like other beds, with average quality.

It can also be used to make a crafted bed with carpentry. However, the crafted bed gives no benefit over a mattress, other than aesthetics, as they both have the same sleep quality. A mattress also cannot be destroyed by zombies, whereas the crafted bed can.

Crafting

Obtaining

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)

Ingredient

A mattress is an ingredient in crafting the crafted bed.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4
CraftedBed.png
Bed
1.25 Carpentry Carpentry 4 Hammer.png
Hammer (tag)
(keep)
Plank.png
Plank x6
(consumed)
Nails.png
Nails x4
(consumed)
Mattress.png
Mattress x1
(consumed)

Distribution

The main way to obtain a mattress is through crafting. A few mattresses can be found on the camp near the inside gates of Louisville, inside bigger tents.

Gallery

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 Mattress
	{
	    DisplayCategory = Furniture,
		Weight	=	8,
		Type	=	Moveable,
		DisplayName	=	Mattress,
		Icon	=	Mattress,
		WorldObjectSprite	= carpentry_02_76,
		/*WorldStaticObject = Mattress,*/
	}

See also