diff options
author | Pierre-Yves Rollo <dev@pyrollo.com> | 2015-11-28 20:44:54 +0100 |
---|---|---|
committer | Pierre-Yves Rollo <dev@pyrollo.com> | 2015-11-28 20:44:54 +0100 |
commit | a7e80f4b9870b671762bee1c821bb0e35d7b6e7d (patch) | |
tree | be78453f103391c9d7b59cce24d8b52f73cb04a8 /steles/crafts.lua | |
parent | fa2be9fc8d55f498a69daaa3ec8157eb58e122c5 (diff) |
Creation of steles mod
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 |