11 lines
455 B
Lua
Raw Normal View History

if 20220116 > tonumber(mobs.version) then return end
-- mobs and beowulf don't play nicely together when stone is made
-- dangerous by beowulf, we counteract that here to make mobs not fear
2022-01-15 23:50:45 +01:00
-- stone and become more challenging again
local is_node_dangerous = mobs.is_node_dangerous
function mobs:is_node_dangerous(mob_object, nodename)
2022-01-15 23:50:45 +01:00
if 'default:stone' == nodename then return false end
return is_node_dangerous(self, mob_object, nodename)
2022-01-15 23:50:45 +01:00
end