2022-05-01 21:34:15 +02:00
|
|
|
local materials = homedecor.materials
|
|
|
|
|
2017-09-27 17:05:20 +02:00
|
|
|
if minetest.get_modpath("moreblocks") then
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:sticks 2',
|
|
|
|
recipe = {
|
|
|
|
{'group:stick', '' , 'group:stick'},
|
|
|
|
{'group:stick', 'group:stick', 'group:stick'},
|
|
|
|
{'group:stick', 'group:stick', 'group:stick'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
else
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:sticks',
|
|
|
|
recipe = {
|
|
|
|
{'group:stick', 'group:stick'},
|
|
|
|
{'group:stick', 'group:stick'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
2017-09-27 16:02:54 +02:00
|
|
|
minetest.register_craft({
|
2017-09-27 17:05:20 +02:00
|
|
|
output = 'building_blocks:Adobe 3',
|
2017-09-27 16:02:54 +02:00
|
|
|
recipe = {
|
2022-05-01 21:34:15 +02:00
|
|
|
{materials.sand},
|
|
|
|
{materials.clay_lump},
|
2017-09-27 17:05:20 +02:00
|
|
|
{"group:stick"},
|
2017-09-27 16:02:54 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
2017-09-27 17:05:20 +02:00
|
|
|
output = 'building_blocks:brobble_spread 4',
|
2017-09-27 16:02:54 +02:00
|
|
|
recipe = {
|
2022-05-01 21:34:15 +02:00
|
|
|
{materials.brick, materials.cobble, materials.brick},
|
2017-09-27 16:02:54 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
2017-09-27 17:05:20 +02:00
|
|
|
output = 'building_blocks:BWtile 10',
|
2017-09-27 16:02:54 +02:00
|
|
|
recipe = {
|
2017-09-27 17:05:20 +02:00
|
|
|
{"group:marble", "group:tar_block"},
|
|
|
|
{"group:tar_block", "group:marble"},
|
2017-09-27 16:02:54 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
2017-09-27 17:05:20 +02:00
|
|
|
output = 'building_blocks:fakegrass 2',
|
2017-09-27 16:02:54 +02:00
|
|
|
recipe = {
|
2020-12-02 00:32:16 +01:00
|
|
|
{'group:leaves'},
|
2022-05-01 21:34:15 +02:00
|
|
|
{materials.dirt},
|
2017-09-27 16:02:54 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:Fireplace 1',
|
|
|
|
recipe = {
|
2022-05-01 21:34:15 +02:00
|
|
|
{materials.steel_ingot, "building_blocks:sticks", materials.steel_ingot},
|
2017-09-27 16:02:54 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
2017-09-27 17:05:20 +02:00
|
|
|
output = 'building_blocks:grate 1',
|
2017-09-27 16:02:54 +02:00
|
|
|
recipe = {
|
2022-05-01 21:34:15 +02:00
|
|
|
{materials.steel_ingot, materials.steel_ingot},
|
|
|
|
{materials.glass_block, materials.glass_block},
|
2017-09-27 16:02:54 +02:00
|
|
|
}
|
|
|
|
})
|
2018-10-25 19:03:25 +02:00
|
|
|
|
|
|
|
if not minetest.get_modpath("moreblocks") or not minetest.get_modpath("gloopblocks") then
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:gravel_spread 4',
|
|
|
|
recipe = {
|
2022-05-01 21:34:15 +02:00
|
|
|
{materials.gravel, materials.gravel, materials.gravel},
|
2018-10-25 19:03:25 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
2022-04-24 03:42:09 +02:00
|
|
|
if minetest.get_modpath("default") then
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:hardwood 2',
|
|
|
|
recipe = {
|
|
|
|
{"default:wood", "default:junglewood"},
|
|
|
|
{"default:junglewood", "default:wood"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:hardwood 2',
|
|
|
|
recipe = {
|
|
|
|
{"default:junglewood", "default:wood"},
|
|
|
|
{"default:wood", "default:junglewood"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
2017-09-27 16:02:54 +02:00
|
|
|
minetest.register_craft({
|
2017-09-27 17:05:20 +02:00
|
|
|
output = 'building_blocks:knife 1',
|
2017-09-27 16:02:54 +02:00
|
|
|
recipe = {
|
2017-09-27 17:05:20 +02:00
|
|
|
{"group:tar_block"},
|
|
|
|
{"group:stick"},
|
2017-09-27 16:02:54 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
2017-09-27 17:05:20 +02:00
|
|
|
output = "building_blocks:Marble 9",
|
2017-09-27 16:02:54 +02:00
|
|
|
recipe = {
|
2022-05-01 21:34:15 +02:00
|
|
|
{materials.clay_lump, "group:tar_block", materials.clay_lump},
|
|
|
|
{"group:tar_block",materials.clay_lump, "group:tar_block"},
|
|
|
|
{materials.clay_lump, "group:tar_block",materials.clay_lump},
|
2017-09-27 16:02:54 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
2017-09-27 17:05:20 +02:00
|
|
|
output = 'building_blocks:Roofing 10',
|
2017-09-27 16:02:54 +02:00
|
|
|
recipe = {
|
2017-09-27 17:05:20 +02:00
|
|
|
{"building_blocks:Adobe", "building_blocks:Adobe"},
|
|
|
|
{"building_blocks:Adobe", "building_blocks:Adobe"},
|
2017-09-27 16:02:54 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:stick 4',
|
|
|
|
recipe = {
|
|
|
|
{'building_blocks:sticks'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:tar_base 4',
|
|
|
|
recipe = {
|
2022-05-01 21:34:15 +02:00
|
|
|
{materials.coal_lump, materials.gravel},
|
|
|
|
{materials.gravel, materials.coal_lump}
|
2017-09-27 16:02:54 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:tar_base 4',
|
|
|
|
recipe = {
|
2022-05-01 21:34:15 +02:00
|
|
|
{materials.gravel, materials.coal_lump},
|
|
|
|
{materials.coal_lump, materials.gravel}
|
2017-09-27 16:02:54 +02:00
|
|
|
}
|
|
|
|
})
|
2017-09-27 17:05:20 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:Tarmac_spread 4',
|
|
|
|
recipe = {
|
|
|
|
{"group:tar_block", "group:tar_block"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:terrycloth_towel 2',
|
|
|
|
recipe = {
|
|
|
|
{"farming:string", "farming:string", "farming:string"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:woodglass 1',
|
|
|
|
recipe = {
|
2020-12-02 00:32:16 +01:00
|
|
|
{"group:wood"},
|
2022-05-01 21:34:15 +02:00
|
|
|
{materials.glass_block},
|
2017-09-27 17:05:20 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2017-09-27 16:02:54 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "building_blocks:smoothglass",
|
2022-05-01 21:34:15 +02:00
|
|
|
recipe = materials.glass_block
|
2017-09-27 16:02:54 +02:00
|
|
|
})
|
2017-09-27 17:05:20 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "building_blocks:Tar",
|
|
|
|
recipe = "building_blocks:tar_base",
|
|
|
|
})
|
|
|
|
|
2017-09-27 16:02:54 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "building_blocks:hardwood",
|
|
|
|
burntime = 28,
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "building_blocks:sticks",
|
|
|
|
burntime = 5,
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "building_blocks:Tar",
|
|
|
|
burntime = 40,
|
2018-10-25 19:03:25 +02:00
|
|
|
})
|