Metal Shelves: Difference between revisions
No edit summary |
m (Automated Formatting) |
||
(31 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Tiles|Container tiles}} | ||
{{Page version|41.78.16}} | |||
{{ | {{Infobox tile | ||
{{ | |name=Metal Shelves | ||
| | |model=MetalShelves_Small.gif | ||
|weight = 7.5 | |icon=MetalShelves Small.gif | ||
|category=Furniture | |||
|weight=7.5 | |||
|size=1 | |||
<!--Properties--> | |||
|type=Container | |||
|container=Shelf | |||
|function=Item Storage | |||
|capacity=30 | |||
<!--Build--> | |||
|build_skill=[[Metalworking]] | |||
|build_level=2 | |||
|build_tool=<small>[[File:BlowTorch.png|20px|link=Propane_Torch]] [[Propane Torch]]<br>[[File:WeldingMask.png|20px|link=Welder_Mask]] [[Welder Mask]]<br>[[File:WeldingRods.png|20px|link=Welding_Rods]] [[Welding Rods]]</small> | |||
|ingredients=<small>2 × [[File:MetalTube.png|20px|link=Metal Pipe]] [[Metal Pipe]]<br>1 × [[File:MetalSheetSmall.png|20px|link=Small_Metal_Sheet]] [[Small Metal Sheet]]<br>1 × [[File:ScrapMetal.png|20px|link=Scrap_Metal]] [[Scrap Metal]]</small> | |||
<!--Move--> | |||
|move_skill=None | |||
|move_tool=None | |||
<!--Disassemble--> | |||
|disassemble_skill=[[Metalworking]] | |||
|disassemble_level=0 | |||
|disassemble_tool=<small>[[File:BlowTorch.png|20px|link=Propane_Torch]] [[Propane Torch]]<br>[[File:WeldingMask.png|20px|link=Welder_Mask]] [[Welder Mask]]</small> | |||
<!--Technical details--> | |||
|item_id=Movables.{TileID} | |||
|tile_id=furniture_shelving_01_29 | |||
}} | }} | ||
[[Containers | '''Metal shelves''' is a [[Crafting|craftable]] [[containers|container]] that can also be found in houses. | ||
{{Navbox | |||
==Usage== | |||
Metal shelves are used for storing items, with a weight capacity of 30. They are useful to store items in areas where a [[Wooden Crate|crate]] would not be possible. | |||
==Crafting== | |||
===Metalworking=== | |||
{{Main|Metalworking}} | |||
{{Crafting/sandbox2 | |||
|metal_shelves | |||
}} | |||
==Code== | |||
{{CodeBox| | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 990 | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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== | |||
*[[Metalworking]] | |||
*[[Containers]] | |||
*[[Furniture]] | |||
*[[Shelves]] | |||
{{Navbox construction|metalworking}} | |||
[[Category:Metalwork]] | |||
[[Category:Spiffo's Construction Crew (Project)]] |
Latest revision as of 10:13, 14 April 2024
Metal Shelves
[[File:{{{icon2}}}|Metal Shelves|]]
[[File:{{{icon3}}}|Metal Shelves|]]
[[File:{{{icon4}}}|Metal Shelves|]]
[[File:{{{icon5}}}|Metal Shelves|]]
Build
Move
Skill (level)
None
Tool(s)
None
Disassemble
Skill (level)
Metalworking (0)
Tool(s)
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 |
---|---|---|---|---|---|
Metal Shelves |
Metal Pipe ×2 Small Metal Sheet ×1 Scrap Metal ×1 |
Propane Torch 2 unit(s)
Welder Mask (and) Welding Rods 1 unit(s)
|
The Metalwork Magazine Vol.2 |
none | 5 Metalworking |
Code
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