aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Leskey <ben@benleskey.com>2024-02-29 10:47:08 -0500
committerGitHub <noreply@github.com>2024-02-29 10:47:08 -0500
commit9d3c23fad754409b33305dacd40deb0a6ad43aec (patch)
tree318020aec68922637d62a294f69af0fba3380eeb
parent2f8c5a136da85deea568dc4ec250d48984a27ec6 (diff)
parentb88e633a60e54279f4a6eb1559c65b517a66445a (diff)
downloadelevator-master.tar.gz
elevator-master.tar.bz2
elevator-master.zip
Merge pull request #25 from SwissalpS/is_ground_contentHEADmaster
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.