-- PRESSURE PLATE WOOD minetest.register_node("jeija:pressure_plate_wood_off", { drawtype = "raillike", tile_images = {"jeija_pressure_plate_wood_off.png"}, inventory_image = "jeija_pressure_plate_wood_off.png", paramtype = "light", is_ground_content = true, walkable = false, selection_box = { type = "fixed", }, material = minetest.digprop_constanttime(0.3), }) minetest.register_node("jeija:pressure_plate_wood_on", { drawtype = "raillike", tile_images = {"jeija_pressure_plate_wood_on.png"}, inventory_image = "jeija_pressure_plate_wood_on.png", paramtype = "light", is_ground_content = true, walkable = false, selection_box = { type = "fixed", }, material = minetest.digprop_constanttime(0.3), drop='"jeija:pressure_plate_wood_off" 1' }) minetest.register_craft({ output = '"jeija:pressure_plate_wood_off" 1', recipe = { {'"default:wood"', '"default:wood"'}, } }) minetest.register_abm( {nodenames = {"jeija:pressure_plate_wood_off"}, interval = 1.0, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) local objs = minetest.env:get_objects_inside_radius(pos, 1) for k, obj in pairs(objs) do local objpos=obj:getpos() if objpos.y>pos.y-1 and objpos.ypos.y-1 and objpos.y