Double Shelves: Difference between revisions
m (Automatic formatting) |
m (Automated Formatting) |
||
(One intermediate revision by the same user not shown) | |||
Line 30: | Line 30: | ||
|tile_id=furniture_shelving_01_2 | |tile_id=furniture_shelving_01_2 | ||
}} | }} | ||
{{Quote|text=What's better than one shelf? Two at the same time!|author=In-game description}} | {{Quote|text=What's better than one shelf? Two at the same time!|author=In-game description}} | ||
'''Double shelves''' are a [[Crafting|craftable]] [[Containers|container]]. | '''Double shelves''' are a [[Crafting|craftable]] [[Containers|container]]. | ||
Line 40: | Line 39: | ||
===Carpentry=== | ===Carpentry=== | ||
{{Main|Carpentry}} | {{Main|Carpentry}} | ||
{{Crafting | {{Crafting/sandbox2 | ||
|double_shelves | |||
}} | |||
==Code== | ==Code== |
Latest revision as of 08:08, 14 April 2024
Hardwood Wall Shelves
[[File:{{{icon2}}}|Hardwood Wall Shelves|]]
[[File:{{{icon3}}}|Hardwood Wall Shelves|]]
[[File:{{{icon4}}}|Hardwood Wall Shelves|]]
[[File:{{{icon5}}}|Hardwood Wall Shelves|]]
Technical
Item ID(s)
Movables.{TileID}
Tile ID(s)
furniture_shelving_01_2
“
What's better than one shelf? Two at the same time!
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 |
---|---|---|---|---|---|
Double Shelves |
Plank ×2 Nails ×4 |
Hammer (tag) |
Carpentry 2 | none | 1.25 Carpentry |
Code
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