Metal Shelves

From PZwiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Metal Shelves
MetalShelves Small.gif
[[File:{{{icon2}}}|Metal Shelves|]]
[[File:{{{icon3}}}|Metal Shelves|]]
[[File:{{{icon4}}}|Metal Shelves|]]
[[File:{{{icon5}}}|Metal Shelves|]]
General
Category
Furniture
EncumbranceMoodle Icon HeavyLoad.png
7.5
Size
1 tile
Function
Item Storage
Properties
TypeShelf
Container
Capacity
30
Build
Skill (level)
Ingredients
Move
Skill (level)
None
Tool(s)
None
Disassemble
Skill (level)
Technical
Item ID(s)
Movables.{TileID}
Tile ID(s)
furniture_shelving_01_29

Metal shelves is a craftable container that can also be found in houses.

Usage

Metal shelves are used for storing items, with a weight capacity of 30. They are useful to store items in areas where a crate would not be possible.

Crafting

Metalworking

Main article: Metalworking
Product Ingredients Tools Requirements Workstation XP
MetalShelves Metalwork.png
Metal Shelves
MetalTube.png Metal Pipe ×2
MetalSheetSmall.png Small Metal Sheet ×1
ScrapMetal.png Scrap Metal ×1
BlowTorch.png
Propane Torch
2 unit(s)
  
(and)
WeldingMask.png
Welder Mask
(and)
WeldingRods.png
Welding Rods
1 unit(s)
  

MagazineWelding2.png
The Metalwork Magazine Vol.2
none 5 Metalworking

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide
Retrieved: Build 41.78.16
ISBlacksmithMenu.onMetalShelves = function(worldobjects, player, torchUse)
    local fence = ISSimpleFurniture:new("shelves", "furniture_shelving_01_29","furniture_shelving_01_28");
    fence.noNeedHammer = true;
    fence.needToBeAgainstWall = true;
    fence.buildLow = false;
    fence.isWallLike = true;
    fence.isContainer = true;
    fence.containerType = "shelves";
    fence.firstItem = "BlowTorch";
--    fence.firstPredicate = predicateDrainableUsesInt
--    fence.firstArg = tonumber(torchUse)
    fence.secondItem = "WeldingMask";
    fence.craftingBank = "BlowTorch";
    fence.modData["xp:MetalWelding"] = 20;
    fence.modData["need:Base.MetalPipe"]= "2";
    fence.modData["need:Base.SmallSheetMetal"]= "1";
    fence.modData["need:Base.ScrapMetal"]= "1";
    fence.modData["use:Base.BlowTorch"] = torchUse;
    fence.modData["use:Base.WeldingRods"] = ISBlacksmithMenu.weldingRodUses(torchUse);
    fence.player = player
    fence.completionSound = "BuildMetalStructureSmall";
    getCell():setDrag(fence, player);
end

See also