Skip to content

Commit

Permalink
Merge pull request #25 from SwissalpS/is_ground_content
Browse files Browse the repository at this point in the history
components aren't ground content
  • Loading branch information
linewriter1024 authored Feb 29, 2024
2 parents 2f8c5a1 + b88e633 commit 9d3c23f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 9d3c23f

Please sign in to comment.