Metal Shelves: Difference between revisions
m (Automated navbox update) |
m (Automated Formatting) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Tiles|Container tiles}} | {{Header|Project Zomboid|Tiles|Container tiles}} | ||
{{Page version|41. | {{Page version|41.78.16}} | ||
{{Infobox tile | {{Infobox tile | ||
|name = Metal Shelves | |name=Metal Shelves | ||
|model = | |model=MetalShelves_Small.gif | ||
|icon = MetalShelves Small.gif | |icon=MetalShelves Small.gif | ||
|category = Furniture | |category=Furniture | ||
|weight = 7.5 | |weight=7.5 | ||
|size = 1 | |size=1 | ||
<!--Properties--> | <!--Properties--> | ||
|type = Container | |type=Container | ||
|container = Shelf | |container=Shelf | ||
|function = Item Storage | |function=Item Storage | ||
|capacity = 30 | |capacity=30 | ||
<!--Build--> | <!--Build--> | ||
|build_skill = [[Metalworking]] | |build_skill=[[Metalworking]] | ||
|build_level = 2 | |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> | |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> | |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--> | ||
|move_skill = | |move_skill=None | ||
|move_tool=None | |||
|move_tool = | |||
<!--Disassemble--> | <!--Disassemble--> | ||
|disassemble_skill = [[Metalworking]] | |disassemble_skill=[[Metalworking]] | ||
|disassemble_level = 0 | |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> | |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--> | <!--Technical details--> | ||
| | |item_id=Movables.{TileID} | ||
|tile_id=furniture_shelving_01_29 | |||
}} | }} | ||
'''Metal shelves''' is a [[Crafting|craftable]] [[containers|container]] that can also be found in houses. | |||
'''Metal shelves''' is a [[Crafting|craftable]] [[containers|container]] that can also be | |||
==Usage== | ==Usage== | ||
Metal shelves are used for storing items, with a | 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== | ==Crafting== | ||
===Metalworking=== | ===Metalworking=== | ||
{{Main|Metalworking}} | {{Main|Metalworking}} | ||
{{Crafting | {{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== | ==See also== | ||
Line 50: | Line 80: | ||
*[[Containers]] | *[[Containers]] | ||
*[[Furniture]] | *[[Furniture]] | ||
*[[Shelves]] | |||
{{Navbox construction|metalworking}} | {{Navbox construction|metalworking}} |
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