Allow to break `stairsplus` blocks by hand (#14)

Add `stairsplus` blocks in `oddly_breakable_by_hand=1` group to make them consistent with the original blocks.
This commit is contained in:
Andrey Kozlovskiy 2021-01-04 21:08:21 +03:00 committed by GitHub
parent 7b5d74cfdf
commit 72ec06fff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -153,14 +153,14 @@ if minetest.global_exists("stairsplus") then
stairsplus:register_all("quartz", "block", "quartz:block", { stairsplus:register_all("quartz", "block", "quartz:block", {
description = "Quartz Block", description = "Quartz Block",
tiles = {"quartz_block.png"}, tiles = {"quartz_block.png"},
groups = {cracky=3}, groups = {cracky=3, oddly_breakable_by_hand=1},
sounds = default.node_sound_glass_defaults() sounds = default.node_sound_glass_defaults()
}) })
stairsplus:register_all("quartz", "chiseled", "quartz:chiseled", { stairsplus:register_all("quartz", "chiseled", "quartz:chiseled", {
description = "Chiseled Quartz", description = "Chiseled Quartz",
tiles = {"quartz_chiseled.png"}, tiles = {"quartz_chiseled.png"},
groups = {cracky=3}, groups = {cracky=3, oddly_breakable_by_hand=1},
sounds = default.node_sound_glass_defaults() sounds = default.node_sound_glass_defaults()
}) })
@ -168,7 +168,7 @@ if minetest.global_exists("stairsplus") then
description = "Quartz Pillar", description = "Quartz Pillar",
tiles = {"quartz_pillar_top.png", "quartz_pillar_top.png", tiles = {"quartz_pillar_top.png", "quartz_pillar_top.png",
"quartz_pillar_side.png"}, "quartz_pillar_side.png"},
groups = {cracky=3}, groups = {cracky=3, oddly_breakable_by_hand=1},
sounds = default.node_sound_glass_defaults() sounds = default.node_sound_glass_defaults()
}) })
end end