Small Bookcase: Difference between revisions
m (Infobox update) |
m (Automatic formatting) |
||
Line 2: | Line 2: | ||
{{Page version|41.78.16}} | {{Page version|41.78.16}} | ||
{{Infobox tile | {{Infobox tile | ||
|name = Small Bookcase | |name=Small Bookcase | ||
|model = SmallBookcase_Carpentry.png | |model=SmallBookcase_Carpentry.png | ||
|icon = SmallBookcase_Carpentry.png | |icon=SmallBookcase_Carpentry.png | ||
|category = Movable | |category=Movable | ||
|weight = 10 | |weight=10 | ||
|size = 1 | |size=1 | ||
<!--Properties--> | <!--Properties--> | ||
|type = Container | |type=Container | ||
|container = Shelf | |container=Shelf | ||
|function = Holds items | |function=Holds items | ||
|capacity = 20 | |capacity=20 | ||
<!--Build--> | <!--Build--> | ||
|build_skill = [[Carpentry]] | |build_skill=[[Carpentry]] | ||
|build_level = 3 | |build_level=3 | ||
|build_tool_tag = Hammer | |build_tool_tag=Hammer | ||
|ingredients = <small>3 × [[File:Plank.png|20px|link=Plank]] [[Plank]]<br>3 × [[File:Nails.png|20px|link=Nails]] [[Nails]]</small> | |ingredients=<small>3 × [[File:Plank.png|20px|link=Plank]] [[Plank]]<br>3 × [[File:Nails.png|20px|link=Nails]] [[Nails]]</small> | ||
<!--Move--> | <!--Move--> | ||
|move_skill = ''None'' | |move_skill=''None'' | ||
|move_tool=''None'' | |||
|move_tool = ''None'' | |||
<!--Disassemble--> | <!--Disassemble--> | ||
|disassemble_skill = [[Carpentry]] | |disassemble_skill=[[Carpentry]] | ||
| | |disassemblelevel=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} | |item_id=Movables.{TileID} | ||
|tile_id = furniture_shelving_01_23 | |tile_id=furniture_shelving_01_23 | ||
}} | }} | ||
Revision as of 18:22, 25 March 2024
Small Bookcase
[[File:{{{icon2}}}|Small Bookcase|]]
[[File:{{{icon3}}}|Small Bookcase|]]
[[File:{{{icon4}}}|Small Bookcase|]]
[[File:{{{icon5}}}|Small Bookcase|]]
Move
Skill (level)
None
Tool(s)
None
Technical
Item ID(s)
Movables.{TileID}
Tile ID(s)
furniture_shelving_01_23
“
Show off your reading loot with pride.
A small bookcase is a craftable container.
Usage
A small bookcase can be used to store up to 20 weight worth of items. It is mostly a decorative item, and can be found throughout Knox Country.
Crafting
Carpentry
- Main article: Carpentry
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Small Bookcase |
0.75 Carpentry | Carpentry 3 | Hammer (tag) (keep) |
Plank x3 (consumed) |
Nails x3 (consumed) |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Retrieved: Build 41.78.16
ISBuildMenu.onSmallBookcase = function(worldobjects, square, sprite, player)
-- name, sprite, northSprite
local furniture = ISSimpleFurniture:new("Small Bookcase", sprite.sprite, sprite.northSprite);
furniture.canBeAlwaysPlaced = true;
furniture.isContainer = true;
furniture.containerType = "shelves";
furniture.modData["xp:Woodwork"] = 3;
furniture.modData["need:Base.Plank"] = "3";
furniture.modData["need:Base.Nails"] = "3";
-- our chair have 4 tiles (north, east, south and west)
-- then we define our east and south sprite
furniture:setEastSprite(sprite.eastSprite);
furniture:setSouthSprite(sprite.southSprite);
furniture.player = player
furniture.completionSound = "BuildWoodenStructureMedium";
getCell():setDrag(furniture, player);
end