diff --git a/nc_crystal/init.lua b/nc_crystal/init.lua index 50f51b4..3642e9c 100644 --- a/nc_crystal/init.lua +++ b/nc_crystal/init.lua @@ -43,7 +43,7 @@ minetest.register_craftitem(crystal, { end end end - return itemstack + return minetest.item_place(itemstack, placer, pointed_thing, ...) end }) diff --git a/nc_sky_inject/init.lua b/nc_sky_inject/init.lua index 3fce85f..e8bf4ae 100644 --- a/nc_sky_inject/init.lua +++ b/nc_sky_inject/init.lua @@ -23,4 +23,13 @@ nodecore.register_craft({ } }) +nodecore.register_craft({ + label = "squash water from leaves", + action = "pummel", + nodes = { + {match = "nc_terrain:leaves_loose", replace = "nc_terrain:water_source"} + }, + toolgroups = {thumpy = 2} + }) + nodecore.register_cook_abm({nodenames = {"nc_terrain:cobble"}, neighbors = {"group:flame"}}) \ No newline at end of file