Make bedrock harder to break

This commit is contained in:
Wuzzy 2017-01-04 09:42:25 +01:00
parent c700094ed8
commit 2309d229e7
2 changed files with 6 additions and 1 deletions

View File

@ -714,6 +714,11 @@ minetest.register_node("default:bedrock", {
stack_max = 64,
groups = {oddly_breakable_by_hand=5},
sounds = default.node_sound_stone_defaults(),
is_ground_content = false,
on_blast = function() end,
on_destruct = function () end,
can_dig = function() return false end,
diggable = false,
})
minetest.register_node("default:bookshelf", {

View File

@ -15,7 +15,7 @@ minetest.register_item(":", {
groupcaps = {
crumbly = {times={[2]=3.00, [3]=0.70}, uses=0, maxlevel=1},
snappy = {times={[3]=0.40}, uses=0, maxlevel=1},
oddly_breakable_by_hand = {times={[0]=90.00,[1]=7.00,[2]=4.00,[3]=1.40,[4]=480.70,[5]=999999.0}, uses=0, maxlevel=5}
oddly_breakable_by_hand = {times={[0]=90.00,[1]=7.00,[2]=4.00,[3]=1.40,[4]=480.70,}, uses=0, maxlevel=5}
},
damage_groups = {fleshy=1},
}