Update init.lua

This commit is contained in:
Maurus 2024-06-23 11:58:31 -03:00 committed by GitHub
parent 4d046db488
commit eaf3d1988b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,15 +23,15 @@ for i = 1, #dyes do
type = "shapeless", type = "shapeless",
output = "wool:" .. name, output = "wool:" .. name,
recipe = {"group:dye," .. color_group, "group:wool"}, recipe = {"group:dye," .. color_group, "group:wool"},
minetest.register_craft{
type = "shapeless",
output = "farming:string 4",
recipe = {"group:wool"}
}
} }
end end
-- Alternative recipe for strings.
minetest.register_craft({
output="farming:string 4",
recipe={{"group:wool"}}
})
-- Legacy -- Legacy
-- Backwards compatibility with jordach's 16-color wool mod -- Backwards compatibility with jordach's 16-color wool mod
minetest.register_alias("wool:dark_blue", "wool:blue") minetest.register_alias("wool:dark_blue", "wool:blue")