This change makes it possible to remove the node.

Previously, trying to remove the node simply made it flash and disappear, This makes it possible to use a pickaxe to quickly remove the node while it is in its flashing state or while it is in its fire state.
master
MisterE123 2020-02-16 17:59:07 -05:00 committed by GitHub
parent 8714dc31f4
commit 67afd65352
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ minetest.register_node("spleef:spleef_normal", {
is_ground_content = false,
sunlight_propagates = true,
sounds = default.node_sound_glass_defaults(),
groups = {cracky=5},
groups = {cracky=1},
mesecons = {
conductor = {
state = mesecon.state.off,
@ -27,7 +27,7 @@ minetest.register_node("spleef:spleef_fire", {
is_ground_content = false,
sunlight_propagates = true,
sounds = default.node_sound_glass_defaults(),
groups = {not_in_creative_inventory=1},
groups = {cracky = 1, not_in_creative_inventory=1},
drop = "spleef:spleef_normal",
mesecons = {
conductor = {
@ -76,7 +76,7 @@ minetest.register_node("spleef:spleef_flashing", {
length = .5,
}
}},
groups = {not_in_creative_inventory=1},
groups = {cracky = 1, not_in_creative_inventory=1},
drop = "spleef:spleef_normal",
})