display_modpack/steles/crafts.lua

14 lines
264 B
Lua
Raw Normal View History

2015-11-28 20:44:54 +01:00
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