Double Shelves: Difference between revisions

From PZwiki
m (Capitalized the first letter of a sentence on "Usage")
m (Automated Formatting)
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Tiles|Container tiles}}
{{header|The Game World|Tiles|Furniture|Container|type=Furniture|version=Version 40|incver=43}}
{{Page version|41.78.16}}
{{Stub}}
{{Infobox tile
{{Infobox furniture
|name=Hardwood Wall Shelves
|display_name = Hardwood Wall Shelves
|model=DoubleShelves_Carpentry.png
|name_colour = Furniture
|icon=DoubleShelves_Carpentry.png
|name_text_colour = Furniture
|category=Movable
|image = DoubleShelves_Carpentry.png
|weight=7.5
|image_width = 128px
|size=1
|category = Movable
|weight = 7.5
|size = 1
<!--Properties-->
<!--Properties-->
|type = Container
|type=Container
|container = Shelf
|container=Shelf
|function =
|capacity=15
|capacity = 15
<!--Build-->
<!--Build-->
|build_skill = [[Carpentry]]
|build_skill=[[Carpentry]]
|build_level = 2
|build_level=2
|build_tool = <small>[[File:Hammer.png|20px|link=Hammer]] [[Hammer]]<br>[[File:HammerStone.png|20px|link=Stone Hammer]] [[Stone Hammer]]</small>
|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 = <small>[[File:Hammer.png|20px|link=Hammer]] [[Hammer]]<br>[[File:HammerStone.png|20px|link=Stone Hammer]] [[Stone Hammer]]</small>
|move_tool_tag=Hammer
<!--Disassemble-->
<!--Disassemble-->
|disassemble_skill = [[Carpentry]]
|disassemble_skill=[[Carpentry]]
|disassemble_level = 0
|disassemble_level=0
|disassemble_tool = <small>[[File:Hammer.png|20px|link=Hammer]] [[Hammer]]<br>[[File:HammerStone.png|20px|link=Stone Hammer]] [[Stone Hammer]]
|disassemble_tool_tag=Hammer
----
|disassemble_tool_tag2=Saw
[[File:Saw.png|20px|link=Saw]] [[Saw]]</small>
|products =
<!--Technical details-->
<!--Technical details-->
|class_name = Base.Movable
|item_id=Movables.{TileID}
}}{{quote|text=What's better than one shelf? Two at the same time!|author=In-game description}}
|tile_id=furniture_shelving_01_2
}}
{{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]].


==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==
Crafting requires a [[Skills|carpentry skill]] of 2.
===Carpentry===
===Carpentry===
{{Main|Carpentry}}
{{Main|Carpentry}}
{{Crafting header|ing=3}}
{{Crafting/sandbox2
{{Crafting carpentry|314|ing=3}}
|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
}}
}}
 


{{clear}}
==See also==
==See also==
*[[Carpentry Guide]]
*[[Carpentry]]
*[[Containers]]
*[[Containers]]
*[[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

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Hardwood Wall Shelves
DoubleShelves Carpentry.png
[[File:{{{icon2}}}|Hardwood Wall Shelves|]]
[[File:{{{icon3}}}|Hardwood Wall Shelves|]]
[[File:{{{icon4}}}|Hardwood Wall Shelves|]]
[[File:{{{icon5}}}|Hardwood Wall Shelves|]]
General
Category
Movable
EncumbranceMoodle Icon HeavyLoad.png
7.5
Size
1 tile
Properties
TypeShelf
Container
Capacity
15
Build
Skill (level)
Tool(s)
Ingredients
2 × Plank.png Plank
4 × Nails.png Nails
Move
Skill (level)
Tool(s)
Disassemble
Skill (level)
Tool(s)
Technical
Item ID(s)
Movables.{TileID}
Tile ID(s)
furniture_shelving_01_2
What's better than one shelf? Two at the same time!
— In-game description

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
DoubleShelves Carpentry.png
Double Shelves
Plank.png Plank ×2
Nails.png Nails ×4

Hammer.png
Hammer (tag)
Carpentry 2 none 1.25 Carpentry

Code

Code icon.png 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


See also