-- Make gravel digging consistent with cobble. -- However, this could go either way. -- With the default crumbly = 3, both cobble and gravel are easy to dig -- by hand, so shovels aren't really necessary. -- Setting crumbly = 2 for both, makes switching to shovels advantageous, -- at the cost of making stone even more difficult to work. -- -- In addition, digging gravel now drops quarry:gravel, which doesn't drop flint. -- That way, player can't just keep redigging their gravel inventory to get more flints. -- 2020-06-24 -- Only check for flint drop one time. minetest.override_item("default:gravel", { groups = {crumbly = 3, falling_node = 1}, drop = { max_items = 1, items = { {items = {"default:flint"}, rarity = 16}, {items = {"quarry:gravel"}} } } }) -- Replacement gravel that doesn't drop flint. minetest.register_node("quarry:gravel", { description = ("Gravel"), tiles = {"quarry_gravel.png"}, groups = {crumbly = 3, falling_node = 1}, sounds = default.node_sound_gravel_defaults(), }) -- Add additional gunpowder recipe that uses quarry:gravel. if minetest.get_modpath("tnt") ~= nil then minetest.register_craft({ output = "tnt:gunpowder 5", type = "shapeless", recipe = {"default:coal_lump", "quarry:gravel"} }) end -- Make dirt nodes also falling. minetest.override_item("default:dirt", { groups = {crumbly = 3, soil = 1, falling_node = 1}, }) minetest.override_item("default:dirt_with_grass", { groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1, falling_node = 1}, }) minetest.override_item("default:dirt_with_grass_footsteps", { groups = {crumbly = 3, soil = 1, not_in_creative_inventory = 1, falling_node = 1}, }) minetest.override_item("default:dirt_with_dry_grass", { groups = {crumbly = 3, soil = 1, falling_node = 1}, }) minetest.override_item("default:dirt_with_snow", { groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1, snowy = 1, falling_node = 1}, }) minetest.override_item("default:dirt_with_rainforest_litter", { groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1, falling_node = 1}, }) minetest.override_item("default:dirt_with_coniferous_litter", { groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1, falling_node = 1}, }) minetest.override_item("default:dry_dirt", { groups = {crumbly = 3, soil = 1, falling_node = 1}, }) minetest.override_item("default:dry_dirt_with_dry_grass", { groups = {crumbly = 3, soil = 1, falling_node = 1}, }) minetest.override_item("default:permafrost", { groups = {cracky = 3, falling_node = 1}, }) minetest.override_item("default:permafrost_with_stones", { groups = {cracky = 3, falling_node = 1}, }) minetest.override_item("default:permafrost_with_moss", { groups = {cracky = 3, falling_node = 1}, }) minetest.override_item("default:snowblock", { groups = {crumbly = 3, cools_lava = 1, snowy = 1, falling_node = 1}, })