Mattress: Difference between revisions

From PZwiki
(PZ Updater automated execution(task: deploy ReLookup, eid: 37b878c2a9aea2f7f692c14d476997ea))
m (Automated Formatting)
 
(27 intermediate revisions by 8 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Tiles|Comfort tiles}}
{{languages|Mattress}}
{{Page version|41.78.16}}
{{header|The Game World|Items|type=Construction|version=Version 39|incver=67.5}}{{Infobox normal
{{Infobox tile
|display_name = Mattress
|name=Mattress
|name_colour = Construction
|model=MakeshiftMattress.png
|name_text_colour = Construction
|icon=Mattress.png
|image = Mattress.png  
|weight=8.0
|weight = 8.0
|function=[[Sleep]]
|function = Make [[bed]]
|crafting=true
|ingredients = 1 × [[Needle]]<br>5 × [[Thread]]<br>5 × [[Pillow]]<br>5 × [[Sheet]]
<!--Build-->
|class_name = Base.Mattress
|build_skill=None
}}A '''mattress''' is an item used in [[Carpentry Guide|carpentry]].
|build_level=0
|build_tool=[[Needle]]
|ingredients=<small>5 × [[File:Thread.png|20px|link=Thread]] [[Thread]]<br>5 × [[File:Sheet.png|20px|link=Sheet]] [[Sheet]]<br>5 × [[File:Pillow.png|20px|link=Pillow]] [[Pillow]]</small>
<!--Move-->
|move_skill=None
|move_tool_tag=None
<!--Technical details-->
|item_id=Base.Mattress
|tile_id=carpentry_02_76
|tile_id2=carpentry_02_77
|tile_id3=carpentry_02_78
|tile_id4=carpentry_02_79
}}
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 [[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.


== Usage ==
==Crafting==
A mattress is required to make a [[bed]].
===Obtaining===
{{Crafting/sandbox2
|mattress
}}


== Crafting ==
===What it makes===
{{Crafting header|ing=4}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 4015 -->
A mattress is an ingredient in crafting the crafted bed.
{{Crafting/core|ing=4
{{Crafting/sandbox2
| product_image = [[File:Mattress.png|link=Mattress|Mattress]] | product_name = [[Mattress]] | product_quantity = x1
|bed
| xp = <!-- Not present in the old template. Please fill in manually. -->
| sl = ''none''
| req =
| f1 = [[File:Needle.png]] | i1 = [[Needle]]<br>or<br>[[Suture Needle]] | q1 =
| f2 = [[File:Thread.png|link=Thread|Thread]] | i2 = [[Thread]] | q2 = (5 units) | tag2 = (consumed)
| f3 = [[File:Pillow.png|link=Pillow|Pillow]] | i3 = [[Pillow]] | q3 = x5 | tag3 = (consumed)
| f4 = [[File:Sheet.png|link=Sheet|Sheet]] | i4 = [[Sheet]] | q4 = x5 | tag4 = (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.


== Distribution ==
==Gallery==
Currently, the only way to obtain a mattress is through crafting.
<gallery>
Mattress_Model.png|Model of a mattress. Not currently used.
</gallery>


== Code ==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=39|incver=67.5}}
| {{CodeSnip
<pre> item Mattress
  | lang = java
Weight = 8,
  | line = true
Type = Normal,
  | start = 944
DisplayName = Mattress,
  | source = newitems.txt
Icon = Mattress,</pre>
  | retrieved = true
  | version = 41.78.16
  | code =
item Mattress
{
    DisplayCategory = Furniture,
Weight = 8,
Type = Moveable,
DisplayName = Mattress,
Icon = Mattress,
WorldObjectSprite = carpentry_02_76,
/*WorldStaticObject = Mattress,*/
}
}}
}}


== See also ==
==See also==
*[[Carpentry Guide]]
*[[Carpentry]]
*[[Bed]]


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

Latest revision as of 10:07, 14 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]
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
Skill (level)
None (0)
Tool(s)
Ingredients
5 × Thread.png Thread
5 × Sheet.png Sheet
5 × Pillow.png Pillow
Move
Skill (level)
None
Tool(s)
Technical
Item ID(s)
Base.Mattress
Tile ID(s)
carpentry_02_76 carpentry_02_77 carpentry_02_78 carpentry_02_79

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 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

What it makes

A mattress is an ingredient in crafting the crafted bed.

Product Ingredients Tools Requirements Workstation XP
CraftedBed.png
Bed
Plank.png Plank ×6
Nails.png Nails ×4
Mattress.png Mattress ×1

Hammer.png
Hammer (tag)
Carpentry 4 none 1.25 Carpentry

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