minetest.register_alias("bucket_lava", "bucket:bucket_lava")
minetest.register_craft({
- output = 'bucket:bucket_empty 1',
+ output = "bucket:bucket_empty 1",
recipe = {
- {'default:steel_ingot', '', 'default:steel_ingot'},
- {'', 'default:steel_ingot', ''},
+ {"default:steel_ingot", "", "default:steel_ingot"},
+ {"", "default:steel_ingot", ""},
}
})
})
minetest.register_craft({
- output = 'doors:trapdoor 2',
+ output = "doors:trapdoor 2",
recipe = {
- {'group:wood', 'group:wood', 'group:wood'},
- {'group:wood', 'group:wood', 'group:wood'},
- {'', '', ''},
+ {"group:wood", "group:wood", "group:wood"},
+ {"group:wood", "group:wood", "group:wood"},
+ {"", "", ""},
}
})
minetest.register_craft({
- output = 'doors:trapdoor_steel',
+ output = "doors:trapdoor_steel",
recipe = {
- {'default:steel_ingot', 'default:steel_ingot'},
- {'default:steel_ingot', 'default:steel_ingot'},
+ {"default:steel_ingot", "default:steel_ingot"},
+ {"default:steel_ingot", "default:steel_ingot"},
}
})
for _, mix in pairs(dye_recipes) do
minetest.register_craft({
type = "shapeless",
- output = 'dye:' .. mix[3] .. ' 2',
- recipe = {'dye:' .. mix[1], 'dye:' .. mix[2]},
+ output = "dye:" .. mix[3] .. " 2",
+ recipe = {"dye:" .. mix[1], "dye:" .. mix[2]},
})
end
minetest.override_item("default:grass_"..i, {drop = {
max_items = 1,
items = {
- {items = {'farming:seed_wheat'},rarity = 5},
- {items = {'default:grass_1'}},
+ {items = {"farming:seed_wheat"},rarity = 5},
+ {items = {"default:grass_1"}},
}
}})
end
minetest.override_item("default:junglegrass", {drop = {
max_items = 1,
items = {
- {items = {'farming:seed_cotton'},rarity = 8},
- {items = {'default:junglegrass'}},
+ {items = {"farming:seed_cotton"},rarity = 8},
+ {items = {"default:junglegrass"}},
}
}})
if recipeitem then
-- Recipe matches appearence in inventory
minetest.register_craft({
- output = 'stairs:stair_' .. subname .. ' 8',
+ output = "stairs:stair_" .. subname .. " 8",
recipe = {
{"", "", recipeitem},
{"", recipeitem, recipeitem},
-- Use stairs to craft full blocks again (1:1)
minetest.register_craft({
- output = recipeitem .. ' 3',
+ output = recipeitem .. " 3",
recipe = {
- {'stairs:stair_' .. subname, 'stairs:stair_' .. subname},
- {'stairs:stair_' .. subname, 'stairs:stair_' .. subname},
+ {"stairs:stair_" .. subname, "stairs:stair_" .. subname},
+ {"stairs:stair_" .. subname, "stairs:stair_" .. subname},
},
})
if baseburntime > 0 then
minetest.register_craft({
type = "fuel",
- recipe = 'stairs:stair_' .. subname,
+ recipe = "stairs:stair_" .. subname,
burntime = math.floor(baseburntime * 0.75),
})
end
if recipeitem then
minetest.register_craft({
- output = 'stairs:slab_' .. subname .. ' 6',
+ output = "stairs:slab_" .. subname .. " 6",
recipe = {
{recipeitem, recipeitem, recipeitem},
},
minetest.register_craft({
output = recipeitem,
recipe = {
- {'stairs:slab_' .. subname},
- {'stairs:slab_' .. subname},
+ {"stairs:slab_" .. subname},
+ {"stairs:slab_" .. subname},
},
})
if baseburntime > 0 then
minetest.register_craft({
type = "fuel",
- recipe = 'stairs:slab_' .. subname,
+ recipe = "stairs:slab_" .. subname,
burntime = math.floor(baseburntime * 0.5),
})
end
if recipeitem then
minetest.register_craft({
- output = 'stairs:stair_inner_' .. subname .. ' 7',
+ output = "stairs:stair_inner_" .. subname .. " 7",
recipe = {
{"", recipeitem, ""},
{recipeitem, "", recipeitem},
if baseburntime > 0 then
minetest.register_craft({
type = "fuel",
- recipe = 'stairs:stair_inner_' .. subname,
+ recipe = "stairs:stair_inner_" .. subname,
burntime = math.floor(baseburntime * 0.875),
})
end
if recipeitem then
minetest.register_craft({
- output = 'stairs:stair_outer_' .. subname .. ' 6',
+ output = "stairs:stair_outer_" .. subname .. " 6",
recipe = {
{"", recipeitem, ""},
{recipeitem, recipeitem, recipeitem},
if baseburntime > 0 then
minetest.register_craft({
type = "fuel",
- recipe = 'stairs:stair_outer_' .. subname,
+ recipe = "stairs:stair_outer_" .. subname,
burntime = math.floor(baseburntime * 0.625),
})
end
minetest.register_craft({
output = wall_name .. " 6",
recipe = {
- { '', '', '' },
+ { "", "", "" },
{ wall_mat, wall_mat, wall_mat},
{ wall_mat, wall_mat, wall_mat},
}