This commit is contained in:
Kimapr 2019-12-21 00:49:07 +05:00
parent 33817d2eec
commit 9a71488fa0
2 changed files with 10 additions and 1 deletions

View File

@ -43,7 +43,7 @@ minetest.register_craftitem(crystal, {
end
end
end
return itemstack
return minetest.item_place(itemstack, placer, pointed_thing, ...)
end
})

View File

@ -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"}})