1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- -- crafts for common items that are used by more than one home decor component
- local S = minetest.get_translator("homedecor_common")
- -- items
- minetest.register_craftitem(":homedecor:roof_tile_terracotta", {
- description = S("Terracotta Roof Tile"),
- inventory_image = "homedecor_roof_tile_terracotta.png",
- })
- minetest.register_craftitem(":homedecor:drawer_small", {
- description = S("Small Wooden Drawer"),
- inventory_image = "homedecor_drawer_small.png",
- })
- -- cooking/fuel
- minetest.register_craft({
- type = "cooking",
- output = "homedecor:roof_tile_terracotta",
- recipe = "basic_materials:terracotta_base",
- })
- minetest.register_craft({
- type = "fuel",
- recipe = "homedecor:shingles_wood",
- burntime = 30,
- })
- -- crafing
- minetest.register_craft( {
- output = "homedecor:shingles_terracotta",
- recipe = {
- { "homedecor:roof_tile_terracotta", "homedecor:roof_tile_terracotta"},
- { "homedecor:roof_tile_terracotta", "homedecor:roof_tile_terracotta"},
- },
- })
- minetest.register_craft( {
- output = "homedecor:roof_tile_terracotta 8",
- recipe = {
- { "homedecor:shingles_terracotta", "homedecor:shingles_terracotta" }
- }
- })
- minetest.register_craft( {
- output = "homedecor:shingles_wood 12",
- recipe = {
- { "group:stick", "group:wood"},
- { "group:wood", "group:stick"},
- },
- })
- minetest.register_craft( {
- output = "homedecor:shingles_wood 12",
- recipe = {
- { "group:wood", "group:stick"},
- { "group:stick", "group:wood"},
- },
- })
- minetest.register_craft( {
- output = "homedecor:shingles_asphalt 6",
- recipe = {
- { "building_blocks:gravel_spread", "dye:black", "building_blocks:gravel_spread" },
- { "group:sand", "dye:black", "group:sand" },
- { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
- },
- })
|