summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-03-25 15:12:26 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-03-25 15:12:26 +0100
commit57c45e873939085993dab30a558578389460a93a (patch)
tree4f6413974d82cfb5d422151c43aea45f2d2bde72
parentfb80f93de0dc177c4d72794cb0da2bb42fa9250d (diff)
amend crystal spike so that falling nodes cannot remove
-rw-r--r--crystal.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/crystal.lua b/crystal.lua
index 0af1296..fdbdd17 100644
--- a/crystal.lua
+++ b/crystal.lua
@@ -11,13 +11,17 @@ minetest.register_node("ethereal:crystal_spike", {
paramtype = "light",
light_source = 7,
sunlight_propagates = true,
- walkable = false,
+ walkable = true,
damage_per_second = 1,
groups = {cracky = 1, falling_node = 1, puts_out_fire = 1, cools_lava = 1},
sounds = default.node_sound_glass_defaults(),
selection_box = {
type = "fixed",
- fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 0.41, 5 / 16},
+ fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 0, 5 / 16},
+ },
+ node_box = {
+ type = "fixed",
+ fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 0, 5 / 16},
},
})