From 72ec06fff6bd613dd03d294f5a69fd0beec2b891 Mon Sep 17 00:00:00 2001 From: Andrey Kozlovskiy Date: Mon, 4 Jan 2021 21:08:21 +0300 Subject: [PATCH] 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. --- init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index aab8841..0d291df 100644 --- a/init.lua +++ b/init.lua @@ -153,14 +153,14 @@ if minetest.global_exists("stairsplus") then stairsplus:register_all("quartz", "block", "quartz:block", { description = "Quartz Block", tiles = {"quartz_block.png"}, - groups = {cracky=3}, + groups = {cracky=3, oddly_breakable_by_hand=1}, sounds = default.node_sound_glass_defaults() }) stairsplus:register_all("quartz", "chiseled", "quartz:chiseled", { description = "Chiseled Quartz", tiles = {"quartz_chiseled.png"}, - groups = {cracky=3}, + groups = {cracky=3, oddly_breakable_by_hand=1}, sounds = default.node_sound_glass_defaults() }) @@ -168,7 +168,7 @@ if minetest.global_exists("stairsplus") then description = "Quartz Pillar", tiles = {"quartz_pillar_top.png", "quartz_pillar_top.png", "quartz_pillar_side.png"}, - groups = {cracky=3}, + groups = {cracky=3, oddly_breakable_by_hand=1}, sounds = default.node_sound_glass_defaults() }) end