Large Table: Difference between revisions

From PZwiki
(Version bump, small content changes, rm stub (Article is pretty complete content wise, it doesn't need to take up maintenance space))
(Tile IDs, codebox, see also)
Line 33: Line 33:
|products =
|products =
<!--Technical details-->
<!--Technical details-->
|tile_id = Base.Movable
|tile_id = carpentry_01_25
|tile_id2 = carpentry_01_29
|tile_id3 = carpentry_01_33
}}
}}


Line 69: Line 71:
|}
|}


{{Clear}}
==Code==
{{CodeBox|
{{CodeSnip
  | lang = java
  | line = true
  | start = 1452
  | retrieved = true
  | version = 41.78.16
  | code =
ISBuildMenu.onLargeWoodTable = function(worldobjects, square, sprite, player)
-- name, sprite, northSprite
local furniture = ISDoubleTileFurniture:new("Large Table", sprite.sprite1, sprite.sprite2, sprite.northSprite1, sprite.northSprite2);
    furniture.modData["xp:Woodwork"] = 5;
furniture.modData["need:Base.Plank"] = "6";
furniture.modData["need:Base.Nails"] = "4";
furniture.player = player
furniture.completionSound = "BuildWoodenStructureLarge";
getCell():setDrag(furniture, player);
end
}}
}}


==See also==
==See also==
*[[Carpentry]]
*[[Carpentry]]
*[[Furniture]]
*[[Furniture]]
*[[Small Table]]


{{Navbox construction|carpentry}}
{{Navbox construction|carpentry}}

Revision as of 07:43, 12 March 2024

Project ZomboidTilesTablesLarge Table
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Large Table
Large Table1.png
Large Table2.png
Large Table3.png
[[File:{{{icon4}}}|Large Table|]]
[[File:{{{icon5}}}|Large Table|]]
General
Category
Movable
EncumbranceMoodle Icon HeavyLoad.png
15 (per tile)
30 (total)
Size
2 tiles
Properties
Type
Table
Build
Skill (level)
Tool(s)
Ingredients
6 × Plank.png Plank
4 × Nails.png Nails
Move
Skill (level)
Tool(s)
Disassemble
Skill (level)
Tool(s)
Technical
Tile ID(s)
carpentry_01_25 carpentry_01_29 carpentry_01_33
Don't let the end of the world impact on your love of tables.
— In-game description

A large table is a craftable piece of furniture.

Usage

Large tables are used for decorative purposes. They can be crafted by the player for realism and immersion in their safehouse.

Crafting

The visual quality of the large table increases with the players Carpentry skill level. It starts at

Carpentry

Main article: Carpentry
Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3
LargeTable Carpentry.gif
Large Table
1.25 Carpentry Carpentry 4 Hammer.png
Hammer (tag)
(keep)
Plank.png
Plank x6
(consumed)
Nails.png
Nails x4
(consumed)

As the player must have Carpentry level 4 to build the large table, the Shoddy large table should not be possible to make.

Name Sprite Level
Shoddy Large Table Shoddy Large Table Carpentry 0
Mediocre Large Table Mediocre Large Table Carpentry 4
Exceptional Large Table Exceptional Large Table Carpentry 7

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide
Retrieved: Build 41.78.16
ISBuildMenu.onLargeWoodTable = function(worldobjects, square, sprite, player)
	-- name, sprite, northSprite
	local furniture = ISDoubleTileFurniture:new("Large Table", sprite.sprite1, sprite.sprite2, sprite.northSprite1, sprite.northSprite2);
    furniture.modData["xp:Woodwork"] = 5;
	furniture.modData["need:Base.Plank"] = "6";
	furniture.modData["need:Base.Nails"] = "4";
	furniture.player = player
	furniture.completionSound = "BuildWoodenStructureLarge";
	getCell():setDrag(furniture, player);
end

See also