mirror of
https://github.com/pyrollo/display_modpack.git
synced 2024-11-13 22:00:31 +01:00
14 lines
264 B
Lua
14 lines
264 B
Lua
for _, material in ipairs(steles.materials) do
|
|
local parts = material:split(":")
|
|
|
|
minetest.register_craft({
|
|
output = 'steles:'..parts[2]..'_stele 4',
|
|
recipe = {
|
|
{'', material, ''},
|
|
{'', 'dye:black', ''},
|
|
{material, material, material},
|
|
}
|
|
})
|
|
|
|
end
|