From 6ecd7cfe4c6cfab7ea155865de12e93e6bbb69d8 Mon Sep 17 00:00:00 2001 From: cora Date: Fri, 30 Sep 2022 15:38:11 +0200 Subject: [PATCH] comment out sensor/shrieker code doesn't work well enough yet --- mods/ITEMS/mcl_sculk/init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mods/ITEMS/mcl_sculk/init.lua b/mods/ITEMS/mcl_sculk/init.lua index 54256d897..44aa805da 100644 --- a/mods/ITEMS/mcl_sculk/init.lua +++ b/mods/ITEMS/mcl_sculk/init.lua @@ -22,6 +22,7 @@ local adjacents = { vector.new(0,0,-1), } +--[[ local function sensor_action(p,tp) local s = minetest.find_node_near(p,SPREAD_RANGE,{"mcl_sculk:shrieker"}) local n = minetest.get_node(s) @@ -65,6 +66,7 @@ walkover.register_global(function(pos, node, player) minetest.after(SENSOR_DELAY,sensor_action,s,pos) end end) +--]] local function get_node_xp(pos) local meta = minetest.get_meta(pos) @@ -225,6 +227,7 @@ minetest.register_node("mcl_sculk:catalyst", { _mcl_silk_touch_drop = true, }) +--[[ minetest.register_node("mcl_sculk:sensor", { description = S("Sculk Sensor"), tiles = { @@ -261,3 +264,4 @@ minetest.register_node("mcl_sculk:shrieker", { _mcl_hardness = 3, _mcl_silk_touch_drop = true, }) +--]]