Double Shelves: Difference between revisions
m (Automated {{Languages}} removal.) |
m (Automated Formatting) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Header | {{Header|Project Zomboid|Tiles|Container tiles}} | ||
{{Page version| | {{Page version|41.78.16}} | ||
{{Infobox tile | {{Infobox tile | ||
|name = Hardwood Wall Shelves | |name=Hardwood Wall Shelves | ||
|model = DoubleShelves_Carpentry.png | |model=DoubleShelves_Carpentry.png | ||
|icon = DoubleShelves_Carpentry.png | |icon=DoubleShelves_Carpentry.png | ||
|category = Movable | |category=Movable | ||
|weight = 7.5 | |weight=7.5 | ||
|size = 1 | |size=1 | ||
<!--Properties--> | <!--Properties--> | ||
|type = Container | |type=Container | ||
|container = Shelf | |container=Shelf | ||
|capacity=15 | |||
|capacity = 15 | |||
<!--Build--> | <!--Build--> | ||
|build_skill = [[Carpentry]] | |build_skill=[[Carpentry]] | ||
|build_level = 2 | |build_level=2 | ||
|build_tool_tag = Hammer | |build_tool_tag=Hammer | ||
|ingredients = <small>2 × [[File:Plank.png|20px|link=Plank]] [[Plank]]<br>4 × [[File:Nails.png|20px|link=Nails]] [[Nails]]</small> | |ingredients=<small>2 × [[File:Plank.png|20px|link=Plank]] [[Plank]]<br>4 × [[File:Nails.png|20px|link=Nails]] [[Nails]]</small> | ||
<!--Move--> | <!--Move--> | ||
|move_skill = [[Carpentry]] | |move_skill=[[Carpentry]] | ||
|move_level = 0 | |move_level=0 | ||
|move_tool_tag = Hammer | |move_tool_tag=Hammer | ||
<!--Disassemble--> | <!--Disassemble--> | ||
|disassemble_skill = [[Carpentry]] | |disassemble_skill=[[Carpentry]] | ||
|disassemble_level = 0 | |disassemble_level=0 | ||
|disassemble_tool_tag = Hammer | |disassemble_tool_tag=Hammer | ||
|disassemble_tool_tag2 = Saw | |disassemble_tool_tag2=Saw | ||
<!--Technical details--> | <!--Technical details--> | ||
| | |item_id=Movables.{TileID} | ||
|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}} | ||
Line 36: | Line 34: | ||
==Usage== | ==Usage== | ||
Double shelves can be used to store up to 15 weight worth of [[items]]. | Double shelves can be used to store up to 15 weight worth of [[items]]. Due to it's minimal storage, this [[Containers|container]] is used more for aesthetic purposes than practical reasons. | ||
==Crafting== | ==Crafting== | ||
===Carpentry=== | ===Carpentry=== | ||
{{Main|Carpentry}} | {{Main|Carpentry}} | ||
{{Crafting | {{Crafting/sandbox2 | ||
{{ | |double_shelves | ||
}} | |||
==Code== | |||
{{CodeBox| | |||
{{CodeSnip | |||
| lang = lua | |||
| line = true | |||
| start = 1545 | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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 | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 52: | Line 77: | ||
*[[Furniture]] | *[[Furniture]] | ||
{{Navbox construction}} | {{Navbox construction|carpentry}} | ||
[[Category:Carpentry]] | [[Category:Carpentry]] | ||
[[Category:Spiffo's Construction Crew (Project)]] | [[Category:Spiffo's Construction Crew (Project)]] | ||
[[Category:Seat Yourself Furniture (Project)]] | [[Category:Seat Yourself Furniture (Project)]] |
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