Jude Melton-Houghton 580e36edc7 Remove a space from the license notice indentation
This makes the indentation consistent with that of other comments.
2021-07-19 19:50:33 -04:00

48 lines
1.4 KiB
Lua

--[[
Copyright (C) 2021 Jude Melton-Houghton
This file is part of area_containers. It specifies the crafting recipes.
area_containers is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
area_containers is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with area_containers. If not, see <https://www.gnu.org/licenses/>.
]]
-- Name the private namespace:
local area_containers = ...
function area_containers.register_crafts()
if minetest.registered_craftitems["default:steel_ingot"] and
minetest.registered_nodes["default:mese"] then
minetest.register_craft({
output = "area_containers:container",
recipe = {
{
"default:steel_ingot",
"default:steel_ingot",
"default:steel_ingot"
},
{
"default:steel_ingot",
"default:mese",
"default:steel_ingot",
},
{
"default:steel_ingot",
"default:steel_ingot",
"default:steel_ingot",
},
},
})
end
end