2017-01-29 22:41:03 +01:00
|
|
|
local S = homedecor_i18n.gettext
|
2017-09-27 15:29:20 +02:00
|
|
|
local modpath = minetest.get_modpath("building_blocks")
|
|
|
|
|
|
|
|
dofile(modpath.."/alias.lua")
|
2017-09-27 15:44:33 +02:00
|
|
|
dofile(modpath.."/node_stairs.lua")
|
2017-09-27 15:58:04 +02:00
|
|
|
dofile(modpath.."/others.lua")
|
2017-01-29 22:41:03 +01:00
|
|
|
|
2017-09-26 15:43:47 +02:00
|
|
|
|
2017-09-26 16:48:20 +02:00
|
|
|
|
2015-01-19 22:53:53 +01:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:terrycloth_towel 2',
|
|
|
|
recipe = {
|
|
|
|
{"farming:string", "farming:string", "farming:string"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:Tarmac_spread 4',
|
|
|
|
recipe = {
|
2015-04-18 23:04:00 +02:00
|
|
|
{"group:tar_block", "group:tar_block"},
|
2015-01-19 22:53:53 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:gravel_spread 4',
|
|
|
|
recipe = {
|
|
|
|
{"default:gravel", "default:gravel", "default:gravel"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:brobble_spread 4',
|
|
|
|
recipe = {
|
|
|
|
{"default:brick", "default:cobble", "default:brick"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:Fireplace 1',
|
|
|
|
recipe = {
|
|
|
|
{"default:steel_ingot", "building_blocks:sticks", "default:steel_ingot"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
2017-09-27 14:14:40 +02:00
|
|
|
output = 'building_blocks:Adobe 3',
|
2015-01-19 22:53:53 +01:00
|
|
|
recipe = {
|
|
|
|
{"default:sand"},
|
|
|
|
{"default:clay"},
|
|
|
|
{"group:stick"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2017-09-27 14:14:40 +02:00
|
|
|
output = 'building_blocks:Roofing 10',
|
2015-01-19 22:53:53 +01:00
|
|
|
recipe = {
|
2017-09-27 14:14:40 +02:00
|
|
|
{"building_blocks:Adobe", "building_blocks:Adobe"},
|
|
|
|
{"building_blocks:Adobe", "building_blocks:Adobe"},
|
2015-01-19 22:53:53 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:BWtile 10',
|
|
|
|
recipe = {
|
2015-04-18 23:09:18 +02:00
|
|
|
{"group:marble", "group:tar_block"},
|
|
|
|
{"group:tar_block", "group:marble"},
|
2015-01-19 22:53:53 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:grate 1',
|
|
|
|
recipe = {
|
|
|
|
{"default:steel_ingot", "default:steel_ingot"},
|
|
|
|
{"default:glass", "default:glass"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:woodglass 1',
|
|
|
|
recipe = {
|
|
|
|
{"default:wood"},
|
|
|
|
{"default:glass"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
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"},
|
|
|
|
}
|
|
|
|
})
|
2015-10-12 09:25:38 +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
|
2015-01-19 22:53:53 +01:00
|
|
|
|
|
|
|
minetest.register_craft({
|
2015-10-12 09:25:38 +02:00
|
|
|
output = 'default:stick 4',
|
2015-01-19 22:53:53 +01:00
|
|
|
recipe = {
|
2015-10-12 09:25:38 +02:00
|
|
|
{'building_blocks:sticks'},
|
2015-01-19 22:53:53 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:fakegrass 2',
|
|
|
|
recipe = {
|
|
|
|
{'default:leaves'},
|
|
|
|
{"default:dirt"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2017-02-22 19:44:45 +01:00
|
|
|
output = 'building_blocks:tar_base 4',
|
2015-01-19 22:53:53 +01:00
|
|
|
recipe = {
|
|
|
|
{"default:coal_lump", "default:gravel"},
|
|
|
|
{"default:gravel", "default:coal_lump"}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2017-02-22 19:44:45 +01:00
|
|
|
output = 'building_blocks:tar_base 4',
|
2015-01-19 22:53:53 +01:00
|
|
|
recipe = {
|
|
|
|
{"default:gravel", "default:coal_lump"},
|
|
|
|
{"default:coal_lump", "default:gravel"}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "building_blocks:smoothglass",
|
|
|
|
recipe = "default:glass"
|
|
|
|
})
|
|
|
|
|
|
|
|
|
2017-02-23 16:25:08 +01:00
|
|
|
|
2015-01-19 22:53:53 +01:00
|
|
|
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "building_blocks:hardwood",
|
|
|
|
burntime = 28,
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
--Tar
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'building_blocks:knife 1',
|
|
|
|
recipe = {
|
2015-04-18 23:04:00 +02:00
|
|
|
{"group:tar_block"},
|
2015-01-19 22:53:53 +01:00
|
|
|
{"group:stick"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "building_blocks:sticks",
|
|
|
|
burntime = 5,
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
2017-09-27 14:14:40 +02:00
|
|
|
recipe = "building_blocks:Tar",
|
2015-01-19 22:53:53 +01:00
|
|
|
burntime = 40,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
2017-09-27 14:14:40 +02:00
|
|
|
output = "building_blocks:Tar",
|
2015-01-19 22:53:53 +01:00
|
|
|
recipe = "building_blocks:tar_base",
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2017-09-27 14:14:40 +02:00
|
|
|
output = "building_blocks:Marble 9",
|
2015-01-19 22:53:53 +01:00
|
|
|
recipe = {
|
2015-04-18 23:04:00 +02:00
|
|
|
{"default:clay", "group:tar_block", "default:clay"},
|
|
|
|
{"group:tar_block","default:clay", "group:tar_block"},
|
|
|
|
{"default:clay", "group:tar_block","default:clay"},
|
2015-01-19 22:53:53 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2015-03-23 07:09:39 +01:00
|
|
|
|