Shelves: Difference between revisions
VaileasysBot (talk | contribs) m (→top: category project: "The Game World") |
m (Automated Formatting) |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Tiles|Container tiles}} | |||
{{Header|Project Zomboid|Tiles | {{Page version|41.78.16}} | ||
{{ | {{Infobox tile | ||
{{Infobox | |name=Crafted Wall Shelves | ||
| | |model=Shelves_Carpentry.png | ||
| | |icon=Shelves_Carpentry.png | ||
| | |category=Movable | ||
|weight=7.5 | |||
|size=1 | |||
|category | |||
|weight | |||
|size | |||
<!--Properties--> | <!--Properties--> | ||
|type | |type=Container | ||
|container | |container=Shelf | ||
|capacity=10 | |||
|capacity | |||
<!--Build--> | <!--Build--> | ||
|build_skill | |build_skill=[[Carpentry]] | ||
|build_level | |build_level=2 | ||
| | |build_tool_tag=Hammer | ||
|ingredients | |ingredients=<small>1 × [[File:Plank.png|20px|link=Plank]] [[Plank]]<br>2 × [[File:Nails.png|20px|link=Nails]] [[Nails]]</small> | ||
<!--Move--> | <!--Move--> | ||
|move_skill | |move_skill=[[Carpentry]] | ||
|move_level | |move_level=0 | ||
| | |move_tool_tag=Hammer | ||
<!--Disassemble--> | <!--Disassemble--> | ||
|disassemble_skill = [[Carpentry]] | |disassemble_skill=[[Carpentry]] | ||
|disassemble_level = 0 | |disassemble_level=0 | ||
| | |disassemble_tool_tag=Hammer | ||
|disassemble_tool_tag2=Saw | |||
<!--Technical details--> | <!--Technical details--> | ||
| | |item_id=Movables.{TileID} | ||
|tile_id=carpentry_02_68 | |||
}} | }} | ||
{{Quote|text=Basic shelves for loot and item storage.|author=In-game description}} | {{Quote|text=Basic shelves for loot and item storage.|author=In-game description}} | ||
Line 39: | Line 34: | ||
==Usage== | ==Usage== | ||
Shelves can be used to store up to 10 weight worth of [[items]]. | Shelves can be used to store up to 10 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 | ||
{{ | |shelves | ||
}} | |||
==Code== | |||
{{CodeBox| | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 1515 | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
ISBuildMenu.onShelve = function(worldobjects, square, sprite, player) | |||
-- name, sprite, northSprite | |||
local furniture = ISSimpleFurniture:new("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"] = 3; | |||
furniture.modData["need:Base.Plank"] = "1"; | |||
furniture.modData["need:Base.Nails"] = "2"; | |||
furniture.player = player | |||
furniture.completionSound = "BuildWoodenStructureSmall"; | |||
getCell():setDrag(furniture, player); | |||
end | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 54: | Line 76: | ||
*[[Containers]] | *[[Containers]] | ||
*[[Furniture]] | *[[Furniture]] | ||
*[[Double Shelves]] | |||
{{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 12:00, 14 April 2024
Crafted Wall Shelves
[[File:{{{icon2}}}|Crafted Wall Shelves|]]
[[File:{{{icon3}}}|Crafted Wall Shelves|]]
[[File:{{{icon4}}}|Crafted Wall Shelves|]]
[[File:{{{icon5}}}|Crafted Wall Shelves|]]
Technical
Item ID(s)
Movables.{TileID}
Tile ID(s)
carpentry_02_68
“
Basic shelves for loot and item storage.
Shelves are a craftable container.
Usage
Shelves can be used to store up to 10 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 |
---|---|---|---|---|---|
Shelves |
Plank ×1 Nails ×2 |
Hammer (tag) |
Carpentry 2 | none | 0.75 Carpentry |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Retrieved: Build 41.78.16
ISBuildMenu.onShelve = function(worldobjects, square, sprite, player)
-- name, sprite, northSprite
local furniture = ISSimpleFurniture:new("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"] = 3;
furniture.modData["need:Base.Plank"] = "1";
furniture.modData["need:Base.Nails"] = "2";
furniture.player = player
furniture.completionSound = "BuildWoodenStructureSmall";
getCell():setDrag(furniture, player);
end