Double Shelves

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Hardwood Wall Shelves
DoubleShelves Carpentry.png
[[File:{{{icon2}}}|Hardwood Wall Shelves|]]
[[File:{{{icon3}}}|Hardwood Wall Shelves|]]
[[File:{{{icon4}}}|Hardwood Wall Shelves|]]
[[File:{{{icon5}}}|Hardwood Wall Shelves|]]
General
Category
Movable
EncumbranceMoodle Icon HeavyLoad.png
7.5
Size
1 tile
Properties
TypeShelf
Container
Capacity
15
Build
Skill (level)
Tool(s)
Ingredients
2 × Plank.png Plank
4 × Nails.png Nails
Move
Skill (level)
Tool(s)
Disassemble
Skill (level)
Tool(s)
Technical
Item ID(s)
Movables.{TileID}
Tile ID(s)
furniture_shelving_01_2
What's better than one shelf? Two at the same time!
— In-game description

Double shelves are a craftable container.

Usage

Double shelves can be used to store up to 15 weight worth of items. Due to it's minimal storage, this container is used more for aesthetic purposes than practical reasons.

Crafting

Carpentry

Main article: Carpentry
Product Ingredients Tools Requirements Workstation XP
DoubleShelves Carpentry.png
Double Shelves
Plank.png Plank ×2
Nails.png Nails ×4

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

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide
Retrieved: Build 41.78.16
ISBuildMenu.onDoubleShelve = function(worldobjects, square, sprite, player)
-- name, sprite, northSprite
    local furniture = ISSimpleFurniture:new("Double Shelves", sprite.sprite, sprite.northSprite);
    furniture.isContainer = true;
    furniture.needToBeAgainstWall = true;
	furniture.buildLow = false;
    furniture.blockAllTheSquare = false;
    furniture.isWallLike = true
    furniture.containerType = "shelves";
    furniture.modData["xp:Woodwork"] = 5;
    furniture.modData["need:Base.Plank"] = "2";
    furniture.modData["need:Base.Nails"] = "4";
    furniture.player = player
    furniture.completionSound = "BuildWoodenStructureSmall";
    getCell():setDrag(furniture, player);
end


See also