Table with Drawer: Difference between revisions
m (→Usage: minor) |
(Update names, add trivia, add entries to see also) |
||
Line 5: | Line 5: | ||
|model = Table_with_Drawer1.png | |model = Table_with_Drawer1.png | ||
|icon = Table_with_Drawer1.png | |icon = Table_with_Drawer1.png | ||
|icon_name = | |icon_name = Poorly Crafted Table | ||
|model2 = Table_with_Drawer2.png | |model2 = Table_with_Drawer2.png | ||
|icon2 = Table_with_Drawer2.png | |icon2 = Table_with_Drawer2.png | ||
|icon_name2 = | |icon_name2 = Crafted Table with Drawer | ||
|model3 = Table_with_Drawer3.png | |model3 = Table_with_Drawer3.png | ||
|icon3 = Table_with_Drawer3.png | |icon3 = Table_with_Drawer3.png | ||
|icon_name3 = Quality Table | |icon_name3 = Quality Crafted Table with Drawer | ||
|category = Movable | |category = Movable | ||
|weight = 5 | |weight = 5 | ||
Line 49: | Line 49: | ||
==Crafting== | ==Crafting== | ||
Crafting requires a [[ | Crafting requires a [[carpentry]] skill of 5. | ||
===Carpentry=== | ===Carpentry=== | ||
Line 57: | Line 57: | ||
|} | |} | ||
'''Crafting skill''' | '''Crafting skill''' | ||
{| class="wikitable theme-red" style="text-align:center;" | {| class="wikitable theme-red" style="text-align: center;" | ||
! style="width: 150px;" | Name | ! style="width: 150px;" | Name | ||
! style="width: 80px;" | Sprite | ! style="width: 80px;" | Sprite | ||
! style="width: 120px;" | Level | ! style="width: 120px;" | Level | ||
|- | |- | ||
| | | Poorly Crafted Table | ||
| [[File:Table_with_Drawer1.png|64px| | | [[File:Table_with_Drawer1.png|64px|Poorly Crafted Table]] | ||
| [[Carpentry]] 0 | | [[Carpentry]] 0 | ||
|- | |- | ||
| | | Crafted Table with Drawer | ||
| [[File:Table_with_Drawer2.png|64px| | | [[File:Table_with_Drawer2.png|64px|Crafted Table with Drawer]] | ||
| [[Carpentry]] 4 | | [[Carpentry]] 4 | ||
|- | |- | ||
| | | Quality Crafted Table with Drawer | ||
| [[File:Table_with_Drawer3.png|64px| | | [[File:Table_with_Drawer3.png|64px|Quality Crafted Table with Drawer]] | ||
| [[Carpentry]] 7 | | [[Carpentry]] 7 | ||
|} | |} | ||
==Trivia== | |||
*Currently, [https://github.com/TheIndieStone/ProjectZomboidTranslations/issues/383 due to a shared string], Poorly Crafted Table string is used for two items, the other being a [[Small Table|small table]]. | |||
==Code== | ==Code== | ||
Line 109: | Line 112: | ||
*[[Containers]] | *[[Containers]] | ||
*[[Furniture]] | *[[Furniture]] | ||
*[[Small Table]] | |||
*[[Large Table]] | |||
{{Navbox construction|carpentry}} | {{Navbox construction|carpentry}} |
Revision as of 22:15, 21 March 2024
Table with Drawer
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.
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 | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 | Ingredient 4 |
---|---|---|---|---|---|---|---|
Table with Drawer |
1.25 Carpentry | Carpentry 5 | Hammer (tag) (keep) |
Plank x5 (consumed) |
Nails x4 (consumed) |
Drawer x1 (consumed) |
Crafting skill
Name | Sprite | Level |
---|---|---|
Poorly Crafted Table | Carpentry 0 | |
Crafted Table with Drawer | Carpentry 4 | |
Quality Crafted Table with Drawer | Carpentry 7 |
Trivia
- Currently, due to a shared string, Poorly Crafted Table string is used for two items, the other being a small table.
Code
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)