Table with Drawer: Difference between revisions

From PZwiki
(Reconnected to furniture, Items, Carpentry Categories.)
m (Automated Formatting)
 
(28 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Tiles|Container tiles}}
 
{{Page version|41.78.16}}
{{Items
{{Infobox tile
|image = Wooden table anim.gif
|name=Table with Drawer
|weight = ?
|model=Table_with_Drawer1.png
|icon=Table_with_Drawer1.png
|icon_name=Poorly Crafted Table
|model2=Table_with_Drawer2.png
|icon2=Table_with_Drawer2.png
|icon_name2=Crafted Table with Drawer
|model3=Table_with_Drawer3.png
|icon3=Table_with_Drawer3.png
|icon_name3=Quality Crafted Table with Drawer
|category=Movable
|weight=5
|size=1
<!--Properties-->
|type=Container
|container=Crate
|capacity=10
<!--Build-->
|build_skill=[[Carpentry]]
|build_level=5
|build_tool_tag=Hammer
|ingredients=<small>5 × [[File:Plank.png|20px|link=Plank]] [[Plank]]<br>4 × [[File:Nails.png|20px|link=Nails]] [[Nails]]<br>1 × [[File:Drawer.png|20px|link=Drawer]] [[Drawer]]</small>
<!--Move-->
|move_skill=[[Carpentry]]
|move_level=0
|move_tool_tag=Hammer
<!--Disassemble-->
|disassemble_skill=[[Carpentry]]
|disassemble_level=0
|disassemble_tool_tag=Hammer
|disassemble_tool_tag2=Saw
<!--Technical details-->
|item_id=Movables.{TileID}
|tile_id=carpentry_02_0
|tile_id2=carpentry_02_4
|tile_id3=carpentry_02_8
}}
}}
A small Wooden table with room for storage.
{{Quote|text=Comes with a drawer to keep useful gear inside.|author=In-game description}}
A '''table with drawer''' is a [[Crafting|craftable]] [[Containers|container]].


Requires a base [[Skills|Carpentry skill]] of 1 to make.
==Usage==
A table with drawer can be used to store up to 10 encumbrance worth of [[items]]. Due to its minimal storage, this [[Containers|container]] is used more for aesthetic purposes than practical reasons.


==Crafting==
Crafting requires a [[carpentry]] skill of 5.


== Crafting (Main Product) ==
===Carpentry===
{| class="wikitable sortable" style="text-align:center;" 
{{Main|Carpentry}}
|- 
{{Crafting/sandbox2
! Name 
|table_with_drawer
! class="unsortable" | Recipe 
}}
! class="unsortable" | Description
'''Crafting skill'''
! class="unsortable" | Skill
{| class="wikitable theme-red" style="text-align: center;"
{{RecipeLookup|1011}}
! style="width: 150px;" | Name
! style="width: 80px;" | Sprite
! style="width: 120px;" | Level
|-
| Poorly Crafted Table
| [[File:Table_with_Drawer1.png|64px|Poorly Crafted Table]]
| [[Carpentry]] 0
|-
| Crafted Table with Drawer
| [[File:Table_with_Drawer2.png|64px|Crafted Table with Drawer]]
| [[Carpentry]] 4
|-
| Quality Crafted Table with Drawer
| [[File:Table_with_Drawer3.png|64px|Quality Crafted Table with Drawer]]
| [[Carpentry]] 7
|}
|}


== Crafting (Recipe Product or Supply)==
==Trivia==
{| class="wikitable sortable" style="text-align:center;" 
*Currently, [https://github.com/TheIndieStone/ProjectZomboidTranslations/issues/383 due to a shared string], the ''Poorly Crafted Table'' string is used for two items, the other being a [[Small Table|small table]].
|- 
! Name 
! class="unsortable" | Recipe 
! class="unsortable" | Description
! class="unsortable" | Skill
{{RecipeLookup|1007}}
{{RecipeLookup|1010}}
|}


== History ==
==Code==
{{CodeBox|
{{CodeSnip
  | lang = java
  | line = true
  | start = 1247
  | retrieved = true
  | version = 41.78.16
  | code =
local drawerSprite = ISBuildMenu.getTableWithDrawerSprites(player);
local drawerTableOption = subMenuTable:addOption(getText("ContextMenu_Table_with_Drawer"), worldobjects, ISBuildMenu.onSmallWoodTableWithDrawer, square, drawerSprite, player);
local tooltip3 = ISBuildMenu.canBuild(5,4,0,0,0,5,drawerTableOption, player);
-- we add that we need a Drawer too
local drawer = ISBuildMenu.countMaterial(player, "Base.Drawer");
if not playerInv:containsTypeRecurse("Drawer") then
tooltip3.description = tooltip3.description .. ISBuildMenu.bhs .. getItemNameFromFullType("Base.Drawer") .. " " .. drawer .. "/1 <LINE>";
if not ISBuildMenu.cheat then
drawerTableOption.onSelect = nil;
drawerTableOption.notAvailable = true;
end
else
tooltip3.description = tooltip3.description .. ISBuildMenu.ghs .. getItemNameFromFullType("Base.Drawer") .. " " .. drawer .. "/1 <LINE>";
end
tooltip3:setName(getText("ContextMenu_Table_with_Drawer"));
tooltip3.description = getText("Tooltip_craft_tableDrawerDesc") .. tooltip3.description;
tooltip3:setTexture(drawerSprite.sprite);
ISBuildMenu.requireHammer(drawerTableOption)
}}
}}


{| class="wikitable" width="550" style="text-align:center;"
==See also==
|-
*[[Carpentry]]
! Alpha || 
*[[Containers]]
|-
*[[Furniture]]
| - || -
*[[Small Table]]
|}
*[[Large Table]]


==See Also==
{{Navbox construction|carpentry}}
*[[Carpentry_Guide]]


[[Category:Furniture]]
[[Category:Tables]]
[[Category:Items]]
[[Category:Carpentry]]
[[Category:Carpentry]]
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Seat Yourself Furniture (Project)]]

Latest revision as of 12:39, 14 April 2024

Project ZomboidTilesContainer tilesTable with Drawer
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Table with Drawer
Table with Drawer1.png
Table with Drawer2.png
Table with Drawer3.png
[[File:{{{icon4}}}|Table with Drawer|]]
[[File:{{{icon5}}}|Table with Drawer|]]
General
Category
Movable
EncumbranceMoodle Icon HeavyLoad.png
5
Size
1 tile
Properties
TypeCrate
Container
Capacity
10
Build
Skill (level)
Tool(s)
Ingredients
5 × Plank.png Plank
4 × Nails.png Nails
1 × Drawer.png Drawer
Move
Skill (level)
Tool(s)
Disassemble
Skill (level)
Tool(s)
Technical
Item ID(s)
Movables.{TileID}
Tile ID(s)
carpentry_02_0 carpentry_02_4 carpentry_02_8
Comes with a drawer to keep useful gear inside.
— In-game description

A table with drawer is a craftable container.

Usage

A table with drawer can be used to store up to 10 encumbrance worth of items. Due to its minimal storage, this container is used more for aesthetic purposes than practical reasons.

Crafting

Crafting requires a carpentry skill of 5.

Carpentry

Main article: Carpentry
Product Ingredients Tools Requirements Workstation XP
TablewithDrawer Carpentry.gif
Table with Drawer
Plank.png Plank ×5
Nails.png Nails ×4
Drawer.png Drawer ×1

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

Crafting skill

Name Sprite Level
Poorly Crafted Table Poorly Crafted Table Carpentry 0
Crafted Table with Drawer Crafted Table with Drawer Carpentry 4
Quality Crafted Table with Drawer Quality Crafted Table with Drawer Carpentry 7

Trivia

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide
Retrieved: Build 41.78.16
local drawerSprite = ISBuildMenu.getTableWithDrawerSprites(player);
	local drawerTableOption = subMenuTable:addOption(getText("ContextMenu_Table_with_Drawer"), worldobjects, ISBuildMenu.onSmallWoodTableWithDrawer, square, drawerSprite, player);
	local tooltip3 = ISBuildMenu.canBuild(5,4,0,0,0,5,drawerTableOption, player);
	-- we add that we need a Drawer too
	local drawer = ISBuildMenu.countMaterial(player, "Base.Drawer");
	if not playerInv:containsTypeRecurse("Drawer") then
		tooltip3.description = tooltip3.description .. ISBuildMenu.bhs .. getItemNameFromFullType("Base.Drawer") .. " " .. drawer .. "/1 <LINE>";
		if not ISBuildMenu.cheat then
			drawerTableOption.onSelect = nil;
			drawerTableOption.notAvailable = true;
		end
	else
		tooltip3.description = tooltip3.description .. ISBuildMenu.ghs .. getItemNameFromFullType("Base.Drawer") .. " " .. drawer .. "/1 <LINE>";
	end
	tooltip3:setName(getText("ContextMenu_Table_with_Drawer"));
	tooltip3.description = getText("Tooltip_craft_tableDrawerDesc") .. tooltip3.description;
	tooltip3:setTexture(drawerSprite.sprite);
	ISBuildMenu.requireHammer(drawerTableOption)

See also