]> git.lizzy.rs Git - Crafter.git/blobdiff - mods/torch/init.lua
Support more item groups in recipes
[Crafter.git] / mods / torch / init.lua
index cc1ef7cff921dd194e9b341c64ce31f08d0e93ff..d9ce799f0d7b98b94042b27bc655656ddbd5853d 100644 (file)
@@ -18,7 +18,6 @@ local function get_offset(wdir)
 end
 --add in smoke and fire
 local function create_ps(pos)
-       print("test")
        local dir = get_offset(minetest.get_node(pos).param2)
        local ppos = vector.add(dir,pos)
        minetest.add_particle({
@@ -172,14 +171,7 @@ minetest.register_node("torch:wall", {
 minetest.register_craft({
        output = "torch:torch 4",
        recipe = {
-               {"main:coal"},
-               {"main:stick"}
-       }
-})
-minetest.register_craft({
-       output = "torch:torch 4",
-       recipe = {
-               {"main:charcoal"},
-               {"main:stick"}
+               {"group:coal"},
+               {"group:stick"}
        }
 })