Small Bookcase
Small Bookcase
[[File:{{{icon2}}}|Small Bookcase|]]
[[File:{{{icon3}}}|Small Bookcase|]]
[[File:{{{icon4}}}|Small Bookcase|]]
[[File:{{{icon5}}}|Small Bookcase|]]
Move
Skill (level)
None
Tool(s)
None
Technical
Item ID(s)
Movables.{TileID}
Tile ID(s)
furniture_shelving_01_23
“
Show off your reading loot with pride.
A small bookcase is a craftable container.
Usage
A small bookcase can be used to store up to 20 weight worth of items. It is mostly a decorative item, and can be found throughout Knox Country.
Crafting
Carpentry
- Main article: Carpentry
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Small Bookcase |
Plank ×3 Nails ×3 |
Hammer (tag) |
Carpentry 3 | none | 0.75 Carpentry |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Retrieved: Build 41.78.16
ISBuildMenu.onSmallBookcase = function(worldobjects, square, sprite, player)
-- name, sprite, northSprite
local furniture = ISSimpleFurniture:new("Small Bookcase", sprite.sprite, sprite.northSprite);
furniture.canBeAlwaysPlaced = true;
furniture.isContainer = true;
furniture.containerType = "shelves";
furniture.modData["xp:Woodwork"] = 3;
furniture.modData["need:Base.Plank"] = "3";
furniture.modData["need:Base.Nails"] = "3";
-- our chair have 4 tiles (north, east, south and west)
-- then we define our east and south sprite
furniture:setEastSprite(sprite.eastSprite);
furniture:setSouthSprite(sprite.southSprite);
furniture.player = player
furniture.completionSound = "BuildWoodenStructureMedium";
getCell():setDrag(furniture, player);
end