aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke aka SwissalpS <Luke@SwissalpS.ws>2024-02-29 11:26:26 +0100
committerGitHub <noreply@github.com>2024-02-29 11:26:26 +0100
commitb88e633a60e54279f4a6eb1559c65b517a66445a (patch)
tree318020aec68922637d62a294f69af0fba3380eeb
parent2f8c5a136da85deea568dc4ec250d48984a27ec6 (diff)
downloadelevator-b88e633a60e54279f4a6eb1559c65b517a66445a.tar.gz
elevator-b88e633a60e54279f4a6eb1559c65b517a66445a.tar.bz2
elevator-b88e633a60e54279f4a6eb1559c65b517a66445a.zip
components aren't ground content
-rw-r--r--components.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/components.lua b/components.lua
index 525efbc..1f40c6e 100644
--- a/components.lua
+++ b/components.lua
@@ -96,6 +96,7 @@ minetest.register_node("elevator:shaft", {
on_rotate = moditems.on_rotate_disallow,
sunlight_propagates = true,
groups = moditems.el_shaft_groups,
+ is_ground_content = false,
sounds = moditems.sounds_stone(),
climbable = true,
node_box = {
@@ -141,6 +142,7 @@ minetest.register_node("elevator:motor", {
moditems.el_motor_gfx,
},
groups = moditems.el_motor_groups,
+ is_ground_content = false,
sounds = moditems.sounds_stone(),
after_place_node = function(pos, placer, itemstack)
-- Set up the motor table.
@@ -204,6 +206,7 @@ minetest.register_node("elevator:elevator_box", {
moditems.el_box_gfx,
},
groups = moditems.elevator_special_groups,
+ is_ground_content = false,
use_texture_alpha = "clip",
light_source = 4,
@@ -288,6 +291,7 @@ for _,mode in ipairs({"on", "off"}) do
use_texture_alpha = "clip",
groups = groups,
+ is_ground_content = false,
drop = "elevator:elevator_off",
-- Emit a bit of light when active.