xdecor-libre/crafts.lua
2015-06-09 14:04:57 +02:00

192 lines
4.3 KiB
Lua

minetest.register_craft({
output = "xdecor:barrel",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"default:iron_lump", "", "default:iron_lump"},
{"group:wood", "group:wood", "group:wood"}
}
})
minetest.register_craftitem("xdecor:brass_ingot", {
description = "Brass ingot",
inventory_image = "xdecor_brass_ingot.png",
})
minetest.register_craft({
type = "shapeless",
output = "xdecor:brass_ingot",
recipe = {"default:copper_ingot", "moreores:tin_ingot"}
})
minetest.register_craft({
output = "xdecor:cabinet",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"doors:trapdoor", "", "doors:trapdoor"},
{"group:wood", "group:wood", "group:wood"}
}
})
minetest.register_craft({
output = "xdecor:cabinet_half 2",
recipe = { {"xdecor:cabinet"} }
})
minetest.register_craft({
type = "shapeless",
output = "xdecor:candle 2",
recipe = {"default:torch", "farming:string"}
})
minetest.register_craft({
output = "xdecor:cardboard_box",
recipe = {
{"default:paper", "default:paper", "default:paper"},
{"default:paper", "default:paper", "default:paper"}
}
})
minetest.register_craft({
output = "xdecor:cauldron",
recipe = {
{"default:iron_lump", "", "default:iron_lump"},
{"default:iron_lump", "default:water_source", "default:iron_lump"},
{"default:iron_lump", "default:iron_lump", "default:iron_lump"}
}
})
minetest.register_craft({
output = "xdecor:chair 2",
recipe = {
{"group:wood", "", ""},
{"group:wood", "group:wood", "group:wood"},
{"group:wood", "", "group:wood"}
}
})
minetest.register_craft({
output = "xdecor:coalstone_tile 8",
recipe = {
{"default:coalblock", "default:stone"},
{"default:stone", "default:coalblock"}
}
})
minetest.register_craft({
output = "xdecor:cushion 2",
recipe = {
{"wool:red", "wool:red", "wool:red"}
}
})
minetest.register_craft({
output = "xdecor:fence_brass 4",
recipe = {
{"xdecor:brass_ingot", "xdecor:brass_ingot", "xdecor:brass_ingot"},
{"xdecor:brass_ingot", "xdecor:brass_ingot", "xdecor:brass_ingot"}
}
})
minetest.register_craft({
output = "xdecor:fence_wrought_iron 4",
recipe = {
{"default:iron_lump", "default:iron_lump", "default:iron_lump"},
{"default:iron_lump", "default:iron_lump", "default:iron_lump"}
}
})
minetest.register_craft({
type = "shapeless",
output = "xdecor:flint_steel",
recipe = {"default:obsidian_shard", "default:steel_ingot"}
})
minetest.register_craft({
output = "xdecor:frame",
recipe = {
{"group:stick", "group:stick", "group:stick"},
{"group:stick", "default:paper", "group:stick"},
{"group:stick", "group:stick", "group:stick"},
}
})
minetest.register_craft({
type = "shapeless",
output = "xdecor:moonbrick",
recipe = {"default:brick", "default:stone"}
})
minetest.register_craft({
output = "xdecor:multishelf",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"xdecor:skull", "group:book", "group:vessel"},
{"group:wood", "group:wood", "group:wood"}
}
})
minetest.register_craft({
type = "shapeless",
output = "xdecor:painting",
recipe = {"default:sign_wall", "dye:blue"}
})
minetest.register_craft({
output = "xdecor:plant_pot 2",
recipe = {
{"default:clay_lump", "", "default:clay_lump"},
{"default:clay_lump", "default:dirt", "default:clay_lump"},
{"default:clay_lump", "default:clay_lump", "default:clay_lump"}
}
})
minetest.register_craft({
output = "xdecor:rope 2",
recipe = {
{"farming:string"},
{"farming:string"},
{"farming:string"}
}
})
minetest.register_craft({
type = "shapeless",
output = "xdecor:skull",
recipe = {"bones:bones"}
})
minetest.register_craft({
output = "xdecor:table 2",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"", "group:wood", ""},
{"", "group:wood", ""}
}
})
minetest.register_craft({
output = "xdecor:tv",
recipe = {
{"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"},
{"default:steel_ingot", "default:glass", "default:steel_ingot"},
{"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"}
}
})
minetest.register_craft({
output = "xdecor:workbench",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"screwdriver:screwdriver", "screwdriver:screwdriver", "screwdriver:screwdriver"},
{"group:wood", "group:wood", "group:wood"}
}
})
minetest.register_craft({
output = "xdecor:wood_tile 2",
recipe = {
{"group:wood", "group:wood"},
{"group:wood", "group:wood"}
}
})