Crafted Wall Shelves
[[File:{{{icon2}}}|Crafted Wall Shelves|]]
[[File:{{{icon3}}}|Crafted Wall Shelves|]]
[[File:{{{icon4}}}|Crafted Wall Shelves|]]
[[File:{{{icon5}}}|Crafted Wall Shelves|]]
[[File:{{{icon6}}}|Crafted Wall Shelves|]]
[[File:{{{icon7}}}|Crafted Wall Shelves|]]
[[File:{{{icon8}}}|Crafted Wall Shelves|]]
[[File:{{{icon9}}}|Crafted Wall Shelves|]]
Technical
Item ID(s)
Movables.{TileID}
Tile ID(s)
carpentry_02_68
“
Basic shelves for loot and item storage.
Shelves are a craftable container.
Usage
Shelves can be used to store up to 10 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 |
---|---|---|---|---|---|
Shelves |
Plank ×1 Nails ×2 |
Hammer (tag) |
Carpentry 2 | none | 0.75 Carpentry |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Retrieved: Build 41.78.16
ISBuildMenu.onShelve = function(worldobjects, square, sprite, player)
-- name, sprite, northSprite
local furniture = ISSimpleFurniture:new("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"] = 3;
furniture.modData["need:Base.Plank"] = "1";
furniture.modData["need:Base.Nails"] = "2";
furniture.player = player
furniture.completionSound = "BuildWoodenStructureSmall";
getCell():setDrag(furniture, player);
end