mirror of
https://github.com/minetest-mods/quartz.git
synced 2025-01-06 16:00:24 +01:00
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:
parent
7b5d74cfdf
commit
72ec06fff6
6
init.lua
6
init.lua
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user