Large Table: Difference between revisions
(Tile IDs, codebox, see also) |
m (Infobox) |
||
Line 33: | Line 33: | ||
|products = | |products = | ||
<!--Technical details--> | <!--Technical details--> | ||
|item_id = Movables.Movable | |||
|tile_id = carpentry_01_25 | |tile_id = carpentry_01_25 | ||
|tile_id2 = carpentry_01_29 | |tile_id2 = carpentry_01_29 |
Revision as of 08:33, 12 March 2024
A large table is a craftable piece of furniture.
Usage
Large tables are used for decorative purposes. They can be crafted by the player for realism and immersion in their safehouse.
Crafting
The visual quality of the large table increases with the players Carpentry skill level. It starts at
Carpentry
- Main article: Carpentry
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Large Table |
1.25 Carpentry | Carpentry 4 | Hammer (tag) (keep) |
Plank x6 (consumed) |
Nails x4 (consumed) |
As the player must have Carpentry level 4 to build the large table, the Shoddy large table should not be possible to make.
Name | Sprite | Level |
---|---|---|
Shoddy Large Table | Carpentry 0 | |
Mediocre Large Table | Carpentry 4 | |
Exceptional Large Table | Carpentry 7 |
Code
ISBuildMenu.onLargeWoodTable = function(worldobjects, square, sprite, player)
-- name, sprite, northSprite
local furniture = ISDoubleTileFurniture:new("Large Table", sprite.sprite1, sprite.sprite2, sprite.northSprite1, sprite.northSprite2);
furniture.modData["xp:Woodwork"] = 5;
furniture.modData["need:Base.Plank"] = "6";
furniture.modData["need:Base.Nails"] = "4";
furniture.player = player
furniture.completionSound = "BuildWoodenStructureLarge";
getCell():setDrag(furniture, player);
end