diff options
Diffstat (limited to 'steles/crafts.lua')
-rw-r--r-- | steles/crafts.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/steles/crafts.lua b/steles/crafts.lua new file mode 100644 index 0000000..e4c6f95 --- /dev/null +++ b/steles/crafts.lua @@ -0,0 +1,13 @@ +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 |