0
0
Fork 0

comment out sensor/shrieker code

doesn't work well enough yet
This commit is contained in:
cora 2022-09-30 15:38:11 +02:00
parent 5f559867da
commit 6ecd7cfe4c
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,7 @@ local adjacents = {
vector.new(0,0,-1), vector.new(0,0,-1),
} }
--[[
local function sensor_action(p,tp) local function sensor_action(p,tp)
local s = minetest.find_node_near(p,SPREAD_RANGE,{"mcl_sculk:shrieker"}) local s = minetest.find_node_near(p,SPREAD_RANGE,{"mcl_sculk:shrieker"})
local n = minetest.get_node(s) 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) minetest.after(SENSOR_DELAY,sensor_action,s,pos)
end end
end) end)
--]]
local function get_node_xp(pos) local function get_node_xp(pos)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)
@ -225,6 +227,7 @@ minetest.register_node("mcl_sculk:catalyst", {
_mcl_silk_touch_drop = true, _mcl_silk_touch_drop = true,
}) })
--[[
minetest.register_node("mcl_sculk:sensor", { minetest.register_node("mcl_sculk:sensor", {
description = S("Sculk Sensor"), description = S("Sculk Sensor"),
tiles = { tiles = {
@ -261,3 +264,4 @@ minetest.register_node("mcl_sculk:shrieker", {
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_silk_touch_drop = true, _mcl_silk_touch_drop = true,
}) })
--]]